Maybe this could be more straightforward, when adding a switch in the domoticz menu should appear the extra switches, just dreaming hehehe.
This is by far the best firmware I have tried :)
Thanks for all the great work :D
The AM2301 I use automatically to turn the heaters on and off. But for that, you can also use a contact.
I hope Tasmota expanded in the future with e a water level gauge or rain gauge, there are so many "fun" Arduino extensions that might work perfectly on a Sonoff with Tasmota.
On all the relay extension boards I have replaced the 5 volt relay for 3 volt!
Sonoff_template.h
{ "Sonoff Basic", // Sonoff Basic (ESP8266)
GPIO_KEY1, // GPIO00 Button
GPIO_USER, // GPIO01 Serial RXD and Optional sensor
0, // GPIO02
GPIO_USER, // GPIO03 Serial TXD and Optional sensor
GPIO_USER, // GPIO04 Optional sensor
GPIO_USER, // GPIO05 Optional sensor
0, // GPIO06 (SD_CLK Flash)
0, // GPIO07 (SD_DATA0 Flash QIO/DIO/DOUT)
0, // GPIO08 (SD_DATA1 Flash QIO/DIO)
0, // GPIO09 (SD_DATA2 Flash QIO)
0, // GPIO10 (SD_DATA3 Flash QIO)
0, // GPIO11 (SD_CMD Flash)
GPIO_REL1, // GPIO12 Red Led and Relay (0 = Off, 1 = On)
GPIO_LED1_INV, // GPIO13 Green Led (0 = On, 1 = Off)
GPIO_USER, // GPIO14 Optional sensor
0, 0
},
I Like this one :-)
Sonoff Pow for the washing machine, that I only want to measure not want to switch.
Relay brought out to turn a lamp on and off. And a jumper instead of the Relay.
The remaining GPIO are also useful, but I do not need them there.