dgreif / homebridge-hatch-baby-rest

A homebridge plugin for Hatch Baby Rest night light
MIT License
70 stars 19 forks source link

Only getting on/off on Rest Gen2 #113

Open Cristov9000 opened 8 months ago

Cristov9000 commented 8 months ago

Homebridge plugin 4.0.1 with Rest Gen 2. After adding child bridge for plugin I am only getting the on/off switch and not the light and sound selection accessories. Do these need to be added somehow? Couldn't find documentation on this.

j0b0sapi3n commented 8 months ago

I'm getting this same issue. Only seeing an on/off switch.

j0b0sapi3n commented 7 months ago

Nevermind, re-reading the docs I see this:

The Hatch Restore, Rest 2nd Gen and Rest+ 2nd Gen support much more complicated routines which do not map well to HomeKit controls. Because of this complexity, they are exposed as a simple switch. Turning the switch on will initiate the first step in your Bedtime routine. Turning the switch off will turn the device off no matter which routine/step you are in.

I guess my follow up is... is it possible in the future these controls may get exposed for the Rest+ 2nd gen? How much work would this be? I'm happy to donate some money if that would help push this feature along. Thank you @dgreif for the work so far!

rmlazaro commented 7 months ago

@dgreif one more to congratulate your work so far and also check how much additional effort is to enable Rest 2nd Gen to allow light adjustments - happy to donate some money too. Cheers mate

dgreif commented 6 months ago

The docs that @j0b0sapi3n pointed out above are still accurate. These newer lights have a much more complex data structure, which makes it difficult to provide a good/clear experience in HomeKit. I don't have any plans to try to improve the setup for these further, but would be open to a Pull Request if someone wants to invest the time/thought into it. I'm sure there are many ways we could provide more options, it's just a matter of determining which options are actually important for users and how to make those available in HomeKit.

For those of you who have commented so far, could you provide examples of the types of automations/options you would for sure use in HomeKit if all the controls were available?

j0b0sapi3n commented 6 months ago

@dgreif Ahh, got it on the more complex data structure.

For me, I'd like to be able to either: 1) Change the sound, volume, light color, and light intensity OR 2) Change to a different favorite/preset

I don't think I'd need both, because for #2 then I can just create a bunch of different favorites and switch between those.

Thank you for considering it and happy holidays!

akphi commented 6 months ago

@dgreif I have set a few different Favourites in the Hatch Sleep app:

  1. Sleep: No light, white noise
  2. Wake: 100% light (warm yellow), white noise <-- use when we change diapers 😄

Switching between them would be a great feature to have, else like @j0b0sapi3n said, even basic control knobs on the light is already godsent to us.

And of course, thank you so much for your hard work!

simplytoast1 commented 6 months ago

I would love the idea of publishing favorites - that way I can hide the fan (etc) to control my other Hatch's

CuriousCaterpie commented 4 months ago

I love the idea of favorites too. We use a different sound for day naps vs night sleep, saved to different favorites. It'd be awesome to be able to set the day nap sounds in homekit too!

khiscott commented 4 months ago

I have a Rest+ Gen 1 and Gen 2. It would really be great if Gen 2 had the same capabilities available as Gen 1. So volume, brightness, track/favorite, on/off.