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

how to set active_low to 1? #110

Open
toshibochan opened this issue Feb 4, 2021 · 3 comments
Open

how to set active_low to 1? #110

toshibochan opened this issue Feb 4, 2021 · 3 comments

Comments

@toshibochan
Copy link

I want to set active_low to 1 but I don't know how. manually change to 1 in /sys/class/gpio/active_low to 1 but always back to 0.
please help.

@toshibochan
Copy link
Author

this is my config:

        "accessory": "GPIODevice",
        "name": "Kitchen Speaker",
        "type": "Outlet",
        "inverted": "false",
        "initState": "1",
        "pin": 20

but when reboot and Homebridge start the relay turn on. I want relay off when raspberry pi boots.
please help

@toshibochan
Copy link
Author

toshibochan commented Feb 4, 2021

active_low showing 0
direction showing out
edge showing none
value showing 0

@FKDW
Copy link

FKDW commented Feb 16, 2021

this is my config:

        "accessory": "GPIODevice",
        "name": "Kitchen Speaker",
        "type": "Outlet",
        "inverted": "false",
        "initState": "1",
        "pin": 20

but when reboot and Homebridge start the relay turn on. I want relay off when raspberry pi boots.
please help

I need help with this too

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