Has anyone been able to get the Aeotec Z-Wave ZW164 Indoor Siren 6 working? That is being able to trigger its functionally via Openhab? There are several topic in the forums with the below seeming to be to most comprehensive. Some posts state that a command class needs to be implemented (post 4+ years old) and some that this is a read only device (somewhat useless)
I have several use cases were I want to sound a tone/siren and this device seemed like a perfect hit. But if I can sound a tone from openhab Iâll need to find another solution. Thanks.
install zwave2mqtt on a raspi via openhabian or as a docker file and get familiar with the program
attach the zwave stick to zwave2mqtt and migrate all your devices to that or use a new stick just for the siren.
install a mqtt broker on raspi or elsewhere.
install mqtt bridge in openhab and then we can talk about items.
If you are already using mqtt than let me know and I can help you to install the siren
I installed the broker and have several read (topic) items working. I did setup Zwave-JS-UI which is the successor to zwave2mqtt. I also installed MQTT Explorer which is really helpful for testing.
The following post was also really helpful but didnât see it before as it centers on Zwave-JS-UI.
I would appreciate information on getting the siren working as I donât know how to do the command topics and am having a problem finding documentation on that.
I have grouped my generic mqtt Things untraditionally, but here is an example of a configuration change. I donât have your device, but I think configuration changes are required. Basically just add âsetâ to the state topic.
when the siren finished to play the sound it will reset the âSound tone to playâ item to zero.
Every time you like to start the siren sound, âSound tone to playâ needs a new command of 1 to 30 (which is the sound number). The volume can always stay constant if you like
Thanks for all the info. I do have a weird question in that I donât recognize the things file format⊠Iâve seen it in other posts but all mine use a different format, which is what the doc says:
As an example: (I can probably convert)
Thing mqtt:topic:GuestBedroomTopics âAll Guest Bedroom Topicsâ (mqtt:broker:mqttBroker) {
Channels:
Type string : motion âGuest Bedroom Motionâ [ stateTopic=âzwave/Guest_Bedroom/Guest_Bedroom_Motion_Sensor/notification/endpoint_0/Home_Security/Motion_sensor_statusâ, transformationPattern=âREGEX:(.*)â ]
Type string : tamper âGuest Bedroom Tamperâ [ stateTopic=âzwave/Guest_Bedroom/Guest_Bedroom_Motion_Sensor/notification/endpoint_0/Home_Security/Cover_statusâ ]
Type number : illuminance âGuest Bedroom Iluminanceâ [stateTopic=âzwave/Guest_Bedroom/Guest_Bedroom_Motion_Sensor/sensor_multilevel/endpoint_0/Illuminanceâ]
Type number : temperature âGuest Bedroom Temperatureâ [stateTopic=âzwave/Guest_Bedroom/Guest_Bedroom_Motion_Sensor/sensor_multilevel/endpoint_0/Air_temperatureâ]
Type number : battery âGuest Bedroom Batteryâ [stateTopic=âzwave/Guest_Bedroom/Guest_Bedroom_Motion_Sensor/battery/endpoint_0/levelâ]
Type switch : battery_low [stateTopic=âzwave/Guest_Bedroom/Guest_Bedroom_Motion_Sensor/battery/endpoint_0/isLowâ]
Type number : LastHeardFrom âGuest Bedroom Last Heard Fromâ [stateTopic=âzwave/Guest_Bedroom/Guest_Bedroom_Motion_Sensor/lastActiveâ]
}
I must be doing something fundamentally wrong. I have setup the device and the stateTopic works okay (my items are being updated) and the commandTopic update MQTT but the siren doesnât sound. Following is my setup if you see anything wrong:
Thing mqtt:topic:Siren "Aeotec Indoor Siren 6" (mqtt:broker:mqttBroker) {
Channels:
Type dimmer : volume "Siren Volume" [ stateTopic="zwave/Laundry_Room/Aeotec_Indoor_Siren_6/sound_switch/endpoint_1/defaultVolume",
commandTopic="zwave/Laundry_Room/Aeotec_Indoor_Siren_6/sound_switch/endpoint_1/defaultVolume/set",
min=0,max=99]
Type number : sound "Siren Sound" [ stateTopic="zwave/Laundry_Room/Aeotec_Indoor_Siren_6/sound_switch/endpoint_1/toneId",
commandTopic="zwave/Laundry_Room/Aeotec_Indoor_Siren_6/sound_switch/endpoint_1/toneId/set",
min=0,max=30]
Type string : tamper "Laundry Room Siren Tamper" [stateTopic="zwave/Laundry_Room/Aeotec_Indoor_Siren_6/notification/endpoint_0/Home_Security/Tampering_product_moved" ]
Type number : LastHeardFrom "Laundry Room Siren Last Heard From" [stateTopic="zwave/Laundry_Room/Aeotec_Indoor_Siren_6/lastActive"]
}
I think the difference in appearance is the difference between defining in the UI or using text files. For troubleshooting can you trigger the sound from the ZUI page for that node? Could also try the Mqtt explorer to send a command. Just to make sure the device is responsive. Then youâll know if it is something in OH that is not right.
Thanks for the explanation of the config file. I used to use the UI (now have switched to text) and never looked at the code tab. Iâll try more testing in ZUI.
I did try updating the toneId in ZUI â[10-121-1-toneId] Play Toneâ and get an error from the app. In doing some testing this looks almost like a bug in ZUI as if I donât set the âSend Optionsâ volume I get the following error and if I do set it to a numeric value the error shows the numeric value in quotes like its a string.
I was wondering what significance the âsetâ parameter is. Should we be setting the toneId directly? (I did try that, still nothing)
Since I donât have the device I canât be much use there. However, since @Mclupo has it working it is probably not a ZUI bug. Most ZUI params have a little up/down arrow to change values are you using that?
âSetâ helps to keep things straight (If that makes sense). It creates a ZW command and if successful, the state will change. There is a radio lag (usually in ms) between the set and the state change.
EDIT: I donât have any sound device, but setting the sound seemed to not spring an error;
How did you âincludeâ the siren, with safety code or not. The siren is really a diva. Once there was an update from ZUI and I had to âexcludeâ and âincludeâ it again, because it showed a proper connection but I could not set any volume or tune parameter.
Maybe you can tell us your components - which zwave stick - OH version and ZUI version. Where and how did you install ZUI program.
Both Eclipse-Mosquitto & zwavejs-zwave-js-ui are running in Docker Containers (On a Synology NAS).
I donât have a lot of z-Wave devices. I have 7 motion detectors that work fine and writing and reading data to the Siren also works fine. (I can see the data in MQTT Explorer) I have a tamper alert on the siren setup and it works.
I think I am going to reinstall everything. Can you give me the version of your zwavejs-zwave-js-ui so I can make sure we are running the same thing? (Right now I use latest).
Iâd already done all the manual things you mention and I always get the above errors when I try to play the toneâŠ