TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Home Assistant Blueprints for TRIGGERcmd

    Announcements
    1
    1
    170
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RussR
      Russ
      last edited by Russ

      Home Assistant Blueprint to run commands when motion is detected.

      Here's a Youtube video showing how it works.

      5ba988cd-3033-4252-8674-7bfd8019943a-image.png

      Find this button in the lower-right of the Blueprints tab to import the blueprint:
      44cc25f3-1fa8-4f88-a1f3-b5acb8f2a67c-image.png

      This is the blueprint address:
      https://github.com/rvmey/TRIGGERcmd-Agent/blob/master/ha_blueprints/motion_switch.yaml

      916b169a-8d97-4844-8673-cafbb8bc3ca8-image.png

      I picked my camera's motion sensor, and the HA switch for my "DS Logger" command under "Choose entity" and now I get a log entry each time motion is detected because it triggers my logger script.
      e05b36f6-3b02-4483-870c-d4e9d37e02be-image.png

      I also made these simpler general purpose blueprints you can use with any entity that turns on or off, not just motion sensors. You'll need both of you want to run the off command when the run when you turn the entity off, and the normal command when you turn it on.
      On: https://github.com/rvmey/TRIGGERcmd-Agent/blob/master/ha_blueprints/on_switch.yaml
      Off: https://github.com/rvmey/TRIGGERcmd-Agent/blob/master/ha_blueprints/off_switch.yaml

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • RussR Russ referenced this topic on
      • First post
        Last post