Read the SDM220 modbus with the minimalmodbus python module

Here’s the Python script and bash file…

read_meter.py (2.3 KB)
send-to-eorg.sh (1.2 KB)

Note: You’ll need version 2.1.2 of Advanced Python Scheduler.
APS version 3.x is not compatible with the script as written.

This should help with getting to know modbus: About Modbus | Simply Modbus Software