Alternative firmware for ESP8266 with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
You should look at the Tasmota website. They have a good guide about flashing the software and I found a template for the other switch you mentioned. If the template isn't right you might have to play around to find out which gpio pin does what but that is also explained in their documentation. It won't be easy though.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Smart bulb help
2 projects | reddit.com/r/tasmota | 27 Sep 2022
Gyroscope sensor drifting
1 project | reddit.com/r/tasmota | 26 Sep 2022
1 project | reddit.com/r/tasmota | 24 Sep 2022
Controlling unaffiliated LED strips
1 project | reddit.com/r/homeautomation | 22 Sep 2022
Has anyone bridged a Shelly device and give some advice?
1 project | reddit.com/r/arduino | 18 Sep 2022