Render stations, workstations, a server bay: an animation studio uses a lot of electricity, and the bill does not say who uses what. So we fitted our plugs to track, in real time, the power of each workstation, the cost of the day and the CO2 emissions, without going through a manufacturer’s cloud. This post covers the basics of the setup.
The chain at a glance

Each measurement goes through six links before it reaches a dashboard:
- Nous A1Z plug: it measures the power of the device plugged in and sends it over Zigbee radio.
- ConBee III stick: plugged into the server over USB, it receives the radio frames from every plug.
- Zigbee2MQTT: it turns each frame into a JSON message.
- Mosquitto: the MQTT broker that relays these messages.
- Home Assistant: it turns the messages into sensors and sends them to the database.
- InfluxDB and Grafana: the database keeps the history, Grafana draws it as charts.
Everything runs on our Proxmox server, in one VM for Home Assistant and two LXC containers for InfluxDB and Grafana. No data leaves the local network.
Why Zigbee rather than Wi-Fi
Consumer Wi-Fi plugs often depend on their manufacturer’s server: if it shuts down or changes its API, they lose their features. Zigbee plugs talk directly to the ConBee III stick, on site.
Zigbee has two other strengths. Each plug relays the others, which extends the range of the network. And dozens of devices can run without crowding the Wi-Fi, already busy with workstations and phones.
This choice has its limits too. It needs a coordinator, here the ConBee III stick, plugged directly into the server: an unpowered USB hub causes disconnections. On its own, the stick covers 10 to 15 metres indoors; beyond that, the plugs in between relay the signal. Finally, there are fewer Zigbee plugs with power metering than Wi-Fi ones: before buying, check the list of supported devices on the Zigbee2MQTT website.
Why go through MQTT
Home Assistant could read the Zigbee stick directly. The MQTT broker decouples the components: if Home Assistant restarts, Zigbee2MQTT keeps running. Another service, such as a Python script, can also read the same data without changing anything on the plug side.
We could have used ZHA, the native Zigbee integration of Home Assistant, which is simpler to maintain. Zigbee2MQTT supports a wider range of devices, updates independently of Home Assistant and has its own interface to pair, rename or update the plugs. For a setup with several dozen plugs, it is the most flexible choice.
Watts and kilowatt-hours
A plug reports two values that should not be confused:
- instant power, in watts (W): what the device draws at that moment;
- cumulative energy, in kilowatt-hours (kWh): the total used since it was powered on.
A message received by Mosquitto looks like this:
{
"power": 85.4,
"energy": 12.731,
"linkquality": 94,
"state": "ON"
}
To get the consumption of a day, Grafana computes the difference in cumulative energy between the start and the end of the period. Multiplying by the price per kWh then gives the cost.
What the dashboard shows
The dashboard reads from top to bottom, from the summary to the detail.
The first row gives five figures for the chosen period: total consumption, its cost, CO2 emissions, the change from the same day last week and the power peak. The price per kWh is set at the top of the page and every cost calculation uses it. Emissions are estimated from the average carbon intensity of the power grid.
Next comes the current day: the energy used hour by hour, the top 5 most power-hungry devices and how the energy splits between the areas of the studio. Unsurprisingly, the server bay comes first, far ahead of the workstations.
The most telling panel is the power flow: it follows the watts live from the grid to each plug, through the areas of the studio. You can see at a glance which workstation is running and which one was left on for nothing.
A table matches each workstation with its specs (CPU, graphics card, memory) and its consumption: energy over the period, kWh per day, average power, standby and peak. A chart derives the average consumption per graphics card from it. Workstations with an RTX 5090 use nearly 3 kWh a day, more than twice those with an RTX 3080 (1.36 kWh) or an RTX 4090 (1.20 kWh). On standby, the RTX 3080 machines draw the most, 65 W.

The server bay has no Zigbee plug: its UPS reports its power. Grafana converts these watts into kilowatt-hours and adds them to the total of the plugs. Further down are weekly and monthly charts, then a row that details a single plug of your choice.
What it takes
The whole setup uses 8 vCPUs, 11 GB of memory and 100 GB of disk, enough for about forty plugs. Home Assistant takes the largest share with 4 vCPUs and 8 GB; InfluxDB and Grafana make do with light containers. The services are installed with community scripts for Proxmox, which need Internet access during the installation. Allow 2 to 4 hours, not counting plug pairing. You also need to be able to run commands in a Linux terminal and read an error message.
The real cost lies elsewhere: three pieces of software to learn and maintain, with no support. The link to watch is InfluxDB. If it stops, Home Assistant keeps working, but the measurements are no longer stored and the gap in the history is permanent. Nothing reports it automatically: you have to set up your own alerts.
Going further
A guide to the full installation is in progress: step-by-step setup, configuration of each service, Flux queries for Grafana and an FAQ of common issues.
