Any advice on getting Envirophat playing nicely on Bullseye? I’ve been seeing these errors:
pi@raspberrypi:~/Pimoroni/envirophat/examples $ ./all.py
Traceback (most recent call last):
File “/home/pi/Pimoroni/envirophat/examples-backup/./all.py”, line 6, in
from envirophat import light, weather, motion, analog
File “/usr/lib/python3/dist-packages/envirophat/init.py”, line 1, in
from .i2c_bus import bus
File “/usr/lib/python3/dist-packages/envirophat/i2c_bus.py”, line 20, in
bus = smbus.SMBus(1)
FileNotFoundError: [Errno 2] No such file or directory
I am also using a waveshare relay board. They seem to play together nicely in earlier raspbian builds!
pi@raspberrypi:~/Pimoroni/envirophat/examples $ cat /etc/*release
PRETTY_NAME=“Raspbian GNU/Linux 11 (bullseye)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“11”
VERSION=“11 (bullseye)”
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL=“http://www.raspbian.org/”
SUPPORT_URL=“RaspbianForums - Raspbian”
BUG_REPORT_URL=“RaspbianBugs - Raspbian”