#357 - Add in Front House on Garage door change - JPEG only

This commit is contained in:
ccostan 2019-03-28 21:35:47 -04:00
parent cb8be613b8
commit da4468108e
3 changed files with 7 additions and 2 deletions

View File

@ -24,11 +24,12 @@
action:
- service: script.notify_engine
data_template:
title: 'Check Garage Doors Reflection:'
title: 'Garage door Status Change:'
value1: "Small: {{ states('sensor.small_garage_reflection_rate')}}"
value2: "Large: {{ states('sensor.large_garage_reflection_rate')}}"
who: "carlo"
camera_entity: "camera.camera2"
content_type: 'jpeg'
url: !secret camera2_snapshot
##############################################################################

View File

@ -41,6 +41,7 @@ notify_engine:
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
data:
attachment:
url: "{{ url }}"
content-type: "{{ content_type }}"
hide-thumbnail: false
push:

View File

@ -16,6 +16,9 @@ ifttt_key: iftttKEYPassphrase
camera1_url: http://192.168.10.21:88/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=admin&pwd=password
camera2_url: http://192.168.10.22:88/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=admin&pwd=password
camera3_url: http://192.168.10.23:88/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=admin&pwd=password
camera1_snapshot: http://192.168.10.21:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password
camera2_snapshot: http://192.168.10.22:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password
camera3_snapshot: http://192.168.10.23:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=password
forecast_key: ForcastKeyphrase
fitbit_user: User@email.com
fitbit_password: abcdefghijklmnopqrstuvwxyz0123456789