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

WIP: Add support for Restore V2 #137

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

WIP: Add support for Restore V2 #137

wants to merge 2 commits into from

Conversation

chase9
Copy link

@chase9 chase9 commented Sep 22, 2024

This PR aims to add full support for the Restore V2.

Current Status:

  • Light Control
    (Light control works once a routine is running. Do we want this or should the lights automatically trigger a routine with no sound?)
  • Volume Control
    (Same as lights)
  • Sound Selection
    (There are a couple of sounds added. Do we want this to work with local sounds only, or should it also work with Hatch+ noises?)
  • Routine Start/Stop
    (Stop is working but start is not.)

Closes #104

We are now able to stop routines and change brightness/volume/color while they are running.
@chase9
Copy link
Author

chase9 commented Oct 15, 2024

So I think this may have broken my app. After messing around, I found that the Hatch app on me and my wife's phones would no longer connect to Hatch. I had to contact their support and get the device unpaired from our account to get it working again. All that time, I was still able to control the device from this plugin. Has anyone else experienced this?

@dgreif
Copy link
Owner

dgreif commented Oct 15, 2024

@chase9 that's very unfortunate! I haven't experienced that before, but there's a chance that you set the state to something invalid. From what I understand, we're essentially updating a shared JSON blob that is hosted on AWS, but updated/read by the light and the app. If you set it to an invalid state, it might not be able to recover.

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

Successfully merging this pull request may close these issues.

Restore 2 Support
2 participants