Get the FREE Ultimate OpenClaw Setup Guide →
I

Zigbee

Verified

@ivangdavila

npx machina-cli add skill @ivangdavila/zigbee --openclaw
Files (1)
SKILL.md
2.8 KB

Mesh Network Traps

  • Battery devices don't route — only mains-powered devices extend mesh
  • Mesh needs routers every 10-15m — one coordinator alone has limited range
  • Adding routers requires rebuilding routes — devices don't automatically find new paths
  • First devices paired become mesh backbone — pair routers before sensors

Coordinator Issues

  • Only one coordinator per network — two coordinators create two separate networks
  • Coordinator stick placement matters — USB extension away from computer reduces interference
  • Coordinator migration loses all pairings — backup before switching hardware
  • Some sticks need firmware flash — Sonoff, CC2531 don't work out of box

WiFi Interference

  • Zigbee shares 2.4GHz spectrum — WiFi channels overlap with Zigbee channels
  • Zigbee channel 11 = WiFi channel 1, Zigbee 25 = WiFi 11 — pick non-overlapping
  • Default Zigbee channel 11 often worst — conflicts with common WiFi defaults
  • Changing Zigbee channel requires re-pairing all devices — choose carefully initially

Compatibility Issues

  • "Zigbee compatible" doesn't mean interoperable — some devices only work with their hub
  • Xiaomi/Aqara devices drop off generic coordinators — need specific handling
  • Tuya Zigbee often requires their gateway — may not pair with Zigbee2MQTT
  • Check device compatibility list before buying — not all Zigbee is equal

Pairing Problems

  • Pairing mode timeout is short — be ready before enabling
  • Factory reset required if previously paired — hold button 5-10 seconds
  • Distance during pairing matters — pair close to coordinator, move after
  • Some devices need multiple reset attempts — keep trying

Groups vs Binding

  • Groups: coordinator sends one command to all — requires coordinator online
  • Binding: direct device-to-device — works without coordinator, lower latency
  • Binding a switch to bulbs survives coordinator reboot — groups don't
  • Not all devices support binding — check before planning automation

Battery Devices

  • Battery sensors sleep aggressively — commands only received on wake
  • Check-in intervals vary by device — some wake every hour, others every few seconds
  • Reporting thresholds affect battery life — frequent updates drain faster
  • Replacing battery sometimes requires re-pairing — device forgets network

Common Failures

  • Device shows online but doesn't respond — try power cycle, check routing
  • Intermittent responses — mesh too sparse, add routers
  • Delayed commands — routing through many hops, add closer router
  • New device won't pair — network in wrong mode, coordinator issue, or device not reset

Source

git clone https://clawhub.ai/ivangdavila/zigbeeView on GitHub

Overview

Deploy and troubleshoot Zigbee mesh networks for home automation, covering mesh basics, router roles, and common interference and compatibility issues. This guide helps you optimize router placement, channel selection, pairing order, and firmware considerations to keep smart homes reliable.

How This Skill Works

Zigbee forms a mesh by routing traffic through coordinators and routers. Battery devices sleep and don’t forward traffic, so you must add mains-powered routers to extend coverage. The workflow emphasizes proper coordinator placement, channel selection, pairing order, and device compatibility checks to maintain a stable network.

When to Use It

  • Setting up a new Zigbee mesh in a home automation system.
  • Diagnosing devices that show online but don’t respond or drop offline.
  • Mitigating WiFi interference by selecting a non-overlapping Zigbee channel.
  • Integrating Xiaomi/Aqara or Tuya devices that drop off generic coordinators.
  • Expanding the mesh with additional routers and migrating to new hardware.

Quick Start

  1. Step 1: Map the current Zigbee network to identify gaps and backbone devices.
  2. Step 2: Add or reposition mains-powered routers so gaps are bridged every 10-15 m, pairing them before sensors.
  3. Step 3: Choose a Zigbee channel that avoids WiFi overlap; re-pair devices if the channel changes and back up the coordinator.

Best Practices

  • Place routers every 10-15 m and pair them before sensors to establish a mesh backbone.
  • Favor mains-powered devices as routers; battery devices sleep and won’t route traffic.
  • Maintain a single coordinator; optimize placement and backup before migrating hardware.
  • Choose a non-overlapping Zigbee channel to avoid WiFi conflicts; be mindful of defaults.
  • Check device compatibility lists and firmware requirements before buying or upgrading.

Example Use Cases

  • A living room Zigbee setup with bulbs and motion sensors that needs a stronger mesh backbone.
  • Replacing a USB Zigbee coordinator and relocating to reduce interference and improve range.
  • Shifting WiFi channels to reduce Zigbee/WiFi overlap and avoid re-pairing all devices.
  • Xiaomi/Aqara devices that drop off a generic coordinator require specific handling or firmware.
  • Battery sensors that wake infrequently and require careful pairing and re-pairing after battery changes.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers