Home Assistant

From Sudo Room
Jump to navigation Jump to search

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:

  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:


(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/