Extension for Zigbee2MQTT to set automation rules.
This extension has been designed for my own home automation and is not meant to be reusable as-is. However, some parts of it could be taken and reused for building similar extensions.
- When cloning the GIT repository, clone also the submodules.
- I am running Zigbee2MQTT in a Orange Pi Zero 2W, so the extension has been designed considering a limited amount of memory.
- Before building and deploying, read fully the readme and how to setup the Orange Pi and install Zigbee2MQTT. The documentation and scripts assume that the hostname and username of the Orange Pi are the following:
- Username:
zhome. - Hostname:
zhome.local.
- Username:
- The coordinator hardware tested is SONOFF CC2652P, altough it should work with any coordinator supported by Zigbee2MQTT.
Automatic way. This will do the build and install in one go.
pnpm i
pnpm run publishManual way.
pnpm i
pnpm run buildThen, open the frontend of Zigbee2MQTT, go to "Settings / Settings / Dev console / External Extensions" and add a new extension copying the code from dist/xikibot.mjs. Be sure to put .mjs in the extension name.