# Enviro-Weather not functioning correctly!

**URL:** <https://forums.pimoroni.com/t/enviro-weather-not-functioning-correctly/21284>\
**Category:** Support\
**Created:** [January 18, 2023, 6:39pm UTC](https://forums.pimoroni.com/t/enviro-weather-not-functioning-correctly/21284 "2023-01-18T18:39:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nrec](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/nrec/32/9449_2.png) [@Nrec](https://forums.pimoroni.com/u/Nrec)\
**Post date:** [January 18, 2023, 6:39pm UTC](https://forums.pimoroni.com/t/enviro-weather-not-functioning-correctly/21284/1 "2023-01-18T18:39:41Z")

</div>

Hi,

I have 3 enviro boards, Enviro-Weather, Enviro-Urban and Enviro-Grow.  
I’m asking why Enviro-Weather stop sending readings for no reasons apparently !  
I don’t have any problems with Urban and Grow.  
I reset the Weather board, installed new firmware and it’s working for only 1 reading then it stop afterward.

I launched main.py (via Thonny), I got a reading into Grafana (great !) then an error message occur :

_Un_able to connect to /dev/cu.usbmodem14201: [Errno 2] could not open port /dev/cu.usbmodem14201: [Errno 2] No such file or directory: ‘/dev/cu.usbmodem14201’\*\*

\*\*Proc_ess ended with exit code 1._

What’s happening for that board compare to the others :(.

Can someone help ?

Best regards,

P.S. Using Grafana along with Influxdb on RaspberryPI.Using Gr  
MicroPyton firmware : MicroPython 9dfabcd-dirty on 2022-11-18; Raspberry Pi Pico W with RP2040

Log.txt :

2023-01-18 17:18:08 [debug / 122kB] \> performing startup  
2023-01-18 17:18:08 [info / 113kB] - wake reason: usb\_powered  
2023-01-18 17:18:08 [debug / 111kB] - turn on activity led  
2023-01-18 17:18:08 [debug / 109kB] \> 109 blocks free out of 212  
2023-01-18 17:18:08 [debug / 106kB] \> taking new reading  
2023-01-18 17:18:09 [debug / 118kB] \> caching reading for upload  
2023-01-18 17:18:09 [info / 113kB] \> 1 cache file(s) need uploading  
2023-01-18 17:18:09 [info / 111kB] \> connecting to wifi network ‘LAN@SYS’  
2023-01-18 17:18:13 [info / 98kB] - ip address: 192.168.99.139  
2023-01-18 17:18:13 [info / 91kB] \> uploading cached readings to Influxdb bucket: dbweather  
2023-01-18 17:18:14 [info / 106kB] - uploaded 2023-01-18T17\_18\_09Z.json  
2023-01-18 17:18:14 [info / 104kB] \> going to sleep  
2023-01-18 17:18:14 [debug / 101kB] - clearing and disabling previous alarm  
2023-01-18 17:18:14 [info / 99kB] - setting alarm to wake at 17:20pm  
2023-01-18 17:18:14 [info / 97kB] - shutting down  
2023-01-18 17:18:14 [debug / 94kB] - on usb power (so can’t shutdown). Halt and wait for alarm or user reset instead  
2023-01-18 17:20:00 [debug / 120kB] - reset  
2023-01-18 17:20:03 [debug / 115kB] \> performing startup  
2023-01-18 17:20:03 [info / 119kB] - wake reason: rtc\_alarm  
2023-01-18 17:20:03 [debug / 117kB] - turn on activity led  
2023-01-18 17:20:03 [debug / 115kB] \> 104 blocks free out of 212  
2023-01-18 17:20:03 [debug / 113kB] \> taking new reading  
2023-01-18 17:20:03 [info / 108kB] - seconds since last reading: 115  
2023-01-18 17:20:04 [debug / 100kB] \> caching reading for upload  
2023-01-18 17:20:05 [info / 95kB] \> 1 cache file(s) need uploading  
2023-01-18 17:20:05 [info / 120kB] \> connecting to wifi network ‘LAN@SYS’  
2023-01-18 17:20:09 [info / 104kB] - ip address: 192.168.99.139  
2023-01-18 17:20:09 [info / 97kB] \> uploading cached readings to Influxdb bucket: dbweather  
2023-01-18 17:20:09 [info / 115kB] - uploaded 2023-01-18T17\_20\_05Z.json  
2023-01-18 17:20:10 [info / 113kB] \> going to sleep  
2023-01-18 17:20:10 [debug / 110kB] - clearing and disabling previous alarm  
2023-01-18 17:20:10 [info / 108kB] - setting alarm to wake at 17:25pm  
2023-01-18 17:20:10 [info / 106kB] - shutting down  
2023-01-18 17:20:10 [debug / 104kB] - on usb power (so can’t shutdown). Halt and wait for alarm or user reset instead

---

<div class="post-metadata">

**Author:** ![mattgemmell](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/mattgemmell/32/9318_2.png) [@mattgemmell](https://forums.pimoroni.com/u/mattgemmell)\
**Post date:** [January 18, 2023, 7:43pm UTC](https://forums.pimoroni.com/t/enviro-weather-not-functioning-correctly/21284/2 "2023-01-18T19:43:07Z")

</div>

From the log, it looks like it successfully took two readings and uploaded them. The error looks like a Thonny issue, not the enviro board. Try restarting Thonny, and/or your computer; it gets confused sometimes.

---

<div class="post-metadata">

**Author:** ![Nrec](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/nrec/32/9449_2.png) [@Nrec](https://forums.pimoroni.com/u/Nrec)\
**Post date:** [January 18, 2023, 9:55pm UTC](https://forums.pimoroni.com/t/enviro-weather-not-functioning-correctly/21284/3 "2023-01-18T21:55:27Z")

</div>

good point, I disconnected it from MacBook Pro. I noticed the error message at the second reading. thank you for your time it’s appreciate.  
I’m brand new to the ecosystem ;)
