
Available from:
Amazon.com
Banggood.com
Amazon.ca
Manufacturer:
Moeshouse.com
GPIO # | Component |
---|---|
GPIO00 | User |
GPIO01 | User |
GPIO02 | User |
GPIO03 | User |
GPIO04 | Relay1 |
GPIO05 | Led2i |
GPIO09 | None |
GPIO10 | None |
GPIO12 | Relay2i |
GPIO13 | Switch2 |
GPIO14 | Switch1 |
GPIO15 | User |
GPIO16 | User |
FLAG | None |
BLAKADDER
when buying from moeshouse.com store for a 20% discount.
To control the switch via MQTT you will need to monitor the Power1 state and send an ON/OFF as an event command.
If the light is backwards toggle the Power1 relay once on the Tasmota GUI to follow the light correctly. Power1 state should then follow the “light on” sensor after this.
Optional: A long press rule can be added to the rule3 if needed for switch2#state=3 for a long press action.
Sample Home Assistant Config
Alternative ruleset using conditional expressions
This will provide a 3rd relay in Tasmota that will accurately track the STATE of the light. Using this information, be sure to name “FriendlyName3” and use that entity in Home Assistant to toggle/track the state of the light.