Wondering if I can get some help - just move a BE649ZP from old zwave and ptdalen’s Lock Manager suite over to zwavejs and KeyMaster.
So far so good - just missing one piece I used to use a lot - the Front Door Report sensor that said which user last unlocked door, if it was manually unlocked, locked by HA etc.
I can’t see anything in the zwavejs web front end that suggest that information is present - does anybody know if I should be able to see it there? I’ve had a good look through the categories below and not been able to see anything relevant. Just trying to narrow down what I’m missing at this stage - anyone know if this info still present from zwavejs for this device?
My lock wasn’t properly paired - I need to re-interview it
I don’t think the front door report is available out of the box - I should have RTFM
I cobbled something similar together as follows (new input_text required which gets updated in the automation, and then a sensor template to read from that):
alias: 'System: update front door status'
description: ''
trigger:
- platform: event
event_type: keymaster_lock_state_changed
event_data:
lockname: front_door
- platform: state
entity_id: lock.lock_front_door_lock
to: locked
for: '00:00:15'
- platform: state
entity_id: lock.lock_front_door_lock
to: unlocked
for: '00:00:15'
attribute: friendly_name
condition:
- condition: template
value_template: ' {{ trigger.to_state is not defined or ((as_timestamp(now()) - as_timestamp(states.sensor.front_door_report.last_changed)) > 15) }}'
action:
- service: input_text.set_value
target:
entity_id: input_text.front_door_report
data:
value: >
{% if trigger.to_state is defined %}
{% if trigger.to_state.state == "locked" %}
HA locked
{% else %}
HA unlocked
{% endif %}
{% else %} {{ trigger.event.data.action_text }}{% if
trigger.event.data.code_slot > 0 %} ({{
trigger.event.data.code_slot_name }}){% endif %} {% endif %}
mode: single
It’s not nearly as rich as that in the old LockManager but a start I guess. The finickity bit on HA Locked and Unlocked I cribbed from there as was surprised that HA lock / unlock events doesn’t result in any notification, we just have to infer it.
Interested if anyone has anything similar. Thanks!
very true, would have been pretty easy to rip much of the dashboard away. I wasn’t sure how the app would function if I took out all the helpers also and I wanted those gone as well. in the end I just made a very simple dashboard with Name, Code, and a toggle for Enabled with a few automations to run the zwave commands for them. super light-weight and only uses the core components + zwave-js.
coming from SmartThings, HASS has been a bit of a learning curve. a little bit off-putting that there’s no built-in code for managing basic things like locks and smoke detectors. in the end it’s been education creating those myself and the power and flexibility come at a usability cost, still sometimes miss ST and WebCore for simplicity.
I’ve read through this thread for about 30 minutes but can’t find the explanation for my issue.
I have 3 locks total. Every time I try and add a new one it overwrites my existing. I tried making different directories within KeyMaster but still, get the same issue.
Can anyone point me to the documentation that explains this?
You need to create a separate integration for each lock.
Did you install using HACS? I ask because you don’t need to “create directories”. If you haven’t, delete what you’ve done so far and start over. Read the FAQ to get started.
Apologies if this has been questioned/raised already, but is there any indication on having a release path to possibly include Zigbee? Or is that out of scope for this Project?
Not unless a zigbee integration exists that can set/clear/read codes from locks and a developer with a zigbee lock steps up to the plate. @firstof9, @raman325, and myself would be more than happy to work with them and get them started.