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

Blinds with external switches - keep it synced without any sensors #8

Open
morphix9 opened this issue Mar 26, 2018 · 8 comments
Open
Assignees

Comments

@morphix9
Copy link

Hey,
your plugin is great, I tried it out and it works great.

But I also have external (physical) switches to move each blind up/down. This is causing an off-sync with the state remembered by the homebridge. How hard do you think would it be to assign each blind also two input pins that would move them up/down via homebridge. Then the state could be in sync without any position sensors. Would that be possible?

@rsporny
Copy link
Owner

rsporny commented May 17, 2018

Hi,
it's possible, however it would require from me more research about it. Given my JS skills and lack of free time I cannot say when I'll do it. Let's leave this ticket open and rename title. Maybe someone else would like to help with this.

@rsporny rsporny changed the title Move blinds with external switches Blinds with external switches - keep it synced without any sensors May 17, 2018
@morphix9
Copy link
Author

Cool, no worries. Do you think it's even possible to do this with the 'rpio' library? 'onoff' library seams better, as it has interrupt detection and rpio not, or am I wrong?

@rsporny
Copy link
Owner

rsporny commented May 17, 2018

thanks, I'll take a closer look into it.

EDIT
rpio.poll seems to be the same, but first I need to create some prototype of this setup to test the solution

@rsporny rsporny self-assigned this May 17, 2018
@erokoder
Copy link

@morphix9 You can do this with MQTT Message.

@morphix9
Copy link
Author

morphix9 commented Sep 3, 2018

@rsporny any chance to test rpio.poll for input pins (as triggers for up/down)?

@EnriqueSubias
Copy link

Why don’t you install switchs that control the blind via HomeKit, like the Philips ones. Or maybe even via ssh. (Although it won’t update in HomeKit)?

@morphix9
Copy link
Author

Why don’t you install switchs that control the blind via HomeKit, like the Philips ones. Or maybe even via ssh. (Although it won’t update in HomeKit)?

Yes, that's the point to have it synced with HomeKit.

@chrisremie
Copy link

I would also like this feature.

And thanks for making this plugin!

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

5 participants