Nest Status
Moderator: leecollings
-
- Posts: 46
- Joined: Sunday 11 May 2014 22:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Nest Status
Hi,
The Nest functionality in Domoticz is great! There's one thing which I can't find. Basically when you set a temperature on the Nest, the Nest screen turns Red and then back to normal once the desired temperature is reached. Is there a way to know this status? Reason for asking is that I have some led strips, and would like to mimic this functionality with the LED strip.
The Nest functionality in Domoticz is great! There's one thing which I can't find. Basically when you set a temperature on the Nest, the Nest screen turns Red and then back to normal once the desired temperature is reached. Is there a way to know this status? Reason for asking is that I have some led strips, and would like to mimic this functionality with the LED strip.
Raspberry Pi B+
Rfxcomm rfxtrx433
LigthwaveRF
Byron Door Bell
Accenta Gen4 Security System Integration
HomeEasy PIR
Nest Thermostat
Geofencing
Pushover
Blog: http://www.shyambhundia.com
Rfxcomm rfxtrx433
LigthwaveRF
Byron Door Bell
Accenta Gen4 Security System Integration
HomeEasy PIR
Nest Thermostat
Geofencing
Pushover
Blog: http://www.shyambhundia.com
-
- Posts: 7
- Joined: Friday 04 December 2015 15:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nest Status
Any update on this? I'd really like this functionality, as well.
- Delaroyas
- Posts: 8
- Joined: Tuesday 08 December 2015 3:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nest Status
There is a readable parameter in the official Nest api:
hvac_state
Indicates whether HVAC system is actively heating, cooling or is off.
Use this value to indicate HVAC activity state.
typestring enum
values: "heating", "cooling", "off"
considerations: When "off", the HVAC system is not actively heating or cooling.
hvac_state is independent of fan operation.
https://developer.nest.com/documentatio ... #hvacstate
On stackoverflow I read this feature is working since May 2015 (it was a constant value before).
I guess it is only a question of implementing it.
hvac_state
Indicates whether HVAC system is actively heating, cooling or is off.
Use this value to indicate HVAC activity state.
typestring enum
values: "heating", "cooling", "off"
considerations: When "off", the HVAC system is not actively heating or cooling.
hvac_state is independent of fan operation.
https://developer.nest.com/documentatio ... #hvacstate
On stackoverflow I read this feature is working since May 2015 (it was a constant value before).
I guess it is only a question of implementing it.
Because we can!
- Delaroyas
- Posts: 8
- Joined: Tuesday 08 December 2015 3:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nest Status
Hum... I've looked at the code on github, and it seems I'm not as good a programmer has I thought.Delaroyas wrote: I guess it is only a question of implementing it.
I found the nest.cpp code and nest.h in the hardware folder, but I can't seem to find the specific code that currently gets the parameters already available in the interface.
I've searched the project code and could not find a reference to "ambient_temperature" which is the official NEST API name for the current_temperature in domotics (available in the Temp + Humidity "TempHum" Nest device in the Domotics Interface).
Because we can!
- Delaroyas
- Posts: 8
- Joined: Tuesday 08 December 2015 3:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nest Status
I posted an issue on github and got an answer:Delaroyas wrote:There is a readable parameter in the official Nest api:
hvac_state
Indicates whether HVAC system is actively heating, cooling or is off.
Use this value to indicate HVAC activity state.
The JSON output he gets is totally different than what is documented in the Official API....gizmocuz on Github wrote:I dont see this hvac_state value in the json output
To be continued...
Because we can!
-
- Posts: 5
- Joined: Saturday 09 January 2016 2:15
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Nest Status
Hi Delaroyas,
seems the code is pulling the status from a wrong location (mobile web address), this should be https://developer-api.nest.com
seems the code is pulling the status from a wrong location (mobile web address), this should be https://developer-api.nest.com
- Delaroyas
- Posts: 8
- Joined: Tuesday 08 December 2015 3:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nest Status
Just started to fiddle around with the cpp code this week. Managed to get the JSON printed on the standard output. I wasn't able to use the address you suggested to login...confucius wrote:Hi Delaroyas,
seems the code is pulling the status from a wrong location (mobile web address), this should be https://developer-api.nest.com
Domoticz is not using the Official API, and I don't think it would be necessary nor a good idea...
Anyway, the JSON I got is different than what gizmocuz showed me on Git Hub. An it has 3 interesting parameters:
hvac_heater_state, hvac_aux_heater_state, hvac_heat_x2_state,
There is also hvac_ac_state, for those who have AC plugged in on the Nest.
In the code, I just don't know how to create a device on the Nest hardware and how to send data to it...
Because we can!
- Delaroyas
- Posts: 8
- Joined: Tuesday 08 December 2015 3:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nest Status
With some help from gizmocuz I managed to modify nest.cpp to add the functionality so greatly desired!
Currently only supports basic heating/cooling logging into a "switch" device (kind of like the away switch).
Created a pull request on GitHub, hopes the code is clean enough to gett pulled in and compiled in the next beta update!
Will post again here when the update is out.
Currently only supports basic heating/cooling logging into a "switch" device (kind of like the away switch).
Created a pull request on GitHub, hopes the code is clean enough to gett pulled in and compiled in the next beta update!
Will post again here when the update is out.
Because we can!
- Delaroyas
- Posts: 8
- Joined: Tuesday 08 December 2015 3:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Nest Status
The code was accepted and included, the latest beta has the Nest "status" feature.
On the device menu, you should have a new "lighting 2" device called "HeatingOn" and/or "CoolingOn" depending on your Nest functionality.
(No need to remove/add your Nest in the hardware tab).
Use the green arrow to include the device. It will then appear in your Switches tab.
On the device menu, you should have a new "lighting 2" device called "HeatingOn" and/or "CoolingOn" depending on your Nest functionality.
(No need to remove/add your Nest in the hardware tab).
Use the green arrow to include the device. It will then appear in your Switches tab.
Because we can!
Who is online
Users browsing this forum: No registered users and 1 guest