homebridge-gpio-device icon indicating copy to clipboard operation
homebridge-gpio-device copied to clipboard

how to set active_low to 1?

Open toshibochan opened this issue 4 years ago • 3 comments

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 avatar Feb 04 '21 02:02 toshibochan

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 avatar Feb 04 '21 07:02 toshibochan

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

toshibochan avatar Feb 04 '21 08:02 toshibochan

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

FKDW avatar Feb 16 '21 17:02 FKDW