Closed MirandaPoth closed 3 years ago
Miranda,
Adding 'alloff' and 'generic' require additional coding, since the control commands and status messages are different for these devices.
Regards, Jo
Hi Jo, OK, thanks for that. I guess I was being over-optimistic! I'll do some work on it myself. Cheers, Miranda
@MirandaPoth @JorisDeRieck has added generic to the underlying nhc2-coco lib. He was going to add it to this hass integration soon. The alloff we could take a look after later, however, I would do this functionality within hass, as then all lights, also non nhc2's will turn off.
@filipvh Thanks for this update, and @JorisDeRieck thanks very much for the changes to nhc2-coco.
I have actually taken a copy of both sets of code and started implementing both generic and alloff. These are implemented in my local version only. I intend to add thermostat and possibly pir and timeschedule too if it's feasible.
@filipvh The reason for wanting alloff implemented is that I have two 'alloff' routines in my Niko system;
So, I don't think putting this functionality within hass-nhc2 would work for me, but I am happy to just retain my local version.
Hi Filip, Thanks very much for this integration, I am using it very successfully.
Please can you add 'alloff' and 'generic' to the list of devices? I think this requires a small change to nhc2-coco to add them to the list of LIST_VALID_SWITCHES. I'm pretty sure they behave the same as switches.
I am happy to help with testing if that would help?
I would make the change myself but I am not familiar with Home Assistant development. Thanks very much, Miranda