Enviro Grow WiFi issue

Pico never connects to WiFi, even though during setup it properly detects it, password is correct.
It always fails with -2 error (No matching SSID found (could be out of range, or down)).

2000-01-01 00:10:26 [info     / 124kB] > active: 0, status: 0 (Link is down)
2000-01-01 00:10:27 [info     / 135kB] > Ready for connection!
2000-01-01 00:10:27 [info     / 133kB] > Connecting to SSID ASUS (password: 1234567890)...
2000-01-01 00:10:27 [info     / 129kB] > active: 1, status: -2 (No matching SSID found (could be out of range, or down))
2000-01-01 00:10:27 [error    / 126kB] ! Failed to connect to SSID ASUS (password: 1234567890): No matching SSID found (could be out of range, or down)
2000-01-01 00:10:27 [error    / 124kB] ! failed to synchronise clock
2000-01-01 00:10:27 [info     / 122kB] > going to sleep

If I manually trigger main.py from Thonny:

2000-01-01 00:01:58 [debug    / 141kB]   - running Enviro 0.0.10, MicroPython v1.22.2, enviro v1.22.2 on 2024-03-06
2000-01-01 00:01:58 [info     / 134kB]   - wake reason: usb_powered
2000-01-01 00:01:58 [debug    / 133kB]   - turn on activity led
2000-01-01 00:01:58 [info     / 131kB] > clock not set, synchronise from ntp server
2000-01-01 00:01:58 [info     / 129kB] > connecting to wifi network 'ASUS'
2000-01-01 00:01:58 [info     / 126kB] > MAC: xxx
2000-01-01 00:01:58 [info     / 123kB] > active: 1, status: -1 (Connection failed)
2000-01-01 00:01:58 [info     / 122kB] > Ready for connection!
2000-01-01 00:01:58 [info     / 144kB] > Connecting to SSID ASUS (password: 1234567890)...
2000-01-01 00:01:59 [info     / 139kB] > active: 1, status: 1 (Connected to wifi)
2000-01-01 00:01:59 [info     / 136kB] > active: 1, status: 1 (Connected to wifi)
2000-01-01 00:02:00 [info     / 132kB] > active: 1, status: 1 (Connected to wifi)
2000-01-01 00:02:01 [info     / 127kB] > active: 1, status: 1 (Connected to wifi)
2000-01-01 00:02:01 [info     / 124kB] > active: 1, status: -1 (Connection failed)
2000-01-01 00:02:01 [error    / 121kB] ! Failed to connect to SSID ASUS (password: 1234567890): Connection failed
2000-01-01 00:02:01 [error    / 119kB] ! failed to synchronise clock
2000-01-01 00:02:01 [info     / 103kB] > going to sleep

Is said network 2.4 GHz? If it 5 GHz that’s your issue. A Pico W can’t do 5 GHz.

Have you seen this.
enviro/documentation/troubleshooting.md at main · pimoroni/enviro (github.com)

I have several Pi and Pico Enviro setups here. On the Pico side, I don’t use the Enviro Firmware file. I use the Pimoroni Pico or Pico W custom uf2. Then I just modify one of the examples to do what “I” want to happen. Those setups are weather setups, not Grow.
I have two Grow setups, but they are Pi Grow Hat Mini setups. SSH is enabled, but only so I can log in and shut them down from Putty. I went Grow Hat Mini because it had the LCD. I like to have a look see at what’s happening.

At some point I’ll likely switch to a Pico setup, if I can setup a small LCD.

On the Pi side, all but one of my setups are Enviro Clones. Stand alone LCD’s, plugged in BME280’s etc. Manly so I can use as big an LCD as possible.

So far, I don’t upload any data to a data base. It’s on my todo list. Just can’t find my round 2it. ;)

Thank you. Yes, it’s 2.4 and near the router) I went through troubleshooting - nothing(
I can’t understand why this happens - as it even through setup process shows me this network, I select it from the list, and yet after reboot it ends with error ‘No matching SSD found’… How this could be?..

I will probably try with custom uf2.

I did some poking around on GitHub. I didn’t see any stand alone Micro Python examples etc? That’s going to make it hard to roll your own setup. I hadn’t realized it was like that on the Pico Enviro side of things. It looks like all the Pico Enviro stuff uses the custom (requires provisioning) firmware.
I guess the other option is to edit the main.py file? Strip out the wifi stuff and just leave the auto watering code? Just be advised, that may make setting your watering level etc tricky?

I had the exact same issue. In fact everything worked and stopped working a few days ago. My Enviro Grow would’t find the SSID with that same error code -2

It seems that the device cannot handle certain Wifi chanels. It was set to auto in my router. The wifi for 2.4gHz was running at chanel 12. This was the issue. I manually set the chanel in my router to 2 and everything worked again, the SSID can be found again.

Maybe there is a more failsafe solution to make the Pico look/scan for all chanels?