xyzroe ZigUSB C6
Zigbee usb power switch and monitor
An open-hardware Zigbee router that switches USB port power on and off and measures voltage, current and power, based on the ESP32-C6.
Compatibility
Compatible with EpiSensor Edge over Zigbee.
Pair it with the Zigbee radio on an EpiSensor Gateway. Edge reads it locally on the Gateway.
Edge reads 12 values from it, listed under Interface.
Connect it with
Specifications
The project states that it functions as a Zigbee network router and supports over-the-air firmware updates. Its case design is for the AK-N-12 case. The project gives no measurement ranges or output rating, so check the board and its documentation before relying on them.12
- Zigbee module
- WT0132C6-S5 (ESP32-C6)1
- Voltage and current monitor
- INA2191
- USB power switch
- AP22804AW5-71
- Zigbee role
- Router1
- Firmware updates
- Over the air1
- USB off time (restart)
- 1 to 30 s2
- Switch endpoints
- 3 (state_1, state_2, state_3)2
- Case
- Designed for the AK-N-12 case1
Where it is used
Power-cycling a USB modem or stick remotely from Edge, with its current draw reported.
Building energy management systems (BEMS)Monitoring the power consumption of small USB-powered loads.
HVAC energy monitoring for commercial buildings
Interface
On the Zigbee network it joins as a router and extends the mesh for other devices.1
Readings and settings, with units and ranges where xyzroe publishes them. readable, readable and writable, writable only.
| Reading | Unit | Range or values | Access |
|---|---|---|---|
| Measurements 6 | |||
| Power 1 | W | - | Read only |
| Voltage 1 | V | - | Read only |
| Current 1 | A | - | Read only |
| Temperature | °C | - | Read only |
| Switch | - | - | Read only |
| Alarm 1 | - | Binary state | Read only |
| Controls 3 | |||
| State 1 | - | Binary state | Read and write |
| State 2 | - | Binary state | Read and write |
| State 3 | - | Binary state | Read and write |
| Settings 3 | |||
| Restart 4 | seconds | 1 to 30 seconds | Write only |
| Identify | - | identify |
Write only |
| Power on behaviour 1 | - | offontoggleprevious |
Read and write |
Setup
-
Open pairing in Edge
In Edge, open pairing on the Gateway’s Zigbee network. The Gateway accepts new devices while pairing is open.
-
Start joining on the device
Hold the touch button for more than 5 seconds. The project uses this to re-pair or reset the device to factory defaults.1
-
Confirm the join
Check that Edge identifies it as xyzroe ZigUSB_C6, then switch the load or wait for a report so the voltage, current and power readings appear.
-
Check one reading
Connect a USB load, switch the port on from Edge and compare the reported voltage and current with a USB meter. Zigbee2MQTT provides percentage calibration offsets for power, voltage and current.2
Sources
- ZigUSB C6 hardware and firmware (opens in a new tab)
- ZigUSB_C6 device page (opens in a new tab)
- xyzroe ZigUSB C6 Zigbee definition (opens in a new tab)
Further reading
Product names and trademarks belong to their owners. Publication does not imply endorsement or a commercial relationship.








