You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/bin/unipagerled.py", line 168, in
with Statusleds("ws://%s:%s/" %(hostname, port), runled, connled, txled) as setter:
File "/usr/local/bin/unipagerled.py", line 47, in init
GPIO.setup(abs(self.runled), GPIO.OUT)
ValueError: The channel sent is invalid on a Raspberry Pi
2/ No action on Led:
I remove gpio27 to test led status
On debug statut led change:
Setting led 23 to 0
Setting led 23 to 1
With the debug i have the status change but the led does no light up.
Hello,
I'm testing this script but i have some problems.
1/ Gpio 27 no accepted:
My command line:
sudo python3 /usr/local/bin/unipagerled.py --hostname localhost --gpioRun 27 --gpioConn 22 --gpioTX 23 --debug
gpio27 isn't accepted:
File "/usr/local/bin/unipagerled.py", line 168, in
with Statusleds("ws://%s:%s/" %(hostname, port), runled, connled, txled) as setter:
File "/usr/local/bin/unipagerled.py", line 47, in init
GPIO.setup(abs(self.runled), GPIO.OUT)
ValueError: The channel sent is invalid on a Raspberry Pi
2/ No action on Led:
I remove gpio27 to test led status
On debug statut led change:
Setting led 23 to 0
Setting led 23 to 1
With the debug i have the status change but the led does no light up.
-----debug-----
i write a small script in Python to test gpio and is ok:
Wiring gpio: OK
GPIO configuration: OK
Websocket connexion: OK
Do you have an idea of what the problem might be?
The text was updated successfully, but these errors were encountered: