I think it is an easier and more general solution to use https://github.com/arendst/Sonoff-Tasmota
Best posts made by Morten Mathiasen
This user hasn't posted anything yet.
Latest posts made by Morten Mathiasen
RE: 💬 Sonoff relay using MySensors ESP8266 wifi or mqtt gateway