Let’s start with the simple case: performing an action only when the switch goes active. We’ll assume the switch starts in ...
This program written with Arduino Code running on ESP8266 (Wemos D1) is just a test to access, read status and control Tuya compatible WiFi Smart Devices (Plugs, Switches, Lights, Window Covers, etc.) ...