question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Temperature Setting Skips Values in Fahrenheit

See original GitHub issue

When trying to adjust the temperature on my HP04 through HomeKit, I am unable to set precise temperatures. As you can see in the screen recording below, I can only set the temperature to be even between values of 64-72 °F, and in other ranges I can only set odd values. In some cases, you can see that even by moving the thermostat one notch the temperature value does not change, and sometimes it will jump to another position.

I enabled debug logging on Homebridge and saw that each time I set the temperature, the plugin logged set TargetTemperature to <integer>: {"hmax":"<XXXX>"} and shows my set temperature in Celsius. I believe this may be related to issue #68 where the plugin only accepted integers for temperature settings, as my inputs seem to be properly converted to Celsius and then rounded to the nearest integer.

https://user-images.githubusercontent.com/42685071/103573298-032bd100-4e9c-11eb-8a84-94b62a434764.mov

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lukasroegnercommented, Feb 12, 2022

Fixed in 2.2.0 with the help of @mpiotrowski

0reactions
holmnathancommented, Dec 23, 2021

Also experiencing the same Fahrenheit issue with an HP04 Pure Hot + Cool. It seems to be an issue with rounding from Celsius because the steps in Fahrenheit don’t consistently increment by 2º.

[12/23/2021, 12:42:44 AM] [homebridge-dyson-pure-cool] ZZ5-US-######## - set TargetTemperature to 21: {"hmax":"2940"} Snaps to 70ºF in Home app [12/23/2021, 12:42:47 AM] [homebridge-dyson-pure-cool] ZZ5-US-######## - set TargetTemperature to 22: {"hmax":"2950"} Snaps to 72ºF in Home app [12/23/2021, 12:42:49 AM] [homebridge-dyson-pure-cool] ZZ5-US-######## - set TargetTemperature to 23: {"hmax":"2960"} Snaps to 73ºF in Home app [12/23/2021, 12:42:53 AM] [homebridge-dyson-pure-cool] ZZ5-US-######## - set TargetTemperature to 24: {"hmax":"2970"} Snaps to 75ºF in Home app

Read more comments on GitHub >

github_iconTop Results From Across the Web

Temperature Conversion: Celsius to Fahrenheit | F to C or C to F
Temperature conversion formula, chart, AND calculator to change Fahrenheit to Celsius ... Enter a value for Fahrenheit or Celsius to convert to the...
Read more >
Temperature Conversion - The Nine Planets
32°C, and the absolute zero value is set at -273.15°C, on this scale. To convert Celsius to Fahrenheit is pretty simple: ; °C...
Read more >
Temperature Conversion Trick (Celsius to Fahrenheit)
Check out the fastest way of temperature conversion from Celsius to Fahrenheit and Fahrenheit to Celsius. To view all videos and solve ...
Read more >
Calculator: Temperature unit conversions - UpToDate
Temperature conversions use the following formulas: Temperature in degrees Fahrenheit (°F) = (Temperature in degrees Celsius (°C) * 9/5) + 32; Temperature in ......
Read more >
Temperature Converter - SensorsONE
This conversion tool will convert a temperature value from and to degree Celsius, degree Fahrenheit, Kelvin or degree Rankine measurement units.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found