I have this sensor running on the Arduino Uno v2 wifi. It appears to stop after about an hour or two. Thoughts? I will setup now with serial monitor to try and get more information.
Further investigation I have put the sensor directly on the serial port on the computer. The time before it shuts down is more around 40 minutes when not connected to computer. When connected it shuts down in about an 25 mins (power mgmt?). While I have the serial monitor on, it shows that the Pocket Geiger is still reporting readings so I guess we can rule that out. While the readings are still being seen on the serial monitor they have stopped being received on MQTT. When I restart the monitor, it appears to reconnect to the network and begin sending again. So my guess at this point is that the arduino wifi doesn’t like the delay in the sensors and errors (unhanndled) and then loses it’s network connection.
Plots included
Further review it looks like the sensor continues to function to serial monitor, likely it’s the MQTT disconnecting due to timing? though appears like the numbers are occurring regularly enough.
Need to explore an alternative to MQTT I suppose for this sensor. Modified the Arduino MQTT example.