mschlenstedt / LoxBerry-Plugin-Smartmeter

Apache License 2.0
3 stars 7 forks source link

Additional Meter #19

Open mmvandoorn opened 4 years ago

mmvandoorn commented 4 years ago

First off thanks for creating the plugin!

I was not able to set up my meter via the interface, so I entered the following manually in the file smartmeter.cfg;

_[MAIN] UDPPORT=7000 SUBFOLDER=smartmeter READ=1 SCRIPTNAME=smartmeter CRON=5 SENDUDP=1

[AQ4KS7YP] PROTOCOL=genericd0 HANDSHAKE=none DELAY=5 BAUDRATE=115200 TIMEOUT=20 STARTBAUDRATE=115200 PARITY=none NAME=AQ4KS7YP STOPBITS=1 DATABITS=8 METER=manual SERIAL=AQ4KS7YP DEVICE=/dev/serial/smartmeter/AQ4KS7YP_

This in order to get data for meter; sagemcom t210-d (dutch)

This works, however reading the .dump file (or while running the cu command on the raspberry) there is also data for the gasmeter. Would it be possible to get this sent to Loxone as well?

Thanks in advance for considering.

See below for one cycle in the .dump file; 1-3:0.2.8(50) 0-0:1.0.0(200227220607W) 0-0:96.1.1(4530303438303030303138373031313138) 1-0:1.8.1(003105.261kWh) 1-0:1.8.2(002487.651kWh) 1-0:2.8.1(000000.092kWh) 1-0:2.8.2(000000.000kWh) 0-0:96.14.0(0001) 1-0:1.7.0(00.559kW) 1-0:2.7.0(00.000kW) 0-0:96.7.21(00044) 0-0:96.7.9(00013) 1-0:99.97.0(4)(0-0:96.7.19)(190819175026S)(0000004575s)(181003131354S)(0000006244s)(181003102628S)($ 1-0:32.32.0(00004) 1-0:52.32.0(00005) 1-0:72.32.0(00004) 1-0:32.36.0(00000) 1-0:52.36.0(00000) 1-0:72.36.0(00000) 0-0:96.13.0() 1-0:32.7.0(223.0V) 1-0:52.7.0(223.0V) 1-0:72.7.0(223.0V) 1-0:31.7.0(001A) 1-0:51.7.0(000A) 1-0:71.7.0(000A) 1-0:21.7.0(00.256kW) 1-0:41.7.0(00.154kW) 1-0:61.7.0(00.149kW) 1-0:22.7.0(00.000kW) 1-0:42.7.0(00.000kW) 1-0:62.7.0(00.000kW) 0-2:24.1.0(003) 0-2:96.1.0(4730303539303033383138313630343138) 0-2:24.2.1(200227220500W)(02153.268*m3) !8C0A /Ene5\T210-D ESMR5.0

blacksun80 commented 4 years ago

https://www.loxforum.com/forum/projektforen/loxberry/plugins/85702-neues-plugin-smartmeter-stromz%C3%A4hler-auslesen?p=238212#post238212

FBosch91 commented 2 years ago

Is there any update for this meter? Sagemcom T211? :)

mmvandoorn commented 2 years ago

Not sure if the Sagemcom was added as standard to the plugin, I still run it on the old version, though they did mention to add it. You can use the link above (blacksun) to see the status of the plugin.

To add the gasmeter you need to add; /[\n|\r|:]24.2.1([^)]*)(([\d.-]+)/;

Use the link from blacksun for the context.

If Sagemcom is added in the update, could you mention it here?

Thanks