Here my Problem with all scripts in shell_command:
019-06-11 12:46:53 ERROR (MainThread) [homeassistant.components.shell_command] Error running command: sh /config/www/skripte/octoprint/connect.sh
, return code: -11
NoneType: None
After Home Assistant restart, the scripts will work a couple of times and then not anymore, and all have the same error … return code: -11
shell_command:
octoprint_connect: sh /config/www/skripte/octoprint/connect.sh
connect.sh in /config/www/skripte/octoprint/
#!/bin/bash
curl -k http://192.168.1.111:5000/api/connection -d '{"command":"connect"}' -H 'Content-Type: application/json' -H 'X-Api-Key: AC72E4C7DD2241E6BD9C0E1868F511FC'
exit 0
Can anyone explain why I always get this error?