MotionEye, home assistant, camera motion, automation

Notify.jarvis_lenovo is just a name I used for my tablet. If you read the lannouncer guide you will see the use for it. Scripts are like automations.
Motioneye can trigger the script.

It looks like you will feel much better if you SEE the state change in the developer options. Ok here is what you can do:
Open your configuration.yaml and add this:

input_boolean:
  cameramotion:
    initial: off

next step:
Open scripts.yaml and paste this:

camdetecon:
  alias: booleanopen
  sequence:
  - service: input_boolean.turn_on
    entity_id: input_boolean.cameramotion
  - delay: 00:00:30
  - service: input_boolean.turn_off
    entity_id: input_boolean.cameramotion

With that you will be able to have an entity where you can use in your automations. The entity you are looking for will be with the name cameramotion
Let me know how it goes.

2 Likes