[Beta] ) Edge Driver Zigbee Temp Sensor and Thermostat Mc:

Thanks for developing this driver. i successfully installed it to one of the SONOFF temp hum sensors . However If one more is added, it won’t give anything reading. The device is online but not working.

I don’t understand how that can be. It should be a pairing problem.
You can download the other driver, temperature sensor or thermostat and make a change of driver from one to the other. This will cause the setup to be done again.

I have had up to three devices running at the same time and they work fine.

Hey thanks for the reply. It works fine now. I deleted all of them added them again

1 Like

@Mariano_Colmenarejo

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

1 Like

(NEW RELEASE) New Version 2.5 of Edge Beta Driver: Zigbee Temp Humidity Sensor Mc:

Improvements:

  1. Added new profile with Temperature, RelativeHumidity, Atmospheric Pressure in (kPa & mBar) and Illuminance
  2. Added report interval settings in preferences for all capabilities
    Note: Not all devices accept configuration changes after pairing
  3. For some manufacturers added new subdriver to Battery voltage handler @Raimundo
  4. New devices added
  - id: "KMPCIL/sensor"
    deviceLabel: Environment Sensor
    manufacturer: KMPCIL
    model: RES001
    deviceProfileName: temp-humid-press-illumin
  - id: "KMPCIL/BME280"
    deviceLabel: Environment Sensor BME280
    manufacturer: KMPCIL
    model: RES001BME280
    deviceProfileName: temp-humid-press-illumin
  - id: "KMPCIL/RES005"
    deviceLabel: Environment Sensor RES005
    manufacturer: KMPCIL
    model: RES005
    deviceProfileName: temp-humid-press-illumin

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.

1 Like

Hello, would add this device?

Data * zigbeeNodeType: ROUTER

  • firmwareManufacturerCode: 4919
  • application: 28
  • endpointId: 01
  • firmwareImageType: 0
  • manufacturer: ELKO
  • model: Super TR
    Raw Description 01 0104 0301 00 05 0000 0003 0004 0005 0201 02 0003 0019
    Firmware * Current Version: 0x40016550
  • Target Version: 0x40016550
  • Last Updated: N/A
  • Last Checked: 2021-10-05 2:35 PM CEST -

Hello,
This driver is for a device with temperature sensor and simulated thermostat added.

Your device is a real thermostat, it will not work with this driver

(NEW RELEASE) Version 3.5 of Edge Driver Zigbee Temp Sensor and Thermostat Mc:
Improvements and bug fixes:

  1. Added new profile for sensors with Illuminance capability (such as Environment Sensor)
  2. Added new devices supported
  - id: "KMPCIL/sensor"
    deviceLabel: Environment Sensor
    manufacturer: KMPCIL
    model: RES001
    deviceProfileName: temp-humidity-press-illum-therm
  - id: "KMPCIL/BME280"
    deviceLabel: Environment Sensor BME280
    manufacturer: KMPCIL
    model: RES001BME280
    deviceProfileName: temp-humidity-press-illum-therm
  - id: "KMPCIL/RES005"
    deviceLabel: Environment Sensor RES005
    manufacturer: KMPCIL
    model: RES005
    deviceProfileName: temp-humidity-press-illum-therm
  1. 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 of Thermostat 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.

2 Likes

@Mariano_Colmenarejo, would you mind adding the CentraLite motion/temp/battery sensor:
Data * zigbeeNodeType: SLEEPY_END_DEVICE

  • firmwareManufacturerCode: 4174
  • firmwareFullVersion: 1F075310
  • endpointId: 01
  • firmwareImageType: 7
  • manufacturer: CentraLite
  • model: 3305-S
    Raw Description 01 0104 0402 00 07 0000 0001 0003 0402 0500 0020 0B05 01 0019

added to this driver version

┌─────────────┬──────────────────────────────────────┐
│ Name        │ Zigbee Motion Sensor Mc              │
│ Version     │ 2022-01-16T18:13:57.192847           │
└─────────────┴──────────────────────────────────────┘
  - id: "CentraLite-3305-S-Motion"
    deviceLabel: CentraLite Motion Sensor
    manufacturer: CentraLite
    model: 3305-S
    deviceProfileName: motion-temp-battery

@edwardk,
Excuse me, did you want to add it to the motion sensor driver or the thermostat driver?

If it is the thermostat I will do it in a few days, I would have to add a subdriver for the battery

I was looking to add it to the thermostat driver. Thank you Mariano.

1 Like

If I haven’t done it in a couple of days, let me know.

added to this driver version
Please, tell me if works

┌─────────────┬───────────────────────────────────────┐
│ Name        │ Zigbee Temp Sensor with Thermostat Mc │
│ Version     │  2022-01-16T22:36:27.002171           │
└─────────────┴───────────────────────────────────────┘
  - id: "CentraLite-3305-S-Motion"
    deviceLabel: CentraLite Motion Sensor
    manufacturer: CentraLite
    model: 3305-S
    deviceProfileName: motion-temp-therm-battery

@Mariano_Colmenarejo

Could you add the following 2 motion sensors with temperature capabilities to you Temp & Thermostat driver:

  • id: “CentraLite-3326-L-Motion”
    deviceLabel: CentraLite Motion Sensor
    manufacturer: CentraLite
    model: 3326-L
    deviceProfileName: motion-temp-battery

  • id: “iMagic by GreatStar/1117-S”
    deviceLabel: Iris Multipurpose Sensor
    manufacturer: iMagic by GreatStar
    model: 1117-S
    deviceProfileName: motion-humidity-temp-battery

Added to this driver version

┌─────────────┬───────────────────────────────────────┐
│ Name        │ Zigbee Temp Sensor with Thermostat Mc │
│ Version     │ 2022-01-17T13:55:07.143797            │
└─────────────┴───────────────────────────────────────┘
  - id: "CentraLite-3326-L-Motion"
    deviceLabel: CentraLite Motion Sensor
    manufacturer: CentraLite
    model: 3326-L
    deviceProfileName: motion-temp-therm-battery

For this device I need create a new profile and presentations with motion temp and humidity.
I will do as soon as I can

1 Like

@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?

Until it receives the first temperature event, it does not calculate the change of state.

heat the device a little with your hand

1 Like

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