KeyMaster Z-Wave lock manager and scheduler

Thanks for the post above. I was able to get the notifications working decently with. Now to figure out how to customize it so it will post the time/date when they unlocked the door.

sequence:
  - data:
      title: "{{ title }}"
      message: "{{ message }}"
    action: notify.pushover
alias: keymaster_yale_front_door_manual_notify
description: ""

I am not a pro, but I’ll try to help. There may be better ways. You’ll have to play with templating.

You will have to customize the {{ message }} part. Either by looking up where that variable is set (there are a couple of automations that keymaster generates), or by appending/prepending another template to it for the time.

I think something like this would work:

sequence:
  - data:
      title: "{{ title }}"
      message: "{{ message }} at {{ states.sensor.time.state }}"
    action: notify.pushover
alias: keymaster_yale_front_door_manual_notify
description: ""

Note - the previous sensor mentioned has to be turned on with the time_date integration. There are a few options for time, date, or time and date that you can pick from or add to eachother to get the format you want for the notification.

Here are a couple places to start learning about templating time and the keymaster notifications:
https://www.home-assistant.io/docs/configuration/templating/#time
https://community.home-assistant.io/t/keymaster-z-wave-lock-manager-and-scheduler/166419/2996?u=cake1468
https://community.home-assistant.io/t/the-epic-time-conversion-and-manipulation-thread/85786/4

1 Like

I have installed appdaemon.
I am not sure where to paste the code from above.
Can you advise or point me to where I can learn?

Did this solution work for anybody?
I just spent 6 hours leaning how AppDaemon and implementing this py script.
And my locks are still hanging on Adding and Deleting…

Believe it or.not, I wrote 85% of KeyMaster on an iPad.

2 Likes

I couldn’t figure out how to get Keymaster to output notifications so I made a self-contained automation that uses zwave_js_notification. And it works well and is not reliant on Keymaster. I hope the beta comes out soon since the current version is difficult to figure out - I’ve installed it twice, never works.

Door codes on the lock that ā€˜seems’ to work (no keymaster errors) never populate and the other lock gets nothing but errors (works fine in Zwave JS) but oddly it correctly shows the lock/unlock status on screen… everything else as yo u can see is just errors.

I just dont trust KM at this time.

Plus I dont get why there isnt a stock Keymaster notification since it seems like nearly everyone would want one (mobile, persistent, etc) to know who and when doors unlock/lock. I tried some code floating around in this thread and it never worked for me.

That’s why you got more skills than me!! LOL!!