torandreroland / homebridge-millheat

Homebridge plugin for Mill heaters
14 stars 5 forks source link

Wrong temperature format for gen 3 panel heater #30

Open bjornand1 opened 2 years ago

bjornand1 commented 2 years ago

Hi, after having had a gen 2 heater for a while, I today purchased a gen 3 heater. It comes across into HomeKit, but the temperature is reported to be 100 degrees. In the Homebridge log, I get the following:

[homebridge-millheat] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number 1990 exceeded maximum of 100. See https://git.io/JtMGR for more info.

Any idea what causes this?

HenrikSandberg commented 2 years ago

I get a similar error, but the code is 2026 exceeded maximum 100

torandreroland commented 2 years ago

I created this pull request with rudimentary support for generation 3 heaters that has only been tested with WifiSocket3, that I think fixes this issue.

redjoto commented 2 years ago

I have the same problem.

ferdyh commented 2 years ago

Same here. Looks likes should be divided by 100.