This looks awsome and exactly what i was after. I use ESP8266's with NRF24L01+'s as relay nodes connecting back to a cloud mqtt server but have had to statically assign id's.
@BulldogLowell I have powered it off an external battery pack. Same story!
its worth a try, however this works 100% fine when there is not a fan connected I might try a different AC device to see if that is just as reliable as no AC device connected.
@BulldogLowell im using one of these onto the 5v pin of the board:
I have also tried feeding it via USB of a 2.1 amp supply with the same results.
I have D3 signal low to trigger the relay. The same 5V source powers the relay, but this works fine if no load is connected.
I have a sensor node driving a fan and sometimes when toggling the relay the node locks up. I am using a nano board and when it locks up the TX led stays solid.
The relay board is opto isolated. I have done some research about the interference that can be caused by a relay switching a motor, but I don't understand the solutions and given its 240v I don't want to make changes to the 240 side unless I fully understand them.
I have tried swapping out the radio, the nano and the relay.
I have not been able to reproduce the fault when the fan is disconnected.
My skills are quite basic so any simple advice would be very much appreciated!