-
Notifications
You must be signed in to change notification settings - Fork 1
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
"Add device" capability #4
Comments
Would you like help with this? |
Yes, that would be nice |
Can you point me to the documentation to the api please? Then I’m happy to give it a try and submit a PR. If you have a preference for how you’d like it done, please let me know |
I am afraid I am not aware of any API documentation. I ported the code from an open source ismartgate client written in Python. Is there any other way I can assist? |
I guess my main issue is if we can be notified on open/close so we don't have to poll for state. (Since it can also be opened from other sources). I tried to make a virtual device and create a flow that did the polling and I suspect it hade some side-effects (the gate closed randomly). Haven't debugged enough to see if I did something wrong or where that came from. What was the python project you were migrating? Anyway, I'll give it a go. |
As far as I know, the device does not actively push updates on open/close state. So to achieve such a feature, the homey app would have to poll regularly.
That's curious! I cannot immediately understand why that would happen just by polling the current state
If I remember correctly, it was this one: https://github.com/vangorra/python_gogogate2_api |
I'll take a look maybe over christmas, and see what we can come up with! |
Sounds good to me. Good luck! |
@filipbech Any progress thus far? By the way, I have asked in the homey community how to do the transition without breaking the existing setup people have. The answer can be found here: https://community.homey.app/t/how-to-gracefully-introduce-breaking-change-in-existing-homey-app/101957 |
No, sorry... nothing to report yet. Its still high on my want-to-build list, but time's not easy to find apparently |
With open/close controls and visualization of current state
The text was updated successfully, but these errors were encountered: