Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Nov 7, 2021 · 2 comments

Comments

@STJIKA
Copy link

STJIKA commented Nov 7, 2021

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 #88 (comment)

@STJIKA
Copy link
Author

STJIKA commented Nov 7, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants