logo elektroda
logo elektroda
X
logo elektroda

How to Control SonOff 4ch R3 Relays via Domoticz Select Switch and MQTT?

maxilos1221 369 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 20762105
    maxilos1221
    Level 8  
    Hello everyone

    First of all I would like to point out that these are my first adventures with AFE Firmware in combination with Domoticz.
    My plan is to control the three relays in the SonOff 4ch R3 via MQTT.
    I would like to control the relays via a select switch from Domoticz.
    The general plan of action is as follows:

    Quote:

    Off - R1[off], R2[off], R3[off]
    Short half - R1[on], R2[off], R3[off]
    Short whole - R1[on], R2[on], R3[off]
    Whole - R1[on], R2[on], R3[on]


    My problem is that I have absolutely no idea how to bite this topic, I have never used switches of this type. The control can be done via MQTT or HTTP API. I also have Node Red on the server at my disposal.
  • ADVERTISEMENT
ADVERTISEMENT