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

Accessory Type: Humidifier #392

Closed
alexander-san opened this issue Jun 23, 2018 · 3 comments
Closed

Accessory Type: Humidifier #392

alexander-san opened this issue Jun 23, 2018 · 3 comments

Comments

@alexander-san
Copy link

After reading the documentation carefully I've seen that the HMServiceTypeHumidifierDehumidifier introduced in iOS 10.2 would be a nice addition to this plugin, given that there are no HomeKit Humidifiers (I know of) and also that it seems a common goal to make humidifiers smarter (and that there are almost no humidifier plugins)

I would very much like to work on this and I think that it should not be too complicated given that we already have the FanAccessory and the Switch class. I was looking for some further documentation on the implementation but I don't really understand how the classes in this project communicate with homebridge types/services and ultimately the HAP.

As of now I looked through your source code and created a test service in the HomeKit Accessory Simulator (Humidifier Dehumidifier) and found out that the best way to control it is to have two separate services to form one accessory: fan and humidifier. So the only new key we would have to implement would be the relativeHumidityThreshold and combine that with an on/off switch to make a fan only mode (and the already existing fan).

Would it be possible to implement this or is there a Slack channel for this plugin so we can discuss this (and provide some additional information, since I very much would like to learn more)?

Thank you in advance!

@cubilon
Copy link

cubilon commented Jun 25, 2018

Btw, a new accessory of this kind (Humidifier) should use an MQTT relative humidity value like @lprhodes did for temperature in A/C accessory with mqtt temperature support.

@akseez
Copy link

akseez commented Feb 25, 2019

@AlexanderBabel is this something you could add to your fork?

@lprhodes
Copy link
Owner

lprhodes commented Jan 1, 2020

I've added this to the latest release, I don't have a real device to test with so let me know how you go with it.

https://github.com/lprhodes/homebridge-broadlink-rm/releases/tag/3.6.3

@lprhodes lprhodes closed this as completed Jan 1, 2020
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

4 participants