Created
January 23, 2019 16:30
-
-
Save boxgr0ve/a0dc40e954b5eb2b703dcda796aea098 to your computer and use it in GitHub Desktop.
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' | |
##################### | |
### NOTIFICATIONS ### | |
##################### | |
### NOTIFICATION - TELEGRAM ### | |
notify: | |
- name: telegram | |
platform: telegram | |
api_key: !secret telegram_api_key | |
chat_id: !secret telegram_chat_id | |
################ | |
### TELEGRAM ### | |
################ | |
telegram_bot: | |
- platform: polling | |
api_key: !secret telegram_api_key | |
allowed_chat_ids: | |
- !secret telegram_chat_id | |
###################################################################################################### | |
### CAMERAS ### IP ADDRESS IS THE MAC RUNNING SECURITY SPY - USERNAME AND PASSWORD ARE SECURITY SPY # | |
###################################################################################################### | |
camera: | |
- platform: mjpeg | |
mjpeg_url: http://192.168.1.73:8000/++video?cameraNum=1&width=640&height=360&8325 | |
username: # | |
password: # | |
name: Road Camera | |
authentication: basic | |
camera 2: | |
- platform: mjpeg | |
mjpeg_url: http://192.168.1.73:8000/++video?cameraNum=2&width=640&height=360&8325 | |
username: # | |
password: # | |
name: Driveway Camera | |
authentication: basic | |
camera 3: | |
- platform: mjpeg | |
mjpeg_url: http://192.168.1.73:8000/++video?cameraNum=3&width=640&height=360&8325 | |
username: # | |
password: # | |
name: Side Camera | |
authentication: basic | |
camera 5: | |
- platform: mjpeg | |
mjpeg_url: http://192.168.1.73:8000/++video?cameraNum=4&width=640&height=360&8325 | |
username: # | |
password: # | |
name: Garden Camera | |
authentication: basic | |
###################### | |
### SHELL COMMANDS ### | |
###################### | |
shell_command: | |
### TRIGGER SECURITYSPY MOTION ### IP ADDRESS IS THE MAC THAT IS RUNNING SECURITY SPY ### | |
road_motion_trigger: 'curl -k http://USERNAME:PASSWORD@192.168.1.73:8000/++doScript?name=road.scpt' | |
driveway_motion_trigger: 'curl -k http://USERNAME:PASSWORD@192.168.1.73:8000/++doScript?name=driveway.scpt' | |
side_motion_trigger: 'curl -k http://USERNAME:PASSWORD@192.168.1.73:8000/++doScript?name=side.scpt' | |
garden_motion_trigger: 'curl -k http://USERNAME:PASSWORD@192.168.1.73:8000/++doScript?name=garden.scpt' | |
### DEFANG IR TRIGGERS ### IP ADDRESS IS THE DEFANG/WYZE ### | |
sunrise: 'curl -k https://USERNAME:PASSWORD@192.168.1.82/cgi-bin/action.cgi?cmd=toggle-rtsp-nightvision-off & curl -k https://USERNAME:PASSWORD@192.168.1.82/cgi-bin/action.cgi?cmd=ir_cut_on & curl -k https://USERNAME:PASSWORD@192.168.1.82/cgi-bin/action.cgi?cmd=ir_led_off' | |
sunset: 'curl -k https://USERNAME:PASSWORD@192.168.1.82/cgi-bin/action.cgi?cmd=toggle-rtsp-nightvision-on & curl -k https://USERNAME:PASSWORD@192.168.1.82/cgi-bin/action.cgi?cmd=ir_cut_off & curl -k https://USERNAME:PASSWORD@192.168.1.82/cgi-bin/action.cgi?cmd=ir_led_on' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment