raymand211092 / hasskbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HASSkbot - home-assistant ask bot

Matrix Channel

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.

screenshot01

screenshot02

screenshot02

Running

docker-compose

  • 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

Examples

Troubleshooting

  • Home-assistant zone.home, used in the example config, has a value (number of persons in the zone) only since 2022.4

About


Languages

Language:Python 92.7%Language:Shell 4.6%Language:Dockerfile 2.8%