Page 1 of 1
Zway HA Integration - sending command classes
Posted: 10 Jan 2023 07:21
by mango
So been using the ZWay/HA integration for a while and its been rock solid.
Im trying to set up a siren for multiple purposes (using different chimes), but that would require zwave command classes to be sent from HA. Does anybody have any guidance or experience with this? (all i see is an off/on switch) - but this variable for on/off doesnt even work in HA
Siren is Neo Coolcam NAS-AB01Z
http://manuals-backend.z-wave.info/make ... 0-17025443
Using Razberry 7 Pro 4.02 Firmware
(i dont think Z-way has properly recognised the device, even though its 100% interviewed)
Re: Zway HA Integration - sending command classes
Posted: 11 Jan 2023 05:59
by PoltoS
You can make a virtual HTTP device and send Z-Wave API commands via HTTP. For this go in Expert UI > Configuration > Expert Commands to test your command and copy the desired HTTP URL. Paste it in the HTTP-based device in HA together with the API token.
Here is a great guide:
https://help.z-wave.me/en/knowledge_bas ... rough-curl
Re: Zway HA Integration - sending command classes
Posted: 11 Jan 2023 08:04
by mango
PoltoS wrote: ↑11 Jan 2023 05:59
You can make a virtual HTTP device and send Z-Wave API commands via HTTP. For this go in Expert UI > Configuration > Expert Commands to test your command and copy the desired HTTP URL. Paste it in the HTTP-based device in HA together with the API token.
Here is a great guide:
https://help.z-wave.me/en/knowledge_bas ... rough-curl
Great! I managed to get this going by creating a user and generating a token, however its strange.
For on/off, it works, and i get an output of {"data":null,"code":200,"message":"200 OK","error":null}
However, for changing Zwave Configuration e.g.
http://1.2.3.4:8083/ZWave.zway/Run/devi ... Set(7,1,0)
I get 'Permission Denied', for the same device. (full command: curl -g -H "Authorization: Bearer /70c06714-4f09-6cf0-91e2-123123123" "
http://x.x.x.x:8083/ZWave.zway/Run/devi ... Set(7,1,0)"
Any idea why? (do you need admin priv to run command classes?)
Edit: Worked it out. Requires Admin Role.
Re: Zway HA Integration - sending command classes
Posted: 11 Jan 2023 13:06
by PoltoS
The Z-Wave API is available only to admin. If you don't want to give admin access, you can create a Code Device in Z-Way and export it to HA as a normal device.
Here is another article for you:
https://help.z-wave.me/en/knowledge_bas ... rt-home-ui
Re: Zway HA Integration - sending command classes
Posted: 04 Oct 2023 12:08
by Amelia Bailey
mango wrote: ↑10 Jan 2023 07:21
So been using the ZWay/HA integration for a while and its been rock solid.
Im trying to set up a siren for multiple purposes (using different chimes), but that would require zwave command classes to be sent from HA. Does anybody have any guidance or experience with this? (all i see is an off/on switch) - but this variable for on/off doesnt even work in HA
Siren is Neo Coolcam NAS-AB01Z
http://manuals-backend.z-wave.info/make ... 0-17025443
Using Razberry 7 Pro 4.02 Firmware
(i dont think Z-way has properly recognised the device, even though its 100% interviewed)
To start, make sure your siren device is properly added and recognized in Home Assistant. Once that's done, you can proceed with configuring the siren and its associated chimes.