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:
7
start_notify_android_tv
Executable file
7
start_notify_android_tv
Executable 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
|
||||
Reference in New Issue
Block a user