5393

Interface for smart electricity meter Belgium / Netherlands version 2

Update 18/12/2025

Data is now saved in csv format.

It is also printed out via the serial port at the end of the day.

For the structure of the csv file, see page 35: Smart meter ESP32 csv.pdf (Github page)

Data from the previous version can no longer be read with this version.

csv data on the SD card can be read by LibreOffice Calc and probably also by Windows Excel, but I cannot try that, as I'm not a Windows user

Check it out on GitHub :
 
 https://github.com/thieu-b55/Slimme-meter-ESP32-V2


This is an update of the Smart Digital Meter

https://github.com/thieu-b55/Slimme-Digital-Energie-Meter
 
 
For Arduino core for ESP32 version 3.x
 
Following libraries are used in this project:
  1. https://github.com/me-no-dev/AsyncTCP
  2. https://github.com/me-no-dev/ESPAsyncWebServer

 The project consists of 4 modules: 
  1. Interface module
  2. Display module
  3. Digital output
  4. PWM module

Updates : 

Modules communicates wirelessly via esp-now Now also with monthly peak
  

WiFi AP Mode Credentials 

Own WiFi network WiFi.mode(WIFI_AP_STA)
 
 Network:     ESP32Energie_V2
 Password:  ESP32pswd
 IP address: 192.168.4.1

 .bin files of any program contained in the bin folder can be uploaded to ESP32 to avoid problems with incompatible core or library updates.
  

Interface Module


 Display via web page of:
  • total electricity consumption
  • total injection
  • total gas consumption
  • current electricity consumption
  • current injection
  • monthly peak
  • status of digital outputs
  • status PWM signals
 

Setting The Different Parameters


 Storage and display of:
  1. electricity consumption
  2. injection
  3. gas consumption
Which are shown in the following readings:
  • hourly basis
  • daily basis
  • monthly basis also monthly peak
  • annual basis
  • last 25 years
 

Display Module


 This display module shows the following data:
  • total electricity consumption
  • total injection
  • total gas consumption
  • consumption (red) / injection (green)
  • status of digital outputs
  • status PWM signals
 

PWM Signals


 There are 2 PWM outputs,
 
 PWM 1

It can be used to control an electric boiler, boiler is only controlled with its own generated power

PWM 2

This starts to regulate from the moment that PWM 1 is 100% output. Any remaining self-generated power can be used,
for example:
to send an electric additional heater.

Feed back into the grid is currently not profitable.

Digital Outputs


 The digital outputs can be sent to :
 
 Time Base at a certain amount of generated power or a combination of these two.
 
 
 Programs and manual see on GitHub:
 
 https://github.com/thieu-b55/Slimme-meter-ESP32-V2