I am new to HA. Trying to figure out how to make use of the buttons my rooted wink relay. I got HA read tempatures and humidity. I would like to use the 2 buttons on the relays turn on/off zwave light switches or control volume in a specific zone using linkplay addon.
How can i set in my ha configuration file “if button 1 pressed turn on zwave switch1”
Thank you. A sample config would be a lot easier. I understand the basics of it. I am not sure to combine mqtt button with zwave switch or group of switchs
It’s so you don’t have to use the existing Home Assistant Z-Wave integration as that has issues like needing to reinitialise the entire network every time Home Assistant is restarted. By running Z-Wave in an addon that talks to Home Assistant via MQTT this is avoided. You can restart Home Assistant and the Z-Wave to MQTT container keeps running.
There may better options now though. I don’t use Z-Wave so am not the best to advise which to use. See Z-Wave JS here: 2021.2: Z-Wave... JS!
The wink mqtt switch you have is only going to control whatever you have wired to the Relay device. You don’t actually have to have anything wired to it though; you can use that mqtt topic as the trigger in an automation to turn on and off the dz15s. But minimally you’re going to need to join them together with an automation because you don’t have the zwave device wired to the actual Wink Relay.
I have used Relays both ways, direct wired and through separate automation. Both use the same mqtt topic though.