rajeevn1
(Rajeevn1)
July 13, 2021, 2:07pm
1
The presentationId of CT100 Z-Wave thermostat is set to “SmartThings-smartthings-Z-Wave_Thermostat”, for which .automation.conditions .capability are:
“thermostatHeatingSetpoint”
“thermostatCoolingSetpoint”
“thermostatMode”
“thermostatOperatingState”
“thermostatFanMode”
I want to use the temperatureMeasurement capability of the thermostat in my automation. Can this be done without using third party smartApps.
That is curious. A SmartThings-smartthings-CT100_Thermostat
exists and the stock CT100 handler in the repository had the explicit vid (the Z-Wave Thermostat one) that was overriding it removed back in December.
The CT100 vid does include temperature measurement as a condition.
rajeevn1
(Rajeevn1)
July 13, 2021, 6:31pm
3
How did you know SmartThings-smartthings-CT100_Thermostat
exists- I do not see any mention of it in the github repository.
Is this is bug and should CT100 DTH be using SmartThings-smartthings-CT100_Thermostat
presenationId.
Brad_ST
(Brad)
July 13, 2021, 7:22pm
4
metadata {
// Automatically generated. Make future change here.
definition (name: "CT100 Thermostat", namespace: "smartthings", author: "SmartThings", mnmn: "SmartThings", vid: "SmartThings-smartthings-CT100_Thermostat") {
capability "Actuator"
capability "Temperature Measurement"
capability "Relative Humidity Measurement"
capability "Thermostat"
capability "Thermostat Heating Setpoint"
capability "Thermostat Cooling Setpoint"
capability "Thermostat Operating State"
capability "Thermostat Mode"
capability "Thermostat Fan Mode"
capability "Battery"
capability "Refresh"
capability "Sensor"
capability "Health Check"
attribute "thermostatFanState", "string"
command "switchMode"
This file has been truncated. show original
No, you won’t be able to create an Automation in the SmartThings app which includes “temperatureMeasurement”.
As noted, the CT100 device handler does include “temperatureMeasurement” in the presentation. That looks like this:
"automation": {
"conditions": [
{
"displayType": "numberField",
"capability": "temperatureMeasurement",
"version": 1,
"component": "main",
"label": "___PO_CODE_CAPABILITY.SMARTTHINGS.TEMPERATUREMEASUREMENT_DEFAULT",
"numberField": {
"value": "temperature.value",
"valueType": "number",
"unit": "temperature.unit",
"range": [
0.0,
43.89
]
}
},
...
I can inquire internally why the SmartThings-smartthings-Z-Wave_Thermostat
presentation lacks “temperatureMeasurement”.
Brad, to cut to the chase …
CHAD-5976 CT100 already had device-specific metadata · SmartThingsCommunity/SmartThingsPublic@6c2f3e7 (github.com)
As you can see, on the face of it the CT100 should be using its own default presentation but it isn’t, it is still picking up the old one. I’m guessing it hasn’t made it into production for whatever reason.
1 Like
Presentations can be pulled from the API. I knew what to look for because the default presentations for device handlers have a standard format.
It looks to me like that is the intention but that the required change to the DTH hasn’t made it into production yet.
1 Like
rajeevn1
(Rajeevn1)
July 14, 2021, 9:15pm
7
@Brad_ST can you please confirm if CT100 not using its own default presentation is the issue, and if you can help resolve it by helping push the change made in Dec 20 to production.