Deconz-rest-plugin: Konke motion sensor

Created on 19 Jun 2019  Â·  48Comments  Â·  Source: dresden-elektronik/deconz-rest-plugin

I bought this zigbee sensor off aliexpress. It looks nice but it doesnt work yet with deconz.

https://nl.aliexpress.com/item/33014773963.html?spm=a2g0s.9042311.0.0.5dff4c4d8Csnuz

What to do to get this sensor supported? I tried to pair it as a sensor but nothing happens.

Device Request

Most helpful comment

I got the motion sensor and the window/door sensor to work, but it requires some manual actions still to get it set up. Hopefully someone more familiar with the matter can help me out. See #1722.

All 48 comments

We need to add it to the REST-API first. Can you please provide the information as described here:
https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Request-Device-Support

I have raspbee but no interface on my rasbian. does the debug info give enough info?

deCONZ --dbg-info=1 --dbg-aps=1 --dbg-zcl=1 --dbg-zdp=1 --http-port=80

edit: I tried this command but i get:

QXcbConnection: Could not connect to display 

@manup I think its this device:

Schermafbeelding 2019-06-20 om 08 16 40

This gives us the manufacturer code. We'd also need the attributes from the basic cluster like model identifier and the endpoint clusters as shown in the above screenshots.

Schermafbeelding 2019-06-20 om 17 37 04

Schermafbeelding 2019-06-20 om 17 40 15

here are some other data
0
1
3-1
3-2
500_1
500_2

@manup Do you need any more information?

Any progress with this sensor? I bought one too in hope to get a motion stop status. Want to replace Xiaomi motion sensors.

Hi add ?

I just bought the same little sensor. I'm happy to test where wanted :)

Any timeline on the integration of this device? Just bought one.

Lol, I have just discovered theses devices, there is same device than Xiaomi, but cheaper.

@manup I've got the same device, also got their temperature and humidity sensor and contact sensor.

Both the contact sensor and motion sensor work with IAS.

Got this log of the motion sensor when it detects motion:

18:43:06:268 APS-DATA.indication srcAddr: 0xfaf4, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -43
18:43:06:269 APS-DATA.request id: 218, addrmode: 0x02, addr: 0xfaf4, profile: 0x0000, cluster: 0x8000, ep: 0x00 -> 0x00 queue: 1 len: 12 tx.options 0x04
18:43:31:031 APS-DATA.indication srcAddr: 0xfaf4, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -48
18:43:31:031 APS-DATA.request id: 151, addrmode: 0x02, addr: 0xfaf4, profile: 0x0000, cluster: 0x8000, ep: 0x00 -> 0x00 queue: 1 len: 12 tx.options 0x04

And contact sensor (while opening and closing the contact):

18:45:32:616 APS-DATA.indication srcAddr: 0x201e, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -44
18:45:35:808 APS-DATA.indication srcAddr: 0x201e, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -49
18:45:37:637 APS-DATA.indication srcAddr: 0x201e, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -43
18:45:37:641 APS-DATA.indication srcAddr: 0x201e, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -44

For temperature/humidity I got these logs:

18:12:33:298 APS-DATA.indication srcAddr: 0xc3ca, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0405, lqi: 255, rssi: -52
18:12:33:298 APS-DATA.request id: 171, addrmode: 0x02, addr: 0xc3ca, profile: 0x0104, cluster: 0x0405, ep: 0x01 -> 0x01 queue: 1 len: 5 tx.options 0x00
18:17:15:472 APS-DATA.indication srcAddr: 0xc3ca, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0402, lqi: 255, rssi: -51
18:17:15:473 APS-DATA.request id: 11, addrmode: 0x02, addr: 0xc3ca, profile: 0x0104, cluster: 0x0402, ep: 0x01 -> 0x01 queue: 1 len: 5 tx.options 0x00
18:36:58:098 APS-DATA.indication srcAddr: 0xc3ca, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0402, lqi: 255, rssi: -52
18:36:58:098 APS-DATA.request id: 63, addrmode: 0x02, addr: 0xc3ca, profile: 0x0104, cluster: 0x0402, ep: 0x01 -> 0x01 queue: 0 len: 5 tx.options 0x00
18:42:47:434 APS-DATA.indication srcAddr: 0xc3ca, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0405, lqi: 255, rssi: -51
18:42:47:435 APS-DATA.request id: 36, addrmode: 0x02, addr: 0xc3ca, profile: 0x0104, cluster: 0x0405, ep: 0x01 -> 0x01 queue: 1 len: 5 tx.options 0x00

After rejoining the contact sensor and setting the IAS_CIE_Address to the gateway IEEE address I do get more log messages:

19:00:58:759 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -52
19:00:59:767 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -52
19:01:00:775 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -52
19:01:00:822 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 239, rssi: -64
19:01:00:827 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 239, rssi: -64
19:01:01:884 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 239, rssi: -64
19:01:01:975 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -52
19:01:01:984 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -52
19:01:02:792 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -51
19:01:02:840 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -61
19:01:02:845 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -61
19:01:03:807 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -61
19:01:04:269 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -53
19:01:04:276 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -52
19:01:04:813 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -53
19:01:05:822 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -57
19:01:06:864 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -49
19:01:07:855 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -55
19:01:08:852 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -52
19:01:09:864 APS-DATA.indication srcAddr: 0xc62f, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -57

Same for the motion sensor:

18:59:28:831 APS-DATA.indication srcAddr: 0xfaf4, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -45
18:59:28:832 APS-DATA.request id: 142, addrmode: 0x02, addr: 0xfaf4, profile: 0x0000, cluster: 0x8000, ep: 0x00 -> 0x00 queue: 2 len: 12 tx.options 0x04
18:59:49:430 APS-DATA.indication srcAddr: 0xfaf4, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -47
18:59:49:432 APS-DATA.request id: 32, addrmode: 0x02, addr: 0xfaf4, profile: 0x0000, cluster: 0x8000, ep: 0x00 -> 0x00 queue: 1 len: 12 tx.options 0x04
18:59:50:492 APS-DATA.indication srcAddr: 0xfaf4, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -46
19:00:18:763 APS-DATA.indication srcAddr: 0xfaf4, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x0000, lqi: 255, rssi: -47
19:00:18:764 APS-DATA.request id: 16, addrmode: 0x02, addr: 0xfaf4, profile: 0x0000, cluster: 0x8000, ep: 0x00 -> 0x00 queue: 1 len: 12 tx.options 0x04
19:00:19:867 APS-DATA.indication srcAddr: 0xfaf4, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -47

I got the motion sensor and the window/door sensor to work, but it requires some manual actions still to get it set up. Hopefully someone more familiar with the matter can help me out. See #1722.

https://github.com/Koenkk/zigbee2mqtt/issues/1689#issue-464244888

According to this issue, the sensors only work on channel 15, 20 and 25.
Is this correct? That might be the reason why mine won't show up in the deconz gui.

Can't see my konke motion sensor in phoscon but visible in home assistant.

@phdelodder the sensor is only supported by the api, not by the frontend (phoscon).

@phdelodder @sweebee

Which zigbee channel are you using?

@Hypfer I'm using channel 15.

@sweebee thanks for the info.

Am I the only one or is this sensor slow in reaction to motion? It takes up to 3 seconds for me for the sensor to report motion.

Yea, to be honest the sensor is quite bad. Slow reaction. And no “no motion” trigger.

Also a small fov. I hoped it would be like 160 degrees or so.

It does however push state updates every few seconds instead of the 1 minute weirdness of the xiaomi motion sensor.

Maybe a combination of those two would make sense? Use the Xiaomi for brightness & fast initial response + the Konke to detect end of motion?

Semi-OT: Is there a proper Motion sensor which does everything well?

I have one hue motion sensor and it works great. But also quite expensive.

The xiaomi pirs work better if you mod them.

I had two Xiaomi motion sensors( latest version for now, with light sensor). I modified them accurately but they stopped sending any motion at all, pinky illumination data. Even when I returned all the changes I made to the sensors hardware

I managed to set the IAS_CIE address

image

channel is set to 25 in deconz, device pairs so it shows in deconz

Also in the logs i can see the response everytime i pass my hand over it

docker logs -f --tail 50 deconz | grep -i 'b267'
13:07:13:090     * neighbor: 0x086BD7FFFE91562A (0xB267), LQI: 42, relation: 0x01 rxOnWHenIdle: 0
13:07:29:205 APS-DATA.indication srcAddr: 0xb267, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -53
13:07:52:349 APS-DATA.indication srcAddr: 0xb267, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -53
13:08:00:127     * neighbor: 0x086BD7FFFE91562A (0xB267), LQI: 42, relation: 0x01 rxOnWHenIdle: 0
13:08:07:682 APS-DATA.indication srcAddr: 0xb267, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0500, lqi: 255, rssi: -53

But no matter what it doesn't appear in ha, if i query all sensors to the API endpoint also no traces.
Anything else to try?

is there anything new to this one?

Looks like this is closed.

Just in case someone is comes along looking for Home Assistant integration with a konke motion sensor ...

Currently doesn’t look to be working as of 102.3.

Just in case it is useful to someone working on this in the future (konke motion sensor) here is a dump of some logs of joining the device to a raspberry pi with hassio deployed -

[0x0000:zdo] ZDO request 0x0036: [60, ]
Device 0xa89a (08:6b:d7:ff:fe:e9:70:18) joined the network
[0xa89a] Requesting 'Node Descriptor'
[0xa89a] Extending timeout for 0x99 request
Device 0xa89a (08:6b:d7:ff:fe:e9:70:18) joined the network
Skip initialization for existing device 08:6b:d7:ff:fe:e9:70:18
[0xa89a:zdo] ZDO request 0x0013: [0xa89a, 08:6b:d7:ff:fe:e9:70:18, 128]
[0xa89a] Node Descriptor:
[0xa89a] Discovering endpoints
[0xa89a] Extending timeout for 0x9b request
[0xa89a] Discovered endpoints: [1]
[0xa89a:1] Discovering endpoint information
[0xa89a] Extending timeout for 0x9d request
[0xa89a:1] Discovered endpoint information: [0xa89a] Extending timeout for 0x9f request
[0xa89a:1:0x0000] ZCL deserialize: manufacturer=None tsn=159 command_id=Command.Read_Attributes_rsp>
[0xa89a:1] Manufacturer: Konke
[0xa89a:1] Model: 3AFE28010402000D
Checking quirks for Konke 3AFE28010402000D (08:6b:d7:ff:fe:e9:70:18)
Considering
Fail because input cluster mismatch on at least one endpoint
Considering
Fail because device_type mismatch on at least one endpoint
Considering
Fail because endpoint list mismatch: {11, 13} {1}
Considering
Fail because profile_id mismatch on at least one endpoint
Considering
Fail because input cluster mismatch on at least one endpoint
Considering
Fail because endpoint list mismatch: {3} {1}
Considering
Fail because endpoint list mismatch: {1, 2} {1}
Considering
Fail because device_type mismatch on at least one endpoint
Considering
Fail because endpoint list mismatch: {232, 230} {1}
Considering
Fail because endpoint list mismatch: {232, 230} {1}
Considering
Fail because input cluster mismatch on at least one endpoint
device - 0xa89a:08:6b:d7:ff:fe:e9:70:18 entering async_device_initialized - is_new_join: True
device - 0xa89a:08:6b:d7:ff:fe:e9:70:18 has joined the ZHA zigbee network
0xa89a: started configuration
0xa89a:ZDO: channel: 'async_configure' stage succeeded
[0xa89a] Extending timeout for 0xa1 request
[0xa89a] Extending timeout for 0xa3 request
[0xa89a] Extending timeout for 0xa5 request
[0xa89a] Invalid state on future for 0xa1 seq -- probably duplicate response
[0xa89a] Extending timeout for 0xa7 request
[0xa89a] Extending timeout for 0xa9 request
[0xa89a] Extending timeout for 0xab request
[0xa89a:1:0x0000] ZCL deserialize: manufacturer=None tsn=167 command_id=Command.Read_Attributes_rsp>
[0xa89a:1:0x0001] ZCL deserialize: manufacturer=None tsn=169 command_id=Command.Configure_Reporting_rsp>
[0xa89a:1:0x0500] ZCL deserialize: manufacturer=None tsn=171 command_id=Command.Write_Attributes_rsp>
[0xa89a] Extending timeout for 0xad request
[0xa89a] Extending timeout for 0xaf request
[0xa89a:1:0x0500] ZCL deserialize: manufacturer=None tsn=173 command_id=Command.Read_Attributes_rsp>
[0xa89a:1:0x0001] ZCL deserialize: manufacturer=None tsn=175 command_id=Command.Configure_Reporting_rsp>
[0xa89a:1:0x0500] ZCL deserialize: manufacturer=None tsn=48 command_id=1>
[0xa89a:1:0x0500] ZCL request 0x0001: , 4712 No handler for cluster command 1
[0xa89a] Extending timeout for 0xb1 request
0xa89a: completed configuration
0xa89a: stored in registry: ZhaDeviceEntry(name='Konke 3AFE28010402000D', ieee='08:6b:d7:ff:fe:e9:70:18', last_seen=1576060751.6373394)
0xa89a: started initialization
0xa89a:ZDO: entry loaded from storage: ZhaDeviceEntry(name='Konke 3AFE28010402000D', ieee='08:6b:d7:ff:fe:e9:70:18', last_seen=1576060751.6373394)
0xa89a:ZDO: channel: 'async_initialize' stage succeeded
[0xa89a] Extending timeout for 0xb3 request
[0xa89a] Extending timeout for 0xb5 request
[0xa89a] Extending timeout for 0xb7 request
[0xa59f:1:0x0402] ZCL deserialize: manufacturer=None tsn=145 command_id=Command.Report_Attributes>
[0xa59f:1:0x0402] ZCL request 0x000a: [[>]]
[0xa59f:1:0x0402] Attribute report received: measured_value=2706
[0xa59f:1:0x0405] ZCL deserialize: manufacturer=None tsn=146 command_id=Command.Report_Attributes>
[0xa59f:1:0x0405] ZCL request 0x000a: [[>]]
[0xa59f:1:0x0405] Attribute report received: measured_value=7330
[0xa89a:1:0xfcc0] ZCL deserialize: manufacturer=None tsn=49 command_id=Command.Report_Attributes>
[0xa89a:1:0xfcc0] ZCL request 0x000a: [[ [0xa89a:1:0xfcc0] Attribute report received: 16=
[0xa89a:1:0x0000] ZCL deserialize: manufacturer=None tsn=179 command_id=Command.Read_Attributes_rsp>
[0xa89a:1:0x0001] ZCL deserialize: manufacturer=None tsn=181 command_id=Command.Read_Attributes_rsp>
[0xa89a:1:0x0500] ZCL deserialize: manufacturer=None tsn=183 command_id=Command.Read_Attributes_rsp>
[0xa89a] Extending timeout for 0xb9 request
[0xa89a] Extending timeout for 0xbb request
[0xa89a:1:0xfcc0] ZCL deserialize: manufacturer=None tsn=50 command_id=Command.Report_Attributes>
[0xa89a:1:0xfcc0] ZCL request 0x000a: [[ [0xa89a:1:0xfcc0] Attribute report received: 17=
[0xa89a:1:0x0001] ZCL deserialize: manufacturer=None tsn=185 command_id=Command.Read_Attributes_rsp>
[0xa89a:1:0x0500] ZCL deserialize: manufacturer=None tsn=187 command_id=Command.Read_Attributes_rsp>
[0xa89a] Extending timeout for 0xbd request
[0xa89a:1:0x0001] ZCL deserialize: manufacturer=None tsn=189 command_id=Command.Read_Attributes_rsp>
[0xa89a] Extending timeout for 0xbf request
[0xa89a:1:0x0001] ZCL deserialize: manufacturer=None tsn=191 command_id=Command.Read_Attributes_rsp>
0xa89a: power source: Battery or Unknown
0xa89a: completed initialization

It does pair and show in HA but initially as a water sensor (which you can change it class). After initial pairing it doesn’t look to get any more updates.

9AF535A3-F2CD-4905-9590-C02EC51515F7

How did you all achieve writing the IEEE Adress into this special clusterfield?

image

@nicedevil007 like this but without the write failing 🙃

@Hypfer wahhhh I tryed it on my Windows PC now, and also writing failure :( Did you do anything else special to achieve this? Channel is 25 as you wrote in an other thread. Should I press the button on the PIR or even multiple times or do I have to bring the conbee Stick into pairing mode or activate the authenticate thing for 3rd party apps first?

Hello, can anyone tell me, how I can make my second Konke motion sensor (which I bought in december) to appear in HA? I suppose it's not exposed via REST API because of manufacturer code which differs from 0x1002. Am I right?
Node info
Basic info

As does the _Model Identifier_. You’d need to whitelist the new model here
https://github.com/dresden-elektronik/deconz-rest-plugin/blob/bb47cdbc19c257e3000fdb8475aa456830e6df94/de_web_plugin.cpp#L103
You might want to check (search the code for the old _Model Identifier_) if the old model is whitelisted anywhere else, and also whitelist the new model there.

As does the _Model Identifier_. You’d need to whitelist the new model here
https://github.com/dresden-elektronik/deconz-rest-plugin/blob/bb47cdbc19c257e3000fdb8475aa456830e6df94/de_web_plugin.cpp#L103

You might want to check (search the code for the old _Model Identifier_) if the old model is whitelisted anywhere else, and also whitelist the new model there.

So, I added new MacPrefix 0x14b4570000000000ULL, new supported device 3AFE28010402000D but couldn't find, where to add new manufacture code. It have to be set instead of VENDOR_EMBER?

It have to be set instead of VENDOR_EMBER?

Yes. You might want to lookup to whom the max prefix belongs and who is vendor 0x1268 for the right names for the #defines.

It have to be set instead of VENDOR_EMBER?

Yes. You might want to lookup to whom the max prefix belongs and who is vendor 0x1268 for the right names for the #defines.

Sorry, I couldn't find where does the previous manufacture code 0x1002 set to just use it as example. Also, I don't understand, why previous model is set to VENDOR_EMBER which contains mask emberMacPrefix but not, for example, new VENDOR_KONKE #define with konkeMacPrefix?

https://github.com/dresden-elektronik/deconz-rest-plugin/blob/bb47cdbc19c257e3000fdb8475aa456830e6df94/de_web_plugin_private.h#L253

Typically these are the codes belonging to the OEM manufacturer. They're used in devices from multiple, different commercial vendors.

Some extensive googling reveals:
https://github.com/wireshark/wireshark/blob/13703434da30977805ed44f8252c6ea94e119d72/epan/dissectors/packet-zbee.h#L958

And 14:B4:57 SiliconL Silicon Laboratories on https://www.wireshark.org/tools/oui-lookup.html.

https://github.com/dresden-elektronik/deconz-rest-plugin/blob/bb47cdbc19c257e3000fdb8475aa456830e6df94/de_web_plugin_private.h#L253

Typically these are the codes belonging to the OEM manufacturer. They're used in devices from multiple, different commercial vendors.

Some extensive googling reveals:
https://github.com/wireshark/wireshark/blob/13703434da30977805ed44f8252c6ea94e119d72/epan/dissectors/packet-zbee.h#L958

And 14:B4:57 SiliconL Silicon Laboratories on https://www.wireshark.org/tools/oui-lookup.html.

Thanks. Looks like I have done it: #2293.

https://github.com/dresden-elektronik/deconz-rest-plugin/blob/bb47cdbc19c257e3000fdb8475aa456830e6df94/de_web_plugin_private.h#L253

Typically these are the codes belonging to the OEM manufacturer. They're used in devices from multiple, different commercial vendors.
Some extensive googling reveals:
https://github.com/wireshark/wireshark/blob/13703434da30977805ed44f8252c6ea94e119d72/epan/dissectors/packet-zbee.h#L958
And 14:B4:57 SiliconL Silicon Laboratories on https://www.wireshark.org/tools/oui-lookup.html.

Thanks. Looks like I have done it: #2293.

Does this change mean that Phoscon would detect the Konke motion sensor?

https://github.com/dresden-elektronik/deconz-rest-plugin/blob/bb47cdbc19c257e3000fdb8475aa456830e6df94/de_web_plugin_private.h#L253

Typically these are the codes belonging to the OEM manufacturer. They're used in devices from multiple, different commercial vendors.
Some extensive googling reveals:
https://github.com/wireshark/wireshark/blob/13703434da30977805ed44f8252c6ea94e119d72/epan/dissectors/packet-zbee.h#L958
And 14:B4:57 SiliconL Silicon Laboratories on https://www.wireshark.org/tools/oui-lookup.html.

Thanks. Looks like I have done it: #2293.

Does this change mean that Phoscon would detect the Konke motion sensor?

No, it’s just all about the REST plugin

I've got the same sensor and it shows up in the network. It did read node info as following:

image

It also gets updated when motion is detected (Last Seen Updates). I am not able to read any cluster basic info, and IAS_CIE_Address as mentioned from others here is at 0 too.

What do I have to do to expose it to the RestAPI and finally get it into iobroker? I am not very familiar with deconz, just used it for some xiaomi buttons so far...

Yesterday I've updated my deCONZ RasBee GW to Version 2.05.74/Firmware 26350500. Looking to the messages received by the deCONZ zigbee web server on port 443, I was surprised by notifying event messages from the Konke Motion Sensor (Zigbee channel 15). Now, I can use this small, nice sensor within my Home Automation System. Unfortunately the sensor doesn't show up in Phoscon. How much effort is necessary to list the device in the Phoscon app? I would be pleased if this device would be available in Phoscon in one of the next versions.
Here are the messages I receive from the decCONZ zigbee web server:

device:  {
  e: 'changed',
  id: '48',
  r: 'sensors',
  state: {
    lastupdated: '2020-03-30T05:04:23',
    lowbattery: false,
    presence: true,
    tampered: false
  },
  t: 'event',
  uniqueid: '14:b4:57:ff:fe:46:a6:1d-01-0500'
}
device:  {
  e: 'changed',
  id: '48',
  r: 'sensors',
  state: {
    lastupdated: '2020-03-30T05:05:23',
    lowbattery: false,
    presence: false,
    tampered: false
  },
  t: 'event',
  uniqueid: '14:b4:57:ff:fe:46:a6:1d-01-0500'
}

Hi, it seems the sensor still does not show in Phscon but in deconz.
Is there a plan to have this one fully integrated?

Hi, it seems the sensor still does not show in Phscon but in deconz.
Is there a plan to have this one fully integrated?

I opened a request to add here --> https://github.com/dresden-elektronik/phoscon-app-beta/issues/193

Seems your request was closed and referred back to this thread.
I do not know why but maybe there is no solution for this manufacturer?
Possible I do not understand some of the previous post for the Konke sensor.

Hi, it seems the sensor still does not show in Phscon but in deconz.
Is there a plan to have this one fully integrated?

I opened a request to add here --> dresden-elektronik/phoscon-app-beta#193

There is an issue with the current implementation: It reports battery level as null, resulting in a low battery status in gateways such as homebridge. At the same time I can see that the device itself reports a lowbattery state of false. Can't we disable battery percentage reporting altogether and only keep reporting the lowbattey status?

I have done a correctif some days ago > https://github.com/dresden-elektronik/deconz-rest-plugin/pull/3347
You are not concerned by it ?

It looks like it, thanks! I will report back if the beta doesn't solve the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lynix picture lynix  Â·  4Comments

wizkidorg picture wizkidorg  Â·  3Comments

1onar picture 1onar  Â·  5Comments

Thomas-Vos picture Thomas-Vos  Â·  4Comments

qm3ster picture qm3ster  Â·  3Comments