Please can you advise? I'm monitoring and controling and steering fermentation with Brucontrol. Unfortunately, arduino's fall off from the network regularly. I have a protocol arduino_detection.bcs (runs inside BruControl every 60s)
→ checks MEGA.connected
→ sets Arduino1_Online = 1 or 0
→ can fires tx "MEGA" %N if offline
→ sets Arduino1_RebootFailed = 1 if still offline after 15s
↓ BruControl API
arduino_monitor.py (runs on your PC)
→ reads Arduino1_Online from API every 60s
→ logs OFFLINE / BACK ONLINE on state changes only.
FOR TESTING I would need the %N BruControl reboot command, can you please provide the %N reboot command? Tahnk you.
Hi. Sorry, I'm not sure where you got a "reboot" command. There is not one currently in the firmware. And the code you have is not correct syntax... for example BC does not have a set command.
The reality of a microcontroller is that it cannot get into a funky state. It either runs or it doesn't, and if its not running, no software command would fix it.
If you are losing network connectivity, its likely something else than the code state. Likely either a power supply problem or a network one.
