This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Located in user/SecuritySpy/Scripts | |
### Camera number taken from (Command + I) | |
### corresponds to the shell commands in configuration.yaml, this one is "driveway_motion_trigger:" | |
tell application "SecuritySpy" | |
set motion camera number 2 | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################ | |
### CONFIG ### | |
################ | |
homeassistant: | |
whitelist_external_dirs: | |
- '/home/homeassistant/.homeassistant/camera_snapshot' | |
##################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### TRIGGERS MOTION RECORDING ON CAMERA IN SECURITY SPY AND SAVES A PICTURE (CAPTURED IN HOMEASSISTANT) TO SEND VIA TELEGRAM WHEN A SENSOR ON LETTERBOX IS TRIGGERED | |
- alias: 'letterbox' | |
initial_state: 'on' | |
trigger: | |
- platform: state | |
entity_id: binary_sensor.rf_reed_sensor_2 ### THIS IS A REED SENSOR ATTACHED TO THE LETTERBOX | |
from: 'off' | |
to: 'on' | |
action: |