I’ve developed a working app for the Meian SR01 plug-in siren.
https://github.com/WJGvdVelden/MeianSiren
It can be controlled for mode (siren-only, sound-only, both), the duration of the alarm, the alarm volume and be used as a kind of doorbell, with flows or via settings.
The light can also be turned on/off, but the colorControl capability is not implemented.
As this is my first attempt to write a full app on a device, I would appreciate more experienced developers to have a look at the code and give feedback or tips or hints how to improve it or make it more according standards.
I have developed based on a lot of remarks by others in the forum, the work of Johan Bendz (it is a Tuya device, but with quite some deviations) and attempts by the community of Home Assistant, although the version with HA does not work reliable apparently. I hope they can benefit as well.
The code can be found https://github.com/WJGvdVelden/MeianSiren.
The id of the device is
“manufacturerName”: “_TZ3000_cipibmnp”, “productId”: “TS0224”,
Thanks for any input
