ZTH02 temperature sensor gives no channel

Hello,

I’m using openHab3 with quite a few devices and today got hold of a “ZigBee Temp & Humidity Sensor” and I can see it quite fine in the zigbee discovery interface.
However, once added as a thing, it has no channels when I expected to see Temperature and Humidity at least.
In the log, I see this:

15:08:01.281 [INFO ] [gbee.discovery.ZigBeeDiscoveryService] - A4C1383BFED1EE3C: Starting ZigBee device discovery
15:08:01.282 [INFO ] [ig.discovery.internal.PersistentInbox] - Added new thing 'zigbee:device:ba2123d553:a4c1383bfed1ee3c' to inbox.
15:08:01.283 [INFO ] [openhab.event.InboxAddedEvent        ] - Discovery Result with UID 'zigbee:device:ba2123d553:a4c1383bfed1ee3c' has been added.
15:08:03.348 [INFO ] [gbee.discovery.ZigBeeDiscoveryService] - A4C1383BFED1EE3C: Starting ZigBee device discovery
15:08:19.258 [INFO ] [openhab.event.InboxRemovedEvent      ] - Discovery Result with UID 'zigbee:device:ba2123d553:a4c1383bfed1ee3c' has been removed.
15:08:19.265 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:device:ba2123d553:a4c1383bfed1ee3c' changed from UNINITIALIZED to INITIALIZING
15:08:19.273 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:device:ba2123d553:a4c1383bfed1ee3c' changed from INITIALIZING to UNKNOWN
15:08:19.286 [WARN ] [ing.zigbee.handler.ZigBeeThingHandler] - A4C1383BFED1EE3C: No supported clusters found
15:08:19.288 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:device:ba2123d553:a4c1383bfed1ee3c' changed from UNKNOWN to OFFLINE (HANDLER_INITIALIZING_ERROR): No supported clusters found
15:08:19.740 [INFO ] [openhab.event.FirmwareStatusInfoEvent] - Firmware status of thing zigbee:device:ba2123d553:a4c1383bfed1ee3c changed to UNKNOWN.

So clearly the zigbee binding is not happy because there are not supported clusters found. Here are the information given by the zigbee command line:

IEEE Address      : A4C1383BFED1EE3C
Network Address   : 9390
Endpoint          : 1
Device Profile    : 0x0104, ZIGBEE_HOME_AUTOMATION
Device Type       : 0x0051, SMART_PLUG
Device Version    : 1
Input Clusters    : (Server)
   0000 Basic
     - APS Security disabled
        S       0 r-- UNSIGNED_8_BIT_INTEGER    ZCL Version                              Tue Nov 15 15:08:03 CET 2022 3
        S       1 r-- UNSIGNED_8_BIT_INTEGER    Application Version                      Tue Nov 15 15:13:03 CET 2022 72
        S       2 r-- UNSIGNED_8_BIT_INTEGER    Stack Version                            Tue Nov 15 15:08:03 CET 2022 0
        S       3 r-- UNSIGNED_8_BIT_INTEGER    HW Version                               Tue Nov 15 15:08:03 CET 2022 1
        S       4 r-- CHARACTER_STRING          Manufacturer Name                        Tue Nov 15 15:08:03 CET 2022 _TZE200_yjjdcqsq
        S       5 r-- CHARACTER_STRING          Model Identifier                         Tue Nov 15 15:08:03 CET 2022 TS0601
        S       6 r-- CHARACTER_STRING          Date Code                                Tue Nov 15 15:08:03 CET 2022
        S       7 r-- ENUMERATION_8_BIT         Power Source
        S       8 r-- ENUMERATION_8_BIT         Generic Device Class
        S       9 r-- ENUMERATION_8_BIT         Generic Device Type
        S      10 r-- CHARACTER_STRING          Product Code
        S      11 r-- CHARACTER_STRING          Product URL
        S      16 rw- CHARACTER_STRING          Location Description
        S      17 rw- ENUMERATION_8_BIT         Physical Environment
        S      18 rw- BOOLEAN                   Device Enabled
        S      19 rw- BITMAP_8_BIT              Alarm Mask
        S      20 rw- BITMAP_8_BIT              Disable Local Config
        S   16384 r-- CHARACTER_STRING          SW Build ID
        S   65533 r-- UNSIGNED_16_BIT_INTEGER   Cluster Revision
        S   65534 r-- ENUMERATION_16_BIT        Attribute Reporting Status
   0004 Groups
     - APS Security disabled
        S       0 r-- BITMAP_8_BIT              Name Support
        S   65533 r-- UNSIGNED_16_BIT_INTEGER   Cluster Revision
        S   65534 r-- ENUMERATION_16_BIT        Attribute Reporting Status
   0005 Scenes
     - APS Security disabled
        S       0 r-- UNSIGNED_8_BIT_INTEGER    Scene Count
        S       1 r-- UNSIGNED_8_BIT_INTEGER    Current Scene
        S       2 r-- UNSIGNED_16_BIT_INTEGER   Current Group
        S       3 r-- BOOLEAN                   Scene Valid
        S       4 r-- BITMAP_8_BIT              Name Support
        S       5 r-- IEEE_ADDRESS              Last Configured By
        S   65533 r-- UNSIGNED_16_BIT_INTEGER   Cluster Revision
        S   65534 r-- ENUMERATION_16_BIT        Attribute Reporting Status
   EF00
     - APS Security disabled
Output Clusters   : (Client)
   000A Time
     - APS Security disabled
        S   65533 r-- UNSIGNED_16_BIT_INTEGER   Cluster Revision
        S   65534 r-- ENUMERATION_16_BIT        Attribute Reporting Status
   0019 Ota Upgrade
     - APS Security disabled
        S       0 r-- IEEE_ADDRESS              Upgrade Server ID
        S       1 r-- UNSIGNED_32_BIT_INTEGER   File Offset
        S       2 r-- UNSIGNED_32_BIT_INTEGER   Current File Version                     Tue Nov 15 15:08:03 CET 2022 72
        S       3 r-- UNSIGNED_16_BIT_INTEGER   Current ZigBee Stack Version
        S       4 r-- UNSIGNED_32_BIT_INTEGER   Downloaded File Version
        S       5 r-- UNSIGNED_16_BIT_INTEGER   Downloaded ZigBee Stack Version
        S       6 r-- ENUMERATION_8_BIT         Image Upgrade Status
        S       7 r-- UNSIGNED_16_BIT_INTEGER   Manufacturer ID
        S       8 r-- UNSIGNED_16_BIT_INTEGER   Image Type ID
        S       9 r-- UNSIGNED_16_BIT_INTEGER   Minimum Block Request Period
        S      10 r-- UNSIGNED_32_BIT_INTEGER   Image Stamp
        S   65533 r-- UNSIGNED_16_BIT_INTEGER   Cluster Revision
        S   65534 r-- ENUMERATION_16_BIT        Attribute Reporting Status

This looks sadly awfully similar to the report shown in the this topic from January, but I’m not sure what the conclusion was back then.
There appears to have been some work related to this, but I’m not sure it made it to a new openHab version.
If not, is there something that I can do to extract the values from the device? Or should I return it and get another one?

Is there anything I can do to help read data from this kind of sensor?
I mean, I have the sensor, and I could setup a development environment to test various things, I would just need some pointers as to what I should try.
My background is more Delphi and C#, but I’m not that bad at hacking my way into other languages…

Hello @obones,

Seems not to be supported with the Zigbee Plugin.
See my post here:

Hi @chris,

is there already some progress with the Zigbee implementation for the Tuja cluster?
I found some fragments in the Code for a Button but not yet for a Temparature and Humidity sensor.
I guess the implementation would be quite similar but instead of reading the Boolean Button Clicked it would be two values.

BR
/Franz

Thanks for your reply, I indeed found your topic but as it had been automatically closed, I created this new one.
I just received a Zigbee Siren, which has a nice ZigBee Alliance sticker on it, but it behaves just the same, the binding does not know what to do with it it and it emits a EF00 cluster.

As I said, I’m more than willing to help here, I just need some guidance to get me started

Hi @obones,

the functionality is engineered, its already coded in ZigBee2MQTT.
The only thing missing is the coding in the Binding.
So if you are a skilled Java Dev. take a look at the github repo.

BR
/Franz

1 Like