HASS Configurator script in Hassbian-scripts

Perhaps I am not following recommended procedure (?) but I find that the configuration file check often returns OK even though there is a problem, and HASS crashes on start. I then have to switch to SSH to my HASSBIAN pi, check the log file, and restart HASS, all from the terminal. This is a bit of a tedious process, so what I propose is:

  • Separate server running on the HASSBIAN pi which allows me to view the log file and edit the .yaml files, then restart HASS, all from the browser on my Mac. This would be a separate port to the HASS UI and remain open even during HASS restart

Perhaps this could alternatively be achieved using an Atom plugin…?

Did you know about the HASS Configurator? It’s running in a separate process, and since version 0.1.6 it is also capable of executing shell-commands. All through the browser. So reviving your HASS without SSH is possible already.

2 Likes

Thanks for the info, looks like what I need!

Perhaps this could be added as a script in /home/pi/hassbian-scripts/

Update: it was so easy to setup Hass Configurator that it doesn’t warrant a script

Hi i am giving the setup of HASS configurator a go.
i’m a little confused about what to put as the URL for the iframe panel? you said it was easy so i was hoping you could nudge me along. thanks.

I don’t recall entering a URL :slight_smile:

This depends on your setup. If you only access the configurator from within your network, you can use the address it shows while starting up, which should look something like:

Starting server
Listening on: http://192.168.1.123:3218

If you don’t specify an IP the configurator should bind to, it will say 0.0.0.0. In that case it will probably still be the same address which you use to get to the HASS UI from within the network.
If you want to access the configurator from outside, you have to set up port forwarding and use the hostname that you use to connect from outside + the port that is being forwarded to the one the configurator is listening on.

1 Like