Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting camera Motion Sensor Status #109

Open
johngianni opened this issue May 4, 2021 · 3 comments
Open

Getting camera Motion Sensor Status #109

johngianni opened this issue May 4, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@johngianni
Copy link

Hi all, is there anyway to have a sensor that represent the ON OFF status of the motion detection sensor of a camera, please?

Due to the fact that my cameras are frequently covered by spider webs, I would like to have a fast and centralized way to turn off and on the motion detection sensor through HA. I've created a MQTT switch that perfectly turns ON and OFF the motion sensors, but I couldn't find a way to get the current status of the sensor in HA. If someone could point me to the proper code bit of the camera properties I could try to add the Motion Detection ON OFF property.
Thank you.

@JOHLC
Copy link

JOHLC commented Jun 6, 2021

You may want to look at configuring profiles in Blue Iris instead.
Profiles can be switched using the switches in this integration.

I have 4 profiles configured in Blue Iris
Disarmed, Armed: Home, Armed: Away, Disabled

Depending on the mode, I have each camera to either alert or not alert. E.g:
image
image

Profile switches in Home Assistant
image

@RoninATX
Copy link

You'll honestly want to do this via MQTT messages, a good guide is watchable here on Youtube - the only part he doesn't show is how to set up your automation afterwards, but you basically just choose Trigger type: MQTT, put your topic name in the topic field, and then "on" or whatever you set the payload value to be for the motion detection.
motion

@kramttocs
Copy link
Collaborator

I like this idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants