I created a bash script see below:
Code: Select all
#!/bin/sh
userid="[email protected]"
password="password"
ipaddress="192.168.3.142"
hubcommand="issue_device_command"
devicecommand="Power_Toggle"
deviceid="57374392"
/home/pi/domoticz/scripts/bash/harmonyhubcontrol_linux_arm.exe $userid $password $ipaddress $hubcommand $deviceid $devicecommand
Error: Error executing script command (/home/pi/domoticz/scripts/bash/HarmonyHub.sh). returned: 256
I found some posts about this error, but none of them gave me the correct solution.
Thank you for your support