nest-api icon indicating copy to clipboard operation
nest-api copied to clipboard

Suggest updating call to Nest servers

Open doctorkb opened this issue 6 years ago • 4 comments

I'm not sure of what the cause is, but I can articulate symptoms.

At present, this API will only report humidity levels in 5% increments.

My iOS Nest app and Nest web interface are showing this in 1% increments.

I cannot find any such limitation in this code, so it appears to be the API call version specified that perhaps limits this. I don't know where to start in order to better reverse engineer the communication between the API and Nest, otherwise would work on this myself.

doctorkb avatar Jan 23 '19 22:01 doctorkb

Please provide code to reproduce as it is working fine for me. 41 matches exactly what my nest App says.

"temperature": 67.531982, "humidity": 41, "ac": false,

bauzer714 avatar Jan 23 '19 22:01 bauzer714

It’s still working fine for me also.

zecanard avatar Jan 23 '19 22:01 zecanard

Interesting. ~~Perhaps I have an old copy of this project class and didn't realize it.~~ nope, that's not it. Code to follow.

doctorkb avatar Jan 23 '19 22:01 doctorkb

$nest = new Nest(); $nestinfo = $nest->getDeviceInfo(); $nestHumid = $nestinfo->current_state->humidity;

I've seen 41 on my app / web, but it hasn't ever been logged. Perhaps it's been a fluke -- if others can't replicate, please feel free to close.

doctorkb avatar Jan 23 '19 23:01 doctorkb