Script not running from Domoticz
Posted: Sunday 08 March 2020 12:53
I tried running the following script through on/off action in a button and als with an os.execute command in Dzvents, but
the script won't run.
Running the script in RPI terminal does work.
Domoticz version: 4.11777
Running on a RPI with Buster Lite.
Script:
Domoticz log:
the script won't run.
Running the script in RPI terminal does work.
Domoticz version: 4.11777
Running on a RPI with Buster Lite.
Script:
Code: Select all
#!/bin/sh
adb start-server
adb connect 10.0.1.14
sleep 1
adb shell input keyevent KEYCODE_WAKEUP
adb shell am start -n org.xbmc.kodi/.Splash
adb kill-server
Code: Select all
2020-03-08 12:48:48.345 Status: dzVents: Info: Handling events for: "Test-Dummy", value: "On"
2020-03-08 12:48:48.345 Status: dzVents: Info: Test: ------ Start internal script: Test: Device: "Test-Dummy (Dummy)", Index: 2
2020-03-08 12:48:48.430 Status: Executing script: /home/pi/domoticz/scripts/kodi_aan.sh
2020-03-08 12:48:53.684 Status: dzVents: Info: Test: ------ Finished Test