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 numbering for accessories using BCM pin numbers? #105

Open
d0n13 opened this issue Jan 11, 2021 · 2 comments
Open

Pin numbering for accessories using BCM pin numbers? #105

d0n13 opened this issue Jan 11, 2021 · 2 comments

Comments

@d0n13
Copy link

d0n13 commented Jan 11, 2021

The latest version of this plugin (0.4.7) has started using physical PIN numbers?

I was using PIN number 0 before upgrading the plugin on homebridge v1.1.7 but now have to use 17 instead which is the BCM PIN number. Was this intentional?

"accessories": [
        {
            "accessory": "GPIODevice",
            "name": "Light",
            "type": "Lightbulb",
            "pin": 17  <---- Was 0 
        }
    ]
@d0n13 d0n13 closed this as completed Jan 11, 2021
@d0n13 d0n13 reopened this Jan 11, 2021
@d0n13 d0n13 changed the title Pin numbering for accessories using physical pin numbers? Pin numbering for accessories using BCM pin numbers? Jan 11, 2021
@coshy81
Copy link

coshy81 commented Jan 28, 2021

Hi there, I can also confirm that the PIN allocations for the GPIO has changed from using the wPI number to the BCM number.

{
"accessory": "GPIODevice",
"name": "Gate",
"type": "GarageDoorOpener",
"pins": [
27, (was Pin 2..)
22 (was Pin 3..)

],
"openingDuration": 15,
"closingDuration": 15
}

@toshibochan
Copy link

initialstate not working for me. Anyone using initialstate to 1?

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

3 participants