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

Relay management #3

Closed
kiondi opened this issue Aug 10, 2017 · 7 comments
Closed

Relay management #3

kiondi opened this issue Aug 10, 2017 · 7 comments

Comments

@kiondi
Copy link

kiondi commented Aug 10, 2017

Hello
The plugin works fine with homebridge.
How can I do to reverse the GPIO exit when it work?
The plugin set the port HIGHas default, when the blind stop, and LOW when the blind work.
Thanks

@kiondi
Copy link
Author

kiondi commented Aug 11, 2017

I need trigger the relay by the HIGH level

@rsporny
Copy link
Owner

rsporny commented Aug 18, 2017

Hi, sure I will make the active gpio configurable in a couple of days.

@hyperbart
Copy link

Might be related to my issue to. Afaik we need a HIGH to start the blinds.

@hyperbart
Copy link

I saw you pushed, will look through code later on, super work, thanks!

Just out of curiosity: do you mind sharing which motor you have for your blinds and how you have wired them to your relay board (NO/NC?). Because both @martijndierckx and I were pretty surprised to see that you need an inverted open to control your motor?

@rsporny
Copy link
Owner

rsporny commented Nov 20, 2017

@hyperbart I've got relay module as in README here. All the wires from the roller blinds goes directly to garage where this whole setup is connected with raspberry. I don't have any switches near windows, all of this is controlled via iOS Home app only.

img_44592

@rsporny
Copy link
Owner

rsporny commented Nov 20, 2017

@kiondi sorry for taking it so long. Fixed in v1.0.1.

@rsporny rsporny closed this as completed Nov 20, 2017
@hyperbart
Copy link

Works perfect!

You're gonna laugh a little bit but I found a new "enhancement" 😄 .

A dual-controlled blind (a blind with a fixed switch and the homebridge-gpio-blinds) does not report back a state, so you could get a mismatched object in HomeKit where it thinks it is closed or open while it's the opposite. The guys at homebridge-rasppi-gpio-garagedoor have solved this by including a reed-switch/magnet-switch which signals is the garagedoor is open or closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants