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

Temperature always 0,0 #1

Closed
Krocko opened this issue Feb 12, 2018 · 6 comments
Closed

Temperature always 0,0 #1

Krocko opened this issue Feb 12, 2018 · 6 comments
Labels
bug Something isn't working

Comments

@Krocko
Copy link

Krocko commented Feb 12, 2018

Hello Erik. Thank you, for the great plugin.
For me the temperature always shows 0,0*C, but the history is correct. Is this a bug, or I am doing something wrong?
ae22a61d-0e41-4d0a-822a-e7f884477c11
33d49f3d-2273-492e-bc9a-4235ee0ed00d
022d676b-8402-4a6e-87c3-7ced8d8a8b62

@ebaauw
Copy link
Owner

ebaauw commented Feb 12, 2018

Did you try and refresh the screen in Eve (drag down and release)? Did you try and restart Eve? Sometimes Eve just loses the connection to homebridge and no longer receives updates.

What temperature does Apple's Home app show?

@Krocko
Copy link
Author

Krocko commented Feb 12, 2018

Yes of course. Apples Home App shows 0*C also.

ec659c84-7986-4c0e-a52d-03f45080705b

@Krocko
Copy link
Author

Krocko commented Feb 12, 2018

I think it is my location. If i set the location to Netherlands/Amsterdam it is working.

Can you try an set your location to Germany/Erfurt?

@ebaauw
Copy link
Owner

ebaauw commented Feb 12, 2018

Can you try an set your location to Germany/Erfurt?

I wasn't planning on moving house...

EDIT Sorry, I couldn't resist.

On topic: I think I forgot to change the minValue property of the Current Temperature characteristic for this plugin, so it doesn't display negative temperatures. See ebaauw/homebridge-hue#30. Note that they changed HAP-NodeJS since, to force the value into the minValue .. maxValue range, so there's no more error.

@ebaauw ebaauw added the bug Something isn't working label Feb 12, 2018
@Krocko
Copy link
Author

Krocko commented Feb 13, 2018

I wasn't planning on moving house...

😜👍🏻

Ok, have changed the values in lib/WSAccessory.js and it is working.

@ebaauw
Copy link
Owner

ebaauw commented Feb 13, 2018

Solved in v0.0.4 (actually through homebridge-hue-utils@0.4.1).

@ebaauw ebaauw closed this as completed Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants