easy and cheap smartmeter energy Monitoring with frient Electricity Meter Interface 2 LED and Zigbee2MQTT
Why You Should Monitor Your Energy Consumption
In times of rising energy costs, it's more important than ever to keep an eye on your energy consumption. This not only helps you to save money, but also to reduce your carbon footprint. With the solution presented in this post, you can easily monitor your complete energy consumption in real-time.
The frient Electricity Meter Interface 2 LED
The frient Electricity Meter Interface 2 LED is a small device that you can attach to the LED of your smart meter. It counts the light pulses of the LED and sends the data to your smart home system via Zigbee.
Pros
- No electrical installation necessary: You don't have to be an electrician to install it. Just stick it on your meter.
- Covers the complete energy consumption: It measures the total energy consumption of your household, including devices like your washing machine in the cellar.
Step-by-step guide for setting up Zigbee2MQTT with Docker
Zigbee2MQTT is an open-source software that allows you to connect your Zigbee devices to your smart home system via MQTT. Here is a step-by-step guide on how to set it up with Docker.
Prerequisites
- A server with Docker and Docker Compose installed.
- A Sonoff Zigbee 3.0 USB Dongle Plus.
1. Create a docker-compose.yml
file
Create a new file named docker-compose.yml
with the following content:
version: '3.8'
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- ./zigbee2mqtt-data:/app/data
- /run/udev:/run/udev:ro
ports:
- 8080:8080
environment:
- TZ=Europe/Berlin
devices:
- /dev/ttyUSB0:/dev/ttyACM0
Note: You might need to change the devices
mapping depending on your system.
You can find the correct device with the command ls -l /dev/ttyUSB*
or ls -l /dev/ttyACM*
.
2. Start the container
Start the container with the following command:
docker-compose up -d
3. Configure Zigbee2MQTT
Open your browser and navigate to http://<your-server-ip>:8080
.
You should see the Zigbee2MQTT frontend.
Now you can start pairing your Zigbee devices.
Amazon Buy Links
As an Amazon Associate I earn from qualifying purchases.