dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

[Device support request] konke switch #2044

Closed ultimat closed 4 years ago

ultimat commented 4 years ago

I've bought some KONKE switchs but it don't seem supported.

Here are the requested screenshots : cluster_info

cluster_info2

node_info

Tell me if you need more informations

ebaauw commented 4 years ago

It seems to be supported alright (the node shows Light 3, suggesting it’s exposed as /lights/3 by the REST API plugin). It doesn’t provide power measurement; I don’t see what more support you would be looking for.

ultimat commented 4 years ago

I'm sorry if I don't understand how it is supposed to work. The switch is recognized as a light, shouldn't it be recognized as a sensor to provide short/long press information?

In phoscon app it shows only as a light and not as a switch, that's why I've thought there's something missing.

ebaauw commented 4 years ago

Generally speaking there's two types of switches:

ultimat commented 4 years ago

Thank you for your explanation. The konke switch is wireless (only a small button), so it should expose client clusters. What am I missing?

ebaauw commented 4 years ago

In that case, it should also expose a device type of On/Off Controller (or something), not On/Off Output. What device is this? Do you have a picture, link, or description? Does it have a battery?

ultimat commented 4 years ago

You can find a description and some pictures here : konke switch

ebaauw commented 4 years ago

Great, yet another Chinese vendor that has found brilliant new ways to mutilate the ZigBee standard.

Does the light in Phoscon switch on and off, when you press the button? The Xioami door sensor also uses a server On/Off cluster to report wether the magnet is making contact or not.

ultimat commented 4 years ago

I don't see any change when I press the button (short or long press) on_off The OnOff attribute remains false.

ebaauw commented 4 years ago

And if you create a binding from the OnOff cluster to the coordinator and setup attribute reporting for OnOff?

ultimat commented 4 years ago

I really thank you for your advice. I see where the binding is, but I don't know what is the coordinator. Is it the conbee key ? And how can I setup attribute reporting ? Can you provide me a screenshot ?

venuel79 commented 4 years ago

i have the same problem, but i can turn on the sensor in Hass with the blue switch,and then when i push the button the "light"turns off. But when "light" is off, i cant turn on with button, only with the switch in Hass 111

"event_type": "state_changed", "data": { "entity_id": "light.on_off_output_32", "old_state": { "entity_id": "light.on_off_output_32", "state": "on", "attributes": { "is_deconz_group": false, "friendly_name": "On/Off output 32", "supported_features": 41 }, "last_changed": "2019-11-13T14:56:47.464986+00:00", "last_updated": "2019-11-13T14:56:47.464986+00:00", "context": { "id": "46de190c92794371b0d9a6595438cd08", "parent_id": null, "user_id": "59db0fb58b534132bb4f30fb7cca34a9" } }, "new_state": { "entity_id": "light.on_off_output_32", "state": "off", "attributes": { "is_deconz_group": false, "friendly_name": "On/Off output 32", "supported_features": 41 }, "last_changed": "2019-11-13T14:57:11.572981+00:00", "last_updated": "2019-11-13T14:57:11.572981+00:00", "context": { "id": "4ae0cffd03e4495fa073cb3771fde344", "parent_id": null, "user_id": null

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

HomeBro commented 4 years ago

I have also a few Konke devices (a Multi-Function-Button and a Motion Sensor) lying around that I can't use in Deconz :(

Any plans on supporting this brand in near future?

HomeBro commented 4 years ago

I've bought some KONKE switchs but it don't seem supported.

Here are the requested screenshots : cluster_info

cluster_info2

node_info

Tell me if you need more informations

Hi, have you solved this problem? I'm still trying to get the Switch to work with Deconz/Homeassistant.

venuel79 commented 4 years ago

No i don't used becouse it's works only in one way...

Am 13. Juni 2020 13:02:21 schrieb HomeBro notifications@github.com:

I've bought some KONKE switchs but it don't seem supported. Here are the requested screenshots :

Tell me if you need more informations Hi, have you solved this problem? I'm still trying to get the Switch to work with Deconz/Homeassistant. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.