Difference between revisions of "Home Assistant"

From Sudo Room
Jump to navigation Jump to search
(Created page with "We are using [Home Assistant https://www.home-assistant.io/] for the new RFID-based door access control. Some notes for now: <pre> On junk.local in /home/homeassistant/.homeassistant/configuration.yml I added: ``` logger: default: info ``` To set the log-level to `info`. Now you can `tail -f /home/homeassistant/.homeassistant/home-assistant.log` and I added the line: ``` python_script: ``` (yes, nothing after the `:` at all) to enable the python script integr...")
 
(No difference)

Latest revision as of 16:59, 9 August 2022

We are using [Home Assistant https://www.home-assistant.io/] for the new RFID-based door access control.

Some notes for now:


On junk.local
in /home/homeassistant/.homeassistant/configuration.yml

I added:

```
logger:
  default: info
```

To set the log-level to `info`.
Now you can `tail -f /home/homeassistant/.homeassistant/home-assistant.log`

and I added the line:

```
python_script:
```

(yes, nothing after the `:` at all)

to enable the python script integration.

Then I added the dir: `home/homeassistant/.homeassistant/python_scripts`

and the file `hello_world.py` in that dir.

The basics of how to do this are documented here: https://www.home-assistant.io/integrations/python_script/

and the full API is documented here: https://developers.home-assistant.io/docs/dev_101_hass/