diff --git a/config/automation/garadget.yaml b/config/automation/garadget.yaml index 44ea8796..54867d78 100755 --- a/config/automation/garadget.yaml +++ b/config/automation/garadget.yaml @@ -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 ############################################################################## diff --git a/config/script/notify_engine.yaml b/config/script/notify_engine.yaml index 8fa6c6ea..f28e81ff 100755 --- a/config/script/notify_engine.yaml +++ b/config/script/notify_engine.yaml @@ -41,6 +41,7 @@ notify_engine: message: "{{ value1 }} {{ value2 }} {{ value3 }}" data: attachment: + url: "{{ url }}" content-type: "{{ content_type }}" hide-thumbnail: false push: diff --git a/config/travis_secrets.yaml b/config/travis_secrets.yaml index 5c48633a..61bc8914 100755 --- a/config/travis_secrets.yaml +++ b/config/travis_secrets.yaml @@ -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