...
We will detail the steps required to flash the open source Tasmota firmware on a Treatlife 3 way switch and configure it to work with Homebridge.
Hardware
GPIO | Details |
---|---|
4 | White LED |
5 | Red LED |
12 | Relay |
13 | Button |
14 | Sensor |
Install Tuya Convert on a Raspberry Pi
...
The dimmer will reboot and connect to your wifi network. Check your router to find out it's IP address and connect to it via your browser.
Set the GPIOs
3 Way Setup
Issue the following from the console:
...
Should result in the following:
2 Way Setup
> backlog module 18;gpio4 21;gpio5 57;gpio12 30;gpio13 18;gpio14 9;switchtopic 0;switchmode1 0;buttontopic 0;rule1 0;rule2 0
Homebridge Config
...