volkszaehler / mbmd

ModBus Measurement Daemon - simple reading of data from ModBus meters and grid inverters
BSD 3-Clause "New" or "Revised" License
224 stars 81 forks source link

solar edge meter #329

Open frezeen opened 10 months ago

frezeen commented 10 months ago

how can i read meter SEMTR SolarEdge SE-MTR-3Y ??

i use this command: ./mbmd run -d solaredge:1@192.168.2.59:1502 and i have data from inverter, how can i read meter too? i try everything but no solution

my meter is on modbus id 2 connected to inverter

andig commented 10 months ago

s/:1/:2/

frezeen commented 10 months ago

sorry but , what mean s/:1/:2/ ?

edit: /mbmd run -a 192.168.2.59:1502 -d solaredge:1 -d solaredge:1.1

this work , i have meter readings too

TRIROG commented 5 months ago

s/:1/:2/

Can you provide some additional info for better understanding?

SchumacherFM commented 4 months ago

@TRIROG Just change the ID from 1 to 2 or from 2 to 1. Or try 3. If the ID isn't configured you get a timeout. The meter is usually a subdevice of the inverter.

TRIROG commented 4 months ago

Was taking about syntax … to provide a complete example rather thanj ust a part …just for better understanding

sicheste commented 4 months ago

@TRIROG The s/:1/:2 means "replacing :1 with :2". This is for example used in the vi / vim text editor. The s is for substitute or search and replace, the / is just a delimiter (but could be any other alphanumeric symbol) and the :1 is the search pattern which will be replaced with the :2.