Skip to content

Repository files navigation

xikibot

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.

Preliminary notes

  • 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.
  • The coordinator hardware tested is SONOFF CC2652P, altough it should work with any coordinator supported by Zigbee2MQTT.

How build and deploy the extension in Zigbee2MQTT

Automatic way. This will do the build and install in one go.

pnpm i
pnpm run publish

Manual way.

pnpm i
pnpm run build

Then, 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.

About

Extension for Zigbee2MQTT to set automation rules

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages