SUPLA / supla-device

Create your own Supla device! This software can be used as a library for Arduino IDE, or can be used directly with ESP8266 RTOS SDK and with ESP IDF. It is also possible to compile and run it on Linux and in FreeRTOS.
GNU General Public License v2.0
28 stars 14 forks source link

Supla::Correction should take into account channel type #16

Closed klew closed 1 year ago

klew commented 2 years ago

Correction can't be added blindly. There are magic values (like -273 for thermometers) which shouldn't be corrected, because they will show some i.e. -260 instead of --- in app.

klew commented 1 year ago

Fixed in https://github.com/SUPLA/supla-device/commit/025e6a0d966f6a51ae335dc0c65f30d1344da956 Fixed for channel types: thermometer, thermo+humidity, humidity sensor