KraigM / homebridge-nest

Nest plugin for HomeBridge
210 stars 72 forks source link

Siri give erratic temperature in celsius #41

Closed dvd2000k closed 8 years ago

dvd2000k commented 8 years ago

Hi, if i ask Siri to give me current home temperature it give me erratic answer: Say 1919 celsius for 19,0 celsius 18,519 celsius for 18,5 celsius etc.... It always append the value 19... Running on my Mac or my pi give me the same result.

How can i correct it? Homebridge vers. 0.2.19 Homebridge-Nest 1.0.1

KraigM commented 8 years ago

Can you send some logs?

dvd2000k commented 8 years ago

Here is Homebridge log, temperature in homebridge is reported correctly, siri have problems report only current temperature. Could be the decimal mark difference? e.g. 19,5 in italy, not 19.5

Current temperature for Casa Castelmella is: 19 C Current temperature for Casa Castelmella is: 19.5 C Current humidity for Casa Castelmella is: 55% Current heating for Casa Castelmella is: 0 Current temperature for Casa Castelmella is: 19 C Current temperature for Casa Castelmella is: 19.5 C [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] getOn: Clima is off Current temperature for Casa Castelmella is: 20 C [WeMo Platform] getOn: Clima is off [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] setOn: Illuminazione to off [WeMo Platform] Illuminazione binaryState: off [WeMo Platform] setOn: Illuminazione to on [WeMo Platform] Illuminazione binaryState: on [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] getOn: Clima is off [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] getOn: Clima is off [WeMo Platform] getOn: Clima is off [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] getOn: Clima is off [WeMo Platform] setOn: Illuminazione to off [WeMo Platform] Illuminazione binaryState: off [WeMo Platform] setOn: Illuminazione to on [WeMo Platform] Illuminazione binaryState: on Target temperature for Casa Castelmella is: 20 C Target temperature for Casa Castelmella is: 19.5 C Target temperature for Casa Castelmella is: 20 C Target temperature for Casa Castelmella is: 19.5 C [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] getOn: Clima is off [WeMo Platform] setOn: Illuminazione to off [WeMo Platform] Illuminazione binaryState: off [WeMo Platform] setOn: Illuminazione to on [WeMo Platform] Illuminazione binaryState: on [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] getOn: Clima is off [WeMo Platform] getOn: Clima is off [WeMo Platform] getOn: Illuminazione is on [WeMo Platform] getOn: WeMo Motion is off [WeMo Platform] setOn: Illuminazione to off [WeMo Platform] Illuminazione binaryState: off [WeMo Platform] setOn: Illuminazione to on [WeMo Platform] Illuminazione binaryState: on [WeMo Platform] setOn: Illuminazione to off [WeMo Platform] Illuminazione binaryState: off Current temperature for Casa Castelmella is: 19.5 C Current temperature for Casa Castelmella is: 20 C Current temperature for Casa Castelmella is: 19.5 C

KraigM commented 8 years ago

Well we send homekit a number not a string (so there is no decimal . or , :smile:

Can you send a screenshot of the siri response when you get a bad response

dvd2000k commented 8 years ago

Ok,here is a screenshot of siri response: img_0533

KraigM commented 8 years ago

I assume you have restarted homebridge and all that jazz

dvd2000k commented 8 years ago

I have homebridge installed on my raspi and on my mac. Same result... :(

KraigM commented 8 years ago

Then I think I'm going to call in the reinforcements on this one bc Im not sure if its something with node, siri, homebridge, or homebridge-nest. The logs are showing exactly what we send to homebridge so I can't think of any reason that would be happening.

@nfarina @KhaosT Any ideas?

dvd2000k commented 8 years ago

And if i ask siri about the current "target" temperature, the response is correct. Only with the current inside temperature i have this problem... The home app report both correct temperature. I also tried to restore iPhone to it's default, nothing changed. Tried on another iPhone, same thing.

KraigM commented 8 years ago

Do you have any other devices on homebridge and/or homekit?

dvd2000k commented 8 years ago

Yes, i have a wemo switch, wemo insight and wemo motion and Nest configured on homebridge. I have philips hue bridge 2.0 that is homekit ready.

On my mac i have node vers. 5.6.0 on my raspi 4.2.1

dvd2000k commented 8 years ago

and here is the answer for 19,5: img_0535

and for 20C the answer is 2020C...

dvd2000k commented 8 years ago

Or could it be some sort of rounding problem? I get 1818 for 18 18,519 for 18,5 1919 for 19 19,520 for 19,5 2020 for 20...

KraigM commented 8 years ago

What about the HomeKit apps (like Insteon+)? What do they display?

dvd2000k commented 8 years ago

All the apps display the correct temperature. Only Siri have problems to tell the correct temperature.

KraigM commented 8 years ago

Then this is very likely a Siri bug. I would submit a request to Apple

dvd2000k commented 8 years ago

I have tried now to change Siri from Italian to english. She tell the correct temperature! It's a Siri bug for Italian. Thankyou!

KraigM commented 8 years ago

Glad to hear (that its not my bug) :smile: