My daughter and I are hoping to set up an anemometer at Glastonbury Festival for a workshop with kids. So we took our weather hat to a Raspberry Pi Jam in Exeter and followed the online instructions to set it up on a Raspberry Pi 5 with the latest version of bookworm. But it didn’t work. Could it be to do with recent security changes to Raspberry Pi operating systems? One of the organisers, who runs a weather hat at home and is very knowledgeable, tried setting hers up again using a Raspberry Pi 3 and a fresh SD card and had the same problems.
Thanks
Jan
The Weather HAT installer has been updated so I’d expect it to work OK with Bookworm.
We’d probably need more information about what’s going wrong to be able to help here - what specific installation steps have you followed? Are you getting any errors when you run the installer or the examples?
Hi Hel
Thanks for getting back to me. I wasn’t expecting such a quick reply and as the problem seems to be related to changes made to Pis in the last year or two, I thought I should try installing on an old Pi before contacting you again.
I have got a long way further before getting stuck and I think it probably would work if I had more python knowledge.
The problems we were getting on the Pi 5 are the same as Andrew Downings findings here:-
Error when running basic examples · Issue #37 · pimoroni/weatherhat-python
[
Error when running basic examples · Issue #37 · pimoroni/weatherhat-pythonWhen running any examples I get the following error (pimoroni) pi@weather:~/Pimoroni/weatherhat/examples $ pytho… |
Thanks
Jan
Same problem with me here
Just tried an install with Bookworm / Pi 5, following the instructions in the Learn Guide and the examples seem to be running fine for me.
If you’re getting the OSError: [Errno 16] Device or resource busy
error that’s mentioned in that issue it’s probably because two scripts are trying to access the hardware at the same time. Did you modify your crontab
file to run the weather example automatically on start-up? If so, you might need to edit the file again and remove that line if you want to be able to run other examples from the terminal.
If that’s not it, please send over a photo or two showing the commands you’re running and the exact error that you’re getting and we’ll see what else we can suggest :)