{"definition_raw":"---\nid: home-radio-conrelma-keepalive\ntitle: Home Radio \u2014 conrelma Spotify Connect keepalive\nschedule: \"0 5 * * *\"\ntimeout: 60\nretry: false\nenabled: true\nnotify_on: failure\nrun_as: shell\ncommand: \"cd /home/lucienne/workspace/projects/home-radio && python3 conrelma_keepalive.py 2>&1 | tail -10\"\ntags: [home-radio, spotify, conrelma, keepalive]\nruntime_profile: direct_spotify\nnotify_to: general\n---\n\n**OVERRIDES runtime profile:** uses Spotify Web API directly, does not invoke the `claude` CLI.\n\nDaily 05:00 SAST. Touches conrelma's `/me/player/devices` so Spotify cloud keeps the HEOS speakers listed (Kitchen, Bedroom, Office, Deck, HEOS 7). Without periodic activity the device list goes stale within 24-72h and Spotify Connect playback fails \u2014 caused the morning playback failure on 2026-05-11.\n\nIf Kitchen is missing from the device list, fires a Telegram alert so we know to reload conrelma's Spotify session manually (open Spotify app on phone with conrelma logged in).\n\nCheap \u2014 single GET request, ~200ms.\n","id":"home-radio-conrelma-keepalive","last_run":{"duration_s":0.326717,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/413662.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-13T05:00:35.225275+02:00","status":"completed"},"next_run":"2026-06-14 05:00","next_run_iso":"2026-06-14T05:00:00+02:00","runs":[{"duration_s":0.326717,"finished_at":"2026-06-13T05:00:35.554871+02:00","id":413662,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/413662.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-13T05:00:35.225275+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"},{"duration_s":0.377179,"finished_at":"2026-06-12T05:02:36.051225+02:00","id":409496,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/409496.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-12T05:02:35.671071+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"},{"duration_s":0.468294,"finished_at":"2026-06-11T05:02:28.700961+02:00","id":405135,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/405135.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-11T05:02:28.229767+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"},{"duration_s":0.490779,"finished_at":"2026-06-10T05:02:38.085749+02:00","id":400866,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/400866.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-10T05:02:37.592584+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"},{"duration_s":0.521668,"finished_at":"2026-06-09T05:02:13.052462+02:00","id":396592,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/396592.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-09T05:02:12.527665+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"},{"duration_s":0.478588,"finished_at":"2026-06-08T05:02:08.646369+02:00","id":392503,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/392503.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-08T05:02:08.165345+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"},{"duration_s":0.369812,"finished_at":"2026-06-07T05:00:35.384419+02:00","id":388135,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/388135.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-07T05:00:35.011974+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"},{"duration_s":0.332855,"finished_at":"2026-06-06T05:00:27.154301+02:00","id":383415,"log_path":"/home/lucienne/workspace/logs/task-runs/home-radio-conrelma-keepalive/383415.log","output":"conrelma devices (3): Denon AVR-X4300H, Bedroom, Kitchen + Office\nkeepalive ok \u2014 kitchen=True, house=False\n","started_at":"2026-06-06T05:00:26.818187+02:00","status":"completed","task_id":"home-radio-conrelma-keepalive","task_name":"Home Radio \u2014 conrelma Spotify Connect keepalive"}],"runs_limit":20,"schedule":"0 5 * * *","schedule_label":{"description":"Daily at 05:00","is_custom":false,"label":"Daily","sort":4,"sort_time":"05:00"},"stats":{"avg_duration":0.4207365,"completed":8,"failed":0,"timeout":0,"total":8},"task":{"_description":"**OVERRIDES runtime profile:** uses Spotify Web API directly, does not invoke the `claude` CLI.\n\nDaily 05:00 SAST. Touches conrelma's `/me/player/devices` so Spotify cloud keeps the HEOS speakers listed (Kitchen, Bedroom, Office, Deck, HEOS 7). Without periodic activity the device list goes stale within 24-72h and Spotify Connect playback fails \u2014 caused the morning playback failure on 2026-05-11.\n\nIf Kitchen is missing from the device list, fires a Telegram alert so we know to reload conrelma's Spotify session manually (open Spotify app on phone with conrelma logged in).\n\nCheap \u2014 single GET request, ~200ms.","_file":"home-radio-conrelma-keepalive.md","_path":"/home/lucienne/workspace/tasks/home-radio-conrelma-keepalive.md","command":"cd /home/lucienne/workspace/projects/home-radio && python3 conrelma_keepalive.py 2>&1 | tail -10","enabled":true,"id":"home-radio-conrelma-keepalive","notify_on":"failure","notify_to":"general","retry":false,"run_as":"shell","runtime_profile":"direct_spotify","schedule":"0 5 * * *","tags":["home-radio","spotify","conrelma","keepalive"],"timeout":60,"title":"Home Radio \u2014 conrelma Spotify Connect keepalive"}}
