I can see the Door Lock entity in HA but only the battery level. Would be great to have the door lock fully integrated and especially in the HomeKit Integration available
Any chance getting this request to the feature request? How can I assist? Unfortunately my technical / programming skills are limited
Thanks!
Would be great if the doorlock will be added to Home Assistant soon. HMIP App is really limited in regards of automation, and having the doorlock in HomeKit would be also a big benefit!
How did you get managed to see the battery level? The HmIP-DLD is my first HmIP device. And Iām not sure, if I set it up correctly. I have this in my configuration.yaml:
just add āhomekit:ā to the āconfiguration.yamlā and reboot - you should see than all HomeMatic devices which are compatibel in HomeKIt. You will see a HomeKit barcode at the start page in HomeAssistant - just scan the code in your homekit app on you iphone and add it.
I use the homematic.set_device_value meanwhile in a script to Lock/unlock/open the door.
So at least Iām able to controll the device. Unfortunatelly it is not possibel (as far as I know) to read the current state of the lock.
address: SERIALOFDEVICEGOESHERE
channel: 1
param: LOCK_TARGET_LEVEL
value: OPEN
cool, can this somehow be connected to the homekit plugin? would be great being able to lock and unlock via my apple watch or iphone home app. any tips or tricks?
Can you maybe point me into the right direction, where can I find all the Papameter lists for each hmip devices. Just started to use hmip mainly because of this door lock ā¦ Using the raspberrymatic addon for HA
Not in the near future. The current architecture of the integration doesnāt support the way the lock works. If you just want to control it without reading the current state, you probably can use the homematic.set_device_value service. LOCK_TARGET_LEVEL is looking like a promising parameter. You would call that with a value of 0 (lock), 1 (unlock) or 2 (open). But thatās just a guess.
Iām talking about this integration. For the one using the Access Point I donāt know. But judging by what I have seen, the development for the cloud integration has stalled. So I would guess that in both cases you wonāt get any results in the near future.
I was very frustrated that this device is not supported, but i also did not want to spend so much money for nuki.
I managed to get that working through variables in Homematic. This solution roughly looks like this:
I have created two variables:
1 Status: a program sets the variable value to true or false as soon as the device is locked or unlocked:
2 Trigger: a program triggers the lock/unlock, as soon as this variable is changed:
I am pretty new to HA and not an expert in Homematic. If there are things that can be improved, please let me know! I am concerned about the undefined/unknown status, which DLD is raising when sth unexpected happened.
At least this is working for now and it is ājustā for a door in the basement.
Hope this helps and thanks a lot btw. for all the great work you are doing:)
May I ask if you have tried to use the homematic.set_device_value service (for locking and unlocking) I have mentioned above? That way you wouldnāt have to use the program in the CCU, just the variable for the status. Note, that I donāt know if what I have suggested above actually works. I just assume it might based on how the parameter (LOCK_TARGET_LEVEL) is defined in the paramset description.
Thx.
The crazy thing is that the device does not appear in honeassistant. There is no entity created. When I have some time early next week I will post my integration config. I might miss sth. If that would work the solution would be much smarter!
If you have any HomeMatic devices visible, then you should also have the homematic.*-services. Thatās not an entity, itās the domain where the integration provides the services for manual usage.
can you give a hint, where those āserviceā should have to go ?
does address,channel, param, value go to data-section of a service definition ?
into configuration.yamlā¦
the service set_device_value is mentioned in homematic doku on hass.io, but under actionā¦
Everything I do leads to āthere is a configuration errorāā¦ It would be helpful to show (and appreciated) what you put where (as snippets) to make it work ?
Maybe this way:
e.g.: configuration.yaml
service: homematic.set_device_value
data:
address: serial
channel:1
param: LOCK_TARGET_LEVEL
value: open
(the dokus miss always the part, what this is, what they are talking aboutā¦ they throw a lot of words and params into a bowl, and never explain what it isā¦ e.g. āaddressāā¦ in the examples (homematic) there is always LEQ123456ā¦ how one can conclude from that, that this should be the SerialNo of Deviceā¦ all devices of homematic have a MAC-address looking SerNo, why there is a āLEQā-Prefix in the example? they should mention it, what the param means - very hard and very very frustating to come to an understanding by reading docs if the crafted that way)
Thatās how the serials of the old HomeMatic devices looked like. The MAC-like addresses were introduced with HomeMatic IP. And back then when we started the HomeMatic integration (and documentation) the old devices were what the users primarily had. So to those people it was clear what this placeholder was referring to.