UtilitechAS / amsreader-firmware

ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported
Other
380 stars 72 forks source link

Add support for Austrian meter #155

Closed gskjold closed 2 years ago

gskjold commented 2 years ago

Slightly different format

218_9_SmartMeter_Kundenschnittstelle_lektoriert_1410_Web.pdf Beschreibung_Kundenschnittstelle_Smart_Meter_TINETZ.pdf

gskjold commented 2 years ago

Interesting, could you get me a verbose telnet log with frame dump? I need to see whats wrong with the timestamp field.

manfi001 commented 2 years ago

ams2mqtt_220128_log.txt

gskjold commented 2 years ago

Looks like your data is not properly decrypted, could it be that your decryption key have been corrupted somehow?

manfi001 commented 2 years ago

installed the firmware on Jan 30 and it worked fine until Jan 31, 23:58:53. Will contact the grid operator to inquire about changes.

gskjold commented 2 years ago

Alright, but also check in the config menu that your encryption key have not been corrupted by firmware.

manfi001 commented 2 years ago

Just got a new key from the grid operator - it's working again. no idea, why it was changed.

manfi001 commented 2 years ago

latest firmware has similar problems, as ver. 220105.1 described before: irregular mqtt intervals with breaks, log breaks, etc. additionally discovered wifi signal breaks for a few seconds every couple of minutes. returned to fw ver 220106.1, which seems to be the most stable version so far.

muhlba91 commented 1 year ago

hi, i'm planning to add a reader to my smart meter now. can you verify the Pow-P1 will work and draws power from the M-Bus via the P1 port of my Sagemcom T210-D (provider: Netz Niederösterreich)? @manfi001 could you provide some info regarding the meter setting you have used?

manfi001 commented 1 year ago

Hi,

I am using a self-made circuit with a m-bus converter connected to a Wemos D1 mini pro, which is powered by an external power supply.

The meter settings are: 2400 baud, 8 bits, even parity, 1 stop bit. The encryption key has to be entered, the authentication key is not used.

From: Daniel Mühlbachler-Pietrzykowski @.*** Sent: Montag, 23. Jänner 2023 12:03 To: UtilitechAS/amsreader-firmware Cc: manfi001; Mention Subject: Re: [UtilitechAS/amsreader-firmware] Add support for Austrian meter (Issue #155)

hi, i'm planning to add a reader to my smart meter now. can you verify the Pow-P1 will work and draws power from the M-Bus via the P1 port of my Sagemcom T210-D (provider: Netz Niederösterreich)? @manfi001 https://github.com/manfi001 could you provide some info regarding the meter setting you have used?

— Reply to this email directly, view it on GitHub https://github.com/UtilitechAS/amsreader-firmware/issues/155#issuecomment-1400160994 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATQ5AACGA23RGVOSAQG5GLLWTZQPHANCNFSM5JNDB7YA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ATQ5AACDJCTL3534MLOKX2LWTZQPHA5CNFSM5JNDB7YKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOKN2MFYQ.gif Message ID: @.***>

ArnieO commented 1 year ago

hi, i'm planning to add a reader to my smart meter now. can you verify the Pow-P1 will work and draws power from the M-Bus via the P1 port of my Sagemcom T210-D (provider: Netz Niederösterreich)? @manfi001 could you provide some info regarding the meter setting you have used?

The Pow-P1 can NOT be used on M-bus meters. The term "P1" is unfortunately used on two very different interface types. Pow-P1 qot its name based on the name used in northern Europe on the interface used in Netherlands, Sweden - and since recently Denmark.

You might want to consider the Pow-U for your meter.

muhlba91 commented 1 year ago

You might want to consider the Pow-U for your meter.

@ArnieO thank you for this hint! The "P1 port" of the Sagemcom T210-D has MBUS1 (+) on line 3 and MBUS2 (-) on line 4 of a RJ12 (6P6C) adapter. Could you give any information on how I need to connect these to a Pow-U's RJ45 port?

Noschvie commented 1 year ago

@muhlba91 Hi Daniel, to use the AMS bridge you need this Mikroe M-BUS Slave Click module to connect the Sagemcom T210-D device from EVN to an ESP32 / ESP8266. See discussion #407 with geetings from Lower Austria :-)

ArnieO commented 1 year ago

The "P1 port" of the Sagemcom T210-D has MBUS1 (+) on line 3 and MBUS2 (-) on line 4 of a RJ12 (6P6C) adapter. Could you give any information on how I need to connect these to a Pow-U's RJ45 port?

The latest layout of Pow-U (layout v1.7) takes into account the fact that there are (as far as we know) two pinouts used for M-bus meters in Europe:

  1. The Norwegian HAN-NVE standard, used in Norway and Sweden: Pin 1 is MBUS+ / Pin2 is MBUS-, using an RJ45 socket.
  2. The "European" standard: Pin 3 is MBUS+ / Pin4 is MBUS-, using an RJ12 socket.

All other lines in the RJ45 and RJ12 sockets are in both cases unused. So we implemented a modification to the PCB to facilitate the European standard by duplicating both MBUS signals. If you plug an RJ12/6p6c cable into the RJ45 socket on this Pow-U, the RJ12 connector will be centered in the RJ45 socket and pins 3 and 4 will connect correctly as shown in the below illustration.

image

image

muhlba91 commented 1 year ago

awesome, thanks! all is working now as expected. :+1:

Noschvie commented 5 months ago

@ColdFire1985 this works with EVN smartmeter