I am very interested in this ability as I am getting good results with 3 Xenons when setup with an Argon but then turning the Argon off.
Using SYSTEM_THREAD(ENABLED); will that dramatically effect using the Argon? I would like both abilities. Works fine with the Argon can flash Xenons etc, but when the Argon is off the Xenons work fine locally. Any suggestions. I think I will just insert the code above and see what happens.
....
So I tried
SYSTEM_THREAD(ENABLED);
which did not seem to let a Xenon connect to working Xenons without a gateway. Note: for me once running with a gateway my Xenons are reasonably stable once the gateway has been turned off.
Xenons can be reset, but cannot power down and reconnect to the local mesh. Using threaded seems to offset the timing a bit. before all local devices blinked at exactly the same time, not using threaded they are offset a few microseconds
Will try
SYSTEM_MODE(SEMI_AUTOMATIC)
but I need to be able to connect to an Argon if it is available. Might try a 60 second delay to connect on boot.
A little scared to run this code in my setup using SYSTEM_MODE(SEMI_AUTOMATIC)
Mesh.connect();
delay(60000);
if (! Mesh.ready()){
Mesh.disconnect();
}
@rickkas7 any suggestions for code to try to allow the Xenons to wake without a gateway.