I managed to set my thermostat to auto changeover mode. I added all the metadata to the items, but now when I look in google app it show mode as other and only shows the ambient temperature. openHAB shows everything correctly with auto as the mode. I wonder if it has to do with the naming discrepancies between the thermostat and the google assistant. Your code has [‘off’, ‘heat’, ‘cool’, ‘on’, ‘heatcool’, ‘auto’]. Below is the device info for the modes from https://www.cd-jackson.com/index.php/zwave/zwave-device-database/zwave-device-list/devicesummary/182?layout=openhab2.
<channel-type id="honeywell_th8320zw_00_000_thermostat_mode">
<item-type>Number</item-type>
<label>Thermostat Mode</label>
<description>Sets the thermostat mode</description>
<category>Temperature</category>
<state pattern="%s">
<options>
<option value="3">Auto</option>
<option value="0">Off</option>
<option value="11">Economy Heat</option>
<option value="2">Cool</option>
<option value="12">Economy Cool</option>
<option value="1">Heat</option>
<option value="5">Resume</option>
</options>
</state>
I have tried string and number for the mode, but it doesn’t seem to make a difference. Below is the group containing everything.
{
"members": [{
"link": "http://openhab:8080/rest/items/Thermostat_TemperatureSensor",
"state": "73",
"type": "Number",
"name": "Thermostat_TemperatureSensor",
"label": "Family Room Temperature",
"category": "Temperature",
"tags": ["CurrentTemperature"],
"groupNames": ["gTemperature", "gFamilyRoom", "gFamRmThermostat"]
}, {
"link": "http://openhab:8080/rest/items/Thermostat_Mode",
"state": "3.0",
"stateDescription": {
"pattern": "%s",
"readOnly": false,
"options": [{
"value": "3",
"label": "Auto"
}, {
"value": "0",
"label": "Off"
}, {
"value": "11",
"label": "Economy Heat"
}, {
"value": "2",
"label": "Cool"
}, {
"value": "12",
"label": "Economy Cool"
}, {
"value": "1",
"label": "Heat"
}, {
"value": "5",
"label": "Resume"
}
]
},
"commandDescription": {
"commandOptions": [{
"command": "3",
"label": "Auto"
}, {
"command": "0",
"label": "Off"
}, {
"command": "11",
"label": "Economy Heat"
}, {
"command": "2",
"label": "Cool"
}, {
"command": "12",
"label": "Economy Cool"
}, {
"command": "1",
"label": "Heat"
}, {
"command": "5",
"label": "Resume"
}
]
},
"type": "Number",
"name": "Thermostat_Mode",
"label": "Family Room Mode",
"category": "Temperature",
"tags": ["homekit:TargetHeatingCoolingMode"],
"groupNames": ["gFamilyRoom", "gFamRmThermostat"]
}, {
"link": "http://openhab:8080/rest/items/Thermostat_SetpointCooling",
"state": "76",
"stateDescription": {
"pattern": "%.0f",
"readOnly": false,
"options": []
},
"type": "Number",
"name": "Thermostat_SetpointCooling",
"label": "Family Room Setpoint (cooling)",
"category": "Temperature",
"tags": ["homekit:TargetTemperature"],
"groupNames": ["gFamRmThermostat"]
}, {
"link": "http://openhab:8080/rest/items/Thermostat_Fan_Mode",
"state": "6",
"stateDescription": {
"pattern": "%s",
"readOnly": false,
"options": [{
"value": "0",
"label": "Auto (Low)"
}, {
"value": "1",
"label": "On (Low)"
}, {
"value": "6",
"label": "Circulate"
}
]
},
"commandDescription": {
"commandOptions": [{
"command": "0",
"label": "Auto (Low)"
}, {
"command": "1",
"label": "On (Low)"
}, {
"command": "6",
"label": "Circulate"
}
]
},
"type": "Number",
"name": "Thermostat_Fan_Mode",
"label": "Family Room Fan Mode",
"category": "Temperature",
"tags": [],
"groupNames": ["gFamRmThermostat"]
}, {
"link": "http://openhab:8080/rest/items/Thermostat_Fan_OperatingState",
"state": "1",
"stateDescription": {
"pattern": "%s",
"readOnly": false,
"options": [{
"value": "0",
"label": "Idle"
}
]
},
"commandDescription": {
"commandOptions": [{
"command": "0",
"label": "Idle"
}
]
},
"type": "Number",
"name": "Thermostat_Fan_OperatingState",
"label": "Family Room Thermostat Fan State",
"category": "Temperature",
"tags": [],
"groupNames": ["gFamRmThermostat"]
}
],
"link": "http://openhab:8080/rest/items/gFamRmThermostat",
"state": "NULL",
"editable": false,
"type": "Group",
"name": "gFamRmThermostat",
"label": "Family Room Thermostat",
"tags": ["Thermostat", "Fahrenheit"],
"groupNames": ["gHome"]
}
Any ideas how/if I should set these up differently?