Skip to content

Reads data from emontx devices and exports it to EmonCMS.

License

Notifications You must be signed in to change notification settings

llpamies/emonpub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmonPub

Reads data from emontx devices and exports it to EmonCMS.

This is a personal project to read data from three EmonTx Shield devices, using an ESP8266 board, and export the data to EmonCMS.

The firmware for the EmonTX Shield boards is in: emontx

The OpenEnergyMonitor project has existing solutions that do exactly that. However, I didn't manage to make them work as I intended. The problem is that the EmonTxV3CM firmware exposes data only via serial interface. You can then use the EmonESP firmware to read that serial interface and export the readings to EmonCMS. However, for three EmonTx, I would need three ESP8266 boards since they only have one single serial port. Alternatively, you could also use soft-serial ports, but then you would need more wires than with the existing I2C solution.

I also tried to integrate this emonpub project into the existing EmonESP, but the size of the binary was getting to large, and the firmware was crashing for some still unknown reason.

The Setup

This is my setup, of three EmonTx Shields, each with an Arduino Leonardo, and a single NodeMCU board that sequentially reads from all of them and sends data to EmonCMS:

energy_monitor

The box is custom-made and 3D-printed: Emon Box

About

Reads data from emontx devices and exports it to EmonCMS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages