Skip to content

A utility to ship "smart meter" readings over HTTP

License

Notifications You must be signed in to change notification settings

mthmulders/dsmr-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dsmr-rs

CI build

A utility tool to ship data from a smart energy meter over HTTP.

Running

Download the Debian packages from the release area. Copy it to the machine where you want to run the process and install it with dpkg -i dsmr-rs_<version>_<arch>.deb. Edit /etc/dsmr-rs.conf to tailor your configuration. Finally, run sudo service dsmr-rs restart to make your changes effective.

Efficiency

The standard datalogger that ships with DSMR reader is written in Python.

Using sudo pmap <pid> | tail -n 1, its memory usage is reported as 37120K. This native logger uses only 14996K, a reduction of almost 60%.

Using ps aux | grep python3, CPU usage of the Python logger is reported between 1.5% and 3% on my Raspberry Pi 4. This native logger usually takes less than 1% of CPU time.

Development

Testing

Run tests with cargo t.

Building

Build a debug binary with cargo b. For a release binary, add --release.

About

A utility to ship "smart meter" readings over HTTP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages