SteidlD / homebridge-inkbird-bt-thsensor

A homebridge-plugin for the Inkbird bluetooth temperature and humidity sensors.
GNU General Public License v3.0
8 stars 2 forks source link

Incorrect temperature #4

Closed Yurius38 closed 3 years ago

Yurius38 commented 3 years ago

The plugin transmits incorrect temperature data (humidity is normal) if I use external sensor. (without external sensor is ok) Log: "Sending temperature 642.51°C" Real temperature -12.72°C

Plugin v0.3.1 (2020-06-17) Homebridge version 1.1.6 Node.js v14.15.1 Npm v6.14.9 Raspberry Pi Zero WH Sensor IBS-TH1 with 1.7.0

SteidlD commented 3 years ago

Hi,

Uuups... Seems to be a problem with temperatures below 0° (which we didn't have till now in winter). Thanks for reporting, I see it here too.

Bugfix:

Should work. Soon - when I find a bit more time - I will release a new version 0.4 with the bugfix (and some new feature..)

Hope that helps.

SteidlD commented 3 years ago

Fixed in version 0.4.0

Yurius38 commented 3 years ago

Thanks for new version, but there is a new problem. Log: [22/02/2021, 15:25:01] [Temperature] Info - Peripheral with MAC f8:33:31:6a:fa:8c found - stop scanning [22/02/2021, 15:25:01] [Temperature] Info - Sending temperature -2.5°C [22/02/2021, 15:25:01] [homebridge-inkbird-bt-thsensor] This plugin generated a warning from the characteristic 'Current Temperature': characteristic was supplied illegal value: number -2.5 exceeded minimum of 0. See https://git.io/JtMGR for more info. As a result, homekit only displays 0 degrees.