That got my script to save, thanks so much. I am now getting this error when I use the code I have set to alert.
Check that the entity_id of the script you created matches the string that itās complaining about.
It was wrong for sure. I updated the entity ID and then restarted but am still getting the same error above.
Is there documentation on the auto lock feature? I went to the wiki but didnāt find much other than how to install things, not how they work.
What is the Day auto lock and Night auto lock value ? Is it the start and end time? Timer length during night and day? What is the definition of night and day for key master?
In general I like my locks to AUTO lock between 11:30pm and 7:00am and NOT during the day. And at night I like them to fairly quickly lock if they have been unlocked.
You might consider deleting the script youāve created and create a new one with the correct name. Do that without adding any extra logic first. Test that it works, and then add your logic.
Day auto lock is the timer before the door is automatically locked during daytime (defined as from sunrise to sunset)
Night auto lock is the same for night time (sunset to sunrise).
If youāre looking to manage during what hours things are done and more fine grained timing, then I would suggest that you configure a custom automation.
I would trigger off of the following conditions:
The lock being unlocked as well as the door sensor going to open.
In the action section of the automation put logic in there to determine what time of day it is. If it is inside your times to no autolock, then your automation is done, if it is outside, then check that the lock has been unlocked for X amount of time and the door is closed if it has, then lock it.
Thanks for the clarification, almost wish I could take this integration and strip everything out other than the key code management, the clutter of automations and sensors it creates is significant.
I will just go back to a simple automation trigger unlocked for X with a condition of time of dayā¦ It has worked reliably for years on my previous config.
Hi ā continuing a discussion from the Keymaster repo.
For some users (codes) Iād like to conditionally unlock a second lock based on the first lock. To achieve that, Iāve been got working the following pattern pairing a naming convention (āBOTH-DOORSā in the code slot name) with the following automation:
trigger:
- platform: event
event_type: keymaster_lock_state_changed
event_data:
lockname: gate
action_text: Keypad unlock operation
condition:
- condition: template
value_template: "{{ \"BOTH-DOORS\" in trigger.event.data.code_slot_name }}"
action:
- service: lock.unlock
data: {}
target:
device_id: d6dc8d424851db218bfe4fe64f910165
This works but
a) Iād prefer to match off structured data rather than use a naming convention. For instance, maybe we could add āslot groupā to the slot config and then expose that w/in the trigger event? Or maybe thereās some alternative Iām not aware of?
and b) Iād ideally be able to mirror configuration between the locks for some slots but not all so that some users only have codes for the first door, but special users have codes for both (and the automation). Iām guessing this would be possible as a (substantial) generalization of the current parent-child relationship (i.e. having parent-child slots rather than just parent-child locks) but probably more complexity than is worth biting off if itās just for me. Is there a way I could achieve something similar for just my use case?
Thanks!
Months ago, I got a message saying this uses the test.start timer.start duration parameter that is being deprecated.
The issue was reported, and I have not seen an update to this since January, so I have been waiting for one.
Yesterday I made the 2 minute changed to fix this on my instance.
Is this project no longer being worked on?
Rob
I know for a fact that this integration is actively maintained. But this test.start
parameter that youāre mentioning isnāt in the source code that I can find. What version are you on?
Shoot I mistyped trying to post before having to take my daughter to school.
I meant timer.start as in lines begining with 110 of keymaster_common.yaml. There are r instances in that file and 2 instances in /keymaster_common_chiild.yaml
The issue at ISSUE: The timer start service duration parameter is being removed Ā· Issue #339 Ā· FutureTense/keymaster Ā· GitHub was created a while ago, but there havenāt been any updates to the repository since January.
Did the repository move?
Ah, ok. Yes. I see the code now. The linked repository is the correct one. If youāve got a fix for this already I would suggest you open a PR to get it in.
Iāll put in the PR after I give it a little more testing. I havenāt really done much with github, except downloaded code, since I design electronics and am not great at code. So this would be my first PR.
Rob
This may be a feature request, I donāt see any options to handle timeouts. Every once in a while KeyMaster would get stuck on a lock command, i.e. deleting a code, no fault of Key Master, it is a ZwaveJS issue Iām trying to solve. Is there anyway if KeyMaster gets stuck in a command for more than, letās say 5 minutes, can it resend the command?
In this picture KeyMaster is stuck on deleting for about 6 hours and 30 minutes. My fix is to manually turn off āDate Rangeā, then manually toggle āEnabledā, then problem gets fixed right away.
Would my only option be to write an automation for all my code slots to if state is ādeletingā or āaddingā for X amount of time? What would be my action?
Since updating to latest version I canāt clear the codes from the lock using developer tools. Am I missing something? Iām getting this error
Failed to call service keymaster.clear_code. A Z-Wave integration has not been configured for this Home Assistant instance
try reloading the integration
Is there a list of most compatible, least issues locks with KeyMaster?
Asking as I have been struggling to find a lock that works overall for me.
Thanks!
No subfoldersā¦
I did a clean in stall after seeing the issue of an update status getting stuck like @Rodrick mentioned, but the subfolder with all the assets for my lock was not created and there is no setup.sh script that I can run to force it.
I did get the following notification, so I am not sure what I am missing. When I set this up the first time everything worked like the wiki explained.
Keymaster - Package file generation complete!
Package generation for front_door complete!
All changes have been automatically applied, so no restart is needed.
I use the YRD-226ZW, it is fully compatible with Keymaster. I have several of them that work completely with HA & Keymaster. Also HA unlocks a lot of other neat features I didnāt know the lock could do remotely.
I believe this is a ZWAVE-JS Issue not a Keymaster issue.