New availableModes for google home thermostat
See original GitHub issueHello, I am trying to build an app for controlling a thermostat using google home. The problem that I have is that this thermostat has some custom functions (healing/cooling) and custom modes ( automatic, manual, protection, boost), and I will need some custom availableModes in order to achieve this. Here you can find my sync response in order to see better how I intend you map this custom modes:
{
"requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
"payload": {
"agentUserId": "1836.15267389",
"devices": [{
"id": "123",
"type": "action.devices.types.THERMOSTAT",
"traits": [
"action.devices.traits.TemperatureSetting","action.devices.traits.Modes"
],
"name": {
"defaultNames": ["Honeywell Thermostat T-1000"],
"name": "Homer Simpson Thermostat",
"nicknames": ["living room thermostat"]
},
"willReportState": false,
"attributes": {
"availableThermostatModes": "off,heat,cool,on",
"thermostatTemperatureUnit": "F",
"availableModes": [{
"name": "function",
"name_values": [{
"name_synonym": ["function"]
"lang": "en"
},{
"name_synonym": ["fonction"]
"lang": "fr"
},{
"name_synonym": ["funzione"]
"lang": "it"
}],
"settings": [{
"setting_name": "heating",
"setting_values": [{
"setting_synonym": ["heating","heat"]
"lang": "en"
},{
"setting_synonym": ["chauffage","chaleur"]
"lang": "fr"
},{
"setting_synonym": ["riscaldamento","calore"]
"lang": "it"
}]
}, {
"setting_name": "cooling",
"setting_values": [{
"setting_synonym": ["cooling", "cool"],
"lang": "en"
},{
"setting_synonym": ["refroidissement", "rafraîchir"],
"lang": "fr"
},{
"setting_synonym": ["raffreddamento", "freddo"],
"lang": "it"
}]
}],
"ordered": true
},
{
"name": "mode",
"name_values": [{
"name_synonym": ["mode"]
"lang": "en"
},{
"name_synonym": ["modalità"]
"lang": "it"
},{
"name_synonym": ["mode"]
"lang": "fr"
}],
"settings": [{
"setting_name": "automatic",
"setting_values": [{
"setting_synonym": ["automatic"]
"lang": "en"
},{
"setting_synonym": ["automatico"]
"lang": "it"
},{
"setting_synonym": ["automatique"]
"lang": "fr"
}]
}, {
"setting_name": "manual",
"setting_values": [{
"setting_synonym": ["manual"]
"lang": "en"
},{
"setting_synonym": ["manuale"]
"lang": "it"
},{
"setting_synonym": ["manual"]
"lang": "fr"
}]
},
{
"setting_name": "protection",
"setting_values": [{
"setting_synonym": ["protection"]
"lang": "en"
},{
"setting_synonym": ["protezione"]
"lang": "it"
},{
"setting_synonym": ["protection"]
"lang": "fr"
}]
},
{
"setting_name": "boost",
"setting_values": [{
"setting_synonym": ["boost"]
"lang": "en"
},{
"setting_synonym": ["impulso"]
"lang": "it"
},{
"setting_synonym": ["renforcer"]
"lang": "fr"
}]
}],
"ordered": true
}]
},
"deviceInfo": {
"manufacturer": "hrxhgfst",
"model": "t-1000",
"hwVersion": "3.2",
"swVersion": "11.4"
},
"customData": {
"fooValue": 74,
"barValue": true,
"bazValue": "lambtwirl"
}
}]
}
}
Let me know you can help me to achieve this.
Thank you
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Nest thermostat temperature modes - Google Support
Depending on your system type and thermostat model, your Google Nest thermostat can have up to 5 available modes: Heat, Cool, Heat •...
Read more >How to adjust the temperature and change modes on your ...
Depending on your system type, your Google Nest thermostat can have up to five available modes : Heat, Cool, Heat•Cool, Off and Eco....
Read more >Nest Thermostat, Fine-tune your comfort - Google Store
Easy and breezy. In the summer, your thermostat can turn itself down when you leave so you don't waste energy cooling an empty...
Read more >Thermostat | Device Access - Google Developers
All Google Nest Thermostat models are supported in the Smart Device Management (SDM) API. These devices return the THERMOSTAT device type:.
Read more >Nest Learning Thermostat - Smart Wi-Fi Thermostat - Copper
Google Nest Learning Thermostat - Smart Wi-Fi Thermostat - Copper ... generation Nest Learning Thermostat, Nest Thermostat E, or the newest Nest Thermostat...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, so maybe you can help us with this until the custom modes are ready. thank you
Thanks for your answer. Is it possible, for now, to add requested modes manually? How can we work with this until the custom modes will be available?