Загрузка страницы

Tasmota #04 | DIY Smart Plug Project | Multipress to change device function

I made a DIY 30A Smart Plug with a Button and use Multipress to change between Auto-Off & Manual Modes.

In "Rule 1 Mode" there is only manual control, in "Rule 2 Mode" the relay will close when timer expires and the user can close it manually before that (with the timer reset). Rule 3 changes the Device Mode when button is hold. All the rules call different Led colors for visualization.

Tasmota Rules Used:

so73 (to enable multipress for button)

rule1 ON button1#state=10 DO power1 toggle ENDON ON power1#state=1 DO backlog color 1; dimmer 100 ENDON ON power1#state=0 DO power2 off ENDON

rule2 ON button1#state=10 DO backlog power1 toggle; ruletimer1 5 ENDON ON power1#state=1 DO backlog color 3; dimmer 100 ENDON ON Rules#Timer=1 DO Backlog power1 off; power2 off ENDON ON power1#state=0 DO backlog ruletimer1 0; power2 off ENDON

rule1 off
rule2 on

rule3 ON button1#state=3 DO backlog rule1 toggle; rule2 toggle; color 2; power2 off ENDON

rule3 on

Read more on Tasmota Documentation:
https://tasmota.github.io/docs/Buttons-and-Switches/#multi-press-functions/
https://tasmota.github.io/docs/Rules/

Видео Tasmota #04 | DIY Smart Plug Project | Multipress to change device function канала Panagiotis Vollas
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 июля 2021 г. 23:12:48
00:04:01
Яндекс.Метрика