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

This commit is contained in:
2025-09-19 01:34:55 +10:00
parent 8124685300
commit 3babc93d4e

7
start_notify_android_tv Executable file
View File

@@ -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