Opsdroid bot, which reacts to a home-assistant entity state change (like person tracker, or light) and asks for confirmation if it should run additional home-assistant automation. Matrix reactions are used for confirming or canceling action.
- Clone the repository
git clone https://gitlab.com/olegfiksel/hasskbot.git
cd hasskbot
- Create new config file (copy an example)
cp sample-config.yaml configuration.yaml
- Adjust the config
configuration.yaml
to your needs - Create secrets (copy an example)
cp secrets-example.env secrets.env
- Start the bot
docker-compose up -d
docker-compose logs -f
- Home-assistant
zone.home
, used in the example config, has a value (number of persons in the zone) only since 2022.4