When controlling the relay over HTTP, the toggle switch in HASS now changes to on/off accordingly. Yay!
I’m now going to order the ‘Linknode R4’, which is a nice board with a ESP and 4 relays. I find that it looks very safe with the milled slots in the PCB to create more isolation distance. I’m going to use it to control my mechanical home ventilation soon.
I installed it in the following way (also Wemos D1 Mini v2) .
There where some glitches in previous versions of esp easy with relais .
also had a bug with the systemname variable (advanced tab)
Cut from the config like below