Skip to content

The custom ESP32-based board to read the data from the smart electricity meters via the P1 port.

License

Notifications You must be signed in to change notification settings

PolarGoose/P1Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P1Reader

The custom ESP32-based board to read the data from the smart electricity meters via the P1 port.

DSMR protocol and P1 port description

Board

Schematics
ESP32-WROOM-32D Processor Datasheet

Test bench

ESP32 Devkit V4

How to use the test bench

  • Unzip the DSMR data file res/data from XS210 smart meter.zip
  • Execute the commands to feed the DSMR data to the board:
    • mode COM4 BAUD=115200 PARITY=n DATA=8
    • copy "data from XS210 smart meter.txt" /B COM4 /B

How to dump data from the smart meter

  • Use P1Port to USB converter
  • Execute the commands:
    • mode COM4 BAUD=115200 PARITY=n DATA=8
    • copy COM4 /B "data from XS210 smart meter.txt" /B

Micropython

Micropython ESP32

How to upload the FW and the code to the board

Run the scripts from PowerShell:

scripts/UploadMicropythonFwToBoard.ps1 -comPort COM3
scripts/UploadSourceCode_RestartBoard_OpenRepl.ps1 -comPort COM3 -ssid wifi_name -pass wifi_password

About

The custom ESP32-based board to read the data from the smart electricity meters via the P1 port.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published