Licznik Gama 350 - pytanie początkującego

Dzień dobry,

Pewnie dostanę ochrzan ale nie wiem od czego zacząć. Mam licznik Gama 350 (32002) i bardzo chciałbym być w stanie odczytywać zużycie zdalnie. Mam fotowoltaikę więc samo zużycie netto nie jest dla mnie jakoś bardzo przydatne. Widziałem tutaj, że są osoby, którym się udało jakoś to zrobić ale jako, że nie jestem specem w HA nie wiem nawet od czego zacząć? Czy da się to zrobić na moim liczniku, jeżeli tak, to jak: :slight_smile:

Mam jakieś tam podstawy programowania w Pythonie jeżeli to mogłoby być pomocne.

Z góry przepraszam jeżeli tego typu pytania z poziomu zerówki są tu nie na miejscu.

Pozdrawiam serdecznie,
Marcin

Każde pytanie jest na miejscu, ale przyda się fotka licznika, zamaluj/zbluruj tylko dane wrażliwe (numer seryjny, numery plomb operatora). Liczniki trafiają się w różnych wykonaniach zależnie od operatora, więc na podstawie samej nazwy handlowej nie wiadomo jakie rozwiązanie sprzętowe jest konieczne.

Super :smiley:

Chyba nie mogę tu dodać zdjęcia bezpośrednio więc wklejam link:
moj_licznik

The first question is, which DSO has provided the meter.

You image shows clearly that it has W-MBUS, so that should be your method.

All the modern meters installed in Poland are communicating in an encrypted manner, so you will be unable to read anything from that IR port, as that would have likely use DLMS/COSEM and the previous unencrypted IEC 62056-21 is not available anymore.

DLMS/COSEM requires an decryption key and authentication, which you will never get from any of the DSOs, because that is the way how they program the meters, and worried about that someone would reprogram it.

So as W-MBUS, you will need a W-MBUS readed, either an ESP device with the right receiver or a RTLSDR connected to a computer as receiver. But first of all you need that the DSO would activate the W-MBUS communication and would provide you with a decryption key.

Stoen, PGE and Tauron do provide these keys and turns on the W-MBUS on request. ENERGA is different story, becasue their meters have a USB based communication modul, and have not heard from anybody yet, who would have W-MBUS installed.

ENEA is a dead end currently. They just send a prewritten answer that they have time till 2031 to adapt their meters, which were tendered or purchased before 2022, basically all of them which they are installing currently. I have not heard any newer meters, despite there was a tender out for those in the beginning of this year.

So, which DSO, then you need to get W-MBUS turned on, and a decryption key to be able to decode the data.

Let us know, and we will be able to guide you to the right direction. Both hardware and software.

Thank you very much, so far :grinning:.

I have PGE, so it should be possible to make it work :grinning:.

Best,
Marcin

The form is on the bottom of the page:

https://pgedystrybucja.pl/strefa-klienta/informacje-dla-konsumenta/zdalny-odczyt-na-wniosek-klienta

For hardware and software I have a question. What is that device on the ethernet cable with the pendrive on the left? Is that an Orange Pi or something similar? Then likely an RTLSDR would be a good option for you with wmbusmeters. As you have half of the hardware, if I guess right.

https://allegro.pl/listing?string=rtl%20sdr&order=p

If ESP based, then there is a topic about the WMBUS readers, a forum member builds them and sells them on OLX. But you can build your own as well, as the code is ESPHome based.

Again, developed by a forum member.

Otherwise, this is really then the topic for you:

That is a small router (I guess basen on open Wrt) that was used to run a LUA script to read the optical sensor and save it to the pendrive.

I am not Lua expert so I then made another script on my computer to copy that pendrive content to my home computer.

BTW. I don’t know the abreviations you use :frowning:

Which one?

Ok, so like a TP-Link TL-WR802N.

So, then the options are open for you, how do you want skin the cat…

ESP based - Using a small SOC board with an ESP chip, either ESP8266 or ESP32, usually just needs 5V through a USB-C or Micro port, all has Wifi for communication, or some option for Ethernet port. Look at this topic for some options which you can buy from OLX.

The other option is with RTL SDR (RTL is short for Realtek, the manufacturer of the mainly used chip in the device, SDR stands for software defined radio), it basically a radio receiver with software programable frequency settings and decoding. https://www.rtl-sdr.com/
You can use it to receive the W-MBUS (Wireless MBUS (Meter-Bus - Wikipedia)) messages from the meter and decode those with the WMBUSMETERS program.

Regarding ESPHome, you need to check out this, if you don’t know what it is. https://esphome.io/

Maybe the best option for you would be this one: Magic Reader ETH - czytnik liczników wody, gazu, prądu itp. HA ESPHome Gliwice Zatorze • OLX.pl

As you have ethernet next to the meter, and power as well, so you would basically read the meter from next to it, and transfer the data to Home Assistant on the ethernet cable. No issues with wifi or reading the wmbus messages from a distance.

Thank you very much!

So my plan is:
First apply for the MBus activation to PGE and get the decryption key.
Second I will order the device: Magic Reader ETH (I guess PoE version looks best for me).

Once I get it all I guess I will get back to you for some tips on how to get it working. Of course I would try to educate myself a bit :wink: (any additional sources are welcomed :slight_smile: ).

Thank you once more and best regards,
Marcin

First read the topics, which I linked, maybe ask some questions from the people in the other topic, how do they use the device and what issues you might can have. For some people the ESP based was not receiving all the messages, if the processor was overloaded, RTL SDRs were reading more. This can be an issue, I don’t know the status of that. The distance for receiving is perfect, as you can have the receiver just next to the meter, so no issue there.

PoE, if you have cable for PoE then it is the right choice, also you post a question to @Mariusz_Woszczyński, who builds these, and you can ask questions if is that the right one for you. But I guess, that is the right one.