gozoinks / homebridge-camera-ffmpeg-ufv

UniFi Video plugin for Homebridge
https://www.npmjs.com/package/homebridge-camera-ffmpeg-ufv
Other
76 stars 20 forks source link

Automation to receive camera shots on motion #25

Closed ryanschmidt closed 5 years ago

ryanschmidt commented 5 years ago

It seems this should be possible but it doesn’t seem like I’m able to create an automation that does anything with the camera on motion sensor activity. Anyone able able to get this working?

adrum commented 5 years ago

@ryanschmidt If the motion sensor is changed is being triggered (detecting motion), ensure that you are setup to receive notification on each sensor. Also, the sensor and the camera need to be placed in the same HomeKit room.

jnanes commented 5 years ago

Austin,

I believe @ryanschmidt is referring to being able to use the sensor, to activate another HomeKit automation

On Sep 23, 2018, 9:41 PM -0400, Austin Drummond notifications@github.com, wrote:

@ryanschmidt If the motion sensor is changed is being triggered (detecting motion), ensure that you are setup to receive notification on each sensor. Also, the sensor and the camera need to be placed in the same HomeKit room. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

adrum commented 5 years ago

Ah, yes. I misread the original message. Let me do some testing and I will report back..

jnanes commented 5 years ago

I tried myself as well and I cannot set an action based on the sensors. Sounds like a great idea I would love to be able to

On Sep 23, 2018, 9:52 PM -0400, Austin Drummond notifications@github.com, wrote:

Ah, yes. I misread the original message. Let me do some testing and I will report back.. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

adrum commented 5 years ago

Okay I think I figured out how I got confused. The title of the issue asks how to receive snapshots of the camera on motion events. So the way HomeKit handles screenshots is not based on automation events. You can setup camera snapshots on motion based on my first message.

For running automations based on motion events, go to the automation tab and click the plus button on the top right. From there you will select when "A Sensor Detects Something" and then select your camera's motion sensor. You should then be able to configure your actions either based on motion detection or stopped motion detection.

All of this requires a home hub, such as an Apple TV or a HomePod.

jnanes commented 5 years ago

Thanks,  I could have sworn I looked there! Got it.

On Sep 23, 2018, 10:28 PM -0400, Austin Drummond notifications@github.com, wrote:

Okay I think I figured out how I got confused. The title of the issue asks how to receive snapshots of the camera on motion events. So the way HomeKit handles screenshots is not based on the automations events. You can setup camera snapshots on motion based on my first message. For running automations based on motioned events, go to the automation tab and click the plus button on the top right. From there you will select when "A Sensor Detects Something" and then select your camera's motion sensor. You should then be able to configure your actions either based on motion detection or stopped motion detecting. All of this requires a home hub, such as an Apple TV or a HomePod. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

ryanschmidt commented 5 years ago

Thank you! I never checked on the sensors setting. This seems to work great and as expected. So cool.