(EDGE Driver-Mc): Zigbee Drivers for Motion, Open/Close, Moisture, Smoke-Co Sensors and others Devices

@Dienzora

Install this driver,
uninstall device
open CLI to capture this driver log
reinstall device to see if this device support attribute *CurrentZoneSensitivityLevel
my models don’t support it

───────────────────────────────────────────────────
 Name         Zigbee Motion Sensor Test
 Version      2022-09-28T20:15:49.524623929
───────────────────────────────────────────────────

hi
first of all, thank you very much for your work, and your great help.
I checked the drivers, tow gang works great.
But unfortunately three gang is not identified as a edge on st.
I think there was a mistake in the name of the manufacturer.
The correct name is _TYZB01_gzhgaaqi
Missing an underscore at the beginning.

Sorry,
fixed in this driver version

─────────────────────────────────────────────────── 
 Name         Zigbee Multi Switch and Child Mc     
 Version      2022-09-28T20:48:08.627283111        
───────────────────────────────────────────────────
───────────────────────────────────────────────────
 Name         Zigbee Multi Switch Mc
 Version      2022-09-28T20:48:19.117826073        
───────────────────────────────────────────────────
  - id: "TS0003/_TYZB01_gzhgaaqi"
    deviceLabel: TS0003 Switch
    manufacturer: _TYZB01_gzhgaaqi
    model: TS0003
    deviceProfileName: three-switch

It works:

2022-09-28T21:32:51.444153031+00:00 TRACE Zigbee Motion Sensor Test  Found ZigbeeMessageDispatcher handler in zigbee-motion
2022-09-28T21:32:51.450226364+00:00 INFO Zigbee Motion Sensor Test  Executing ZclClusterAttributeValueHandler: cluster: IASZone, attribute: CurrentZoneSensitivityLevel
2022-09-28T21:32:51.456733031+00:00 PRINT Zigbee Motion Sensor Test  currentZoneSensitivityLevel >>>>>>>>>	2
2022-09-28T21:32:51.461754364+00:00 DEBUG Zigbee Motion Sensor Test  TS0202 Motion Sensor device thread event handled
2022-09-28T21:32:53.545841032+00:00 TRACE Zigbee Motion Sensor Test  Received event with handler zigbee
2022-09-28T21:32:53.569951365+00:00 INFO Zigbee Motion Sensor Test  <ZigbeeDevice: 4eb01caa-12cb-41f0-bbbf-8e2621e8025f [0x6743] (TS0202 Motion Sensor)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6743, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0x8C, rssi: -65, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0xA4, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0xF001, DataType: Uint8, Uint8: 0x00 > > > >
2022-09-28T21:32:53.666036699+00:00 DEBUG Zigbee Motion Sensor Test  TS0202 Motion Sensor device thread event handled
2022-09-28T21:32:53.680260365+00:00 TRACE Zigbee Motion Sensor Test  Received event with handler zigbee
2022-09-28T21:32:53.697587699+00:00 INFO Zigbee Motion Sensor Test  <ZigbeeDevice: 4eb01caa-12cb-41f0-bbbf-8e2621e8025f [0x6743] (TS0202 Motion Sensor)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6743, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0x8C, rssi: -65, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0xA5, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0013, DataType: Uint8, CurrentZoneSensitivityLevel: 0x02 > > > >
2022-09-28T21:32:53.734618699+00:00 TRACE Zigbee Motion Sensor Test  Found ZigbeeMessageDispatcher handler in zigbee-motion
2022-09-28T21:32:53.801574365+00:00 INFO Zigbee Motion Sensor Test  Executing ZclClusterAttributeValueHandler: cluster: IASZone, attribute: CurrentZoneSensitivityLevel
2022-09-28T21:32:53.816757699+00:00 PRINT Zigbee Motion Sensor Test  currentZoneSensitivityLevel >>>>>>>>>	2
2022-09-28T21:32:53.821973032+00:00 DEBUG Zigbee Motion Sensor Test  TS0202 Motion Sensor device thread event handled
2022-09-28T21:32:54.358043366+00:00 DEBUG Zigbee Motion Sensor Test  TS0202 Motion Sensor device thread event handled
2022-09-28T21:32:54.882544032+00:00 TRACE Zigbee Motion Sensor Test  Received event with handler zigbee
2022-09-28T21:32:54.892062032+00:00 INFO Zigbee Motion Sensor Test  <ZigbeeDevice: 4eb01caa-12cb-41f0-bbbf-8e2621e8025f [0x6743] (TS0202 Motion Sensor)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6743, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: Basic >, lqi: 0x8C, rssi: -65, body_length: 0x0008, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x17, ZCLCommandId: 0x01 >, < ReadAttributeResponse || < AttributeRecord || AttributeId: 0x0001, ZclStatus: SUCCESS, DataType: Uint8, ApplicationVersion: 0x46 > > > >
2022-09-28T21:32:54.913264032+00:00 TRACE Zigbee Motion Sensor Test  Found ZigbeeMessageDispatcher handler in zigbee-motion
2022-09-28T21:32:54.919348699+00:00 INFO Zigbee Motion Sensor Test  Executing ZclClusterAttributeValueHandler: cluster: Basic, attribute: ApplicationVersion
2022-09-28T21:32:54.925353366+00:00 PRINT Zigbee Motion Sensor Test  Firmware >>>>>>>>>	70
2022-09-28T21:32:54.930519366+00:00 DEBUG Zigbee Motion Sensor Test  TS0202 Motion Sensor device thread event handled
2022-09-28T21:32:54.936866366+00:00 TRACE Zigbee Motion Sensor Test  Received event with handler zigbee
2022-09-28T21:32:54.945406699+00:00 INFO Zigbee Motion Sensor Test  <ZigbeeDevice: 4eb01caa-12cb-41f0-bbbf-8e2621e8025f [0x6743] (TS0202 Motion Sensor)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6743, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: IASZone >, lqi: 0x8C, rssi: -65, body_length: 0x0008, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x18, ZCLCommandId: 0x01 >, < ReadAttributeResponse || < AttributeRecord || AttributeId: 0x0013, ZclStatus: SUCCESS, DataType: Uint8, CurrentZoneSensitivityLevel: 0x02 > > > >

Unfortunately, I still don’t recognize him.
Identifies him straight away as a handler. :face_with_spiral_eyes:

It looks like it’s set to 2, we assume it’s medium or high sensitivity.

ZigBee Cluster Library (for ZigBee 3.0)
User Guide
JN-UG-3115 v1.5 © NXP Semiconductors 2018 783
 u8CurrentZoneSensitivityLevel is an optional attribute containing the
current sensitivity level for the zone - the value 0x00 corresponds to the default
sensitivity level (which will also be represented by another value, e.g. 0x05)

Note: The definition of a sensitivity level is
manufacturer-specific but detector ‘sensitivity’ should
increase with higher values of this attribute.

I will see how this can be implemented.

I will need your collaboration with the logs

1 Like

is the last driver version installed in your hub?

Or do you have any custom DTH with that fingerprint?

You can count on me!

1 Like

I deleted all handlers already.
I removed ther edge drivers and reinstall them serval times…

Hi,

Thanks for your quick response.

  1. The model LXX60-FN27LX1.0 just works like the 4 gang switch LXN-4S27LX1.0 below with endpoints 01, 02, 03 and 04. The only difference is that the 1, 2 and 3 buttons are used for fan control and no 4 button for light. If it is fine, please just add model LXX60-FN27LX1.0 as a four-switch as well.

┌─────────────┬──────────────────────────────────────┐ │ Name │ Zigbee Multi Switch Mc │ │ Version │ 2022-09-17T11:10:12.016101676 │ └─────────────┴──────────────────────────────────────┘ - id: “3A Smart/LXN-4S27LX1.0” deviceLabel: 3A Smart 4 Switch manufacturer: 3A Smart Home DE model: LXN-4S27LX1.0 deviceProfileName: four-switch

  1. The blind switch/controller ( model: FB56+CUR17SB2.2, manufacturer: Feibit Co.Ltd
    is the same as the device below.
  • id: “Feibit Co.Ltd/FTB56-ZT218AK1.8”
    deviceLabel: Wistar Window Treatment
    manufacturer: Feibit Co.Ltd
    model: FTB56-ZT218AK1.8
    deviceProfileName: window-treatment-profile
  1. As for model: TS0601, it is a Tuya device, if your device does not support Tuya’s blind device, please just ignore this one.

Regards,

Kevin

Can you please add @Mariano_Colmenarejo
Zigbee Tuya Window Shade
application: 53
endpointId: 01
manufacturer: _TZE200_fzo2pocs
model: TS0601
zigbeeNodeType: ROUTER

Could you please help me I know nothing about developing ect… I just want to install your custom Edge driver “SmartThings Multipurpose Sensor Mc” with the vibration adjustment setting to my hub. I’ve enrolled the hue motion custom Edge driver before and that was easy enough however for the life of me I cannot find invitation link to your edge driver?

@Callum
Very bottom of the first post.

1 Like

How stupid of me😂 thank you so much👍

1 Like

Can i ask what is meant with Simulated Power and Energy Meter? It means it’s not working and made for testing purposes?

Hi @goosetapo

It is a virtual Energy meter.
If you enter in preferences de load connected in Watts, the driver calculate de estimated power an energy

ah i see, thanks for the quick answer :slight_smile:

1 Like

Hi @S_K
Sorry, This TS0601 model uses the Tuya EF00 cluster and I can’t get it to work

@Mariano_Colmenarejo Oh nooo… so it will stop working soon?
Any recommendations what type of roller motors should i buy?

hi @Dienzora

Please try this driver verision.
I put a custom capability to read the current sensitivity level, please execute a read to see the current level in the custom capability and the number of the levels supported in CLI

───────────────────────────────────────────────────
 Name         Zigbee Motion Sensor Test
 Version      2022-09-29T15:57:15.173023749        
───────────────────────────────────────────────────
1 Like