planetk / homebridge-netatmo

This is a homebridge plugin for several netatmo devices
Apache License 2.0
108 stars 25 forks source link

Homebridge 1.3.0: This plugin generated a warning from the characteristic #88

Open TiiFuchs opened 3 years ago

TiiFuchs commented 3 years ago

With Homebridge Version 1.3.0 I get a lot of those warnings:

[2021-2-22 8:44:57] [homebridge-netatmo] This plugin generated a warning from the characteristic 'Atmospheric Pressure': characteristic was supplied illegal value: number 1022.9 exceeded maximum of 255. See https://git.io/JtMGR for more info.
[Air Pressure@Atmospheric Pressure] characteristic was supplied illegal value: number 1023 exceeded maximum of 255.
[2021-2-22 8:46:14] [homebridge-netatmo] This plugin generated a warning from the characteristic 'Atmospheric Pressure': characteristic was supplied illegal value: number 1023 exceeded maximum of 255. See https://git.io/JtMGR for more info.
[Air Pressure@Atmospheric Pressure] characteristic was supplied illegal value: number 1023 exceeded maximum of 255.
[2021-2-22 8:46:14] [homebridge-netatmo] This plugin generated a warning from the characteristic 'Atmospheric Pressure': characteristic was supplied illegal value: number 1023 exceeded maximum of 255. See https://git.io/JtMGR for more info.
[Air Pressure@Atmospheric Pressure] characteristic was supplied illegal value: number 1023 exceeded maximum of 255.
[2021-2-22 8:48:17] [homebridge-netatmo] This plugin generated a warning from the characteristic 'Atmospheric Pressure': characteristic was supplied illegal value: number 1023 exceeded maximum of 255. See https://git.io/JtMGR for more info.
[Air Pressure@Atmospheric Pressure] characteristic was supplied illegal value: number 1023 exceeded maximum of 255.
[2021-2-22 8:53:21] [homebridge-netatmo] This plugin generated a warning from the characteristic 'Atmospheric Pressure': characteristic was supplied illegal value: number 1023 exceeded maximum of 255. See https://git.io/JtMGR for more info.
vincentbls commented 3 years ago

Same for me. And no more accessories were working. I disabled this plugin (no more updates since 2017) and installed this one: https://github.com/skrollme/homebridge-eveatmo Everything works fine.

TiiFuchs commented 3 years ago

Thanks for the tip! :)

CBK482 commented 3 years ago

Problem seems to be the props of the characteristic.. A UINT8 cannot be bigger than 255. changing to UINT16 solves the issue

  this.setProps({
    format: Characteristic.Formats.UINT8,
STJIKA commented 2 years ago

Problem seems to be the props of the characteristic.. A UINT8 cannot be bigger than 255. changing to UINT16 solves the issue

  this.setProps({
    format: Characteristic.Formats.UINT8,

….where do I have to insert this…????