I’ve posted a corrected version. Thanks @Lesley.Persyn for spotting that, I don’t have an ESP8266, so I have never been able to perform actual tests on that particular configuration. Simsala has extensively used it on a 4-wire system - and that section of code is for 3-wire systems only.
1 Like