.ha_mcp/logs/mcp_usage.jsonl, configuration.yaml
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ utility_meter:
|
||||
|
||||
# Shell Commands
|
||||
shell_command:
|
||||
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'
|
||||
test_supervisor: 'echo "token_set: $( [ -n \"$SUPERVISOR_TOKEN\" ] && echo yes || echo no )" > /media/test_env.txt && echo "token_len: ${#SUPERVISOR_TOKEN}" >> /media/test_env.txt && curl -v -o /media/test_supervisor.png "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN" >> /media/test_env.txt 2>&1; 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user