dehsgr / homebridge-mobilealerts

This is a homebridge plugin for several Mobile-Alerts (Technoline) devices
ISC License
9 stars 1 forks source link

Temperature: Wrong value displayed in HomeKit #2

Closed juergen4mueller closed 6 years ago

juergen4mueller commented 6 years ago

I use the homebridge-mobilealerts plugin. Most of my sensors are not supported. I get right information about humidity, but temperature os always displayed with 0°.

Would be great if you find time to implement more sensors. I hae wind and rain sensor too, unluckily not working with this great plugin.

Here the response from my system:

'

Überblick für Phone ID xxxxxxxx372

Zurück zu Home

Niederschlag

ID

084B0BF3B58B

Zeitpunkt

05.02.2018 14:25:52

Regen

0,0 mm

Temperatur

ID

0312AE012D8A

Zeitpunkt

09.02.2018 14:13:15

Temperatur

0,0 C

Luftfeuchtigkeit

84%

Wind

ID

0B0200296452

Zeitpunkt

09.02.2018 14:11:43

Windgeschwindigkeit

2,5 km/h

Böe

5,8 km/h

Windrichtung

Südwest

'

svobluk commented 6 years ago

the zero values inside the homekit are bcos homekit doesn't allow negative temperature. It has to be implemented to the script (during accessory initialization) or you have to change minimal temp. value, see this thread -> https://github.com/KhaosT/HAP-NodeJS/issues/147#issuecomment-147234891

dehsgr commented 6 years ago

@juergen4mueller: Negative temperature is fixed now. I also took a look on your sensors. MA10200 was already supported in previous commit. Did you update the plugin via npm and restarted homebridge? I verified that there was shown temperature and humidity. The other sensors currently are not supported by homekit. If you find a solution where it is already working, I'll take a closer look again. I verified with https://github.com/naofireblade/homebridge-weather-station-extended and there were no usable data regardless of eve or Apple's Home app.

@svobluk: Thanks! You did it for me. ;-)

dehsgr commented 6 years ago

updated npm package will be published shortly...