Playing sounds on the Zooz Siren ZSE19
-
I'm trying to do this now that I have migrated the siren to Zway. Here's the thread from the Vera forums on how to do it with a Vera: https://community.getvera.com/t/playing-sounds-on-the-zooz-siren-zse19/211318
I'm guessing something needs to change in the code since previously it was calling out the vera specifically.
Here's what shows up in the logs when I tried to use Reactor for the SendData. Zway plugin is device 18. And my siren is device number 95 in my Zway network.
2020-12-01 15:37:27.052 openLuup.server:: POST /data_request HTTP/1.1 tcp{client}: 0x56194138c448 2020-12-01 15:37:27.052 luup.call_action:: 18.urn:micasaverde-com:serviceId:ZWaveNetwork1.SendData 2020-12-01 15:37:27.053 openLuup.server:: request completed (151 bytes, 1 chunks, 0 ms) tcp{client}: 0x56194138c448 2020-12-01 15:37:27.079 luup_log:18: ZWay: http://127.0.0.1:8083/ZWaveAPI/Run/SendData(95,x79 8 35) 2020-12-01 15:37:27.079 luup_log:18: ZWay: SyntaxError: Unexpected number 2020-12-01 15:37:27.184 openLuup.server:: request completed (8606 bytes, 1 chunks, 5939 ms) tcp{client}: 0x561941d02fe8
-
It looks like the data formatting is different between the vera and the z-wave API which is not surprising.
The log shows that you are sending the message "x79 8 35" to node 95. The message is not in a valid format for z-way.
The message on z-way, I am guessing, should be "95,121,8,35". Reactor would need to be modified to make it work. -
Yea that makes sense that it was formatted with Vera in mind. Here was the luup call that was also given:
luup.call_action( "urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", { Node="ddd", Data="x79 8 nn" }, 1 )
So how do I modify that to work with zway?
-
-