KeyMaster Z-Wave lock manager and scheduler

Turn off the notifications at the top.

Okay, I confirmed in the log that “reardoor Door Notifications” and “reardoor Lock Notifications” turned off, and when I tested I still got no telegram messages about the user unlocking the door, and this time I also didn’t get the “reardoor Door Closed” and “reardoor Door Opened” notifications that I received previously.

Make sure your lock is emitting zwave_js_notification events, otherwise you’ll need to enable your alarmType and alarmLevel sensors and select them in the KeyMaster config.

Not totally sure how to determine this. I went to the zwave_js integration and then went to the reardoor device. There are entries listed here in the logbook but nothing stating “notification.”

Here I clicked on both Alarm Level and Alarm Type and enabled them. Then went back to the KeyMaster integration and changed:

  • Alarm Level/User Code Sensor (from lock) from “sensor.fake” to “sensor.rear_door_lock_alarm_level” and Alarm/Type
  • Alarm Type/Access Control Sensor (from lock) from “sensor.fake” to “sensor.rear_door_lock_alarm_type”

I got a notification that Keymaster was updating the package and completed successfully. This is a Schlage - FE599. I forgot to include that in my original post. Those changes made no difference in the notification or in the logbook that I can tell.

I can see in the keymaster_reardoor_manual_notify the only thing listed there is the Open/Close being triggered by my door contact sensor.

Go to Dev-tools → Events
Enter zwave_js_notifications into the “event to subscribe to” box and hit Start Listening then go cycle your lock.

If nothing shows up, that’s the issue.

When you cycle the lock the alarmType and alarmLevel sensors values should change as well.

Thank you for the hand holding, @firstof9. I’m a recent transplant to HomeAssistant so still learning where all of the different logging happens.

I’m not getting any zwave_js_notifications events. So…how do I address that? I’m using hassio on a pi. The address for the zwave_js gui is ws://core-zwave-js:3000 unlike another install I have at second location on a PC using containers where zwave_js has an actual webgui with further configuration.

I found this which seems to be directly related to my lock and the lack of zwave_js_notification events: [No zwave_js_notification events even though everything is working - #2 by freshcoast](https://No zwave_js_notification events even though everything is working)

Verify your alarmLevel and alarmType sensors are updating their value when you cycle your lock.

Yes, I believe that they are. I tried some different user codes. I am seeing Rear Door Lock Alarm Level changed to 6 for one user and Rear Door Lock Alarm Level changed to 1 for another. These are correlating with the user code number as defined in Keymaster.

I am not seeing any updates to alarmType. It is showing a constant value of 16 when I go into the device in zwave_js.

KeyMaster knows these values and translates them into the message, it should be sending you messages. Make sure you’re runnining the latest KeyMaster.

Also try doing a scripts and automations reload from Dev-tools → Yaml

Did both. All I get in the logbook is Rear Door Lock Alarm Level changed to 2 when entering the user code 2, no notification. I am on version 0.0.85.

I opened up HACS to see what version I am on. I see the following:
N.B. After you add your devices (Zwave lock, door sensor) to your Z-Wave network via the inclusion mode, use the Home Assistant Entity Registry to rename each entity that belongs to the device and append _LOCKNAME to it. For example, if you are calling your lock FrontDoor , you will want to append _FrontDoor to each entity of the device.

Is that something that I need to do? All of the entities are named like sensor.reardoor_code_slot_1 currently.

Those are old instructions, you don’t need to do anything.

I was having issues with my setup (with one particular lock), so I removed keymaster and all the locks (I have 4 of them) and decided to start from scratch.

However, when installing keymaster for the first lock, the sensor and binary sensor for the pin status aren’t created. As an example, for code slot 1 on front_door, the lovelace template can’t find the following two entities:

  • sensor.connected_front_door_1
  • binary_sensor.active_front_door_1

I thought it may have been a naming issue, but when searching my entities, I can’t find anything similar.

I’m not sure what I did wrong in the process (I’m on version 0.0.85)…any ideas?

Until we figure something else out, I set up an automation on the sensor.rear_door_lock_alarm_level since I was getting the changes into the log. Then in the message a big if/elif like (only first two codes shown):

{% if is_state("sensor.rear_door_lock_alarm_level","1") -%}
  The door was unlocked by Sam.
{%- elif is_state("sensor.rear_door_lock_alarm_level","2") -%}
  The door was unlocked by Michael.
{%- endif %}

That seems to be working for now. I wasn’t sure if yaml had switch statements because that seems better than the if/elseif, but I my Google-fu isn’t yielding anything.

Guys, I’ve got it setup but can’t find where to set pin codes :frowning:
Only can lock/unlock it from HA… can anybody help?
yale yrd216 locks

Follow these steps to create the view.

Thank you for your help… can you please tell what I’m doing wrong?
I’ve attached some screenshots.
Or, maybe I can give you teamviwer credential and some beer? :slight_smile:




You’re also missing this step.

Thanks…
step by step with your help (hopefully) we’ll get it done :slight_smile:

I managed to get Lovelace dashboard look ok but it doesn’t work properly.
When I add a pin code - it registers in the lock, but then a few seconds later deletes itself.
I also tried to set date range for it to be valid but it just clears the code straight away…
Like there is a 5 second refresh or something

PLEASE help :slight_smile:

Never heard of such a thing.

Wanted to make you a video and found an issue…
It happens if I add a name into the name field…
If I leave it blank or if I enter numbers there - its ok… if I enter letters into the name field - it resets

Now I need to figure out how to automate it so it generates and resets the codes for users…
Short rental properties…
Used to use Rboys RLA… but samsungs messed something and it won’t work now (