Error executing script command . returned: 256
Posted: Monday 02 March 2020 12:27
Hi,
I created a bash script see below:
The script runs perfectly from the CLI, but when I run it as part of an ON/OFF script from a Domoticz device
I get a 256 error
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
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