Using the driver, I noticed that there is a difference in battery information between what is shown on the sensor display and the ST app.
In the sensor display it shows the battery with 50% or less, in the driver it shows 100%. When I was with the DHT Smartsense temp/humidity sensor, it showed the battery correctly, but it was off line at least once a day,
I appreciate if you can see this question.
I tested it with its two drivers: zigbee temp humity sensor mc and zigbee temp sensor with thermostat mc, both with the same battery issue.
Below is the sensor data
Metrics
Last Hop LQI: 104
Last Hop RSSI: -74
Received Messages From Device: 425
Received Messages From Device (Duplicates): 6
Messages Transmitted to Device: 1242
Messages Transmitted to Device (Failures): 829
Updated Time: 2022-01-07 9:42 AM EDT
Date
zigbeeNodeType: SLEEPY_END_DEVICE
application: 43
endpointId: 01
manufacturer: _TZ2000_a476raq2
model: TS0201
Raw Description 01 0104 0302 00 04 0000 0001 0402 0405 01 0019
This driver uses for battery information the attribute 0x0021 battery percentage remaining.
It only shows with the default libraries the value sent by the device divided by 2.
The smartsense DTH uses the attribute 0x0020, battery voltage for all but those manufactured by smajim. If it matches this DTH, it is sending different battery data for each attribute. Which one is correct?
I would have to add the battery management by voltage. When i have time i will do
As the new version has new Custom Capabilities, Profile and preferences, the update is not performed automatically, it will be done by changing the driver on the device, driver menu, select another driver.
To facilitate the update, I am going to change version 2.0 to the name Zigbee Temp Humidity Sensor Mc-(OLD). I will publish the new version 2.5 with the original name Zigbee Temp Humidity Sensor Mc.
In this way, your driver installed will have the rename with (OLD), indicating that there is a new version available and you can install the new version with a driver change whenever you want.
Added custom presentations, with multiple tile, to show up to 5 different capacities in the tile depending of device profile. (Thanks to @Nayelyz for their help and engineering inquiries)
I would like to have put the capability ofThermostat Mode in the Tile, but I have not been able to why the presentation of the stock capacity is defined without information for the Dashboard view. Hopefully at some point they will add information from that capability to the mosaic.
I have not been able to test all the presentations, I do not have all the types of sensor, if there is a problem, please tell me
As the update has news Capabilities Presentation it is necessary to clear the cache of the app on the phone after the update. A hub reboot should not be necessary.
For this reason, the update is not performed automatically, it will be done by changing the driver on the device, driver menu, select another driver.
The thermostat will not control the temperature until a new first event of the current temperature is received. You can force an event by heating the sensor a little with your hand.
To facilitate the update, I am going to change version 3.0 to the name Zigbee Temp Sensor and Thermostat Mc-(OLD).
I will publish the new version 3.5 with the original name Zigbee Temp Sensor and Thermostat Mc.
In this way, your driver installed will have the rename with (OLD), indicating that there is a new version available and you can install the new version with a driver change whenever you want.
┌─────────────┬──────────────────────────────────────┐
│ Name │ Zigbee Motion Sensor Mc │
│ Version │ 2022-01-16T18:13:57.192847 │
└─────────────┴──────────────────────────────────────┘
added to this driver version
Please, tell me if works
┌─────────────┬───────────────────────────────────────┐
│ Name │ Zigbee Temp Sensor with Thermostat Mc │
│ Version │ 2022-01-16T22:36:27.002171 │
└─────────────┴───────────────────────────────────────┘
┌─────────────┬───────────────────────────────────────┐
│ Name │ Zigbee Temp Sensor with Thermostat Mc │
│ Version │ 2022-01-17T13:55:07.143797 │
└─────────────┴───────────────────────────────────────┘
@Mariano_Colmenarejo,
I have installed the thermostat driver, re-added my CentrLite 3305-S sensor and it showed up as expected. I have switched the settings to F and adjusted all ranges accordingly. The sensor reports fine the battery level and temperature: 68F. The Mode is set to ‘Heat’ with the setpoint of 72F. However I do no see the operating state changing from Idle → Heating. Thermostat Next State Change panel shows ‘No Expected Change in Thermostat State’. Any ideas on what am I missing?
The unit went through a number of temperature changes overnight. I just checked the logs and see the reference to an event that is still reporting in Celsius although I have converted all settings to F. Could this be a problem?
Here is a log snippet:
2022-01-17T20:16:59.972008803+00:00 TRACE Zigbee Temp Sensor with Thermostat Mc Received event with handler zigbee
2022-01-17T20:16:59.981440469+00:00 INFO Zigbee Temp Sensor with Thermostat Mc <ZigbeeDevice: 1e3718a8-4d29-4977-9441-953c17c845be [0x66D2] (BSMNT BDRM Temperature Sensor/Thermostat)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x66D2, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: TemperatureMeasurement >, lqi: 0x90, rssi: -64, body_length: 0x0009, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x71, ZCLCommandId: 0x01 >, < ReadAttributeResponse || < AttributeRecord || AttributeId: 0x0000, ZclStatus: SUCCESS, DataType: Int16, MeasuredValue: 2071 > > > >
2022-01-17T20:17:00.010631469+00:00 TRACE Zigbee Temp Sensor with Thermostat Mc Found ZigbeeMessageDispatcher handler in st-zigbee-motion
2022-01-17T20:17:00.017943469+00:00 INFO Zigbee Temp Sensor with Thermostat Mc Executing ZclClusterAttributeValueHandler: cluster: TemperatureMeasurement, attribute: MeasuredValue
2022-01-17T20:17:00.025614803+00:00 INFO Zigbee Temp Sensor with Thermostat Mc <ZigbeeDevice: 1e3718a8-4d29-4977-9441-953c17c845be [0x66D2] (BSMNT BDRM Temperature Sensor/Thermostat)> emitting event: {“attribute_id”:“temperature”,“capability_id”:“temperatureMeasurement”,“component_id”:“main”,“state”:{“value”:20.71,“unit”:“C”}}
2022-01-17T20:17:00.051555136+00:00 DEBUG Zigbee Temp Sensor with Thermostat Mc CentraLite Motion Sensor device thread event handled
When switching to a mode other than off, a timer starts and every 15 sec calculates the status corresponding to the setpoints and the current temperature.
Until the first message from the device arrives with the temperature not performs the first calculation.
After that, it uses the last value saved and updated in the driver.
Are there recent temperature events in the history?
You can try another thermostat mode, auto for example, just in case
tested mine in Heat mode and this is the log
2022-01-18T10:54:54.361807477+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc <<< Cheking Temp >>>
2022-01-18T10:54:54.368141477+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc device: <ZigbeeDevice: 16fa2ff4-00ca-4b65-b1db-5af142511d65 [0x9CFB] (Termostato)>
2022-01-18T10:54:54.374098144+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostat_Run = running
2022-01-18T10:54:54.380108811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostatOperatingState Before = idle
2022-01-18T10:54:54.386065144+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostat_Mode = heat
2022-01-18T10:54:54.392104144+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostatFan_Mode = auto
2022-01-18T10:54:54.398934811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc cycleCurrent = stop
2022-01-18T10:54:54.405423144+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc device.preferences.floorRadaint = No
2022-01-18T10:54:54.411793811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc device.preferences.temperature DiffStarStop = 0.5
2022-01-18T10:54:54.417742811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc *** Current_temp *** 18.78 Celsius
2022-01-18T10:54:54.423818811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc ## heating_Setpoint ## 19.2
2022-01-18T10:54:54.429980811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToHeating <= 18.7
2022-01-18T10:54:54.436746811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToPendingHeat > 18.95
2022-01-18T10:54:54.442649811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc ## cooling_Setpoint ## 25.0
2022-01-18T10:54:54.448633144+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToCooling >= 25.5
2022-01-18T10:54:54.454996811+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToPendingCool < 25.25
2022-01-18T10:54:54.460763144+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostatOperatingState **** heating ****
2022-01-18T10:54:54.467800811+00:00 INFO Zigbee Temp Sensor with Thermostat Mc <ZigbeeDevice: 16fa2ff4-00ca-4b65-b1db-5af142511d65 [0x9CFB] (Termostato)> emitting event: {“attribute_id”:“thermostatOperatingState”,“capability_id”:“thermostatOperatingState”,“state”:{“value”:“heating”},“component_id”:“main”}
2022-01-18T10:54:54.531996477+00:00 INFO Zigbee Temp Sensor with Thermostat Mc <ZigbeeDevice: 16fa2ff4-00ca-4b65-b1db-5af142511d65 [0x9CFB] (Termostato)> emitting event: {“attribute_id”:“infoPanel”,“capability_id”:“legendabsolute60149.infoPanel”,“state”:{“value”:“T= 18.78ºC, Next State: Pending Heat, T > 18.95ºC”},“component_id”:“main”}
2022-01-18T10:54:54.577682811+00:00 INFO Zigbee Temp Sensor with Thermostat Mc <ZigbeeDevice: 16fa2ff4-00ca-4b65-b1db-5af142511d65 [0x9CFB] (Termostato)> emitting event: {“attribute_id”:“fanCyclicMode”,“capability_id”:“legendabsolute60149.fanCyclicMode”,“state”:{“value”:“On”},“component_id”:“main”}
2022-01-18T10:54:54.636033811+00:00 DEBUG Zigbee Temp Sensor with Thermostat Mc Termostato device thread event handled
2022-01-18T10:55:03.686228812+00:00 TRACE Zigbee Temp Sensor with Thermostat Mc Received event with handler zigbee health poll
2022-01-18T10:55:09.361906146+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc <<< Cheking Temp >>>
2022-01-18T10:55:09.368518146+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc device: <ZigbeeDevice: 16fa2ff4-00ca-4b65-b1db-5af142511d65 [0x9CFB] (Termostato)>
2022-01-18T10:55:09.374546812+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostat_Run = running
2022-01-18T10:55:09.380754479+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostatOperatingState Before = heating
2022-01-18T10:55:09.386684812+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostat_Mode = heat
2022-01-18T10:55:09.392739146+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostatFan_Mode = auto
2022-01-18T10:55:09.399138146+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc cycleCurrent = stop
2022-01-18T10:55:09.406241479+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc device.preferences.floorRadaint = No
2022-01-18T10:55:09.412614479+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc device.preferences.temperature DiffStarStop = 0.5
2022-01-18T10:55:09.418738146+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc *** Current_temp *** 18.78 Celsius
2022-01-18T10:55:09.425075812+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc ## heating_Setpoint ## 19.2
2022-01-18T10:55:09.431159812+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToHeating <= 18.7
2022-01-18T10:55:09.437220146+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToPendingHeat > 18.95
2022-01-18T10:55:09.443632146+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc ## cooling_Setpoint ## 25.0
2022-01-18T10:55:09.450035479+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToCooling >= 25.5
2022-01-18T10:55:09.456249479+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc tempChangeToPendingCool < 25.25
2022-01-18T10:55:09.462213812+00:00 PRINT Zigbee Temp Sensor with Thermostat Mc thermostatOperatingState **** heating ****
2022-01-18T10:55:09.469413479+00:00 INFO Zigbee Temp Sensor with Thermostat Mc <ZigbeeDevice: 16fa2ff4-00ca-4b65-b1db-5af142511d65 [0x9CFB] (Termostato)> emitting event: {“attribute_id”:“thermostatOperatingState”,“capability_id”:“thermostatOperatingState”,“state”:{“value”:“heating”},“component_id”:“main”}
2022-01-18T10:55:09.496877146+00:00 INFO Zigbee Temp Sensor with Thermostat Mc <ZigbeeDevice: 16fa2ff4-00ca-4b65-b1db-5af142511d65 [0x9CFB] (Termostato)> emitting event: {“attribute_id”:“infoPanel”,“capability_id”:“legendabsolute60149.infoPanel”,“state”:{“value”:“T= 18.78ºC, Next State: Pending Heat, T > 18.95ºC”},“component_id”:“main”}