Comments (31)
Don't want to get in your way of development. Not entirely clear to me where I can easily create the merge for this. Directly in the Home Assistant git project?
But here is the code;
LIDL_SILVERCREST_DOORBELL_MODEL = "HG06668"
LIDL_SILVERCREST_DOORBELL = {
(CONF_SHORT_PRESS, ""): {CONF_EVENT: 1002},
}
..
..
REMOTES = {
..
LIDL_SILVERCREST_DOORBELL_MODEL: LIDL_SILVERCREST_DOORBELL,
...
}
from deconz.
Hey! Awesome!! Try it out! Put up a PR and I'll help you get it through!
from deconz.
Congratulations!
from deconz.
There is still no button available. Just a tampered sensor which does not respond to button press. Is that intended?
from deconz.
There is still no button available. Just a tampered sensor which does not respond to button press. Is that intended?
The button is only an event just like all other remotes. The above mentioned PR adds device triggers to automations, you will get it listed in automations but there won't be an entity for the button itself
from deconz.
There is still no button available. Just a tampered sensor which does not respond to button press. Is that intended?
The button is only an event just like all other remotes. The above mentioned PR adds device triggers to automations, you will get it listed in automations but there won't be an entity for the button itself
thanks for the fast answer. Yes but I have no button trigger to select for automations and I get the same event (0) on press as mentioned above
from deconz.
@boehser-enkel What automation tool are you using? Or only Deconz?
from deconz.
Ow wait, home assistent ofcourse. Then you should be able to create an trigger like this;
from deconz.
@boehser-enkel What automation tool are you using? Or only Deconz?
Home Assistant. But also in Phoscon I am not able to choose it as a button
from deconz.
there is only tampered and battery
from deconz.
Hm. Which version of HA & Deconz are you using?
from deconz.
Hm. Which version of HA & Deconz are you using?
2022.3.2 & 2.14.01
from deconz.
Strange, it's still in the code. Do you see the events in the logs of deconz and home assistent?
from deconz.
Strange, it's still in the code. Do you see the events in the logs of deconz and home assistent?
I see the events in HA. Can look at deconz in the evening if you need them.
from deconz.
Has the model id changed? Right now it's expected to be "HG06668"
from deconz.
Has the model id changed? Right now it's expected to be "HG06668"
It’s the same
from deconz.
Has the model id changed? Right now it's expected to be "HG06668"
It’s the same
Can you share a diagnostics file from the integration?
from deconz.
Has the model id changed? Right now it's expected to be "HG06668"
It’s the same
Can you share a diagnostics file from the integration?
U mean the Home Assistant Deconz Integration diagnostic file?
from deconz.
Exactly
from deconz.
config_entry-deconz-26968d9235b79c6841870ed86d4a94fe.json.txt
Here you go
from deconz.
Strange, in your diagnostics the device is recognized as TS0211, instead of HG06668
For example my output;
"54": {
"config": {
"battery": null,
"enrolled": 1,
"on": true,
"pending": [],
"reachable": true
},
"ep": 1,
"etag": "80c742102fab2bb3da6a6b08cf363e32",
"lastannounced": "2022-03-24T12:44:47Z",
"lastseen": "2022-04-04T13:21Z",
"manufacturername": "LIDL Silvercrest",
"mode": 1,
"modelid": "HG06668",
"name": "Switch 54",
"state": {
"buttonevent": 1002,
"lastupdated": "2022-04-28T13:10:13.704",
"lowbattery": false,
"tampered": false
},
"type": "ZHASwitch",
"uniqueid": "84:2e:14:ff:fe:f6:d5:ea-01-0500",
"attr": {
"id": "54",
"lastannounced": "2022-03-24T12:44:47Z",
"lastseen": "2022-05-02T10:50Z",
"manufacturername": "LIDL Silvercrest",
"modelid": "HG06668",
"name": "Switch 54",
"swversion": null,
"type": "ZHASwitch",
"uniqueid": "84:2e:14:ff:fe:f6:d5:ea-01-0500"
},
"e": "changed",
"id": "54",
"r": "sensors",
"t": "event"
},
from deconz.
This is strange. Even on the device itself its printed HG06668.
Any way to work around this?
from deconz.
Can you try to add here https://github.com/home-assistant/core/blob/dev/homeassistant/components/deconz/device_trigger.py#L480
LIDL_SILVERCREST_DOORBELL_MODEL2 = "TS0211"
And then here; https://github.com/home-assistant/core/blob/dev/homeassistant/components/deconz/device_trigger.py#L609
LIDL_SILVERCREST_DOORBELL_MODEL2: LIDL_SILVERCREST_DOORBELL,
or just change HG06668 for TS0211.
from deconz.
I can't find these files in my (supervised container) installation.
Won't they be overwritten on the next update anyways?
from deconz.
I haven't experience with the supervisor setup, but can you access the Home Assistent container?
docker exec -it $(docker ps -f name=homeassistant -q) bash
Then I guess Home Assistent is in /usr/src/homeassistant/homeassistant
or /usr/share/hassio/homeassistant
.
But try otherwise a find; find / -name deconz
from deconz.
Changed it and did a restart of HA. Now i can select "button pressed" but it won't get recognized when i press the doorbell
from deconz.
But do you see this event on Deconz self? Wondering of there is not more different then only the device identifier.
docker logs -f --tail 100 $(docker ps -f name=deconz -q)
from deconz.
What do i have to look for?
I found this:
15:16:11:297 DEV no DDF for 0x842E14FFFEF6E87B, modelId: TS0211 15:16:11:297 DEV create on-the-fly DDF for 0x842E14FFFEF6E87B
15:16:42:740 [INFO] - No button map for: TS0211, unicast to: 0x0000, endpoint: 0x01, cluster: IAS_ZONE
from deconz.
Hmm; No button map for: TS0211
. So I guess you don't see a log message in deconz when you pushed the button, right?
Do you see something like this; dresden-elektronik/deconz-rest-plugin#4450 (comment)
from deconz.
No button map for: TS0211
That would mean you can either create a DDF for the file or request device support on the forums
from deconz.
Updated my deconz container, where after button mapping was broken. Here is the request in deconz;
12:09:21:872 [INFO] - No button handler for: HG06668, unicast to: 0x0000, endpoint: 0x01, cluster: IAS_ZONE (0x0500), command: STATUS_CHANGE (0x00), payload: 0D0000640000, zclSeq: 74
12:09:21:873 Websocket 172.21.0.5:47964 send message: {"e":"changed","id":"54","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2022-12-14T11:09:21.871"},"t":"event","uniqueid":"84:2e:14:ff:fe:f6:d5:ea-01-0500"} (ret = 165)
12:09:21:874 Websocket 172.21.0.5:44130 send message: {"e":"changed","id":"54","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2022-12-14T11:09:21.871"},"t":"event","uniqueid":"84:2e:14:ff:fe:f6:d5:ea-01-0500"} (ret = 165)
12:09:21:875 Websocket 172.23.0.18:58272 send message: {"e":"changed","id":"54","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2022-12-14T11:09:21.871"},"t":"event","uniqueid":"84:2e:14:ff:fe:f6:d5:ea-01-0500"} (ret = 165)
12:09:21:877 Websocket 172.23.0.18:58282 send message: {"e":"changed","id":"54","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2022-12-14T11:09:21.871"},"t":"event","uniqueid":"84:2e:14:ff:fe:f6:d5:ea-01-0500"} (ret = 165)
12:09:21:878 Websocket 172.21.0.5:52864 send message: {"e":"changed","id":"54","r":"sensors","state":{"buttonevent":1002,"lastupdated":"2022-12-14T11:09:21.871"},"t":"event","uniqueid":"84:2e:14:ff:fe:f6:d5:ea-01-0500"} (ret = 165)
12:09:21:879 APS-DATA.request id: 161, addrmode: 0x02, addr: 0xa888, profile: 0x0104, cluster: 0x0500, ep: 0x01 -> 0x01 queue: 2 len: 5 tx.options 0x04
Can you check of this works too for you, @boehser-enkel ?
from deconz.
Related Issues (20)
- Sensor precision, number of decimals HOT 7
- Write documentation HOT 12
- Support for HA Long Term Statistics HOT 3
- Error with the configuration of a light dimmer HOT 1
- Error doing job: Task exception was never retrieved - KeyError: 'e' HOT 4
- Additional lighting effects and control HOT 2
- Expose CLIPGenericFlag sensors from deCONZ as switches to Home Assistant HOT 1
- Support for Philips Hue wall switch module HOT 4
- Deconz integration test issue HOT 1
- Add support for "Range extender" light type HOT 2
- Stuff to clean up from typing HOT 1
- Expose all available attributes of thermostat to HA bundled as device HOT 2
- 'requirements.txt' is missing in Pypi's SDIST since v90 HOT 3
- Feature request: expose more IKEA Starkvind functions to Home Assistant HOT 16
- Support events for Philips Tap Dial Switch HOT 30
- Feature request: expose more Aqara FP1 functions to Home Assistant HOT 5
- Device IP snippets
- Sensors are added to deConz but are not appearing in HA HOT 8
- Styrbar Automations deleted after update to 2023.1 HOT 2
- Smart plug consumption sensor "state is not strictly increasing" in HA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deconz.