I have a new Enviro Grow that I am trying to set up. On first try, I got a red flashing light and no connection to wifi. In the logs I was seeing a problem with synching the time.
So I updated the UF2 file to pimoroni-enviro-v1.22.2-micropython-enviro-v0.2.0.uf2
I ran the setup again, same issue. Here are the logs :
2000-01-01 00:00:13 [info / 138kB] > Connected successfully!
2000-01-01 00:00:13 [info / 135kB] > IP: 192.168.50.146, Subnet: 255.255.255.0, Gateway: 192.168.50.1, DNS: 192.168.50.1
2000-01-01 00:00:13 [info / 133kB] > Elapsed: 9603ms
2000-01-01 00:00:13 [warning / 117kB] - took 9.603 seconds to connect to wifi
2000-01-01 00:00:23 [error / 126kB] - failed to fetch time from ntp server
2000-01-01 00:00:23 [error / 124kB] ! failed to synchronise clock
2000-01-01 00:00:24 [info / 122kB] > going to sleep
2000-01-01 00:00:24 [debug / 120kB] - clearing and disabling previous alarm
2000-01-01 00:00:24 [info / 117kB] - setting alarm to wake at 00:15am
2000-01-01 00:00:24 [info / 115kB] - shutting down
2000-01-01 00:03:31 [info / 133kB] > performing startup
2000-01-01 00:03:31 [debug / 131kB] - running Enviro 0.0.10, MicroPython v1.22.2, enviro v1.22.2 on 2024-03-06
2000-01-01 00:03:31 [info / 141kB] - wake reason: usb_powered
2000-01-01 00:03:31 [debug / 139kB] - turn on activity led
2000-01-01 00:03:31 [info / 137kB] > clock not set, synchronise from ntp server
2000-01-01 00:03:31 [info / 135kB] > connecting to wifi network 'SilenceOfTheLAN'
2000-01-01 00:03:32 [info / 131kB] > MAC: 28:cd:c1:05:02:63
2000-01-01 00:03:32 [info / 129kB] > active: 0, status: 0 (Link is down)
2000-01-01 00:03:32 [info / 127kB] > Ready for connection!
If I reset the board with the button, it goes back to the same error.
I have double and triple checked my wifi password. My config.py is as follows :
# enviro config file
# you may edit this file by hand but if you enter provisioning mode
# then the file will be automatically overwritten with new details
provisioned = True
# enter a nickname for this board
nickname = 'ivor'
# network access details
wifi_ssid = 'SilenceOfTheLAN'
wifi_password = 'PASSWORD'
wifi_country = 'GB'
# how often to wake up and take a reading (in minutes)
reading_frequency = 15
# how often to trigger a resync of the onboard RTC (in hours)
resync_frequency = 168
# where to upload to ("http", "mqtt", "adafruit_io", "influxdb")
destination = 'adafruit_io'
# how often to upload data (number of cached readings)
upload_frequency = 1
# web hook settings
custom_http_url = ''
custom_http_username = ''
custom_http_password = ''
# mqtt broker settings
mqtt_broker_address = ''
mqtt_broker_username = ''
mqtt_broker_password = ''
# mqtt broker if using local SSL
mqtt_broker_ca_file = None
# adafruit ui settings
adafruit_io_username = 'MYUSER'
adafruit_io_key = 'KEY'
# influxdb settings
influxdb_org = ''
influxdb_url = ''
influxdb_token = ''
influxdb_bucket = ''
# grow specific settings
auto_water = False
moisture_target_a = 50
moisture_target_b = 0
moisture_target_c = 0
# compensate for usb power
usb_power_temperature_offset = 4.5
I thought it might be an issue with this board, so I tried the Enviro Indoor that I ordered at the same time.
I get the exact same issue with that!
I even tried updating the NTP server. I thought it might be because I am using the boards in the US.
So I updated ntp.py as follows :
ntp_host = "us.pool.ntp.org"
Hi!
I have a new Enviro Grow that I am trying to set up. On first try, I got a red flashing light and no connection to wifi. In the logs I was seeing a problem with synching the time. So I updated the UF2 file to pimoroni-enviro-v1.22.2-micropython-enviro-v0.2.0.uf2 I ran the setup again, same issue. Here are the logs :
If I reset the board with the button, it goes back to the same error. I have double and triple checked my wifi password. My config.py is as follows :
I thought it might be an issue with this board, so I tried the Enviro Indoor that I ordered at the same time. I get the exact same issue with that!
I even tried updating the NTP server. I thought it might be because I am using the boards in the US. So I updated ntp.py as follows : ntp_host = "us.pool.ntp.org"
No dice.