planetk / homebridge-netatmo

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

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

Open STJIKA opened 3 years ago

STJIKA 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,

Originally posted by @CBK482 in https://github.com/planetk/homebridge-netatmo/issues/88#issuecomment-840488785

STJIKA commented 3 years ago

soory,I am new to homebrideg and json etc …..

can you tell me where exactly (screenshot would be fine..) I have to insert this „this.setProps({ format: Characteristic.Formats.UINT8, )

Thanks a lot

Stefan

HazMatt69 commented 2 years ago

@STJIKA You have to replace UINT8 by UINT16 in the file /node_modules/homebridge-netatmo/service/weatherstation-airpressure-legacy.js