-
Notifications
You must be signed in to change notification settings - Fork 191
Closed
Description
After the fix of #134 I tried re-installing and rerunning. I get passed the get_pin part now, but am getting GPIO24: not found
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/enviroplus-mqtt/src/logger.py", line 60, in __read_pms_continuously
pms = PMS5003()
File "/usr/local/lib/python3.9/site-packages/pms5003/__init__.py", line 109, in __init__
self._pin_enable, self._pin_reset = gpiodevice.get_pins_for_platform(PLATFORMS)
ValueError: not enough values to unpack (expected 2, got 0)
Woah there, suitable gpiochip not found!
❌ GPIO24: not found - /dev/gpiochip2 (raspberrypi-exp-gpio)!
❌ GPIO24: not found - /dev/gpiochip1 (brcmvirt-gpio)!
❌ GPIO24: not found - /dev/gpiochip0 (pinctrl-bcm2835)!
This is running with --use-pms5003 but even without that flag, I don't get the exception but do get the GPIO24: not found messages.
Metadata
Metadata
Assignees
Labels
No labels