Skip to content

Commit 2d727eb

Browse files
danielperna84fabaff
authored andcommitted
Update documentation, add link to menu (home-assistant#2349)
1 parent f41d42b commit 2d727eb

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

source/_docs/ecosystem/hass-configurator.markdown

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Essentially this is a browser-based alternative to modifying your configuration
2424
- Check valid configuration and restart Home Assistant directly with the click of a button
2525
- SSL support
2626
- Optional authentication and IP filtering for additional security
27-
- Direct links to Home Assistant documentation
27+
- Direct links to Home Assistant documentation and icons
28+
- Execute shell commands
2829
- Runs on pretty much any machine Home Assistant can run on
2930

3031
<p class='note warning'>
@@ -33,15 +34,15 @@ Consider running the configurator as a user with limited privileges to limit pos
3334

3435
### {% linkable_title Installation (Linux, OS X) %}
3536
There are no dependencies on Python modules that are not part of the standard library. And all the fancy JavaScript libraries are loaded from CDN (which means this doesn't work when you're offline).
36-
- Copy [configurator.py](https://github.com/danielperna84/hass-poc-configurator/blob/master/configurator.py) to your Home Assistant configuration directory (e.g /home/homeassistant/.homeassistant)
37+
- Copy [configurator.py](https://github.com/danielperna84/hass-configurator/blob/master/configurator.py) to your Home Assistant configuration directory (e.g /home/homeassistant/.homeassistant)
3738
- Make it executable: `sudo chmod 755 configurator.py`
3839
- (Optional) Set the `GIT` variable in configurator.py to `True` if [GitPython](https://gitpython.readthedocs.io/) is installed on your system. This is required if you want to make use of the Git integration.
3940
- Execute it: `sudo ./configurator.py`
4041
- To terminate the process do the usual `CTRL+C`, maybe once or twice
4142

4243
### {% linkable_title Configuration %}
4344
Near the top of the configurator.py-file you will find some global variables you can change to customize the configurator. If you are unfamiliar with Python: when setting variables of the type _string_, you have to write that within quotation marks. The default settings are fine for just checking out the configurator quickly. With more customized setups you should change some settings though.
44-
To keep your settings across updates it is also possible to save settings in an external file. In that case copy [settings.conf](https://github.com/danielperna84/hass-poc-configurator/blob/master/settings.conf) whereever you like and append the full path to the file to the command when starting the configurator. E.g. `sudo .configurator.py /home/homeassistant/.homeassistant/mysettings.conf`. This file is in JSON format. So make sure it has a valid syntax (you can set the editor to JSON to get syntax highlighting for the settings). The major difference to the settings in the py-file is, that `None` becomes `null`.
45+
To keep your settings across updates it is also possible to save settings in an external file. In that case copy [settings.conf](https://github.com/danielperna84/hass-configurator/blob/master/settings.conf) whereever you like and append the full path to the file to the command when starting the configurator. E.g. `sudo .configurator.py /home/homeassistant/.homeassistant/mysettings.conf`. This file is in JSON format. So make sure it has a valid syntax (you can set the editor to JSON to get syntax highlighting for the settings). The major difference to the settings in the py-file is, that `None` becomes `null`.
4546

4647
#### LISTENIP (string)
4748
The IP the service is listening on. By default it is binding to `0.0.0.0`, which is every interface on the system.
@@ -99,11 +100,11 @@ Since the configurator script on its own is no service, you will have to take so
99100
100101
1. Fork the process into the background with the command:
101102
`nohup sudo ./configurator.py &`
102-
2. If your system is using systemd (that's usually what you'll find on a Raspberry PI), there's a [template file](https://github.com/danielperna84/hass-poc-configurator/blob/master/hass-poc-configurator.systemd) you can use and then apply the same process to integrate it as mentioned in the [Home Assistant documentation](https://home-assistant.io/docs/autostart/systemd/). If you use this method you have to set the `BASEPATH` variable according to your environment.
103-
3. If you have [supervisor](http://supervisord.org/) running on your system, [hass-poc-configurator.supervisor](https://github.com/danielperna84/hass-poc-configurator/blob/master/hass-poc-configurator.supervisor) would be an example configuration you could use to control the configurator.
103+
2. If your system is using systemd (that's usually what you'll find on a Raspberry PI), there's a [template file](https://github.com/danielperna84/hass-configurator/blob/master/hass-poc-configurator.systemd) you can use and then apply the same process to integrate it as mentioned in the [Home Assistant documentation](https://home-assistant.io/docs/autostart/systemd/). If you use this method you have to set the `BASEPATH` variable according to your environment.
104+
3. If you have [supervisor](http://supervisord.org/) running on your system, [hass-poc-configurator.supervisor](https://github.com/danielperna84/hass-configurator/blob/master/hass-poc-configurator.supervisor) would be an example configuration you could use to control the configurator.
104105
4. A tool called [tmux](https://tmux.github.io/), which should be pre-installed with [HASSbian](https://home-assistant.io/docs/hassbian/).
105106
5. A tool called [screen](http://ss64.com/bash/screen.html) (alternative to tmux). If it's not already installed on your system, you can do `sudo apt-get install screen` or `sudo yum install screen` to get it. When it's installed, start a screen session by executing `screen`. Then navigate to your Home Assistant directory and start the configurator like described above. Put the screen session into the background by pressing `CTRL+A` and then `CTRL+D`. It is now safe to disconnect from your SSH session.
106107
To resume the screen session, log in to your machine and execute `screen -r`.
107108

108109
### {% linkable_title Troubleshooting, Issues etc. %}
109-
If you encounter difficulties setting up the configurator or stumble upon a possible bug, head over to the [Issues](https://github.com/danielperna84/hass-poc-configurator/issues) section of the configurator repository. Additionally there is a thread at the [Home Assistant Community](https://community.home-assistant.io/t/simplistic-configuration-ui/10175) where common problems may have been discussed already. And if not, there are always friendly people around to help finding solutions.
110+
If you encounter difficulties setting up the configurator or stumble upon a possible bug, head over to the [Issues](https://github.com/danielperna84/hass-configurator/issues) section of the configurator repository. Additionally there is a thread at the [Home Assistant Community](https://community.home-assistant.io/t/simplistic-configuration-ui/10175) where common problems may have been discussed already. And if not, there are always friendly people around to help finding solutions.

source/_includes/asides/docs_navigation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ <h1 class="title delta">Topics</h1>
195195
<li>{% active_link /docs/ecosystem/scenegen/ scenegen %}</li>
196196
<li>{% active_link /docs/ecosystem/synology/ Synology %}</li>
197197
<li>{% active_link /docs/ecosystem/backup/backup_github/ Backup to GitHub %}</li>
198+
<li>{% active_link /docs/ecosystem/hass-configurator/ HASS Configurator %}</li>
198199
</ul>
199200
</ul>
200201
</div>

0 commit comments

Comments
 (0)