Temperature Sensors
Convert a temperature sensorA portal device you list in config so it shows up in Home's binary normal or abnormal status into degree values through the HAPThe protocol the Home app uses to talk to accessories protocol so it can appear in the Home app.
Why the Mapping Exists
The Temperature Sensor (temperature) processes sensorA portal device you list in config so it shows up in Home statuses differently from standard contact sensorsA portal device you list in config so it shows up in Home.
A typical contact sensorA portal device you list in config so it shows up in Home conveys an open or closed status. The temperature sensorA portal device you list in config so it shows up in Home exposed in the Home app uses the HAPThe protocol the Home app uses to talk to accessories protocol, which operates with temperature values rather than open or closed states.
To bridge that difference, the accessory converts the sensorA portal device you list in config so it shows up in Home's binary status into a corresponding temperature in degrees.
Status to Degree Mapping
The plugin maps each status to a fixed temperature value:
| Status | Reading |
|---|---|
| Normal | 0 C |
| Abnormal | 100 C |
A reading of 0 C indicates a normal status, and a reading of 100 C indicates an abnormal status. These are the only two values the accessory reports.
Adding a Temperature Sensor
A temperature sensorA portal device you list in config so it shows up in Home is exposed in read-only mode and must be listed explicitly in your configuration. Set its adtType to temperature in the sensorA portal device you list in config so it shows up in Home object:
{
"sensors": [
{
"name": "Basement Temperature",
"adtName": "Basement Temperature Sensor",
"adtZone": 12,
"adtType": "temperature"
}
]
}
The adtName and adtZone values must match the "Name" and "Zone" columns shown under the "System" tabThe portal page showing each sensor's name, zone, and type of the ADT Pulse portalThe ADT website the plugin talks to for everything.
info
For the full list of accessories the plugin can expose and the requirements for each sensorA portal device you list in config so it shows up in Home object, see Supported Devices and Sensors and Zones.