pimoroni / enviro

MIT License
101 stars 79 forks source link

Weather board fails to upload every other reading #216

Open MrBisquit opened 2 months ago

MrBisquit commented 2 months ago

My weather board is powered via the USB-Micro cable and when it uploads a reading and takes another one it seems to start flashing red and fails, but then a few tries later it succeeds (Probably a connection issue). I was wondering if there's anyway of me disabling it sleeping because I think that's what the issue is.

sjefferson99 commented 2 months ago

@MrBisquit First step would be to apply the wifi improvements code in pr #199 as that can sort all sorts of issues including ones similar to what you have described. The files for this are available in a recent build: https://github.com/pimoroni/enviro/actions/runs/8784437254

MrBisquit commented 2 months ago

Alright, I'll try that next time I bring it in, thanks :)

(I'll close the issue once I've tested it and if it works, which may be a while depending on when I next bring it in)

sjefferson99 commented 2 months ago

@MrBisquit This code is now in main, so upgrade to v0.2.0 and see how you go.

MrBisquit commented 1 month ago

I think it's actually got worse, now instead of every few that it fails, it's failing like 4 or 5 of them at a time.