diff --git a/configuration.yaml b/configuration.yaml index 2cbb170..28b215e 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -6,7 +6,7 @@ utility_meter: # Shell Commands shell_command: - test_supervisor: 'curl -s -o /media/test_supervisor.png "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN"' + test_supervisor: 'env | grep SUPERVISOR > /media/test_env.txt 2>&1 && curl -s -o /media/test_supervisor.png "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN"; echo "exit: $?" >> /media/test_env.txt' download_camera_image: 'curl -s -o {{ media_path }} "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN" && cp {{ media_path }} {{ www_path }}' cleanup_blink_snapshots: "find /media /config/www -name 'blink_*.jpg' -mmin +360 -delete"