Enviro Weather Pico W

I have provisioned my board to work with Adafruit IO, when I run the main.py while connected to usb I get the following info:
- – ---- ------=–==–=== i can has data? ===–==–=------ ---- – -

2022-12-13 23:53:05 [info / 101184]
2022-12-13 23:53:05 [info / 99568] hey enviro, let’s go!
2022-12-13 23:53:05 [info / 97872] - --=-=-===-=-=-- -
2022-12-13 23:53:05 [info / 96272]
2022-12-13 23:53:05 [debug / 124512] > performing startup
2022-12-13 23:53:05 [debug / 122816] - hold vsys_en high
2022-12-13 23:53:05 [info / 121040] - wake reason: unknown
2022-12-13 23:53:05 [debug / 119312] - turn on activity led
2022-12-13 23:53:06 [debug / 114784] > 91 blocks free out of 212
2022-12-13 23:53:07 [info / 103584] > 15 cache files need uploading
2022-12-13 23:53:07 [info / 121088] > connecting to wifi network ‘dustin08’
2022-12-13 23:53:07 [info / 117680] - ip address: 192.168.1.49
2022-12-13 23:53:08 [error / 99648] ! failed to upload ‘2022-11-08 22:28:16.json’ (422 b’Unprocessable Entity’) 2022-11-08 22:28:16.json
2022-12-13 23:53:08 [error / 115008] ! failed to upload ‘2022-11-08 22:51:21.json’ (422 b’Unprocessable Entity’) 2022-11-08 22:51:21.json
2022-12-13 23:53:09 [error / 101472] ! failed to upload ‘2022-11-08 23:06:04.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:06:04.json
2022-12-13 23:53:09 [error / 87936] ! failed to upload ‘2022-11-08 23:11:07.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:11:07.json
2022-12-13 23:53:10 [error / 120288] ! failed to upload ‘2022-11-08 23:15:19.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:15:19.json
2022-12-13 23:53:11 [error / 103232] ! failed to upload ‘2022-11-08 23:23:03.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:23:03.json
2022-12-13 23:53:12 [error / 89696] ! failed to upload ‘2022-11-08 23:38:03.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:38:03.json
2022-12-13 23:53:12 [error / 76160] ! failed to upload ‘2022-11-08 23:53:03.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:53:03.json
2022-12-13 23:53:13 [error / 107264] ! failed to upload ‘2022-11-09 00:08:03.json’ (422 b’Unprocessable Entity’) 2022-11-09 00:08:03.json
2022-12-13 23:53:13 [error / 93552] ! failed to upload ‘2022-11-09 00:23:03.json’ (422 b’Unprocessable Entity’) 2022-11-09 00:23:03.json
2022-12-13 23:53:14 [error / 79840] ! failed to upload ‘2022-11-09 06:13:41.json’ (422 b’Unprocessable Entity’) 2022-11-09 06:13:41.json
2022-12-13 23:53:14 [error / 112336] ! failed to upload ‘2022-11-23 21:08:03.json’ (422 b’Unprocessable Entity’) 2022-11-23 21:08:03.json
2022-12-13 23:53:15 [error / 98800] ! failed to upload ‘2022-12-13 23:34:56.json’ (422 b’Unprocessable Entity’) 2022-12-13 23:34:56.json
2022-12-13 23:53:16 [error / 85088] ! failed to upload ‘2022-12-13 23:49:36.json’ (422 b’Unprocessable Entity’) 2022-12-13 23:49:36.json
2022-12-13 23:53:16 [error / 116144] ! failed to upload ‘2022-12-13 23:53:06.json’ (422 b’Unprocessable Entity’) 2022-12-13 23:53:06.json
2022-12-13 23:53:16 [info / 114032] > going to sleep
2022-12-13 23:53:16 [debug / 112160] - clearing rtc alarm flags
2022-12-13 23:53:16 [info / 109952] - setting timer to wake in 15 minutes
2022-12-13 23:53:16 [info / 108000] - shutting down
2022-12-13 23:53:16 [debug / 105824] - on usb power (so can’t shutdown) halt and reset instead

Connection lost (device reports readiness to read but returned no data (device disconnected or multiple access on port?))

Use Stop/Restart to reconnect.

When I log into my Adafruit account it shows all the headers in the enviro group but without any data. Any suggestions? Thanks

I think ‘unprocessable entity’ happens if you’re exceeding Adafruit IO’s data limits - if you’re using a free account you’re limited to 30 datapoints a minute (and 10 different feeds). Each json file contains 7-9 datapoints (depending on what version of the Enviro software you’re running), so if you’re uploading 15 files at once that’s 105-135 datapoints you’re trying to upload in the same minute. There’s a bit of discussion of this in Getting Started with Enviro (Pico W Aboard)

Once you’ve adjusted your upload frequency (I think uploading three sets of readings at once skirts under the free account limits) you will probably need to delete the existing files from your ‘uploads’ folder so it doesn’t keep trying (and failing) to upload them.

I did this and still no data is showing up in Adafruit IO, this is what I get in the Python Screen:
2022-12-15 05:40:27 [info / 119856]
2022-12-15 05:40:27 [info / 118240] hey enviro, let’s go!
2022-12-15 05:40:27 [info / 116544] - --=-=-===-=-=-- -
2022-12-15 05:40:27 [info / 114944]
2022-12-15 05:40:27 [debug / 113328] > performing startup
2022-12-15 05:40:28 [debug / 111632] - hold vsys_en high
2022-12-15 05:40:28 [info / 109856] - wake reason: unknown
2022-12-15 05:40:28 [debug / 108128] - turn on activity led
2022-12-15 05:40:28 [debug / 103504] > 54 blocks free out of 212
2022-12-15 05:40:29 [info / 116768] > 141 cache files need uploading
2022-12-15 05:40:29 [info / 101264] > connecting to wifi network ‘dustin08’
2022-12-15 05:40:30 [info / 98032] - ip address: 192.168.1.49
2022-12-15 05:40:31 [error / 107984] ! failed to upload ‘2022-11-08 22:28:16.json’ (422 b’Unprocessable Entity’) 2022-11-08 22:28:16.json
2022-12-15 05:40:31 [error / 94272] ! failed to upload ‘2022-11-08 22:51:21.json’ (422 b’Unprocessable Entity’) 2022-11-08 22:51:21.json
2022-12-15 05:40:32 [error / 80560] ! failed to upload ‘2022-11-08 23:06:04.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:06:04.json
2022-12-15 05:40:32 [error / 109136] ! failed to upload ‘2022-11-08 23:11:07.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:11:07.json
2022-12-15 05:40:36 [error / 85040] ! failed to upload ‘2022-11-08 23:15:19.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:15:19.json
2022-12-15 05:40:36 [error / 115712] ! failed to upload ‘2022-11-08 23:23:03.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:23:03.json
2022-12-15 05:40:37 [error / 102176] ! failed to upload ‘2022-11-08 23:38:03.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:38:03.json
2022-12-15 05:40:37 [error / 88640] ! failed to upload ‘2022-11-08 23:53:03.json’ (422 b’Unprocessable Entity’) 2022-11-08 23:53:03.json
2022-12-15 05:40:38 [error / 74928] ! failed to upload ‘2022-11-09 00:08:03.json’ (422 b’Unprocessable Entity’) 2022-11-09 00:08:03.json
2022-12-15 05:40:38 [error / 107296] ! failed to upload ‘2022-11-09 00:23:03.json’ (422 b’Unprocessable Entity’) 2022-11-09 00:23:03.json
2022-12-15 05:40:39 [error / 93584] ! failed to upload ‘2022-11-09 06:13:41.json’ (422 b’Unprocessable Entity’) 2022-11-09 06:13:41.json
2022-12-15 05:40:40 [error / 79696] ! failed to upload ‘2022-11-23 21:08:03.json’ (422 b’Unprocessable Entity’) 2022-11-23 21:08:03.json
2022-12-15 05:40:40 [error / 112720] ! failed to upload ‘2022-12-13 23:34:56.json’ (422 b’Unprocessable Entity’) 2022-12-13 23:34:56.json
2022-12-15 05:40:41 [error / 99008] ! failed to upload ‘2022-12-13 23:49:36.json’ (422 b’Unprocessable Entity’) 2022-12-13 23:49:36.json
2022-12-15 05:40:41 [error / 85472] ! failed to upload ‘2022-12-13 23:53:06.json’ (422 b’Unprocessable Entity’) 2022-12-13 23:53:06.json
2022-12-15 05:40:42 [error / 116000] ! failed to upload ‘2022-12-13 23:54:20.json’ (422 b’Unprocessable Entity’) 2022-12-13 23:54:20.json
2022-12-15 05:40:42 [error / 102464] ! failed to upload ‘2022-12-14 00:07:37.json’ (422 b’Unprocessable Entity’) 2022-12-14 00:07:37.json
2022-12-15 05:40:43 [error / 88752] ! failed to upload ‘2022-12-14 00:09:51.json’ (422 b’Unprocessable Entity’) 2022-12-14 00:09:51.json
2022-12-15 05:40:43 [error / 75216] ! failed to upload ‘2022-12-14 00:10:19.json’ (422 b’Unprocessable Entity’) 2022-12-14 00:10:19.json
2022-12-15 05:40:44 [error / 107296] ! failed to upload ‘2022-12-14 00:25:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 00:25:03.json
2022-12-15 05:40:44 [error / 93584] ! failed to upload ‘2022-12-14 00:40:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 00:40:03.json
2022-12-15 05:40:45 [error / 80048] ! failed to upload ‘2022-12-14 00:55:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 00:55:03.json
2022-12-15 05:40:45 [error / 112416] ! failed to upload ‘2022-12-14 01:10:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 01:10:03.json
2022-12-15 05:40:46 [error / 98880] ! failed to upload ‘2022-12-14 01:25:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 01:25:03.json
2022-12-15 05:40:46 [error / 85344] ! failed to upload ‘2022-12-14 01:40:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 01:40:04.json
2022-12-15 05:40:47 [error / 116464] ! failed to upload ‘2022-12-14 01:55:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 01:55:04.json
2022-12-15 05:40:47 [error / 102928] ! failed to upload ‘2022-12-14 02:10:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 02:10:03.json
2022-12-15 05:40:48 [error / 89216] ! failed to upload ‘2022-12-14 02:25:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 02:25:04.json
2022-12-15 05:40:48 [error / 75680] ! failed to upload ‘2022-12-14 02:40:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 02:40:03.json
2022-12-15 05:40:49 [error / 107472] ! failed to upload ‘2022-12-14 02:55:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 02:55:03.json
2022-12-15 05:40:49 [error / 93936] ! failed to upload ‘2022-12-14 03:10:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 03:10:04.json
2022-12-15 05:40:50 [error / 80224] ! failed to upload ‘2022-12-14 03:25:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 03:25:03.json
2022-12-15 05:40:50 [error / 112368] ! failed to upload ‘2022-12-14 03:40:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 03:40:03.json
2022-12-15 05:40:51 [error / 98832] ! failed to upload ‘2022-12-14 03:55:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 03:55:03.json
2022-12-15 05:40:52 [error / 85296] ! failed to upload ‘2022-12-14 04:10:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 04:10:04.json
2022-12-15 05:40:52 [error / 115904] ! failed to upload ‘2022-12-14 04:25:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 04:25:03.json
2022-12-15 05:40:53 [error / 102192] ! failed to upload ‘2022-12-14 04:40:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 04:40:04.json
2022-12-15 05:40:53 [error / 88656] ! failed to upload ‘2022-12-14 04:55:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 04:55:04.json
2022-12-15 05:40:54 [error / 75120] ! failed to upload ‘2022-12-14 05:10:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 05:10:03.json
2022-12-15 05:40:54 [error / 107120] ! failed to upload ‘2022-12-14 05:25:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 05:25:03.json
2022-12-15 05:40:55 [error / 93584] ! failed to upload ‘2022-12-14 05:40:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 05:40:04.json
2022-12-15 05:40:55 [error / 79872] ! failed to upload ‘2022-12-14 05:41:06.json’ (422 b’Unprocessable Entity’) 2022-12-14 05:41:06.json
2022-12-15 05:40:56 [error / 112368] ! failed to upload ‘2022-12-14 05:56:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 05:56:03.json
2022-12-15 05:40:56 [error / 98832] ! failed to upload ‘2022-12-14 06:11:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 06:11:04.json
2022-12-15 05:40:57 [error / 85120] ! failed to upload ‘2022-12-14 06:26:03.json’ (422 b’Unprocessable Entity’) 2022-12-14 06:26:03.json
2022-12-15 05:40:57 [error / 115616] ! failed to upload ‘2022-12-14 06:41:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 06:41:04.json
2022-12-15 05:40:58 [error / 102080] ! failed to upload ‘2022-12-14 06:56:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 06:56:04.json
2022-12-15 05:40:58 [error / 88368] ! failed to upload ‘2022-12-14 07:11:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 07:11:04.json
2022-12-15 05:40:59 [error / 120608] ! failed to upload ‘2022-12-14 07:26:04.json’ (422 b’Unprocessable Entity’) 2022-12-14 07:26:04.json

Sorry for the slow reply - I’ve been on leave for the last few days.

It still looks like it’s trying to upload 141 sets of readings there - did you delete the contents of your uploads folder?