Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin 4 not working with homebridge-gpio-blinds library #18

Open
matickunaver opened this issue Apr 14, 2019 · 1 comment
Open

Pin 4 not working with homebridge-gpio-blinds library #18

matickunaver opened this issue Apr 14, 2019 · 1 comment

Comments

@matickunaver
Copy link

I am experiencing a strange issue. GPIO pin 4 won't work when using this plugin (other pins work). If I use python script, it works. The same setup, python works, Homebridge with GPIO04 not. All other pins are are working.
Attached is my config file (other pins are working) and python file for moving pin 4 manually (also works).
Any idea what might be wrong? Cannot wire it to another pin.

{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:32", "port": 51826, "pin": "031-45-154" }, "description": "", "accessories": [ { "accessory": "Blinds", "name": "Bedroom", "pinUp": 22, "pinDown": 4, "durationUp": 18000, "durationDown": 17000, "durationOffset": 1000, "activeLow": false }, { "accessory": "Blinds", "name": "Work room", "pinUp": 6, "pinDown": 26, "durationUp": 18000, "durationDown": 17000, "durationOffset": 1000, "activeLow": false } ] }

This one works
GPIO.setup(4, GPIO.OUT)
GPIO.output(4, GPIO.HIGH)
print 4, " on"
time.sleep(10)

@rsporny
Copy link
Owner

rsporny commented Apr 17, 2019

Could you confirm that in both cases you're using the GPIOxx numbering (not physical pin numbering)? If that's not the case please provide rpio version you're using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants