-
Notifications
You must be signed in to change notification settings - Fork 11
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
NO-NC relay #9
Comments
I have a hack for this, it's done by reversing the switchPort logic. This includes initializing switchPort as 'high' when creating the object, as well as reversing the signal mapping in GPIOPort. Again, this is just a hack... a more proper way is to create the GPIO object as activeLow true, which requires passing the parameter properly. |
In versione 0.2.2 I don't find this section: and export enum GPIOState { |
If anyone else is struggling with this: SwitchPort.js: Changed GPIOPort.js: Changed to "GPIOState[GPIOState["On"] = 1] = "On"; |
also possible it's in "/usr/local/lib/node_modules/homebridge-gpio-garagedoor/lib/" WORKED FOR ME! Thanks guys! |
Would be great to get this resolved and pushed out. Who can make this happen? I am willing to jump in but don't have much experience with GIT pipeline. @KraigM Are you still managing this project? |
Worked for me as well using a dual relay setup with the following configuration:
diff SwitchPort.js SwitchPort.js.backup |
For those unable to find the files to modify in my case I found them under /usr/local/lib/node_modules/@bluephlame/homebridge-gpio-garagedoor/lib |
Hello, I really like your progrrmma to control the gate. but I ran into a problem when connecting the gate will automatically open (there is a connection management contacts at 1 second)
What you need to sign in to add to config.json gpio23 was NO by default? He is now NC
"Example doorSwitchValue": 1, ""?
Thank you!
The text was updated successfully, but these errors were encountered: