Skip to content

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

@matickunaver

Description

@matickunaver

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions