Пульт управления для умного дома. Tasmota + HomeAsisstant

 

DipTrace Schematic – Button-ESP-MCP-V1.0-COLOR

8 Кнопоок MCP23008

backlog sensor29 0,2,1; sensor29 1,2,1; sensor29 2,2,1; sensor29 3,2,1
backlog sensor29 4,2,1; sensor29 5,2,1; sensor29 6,2,1; sensor29 7,2,1

ДВЕ Кнопки на портах GPIO12 и GPIO13

SwitchMode1 1
SwitchMode2 1
Rule1 ON switch1#state DO publish stat/KnopkaRomik/RESULT {“SWITCH1”:%value%} ENDON
Rule2 ON switch2#state DO publish stat/KnopkaRomik/RESULT {“SWITCH2”:%value%} ENDON
Backlog Rule1 1; Rule2 1

Платы + схемы

DipTrace Schematic – Button-ESP-MCP-V2.0