I’m trying to make some SSH script so I can easily reboot hassio when there is some problems.
When I try to run on my SSH client machine: ssh [email protected] 'hassio ho reboot' I have the following output: debug1: permanently_set_uid: 0/0 Error decoding json invalid character ':' after top-level value: 401: Unauthorized
Because he is on a first machine (his MacBook) and try to connect to a second (his hass.io).
Maybe it’s because of the environment variables that are not set correctly to execute hassio commands.
Hi,
Because he is on a first machine (his MacBooc) and try to connect to a second (his hass.io).
Maybe it’s because of the environment variables that are not set correctly to execute hassio commands.
I’ll give a try latter today.
Thanks you for taking the time to understand my problem and helping me
I run the same here and I can give you the confirmation I see the same.
I notice that some commands works eg ‘hassio --version’ but ‘hassio ho info’ return Error decoding json invalid character ':' after top-level value: 401: Unauthorized