Skip to content
codmPublic
forked from xyzroe/XZG

About

Firmware for the cod.m ZigBee Coordinator (CZC) based on XZG

Topics

Resources

Code of conduct

Contributing

Stars

17 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

CZC Firmware

GitHub release Build status GitHub issues License

cod.m logo

ESP32 firmware for the cod.m ZigBee Coordinator (CZC),
a network Zigbee coordinator with Ethernet and PoE. Made in Germany.

🐝 The CZC

The CZC connects your Zigbee network to Zigbee2MQTT, Home Assistant (ZHA), ioBroker and other hosts over the network, so the coordinator can sit where the radio coverage is best instead of next to your server.

  • TI CC2652P7 multiprotocol radio with Z-Stack firmware by Koenkk, external antenna
  • Operation over LAN or USB (USB mode at the press of a button)
  • Power over PoE (802.3af, PoE version) or USB-C, less than 1 W
  • Web interface for network, Zigbee, MQTT and LED settings
  • ESP32 firmware updates from the web interface or over USB-C (auto BSL)
  • 3D-printed case, also for wall mounting (print files)

Warning

The ESP32 can also connect over Wi-Fi, but we strongly advise against it for Zigbee. The serial link to the host has no error correction, so a flaky connection or lost packets break the Zigbee network. The same applies to WAN and VPN connections. See Zigbee2MQTT and Home Assistant.

🛒 Buy it in the cod.m shop.

📔 Documentation

The cod.m knowledge base (German) covers setup, LEDs, the button, power supply, data sheets and the setup in Zigbee2MQTT, Home Assistant and ioBroker.

Changes per version are listed in the Changelog.

🚀 Updating

The CZC checks for new releases itself and offers them in the web interface under System → Firmware. You can also download the .bin files from the releases page and upload them there by hand.

🍴 Based on XZG

This firmware is a fork of XZG Firmware by xyzroe. It is adapted to the CZC hardware and maintained by cod.m GmbH. Many thanks to xyzroe and all XZG contributors, whose work this firmware builds on.

Bugs in this firmware please report here, not in the XZG project.

🛠️ Compiling from source

You need npm and Python. The web interface is built and embedded during the build.

VS Code

  • Install Visual Studio Code and the PlatformIO extension
  • Clone this repository: git clone --recurse-submodules https://github.com/codm/czc-fw.git
  • Open XZG.code-workspace in VS Code
  • Run "PlatformIO: Build"

CLI

  • Install PlatformIO Core
  • Clone this repository: git clone --recurse-submodules https://github.com/codm/czc-fw.git
  • pio run builds the default environment prod; binaries end up in .pio/build/prod/
  • pio run -t upload builds and flashes over USB
  • LSP users (e.g. clangd): pio run -t compiledb creates compile_commands.json

🖥️ Contribute

Issues and pull requests are welcome, see the contribution guidelines. Fixes that also apply to XZG are worth reporting upstream too.

🎉 Credits

Thanks to all XZG contributors, and to @mercenaruss for the Zig Star devices.

Special thanks to all third-party library authors:

📄 License

Like XZG, this firmware is released under the GNU General Public License v3.0. See the LICENSE file for details. Third-party libraries are under their own licenses.


Maintained by cod.m GmbH · based on XZG by xyzroe

About

Firmware for the cod.m ZigBee Coordinator (CZC) based on XZG

Topics

Resources

Code of conduct

Contributing

Stars

17 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages