cancel
Showing results for 
Search instead for 
Did you mean: 

Level Bolt Lock automation trigger

psmsonca
Community Member

Hi there, I'm new to using Google Home automations. I have a question I can't seem to locate the answer to. I'm adding simple automations for my Level Bolt smart lock. The starter is when the lock status changes to 'unlocked' then do X (turn on house lights, broadcast a message to speakers and displays that front door is unlocked, etc).  Its a very simple concept that I've had no problem creating in homekit, Alexa and for other lock brands in smartthings, but in Google Home there is only 'Locked' and 'Jammed' and 'Unjammed'. Why is 'Unlocked' MIA. It's the most common status change to kick off an automation I would think for a smart lock. When I set the status to 'Locked' the automation is activated fairly soon as the lock is locked. Can anyone explain how to get the 'unlocked' state into my automations and maybe explain why it's missing in the app GUI? 

I hope there's a simple way without scripting. 

Also, it seems like automations in Google Home is signicantly more complicated for basic users as I'm able to create automations easily in Alexa but stopped using that platform for several reasons. I've been moving to Google capabilities except for automations is cumbersome and not intuitive. So not sure if Google is the right platform. 

Thank you for any help.  

Paul 

 

3 REPLIES 3

salbando
Community Member

Have you tried:

type: device.state.LockUnlock
 
device: My Device - Room Name
 
state: isLocked
 
is: false

Thank you for your reply. I'll have to learn how to use scripting I guess. I'm baffled why Google doesn't make the app user interface in a way that scripting is only used in advanced scenarios. The common user wouldn't have a clue how to do scripting or what to do with what you sent back. If they want to sell these products to the masses as they aren't cheap I hope they improve the usability. But thank you as I'll be able to learn it.  Until then I'll just have to got back and use Apple homekit as Home app has a very simple method to activate automations for simply starting one when a wifi lock unlocks. I'm going to rethink using Google overall. The automations I've setup are not reliable so far and when they work they seem to very delayed. The whole point to home automation and smart devices for me is to work to more my life more efficient but I spend more time trying to get it to actually function. I'll post if it works. Thank you 

Just an FYI. As an experiment I copied part of your first post into the "Help me script" AI, and here is what it came up with:

metadata:
  name: Lock Unlock
  description: When a lock is unlocked, turn on some lights
automations:
  - starters:
      - type: device.state.LockUnlock
        device: Door - Front Door
        state: isLocked
        is: false
    actions:
      - type: device.command.OnOff
        devices:
          - Piano Light - Living room
          - Ceiling Light - Bedroom
        on: true

So, until you get more comfortable with making your own from scratch, you could use the AI interface for now.

 

BTW: Here is the part of your post that I copied verbatim:

"I'm adding simple automations for my Level Bolt smart lock. The starter is when the lock status changes to 'unlocked' then do X (turn on house lights, broadcast a message to speakers and displays that front door is unlocked, etc). Its a very simple concept that I've had no problem creating in homekit, Alexa and for other lock brands in smartthings, but in Google Home there is only 'Locked' and 'Jammed' and 'Unjammed'. Why is 'Unlocked' MIA. It's the most common status change to kick off an automation I would think for a smart lock. When I set the status to 'Locked' the automation is activated fairly soon as the lock is locked."