Ribbit-Network / ribbit-network-frog-software

The software for the Ribbit Network Frog Sensor
https://www.ribbitnetwork.org/
MIT License
9 stars 8 forks source link

Add console logging for wifi connection status #28

Open keenanjohnson opened 1 year ago

keenanjohnson commented 1 year ago

The esp-web-tool we use the flash the device has an easy button to show some console logs to users which could help dramatically with helping users figure out if their frogs are working correctly, especially when diagnosing connectivity issues.

Right now the software doesn't log anything useful related to the wifi connectivity status to that console.

dave-ct commented 1 year ago

As the console logs are from the device I dont think if there are USB connection issues it is going to help. It more likley it needs some better error messages when trying to connnect to the device initally to show why it could not. Once the device is connected it is showing logs for me. First if the sensor are not connected (following curernt assmebly guide) you get error mesages about the sensors not working. Once the device is registered you get the actual "info" logs showing it connect to COAP and then the messages it sends.

keenanjohnson commented 1 year ago

Ah good points @dave-ct and @damz from Discord. I updated the title and description to be a bit more specific related to adding logging relevant to the wifi connectivity status