Skip to content

Conversation

@magwitch324
Copy link

When the Kumo heater/coolers are added to Homebridge and Apple Home they display a range that does not correspond to their operating temperatures and is unintuitive for control as reasonable requested temps are right at the top of the range (or even beyond it). Currently this range seems to be a Homebridge default of 0-25 C (32-77 F).

Before:

This change sets the min and max temperatures to more relevant values (9-32 C and 50-90 F) which also slightly reduces the range, making selecting your desired temperature easier using the slider.

As the Celsius and Fahrenheit ranges are slightly different, I read the units to use from the kumo cloud api.

After:

I styled my code after the existing kumo accessories where logic is duplicated between them but am happy to refactor to reduce code duplication.

The temperature range implementation for this was based on the Nest Homebridge plugin's code for setting min and max temps. https://github.com/chrisjshull/homebridge-nest/blob/master/lib/nest-thermostat-accessory.js

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.

1 participant