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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![WLED Ring | Solar Water Heater Temperatures](https://i.ytimg.com/vi/7NlwI8egSAM/default.jpg)
![When you combine WLED, Home Assistant, Alexa and PC aRGB!](https://i.ytimg.com/vi/2vGvGrk_DF8/default.jpg)
![WLED | 3D Design and assembly of my Echo Dot 3 Base Ring](https://i.ytimg.com/vi/x5IQaEXqTP4/default.jpg)
![Tasmota #07 | Show remote sensors with MQTT & KNX Events in SSD1306 | Compile online with GitPod](https://i.ytimg.com/vi/nIBMtd2vUZo/default.jpg)
![ESP Media Player | Addressable LED effect while playing](https://i.ytimg.com/vi/GszaerVACX0/default.jpg)
![Tasmota #06 | SSD1306 Display | Show Sensor data with Displaytext and rules](https://i.ytimg.com/vi/_Zkw-24IwIw/default.jpg)
![Tasmota #02 | Router Fan Project | Sensor & Switches in Rules](https://i.ytimg.com/vi/HWbju0wQX_U/default.jpg)
![WLED Soundreactive | 3D printed 4x4 LEDs](https://i.ytimg.com/vi/RtlWGWxMGVg/default.jpg)
![My WLED Lamp | 3 paraller strips - no shadows](https://i.ytimg.com/vi/jIu5D2NF_Sk/default.jpg)
![Tasmota #03 | Controling other Tasmota & WLED | Multipress & Websend](https://i.ytimg.com/vi/2ItsP1MCx4g/default.jpg)
![Tasmota #05 | Smart Fan v3 with LED Buttons | Interlock](https://i.ytimg.com/vi/7WdWsjLnuKY/default.jpg)
![Tasmota #01 | Closet Led Project | From Introduction to Timers in Rules](https://i.ytimg.com/vi/1OzySRCVnRo/default.jpg)
![Xiaomi Zigbee Door & Window Sensor | Unboxing & Setup in Home Assistant (ZHA)](https://i.ytimg.com/vi/QR98IJGJXZg/default.jpg)
![Smart Fan Project v2| Tasmota interlock for relays](https://i.ytimg.com/vi/7E3F7Wt4txM/default.jpg)