SMGW binding [4.0.0;5.0.0)

This integrates SMGW smart meter gateways with openhab.

Changelog

2023-12-07

  • Initial contribution

2023-12-11

  • Add REFRESH handling
  • Improve initialization & default values
  • Documentation

Resources

*** inluded in distribution ***

3 Likes

Hey Jan,

this seems to be an interesting binding. What if I have a smart meter that is has multiple measurement points? Will there be a channel provided for every measurement?

Thanks in advance for your time and answer :slight_smile:

Best Regards Marcel

A potentially silly question (I don’t own any smart meter), but according to the docs the only value I can retrieve is the counter, updated no sooner than every 15mins.
So does that really mean that despite the SMGW is connected to the meter, and the meter knows current feed-in, and the SMGW even has an HAN ethernet port only for that, I cannot retrieve the current value for power?

If so, who the heck designs such a system and why? (sorry, rhetoric question)

Maybe you have to ask PPA why they designed it that way :slight_smile:

The binding parses the web-interface because there is no (public) API available to directly interact with the gateway.

I have read somewhere (but can’t find it at the moment) that your grid operator (or whoever operates the gateway) should be able to configure smaller intervals, but 15 min is the default and the user can’t change that.

I think faster than 15 minutes is not possible due to data protection.
This would be way too slow for load balancing in the house for wallboxes.

It should be easy to have a 1min interval and a 15min interval and only transmit the latter to the outside. It would even be possible to have an API on the HAN interface that allows querying the current power.

But even 1 min would be too slow. For load management I think you need less than 10s.

My energy meter pushes every 2s over IR all values.

For an API based query 2s or 5s should not be an issue, but the integrated web server of the SMGW is very slow, so the current way of parsing the website and traversing through the menus until we get the desired value will not allow that.

Actually we need an API for the HAN interface, but I guess there is no.