Thanks a lot for your notes here!
My two cents on the SmartMeterGateWay (some of the info gotten from the provider OB-Netz):
connecting over HAN with user:pass works only AFTER your network electricity provider updated those in the SMGW from remote
my SMGW (PPC brand) has always the IP address 192.168.1.200/24 and there is no way to change it or convince it to get a different address over DHCP
in my case the connection is https (port 443) with authentication (user and pass) and a self-signed certificate (so you have to click the corresponding exception in your browser)
the SMGW fetches and records consumption values every 15 minutes ONLY
the recorded values are sent once a day to the electricity provider
This Trudi Manual (in German) describes how to setup an additional IP on your computer to be able to connect to the SMGW:
AFAIK, your PC/RasPi must be connected directly to the SMGW or at least to the same network switch - otherwise you need to do some bridging tricks in your network (unless your whole network has addresses like 192.168.1.xx).
After connecting the SMGW shows some internal web portal with the consumption values that it sends periodically to the provider.
The same values can be fetched by python scripts like this:
or the node-red module linked somewhere above.
If you have the user and pass, you can also install Trudi and read that data.
But those are never current consumption values! They are taken every 15 minutes and stay unchanged for 15 minutes until the next reading.
So in my case, there is no chance to actually read accurate consumption values from SMGW, like every minutes
Iāll have to go back to the IR interface of the electricity meter.
Dear all,
I am also at OB Netz, would get a PPC Smart Meter Module and I was hoping I could use the HomeWizard P1. @CM000n and @oli3000, there is no hope that this would work?
Hmm. The HomeWizard P1 Meter is advertised with compatibility in Austria, not only Norway.
Regarding technical norms, the Austrians usually copy German standards, so I am a bit surprised. Plus, it is a Dutch company.
So it is for sure that the P1 Meter follows the Norwegian standard not working in Germany? Or do we have a misunderstanding with the Pow-U (which is indeed Norwegian)?
At the time I last contacted the developer, Austria was not yet listed.
Why donāt you write to him? I received a response very quickly back then. There may be new information in the meantime.
Iām not in a position to tell you anything about it. I am not an expert
I think if you can spare 60ā¬ (690 Swedish kronor), you can definitely give it a try.
Why donāt you also write to the shop operator here to see if there are any experiences? According to the discussion, they seem to work at least for some people in Germany.
For my part, I have been reading the data via the SML interface with an ESP for some time now. This has worked perfectly so far, so I wonāt be making any more attempts via the HAN port in the near future.
I am trying to get an overview of the various interfaces used on Smart Energy Meters in Europe, and stumbled over this thread about the German solution.
I have studied various very helpful documents linked in this thread, but have a question:
A Smart Meter Gateway (SMGW) is described, but from photos it does not seem to be a smart meter.
Questions
Does a German installation consist of two physical devices: Smart meter + SMGW?
If so: Are those two physically connected by cable?
If I understand correctly, the user port (āHAN portā) is on the SMGW and not on the Smart meter?
Yes
In addition, there usually is an IR-Port on the SM. I am using only this IR-Port for the HA-Integration. IF HAN would be supported and easy to integrate - next little project
From my pov this is the most common (but not the only) combination. However, each local line system operator has its own approach. In my case with an external LTE-Modem on the meter cabinet.
Thank you so much for your rapid clarification, your photo is very useful!
There is just one point still unclear to me: Will the grid company always install the SMGW when the Smart Meter is installed, or is that something the user must pay for in addition?
Apparently there is now an Ethernet port marked āHANā on your installation where data can be read, but you have chosen to use the optical port. Can you elaborate on why?
This is (as always) very complex in Germany.
There is a rollout plan for smart meters and basically the strategy of replacing all old meters. Whether an SMGW is also installed in private / small systems depends, among other things, on whether there is feed-in and how large the solar generator is. Even when using time-variable electricity tariffs (tibber, avattar), an SMGW is always installed. However, each grid operator (maybe >30 in total) has its own strategy. This also applies to the online connection of the SMGW. LTE, WLAN, LoRaWAN, powerline etc.
I use the IR interface of the SM because I already had the hardware for it, including HA integration, and the HAN interface is not easy to read and integrate. You can actually find all the information about this in the previous posts.
Fully understandable decision when you already had the IR system running!
To explain the background for my questions:
I represent a company that has developed and sells Smart meter reader devices in a number of countries, see https://amsleser.no. (Weāre mentioned earlier in this thread, @CM000n must have been in contact with me last year.)
As Germany has (finally, as one of the last in Europe) decided on general Smart Meter rollout, we want to understand whether the German market could be of interest for us - and how the technical solutions work. The general trend is that smaller countries adhere to one or more standard solutions, while the larger countries (Germany, France, Italy, UK, Spain?) establish their own interfaces and solutions.
An other trend is that Smart home systems with PV installations and car chargers have an interest in knowing the instantaneous power, current and voltage, for instance to do automatic load balancing. And the logical way to get that information is to read the user port of the Smart energy meter. The diversity of Smart meter user port interfaces in Europe is a challenge for companies developing such solutions.
āAnd the logical way to get that information is to read the user port of the Smart energy meter.ā
Nice to read this - after struggling two years with different meters and integrations for Kostal solar inverter, Victron battery inverter and OpenWB wallbox. But now itĀ“s running with only the Kostal Smart Energy Meter.
Looking forward for doing all this only by the SM or SMGW via HAN
There is still a lot to do (Especially documentation) but I would be happy if you could give it a try.
During testing I broke the HAN port multiple times by apparently filling the logs with entries until the GW ran out of space after which only my energy distributor was able to reboot it. I found an interval of >15 minutes to work good enough - I still have to figure out how to have a final data refresh at the end of the hour.
The house I am living in has ethernet cables for each flat to the meters.
During the installation I simply asked the electrician to expose the ethernet port of my flat and connected the HAN port to it.
Network wise I have put the SMGW into its own VLAN. As the SMGW is not reachable outside of its own configured IP range I wrote a small reverse proxy so that I can reach it.
For my electricity distributor (Stromnetz Berlin) the default IP is 192.168.178.200. According to their support they wonāt change the IP or turn on DHCP for easier integration.
Apart from that the default IP coming from PPC would be 192.168.1.200
I also was āgrantedā a Smart Meter incl. a dedicated Smart Meter Gateway (SMGW) by PPC (the one that is used by the TO) today and immediately started fiddling around with the HAN-port. The location is Germany and the username / password for HAN was set using the web portal of my network provider.
The HAN Web UI can be accessed using https://192.168.1.200/cgi-bin/hanservice.cgi using username and password. The result is HTML and communication is session based. No REST, no JSON. I think, there is a more structured variant available, as the āofficialā Software TRUDI can read and visualize more data than exposed by the WebUI.
However, while TRUDI is Open Source, the device specific communication server seem to be closed-source.
I got this week our Smart Meter Gateway (SMGW): Theben Smart Energy Connexa 3.0. I did not get any documentation from my energy provide yet. I found a manual online, on the website of the manufacturer here.
I will contact my provider and request the credentials. Meanwhile i would like to check, if the SMGW ist available at 192.169.1.200. I have simply changed the subnet mask in my FirtzBox from 255.255.255.0 to 255.255.254.0. Now I can access devices from and to the two subnets 192.168.0.xx and 192.168.1.xx without any restrictions (Have tested that with another device).
My question: Does your SMGW answer on a ping? Or is the ping deactivated on the device?