wichers / esphome-comfoair

ESPHome configuration to drive Zehnder ComfoAir devices.
GNU General Public License v3.0
57 stars 30 forks source link

Readings precision #14

Closed DamianBroj closed 7 months ago

DamianBroj commented 2 years ago

What is the level of precision for values coming from CA? I see on some HA screens that it produces decimals, while in my case there's no decimals in readings. Is that something that is configurable?

DamianBroj commented 2 years ago

Based on discussions with other developer - max temp readings precision is 0.5°C (calculation of CA output is to be divided by 2 and deducted with 20). In current commit all sensors are set to decimal precision = 0. PR from @jjhuff is increasing precision which makes this issue resolved once implemented

wichers commented 2 years ago

Precision is based on your client side configuration, no changes necessary in esp code. Although it should support 0.5 precision, I haven't heard of a unit that does.

Op zo 6 feb. 2022 22:45 schreef DamianBroj @.***>:

Based on discussions with other developer - max temp readings precision is 0.5°C (calculation of CA output is to be divided by 2 and deducted with 20). In current commit all sensors are set to decimal precision = 0. PR from @jjhuff https://github.com/jjhuff is increasing precision which makes this issue resolved once implemented

— Reply to this email directly, view it on GitHub https://github.com/wichers/esphome-comfoair/issues/14#issuecomment-1030921001, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAENFFYTYXHSF2YGQGOL3N3UZ3TZDANCNFSM5NMYCTVQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>