With OpenZwave Beta, this device works. It’s easy to set up once you do the manual stuff. You need to get the MQTT endpoint IDs of your devices, then it’s easy.
First up, as long as you have 1 zwave network and are using the OZW Beta, here’s your Publish topic: OpenZWave/1/command/setvalue/
Now we need to get the values. Lets do Volume first. We have a bunch of sound switches on this device. Lets do Doorbell 1.
- Poke around until you find your node ID
- Go to node 3. The first one is admin stuff. 2nd is tamper tone. 3 is Doorbell 1.
- navigate to commandclass->121-> value and find the one the shows “Volume”
- You now have your ID. See the picture. The value key is your ID. It’s also in the “ValueIDKey” of the message.
Now I know my Switch 3 volume command is this for max volume
{"ValueIDKey":562951507296305,"Value":100}
or for low volume its:
{"ValueIDKey":562951507296305,"Value":30}
Lets set the volume to low.
If you’d like to do this from Home Assistant, you make a call to service mqtt.publish and format the Service Data like this:
topic: OpenZWave/1/command/setvalue/
payload: "{\"ValueIDKey\":562951507296305,\"Value\":30}"
You can use this in an automation.
Now lets make the sound work.
Get your ValueIDKey from the list of tones.
in my case it’s 281476526391348
So lets play tone 29
{"ValueIDKey":281476526391348,"Value":29}
Now lets do that from Home Assistant. Service: mqtt.publish
topic: OpenZWave/1/command/setvalue/
payload: "{\"ValueIDKey\":281476526391348,\"Value\":29}