(Thanks to Ruby)
COM is 110V in
CH0 goes nowhere = off
CH1 = Low
CH2 = Med
CH3 = High
The 5v is daisy chained across all three relay boards.
Once a minute the program on my RasPi reads greenhouse temp/humd. - if (temp > 78) curl fan1 on, temp > 80 fan2 on, > 82 fan3 on [ curl http://fanrelay1/on ]
Problem: Plug in the 5v, plug in the 110v - everything works - for a while then I loose WIFi connection.
I assume the 2A supply will run all 3 8266s - the same one runs my RasPi-3B no problem.
Is there a memory leak? IE: I can only query (http://fan1/on(off)) 500 times without a reboot. Do I need to keep count of queries and ESP.restart after, say, 60?
My INO sketch (simple http-like server) has in loop:
if(!connection_state)
connect (); // reconnect - not working
ESP.restart
Although I read somewhere that that only checks to see if the chip has an IP and all 3 are static.
I thank you for any help/pointers