hello
I have been running my shell and restful command but after updating to 0.92 I keep on getting this error and none of them work anymore.
Error running command: `curl "http://192.168.0.60:8126/container/home-assistant/restart"`, return code: -11
NoneType: None
Error running command: `ssh [email protected] 'pm2 restart MagicMirror'`, return code: -11
NoneType: None
my shell command is:
restart_mm: "ssh [email protected] 'pm2 restart MagicMirror'"
my restful command is:
rest_command:
hassrestart_request:
url: 'http://192.168.0.60:8126/container/home-assistant/restart'
I have put these in a script to execute them. This is what is in my script:
restart_hass:
alias: Restart Home Assistant
sequence:
- service: rest_command.hassrestart_request
restart_mirror:
alias: Restart Magic Mirror
sequence:
- service: shell_command.restart_mm
I have given all users the permissions to read and write by doing : sudo chmod 777 /srv/docker/homeassistant/scripts.yaml
and sudo chmod 777 /srv/docker/homeassistant
Can someone please help? Thanks.