-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enviro Weather Red Light v0.0.10 #209
Comments
|
The issue is indeed failure to sync with NTP server, the main code loop will bail and wait for the next wakeup to try again while flashing the red light if the NTP sync fails. This is reflected by the log entry "! failed to synchronise clock" The cause of this is the NTP module fails to populate the timestamp variable with a valid time, which aligns to log output " - failed to fetch time from NTP server". Given you have a valid IP address logged above you have successfully connected to your AP and sent/received packets to get a DHCP response, so I would suggest this is a network issue between your AP/firewall/router preventing the Pico making the call to the NTP server rather than any wireless config you could adjust on the Pico. Could you try setting an hotspot up on your phone and connecting to that instead of your main wireless, if that works then you can confirm it's that specific connection that has an issue. |
I connected via mobile hotspot and that worked. I have this connected via StarlinkISP maybe a temporary intermittent issue but didn't notice any connectivity issues? |
Which NTP server is being used I'm getting red lights again flashing.. |
The failing function is calling this code (phew.ntp): https://github.com/pimoroni/phew/blob/b33a44bffeb1354b730b9572410232b10f6e62e9/phew/ntp.py |
I had this problem (or a very similar one). I worked around it by changing the NTP server (line 4) |
Just received Enviro Weather ran through the update steps getting the red flashing light.
I looked at the error logs would this be causing the error light to flash?
2024-02-03 14:26:56 [error / 89kB] - failed to fetch time from ntp server
2024-02-03 14:26:56 [error / 133kB] ! failed to synchronise clock
I ran through the troubleshooting guide but still getting this issue on both USB and powerpack.
Can see the device logging into the router - don't think it's an issue connecting to the wifi.
I'll have a look at the config - is there anything else I should check?
I've setup adafruit - no data appearing yet but haven't plugged in any sensors yet..
Thanks
The text was updated successfully, but these errors were encountered: