From 3babc93d4e30e1377d514587666afa351fe175f5 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Fri, 19 Sep 2025 01:34:55 +1000 Subject: [PATCH] stupid Google TV wont allow starting apps on boot, so cron this script to start notify android tv so we get hass popups for notifications --- start_notify_android_tv | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 start_notify_android_tv diff --git a/start_notify_android_tv b/start_notify_android_tv new file mode 100755 index 0000000..2802b8a --- /dev/null +++ b/start_notify_android_tv @@ -0,0 +1,7 @@ +#!/bin/bash + +nmap -p 7676 tv.ddp.net | grep 'open' > /dev/null + +if [ x"$?" != "x0" ]; then + adb shell monkey -p de.cyberdream.androidtv.notifications.google -c android.intent.category.LAUNCHER 1 +fi