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

Timing / Status Issue #4

Open
helo-head opened this issue Jun 5, 2018 · 2 comments
Open

Timing / Status Issue #4

helo-head opened this issue Jun 5, 2018 · 2 comments

Comments

@helo-head
Copy link

Thanks for the homebridge-gpio-cmd solution. I'm using it to manage my Energy Recovery Ventilation . I had to use your "invert" branch to get the logic I needed. I also found I had to do a gpio -1 write pin 1 before setting it to "out" other wise the unit would turn on as soon as homebridge started.

I noted however that although duration works perfectly, once the unit turns off at the end of the duration period the status under homebridge does not change. In other words it still shows it as on. The only way I can currently get it to refresh is to exit the Home app and restart it. Not sure if this is a homebridge issue under IOS 11.4 or a codeing probem in index.js.

I'll take a closer look at the code tonight and if I can find a simple solution code or otherwise I'll let you know.

@pocketscience
Copy link

Any update on the duration issue and Home not reflecting the off status after duration expiry? I'm using it to flip through modes on a set of Xmas lights (it doesn't remember mode when powered off).

@ahyattdev
Copy link

@helo-head writing 1 to the pin before setting the mode fixed the device turning on at each reboot for me!

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