FujiHeatPump icon indicating copy to clipboard operation
FujiHeatPump copied to clipboard

Get temperature with decimals

Open mrbluebrett opened this issue 1 year ago • 6 comments

Hi, is it possible to get temperature with decimals? Previously I used an Intesishome module and reported temperatures with a resolution of 0.5º. So can we get the temperature with one decimal to get the 0.5º steps with this?

EDIT: in code I see this comment: // there is one leading bit here that is unknown - probably a sign bit for negative temps? Can it be the 0.5º indicator?

mrbluebrett avatar Sep 05 '23 10:09 mrbluebrett

Older units work without decimals... The newer units are with decimals. Normaly you have this problem also with your IR remote controller.

balouken avatar Sep 07 '23 19:09 balouken

It’s the same ac unit. I just replaced the intesis home module by a custom esp32.

mrbluebrett avatar Sep 07 '23 20:09 mrbluebrett

Yes, but you can only adjust temp by 1°C

image

balouken avatar Sep 07 '23 20:09 balouken

I ment the ambient temperature. The reading from the actual temperature.

mrbluebrett avatar Sep 07 '23 21:09 mrbluebrett

As far as i know the line protocol doesnt have capacity for 0.5degC resolution -- however there is one unknown bit in the temperature field:

https://github.com/unreality/FujiHeatPump/blob/72e00ec06c672461e258da8dadf207d0e9f133dc/src/FujiHeatPump.cpp#L22

the other possibility is that the Intesishome unit had its own internal sensor?

unreality avatar Sep 07 '23 22:09 unreality

How can i expose this unknown bit into a variable named for example as a variable named unknown bit (with value 0 and 1) so i can log the vale in HA and check if it changes between the change of every degree??

mrbluebrett avatar Sep 08 '23 06:09 mrbluebrett