-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Belgium (Fluvius) v1.7 datagrams: capacity tariff #69
Conversation
Interesting. I also see mention of a water meter in the document, but your meter doesn't seem to report that? Would be cool to expose a separate accessory for water consumption, similar to natural gas consumption. If I understand correctly:
How would you use this info? Would you actually want to check your invoice against historical peak values in HomeKit (and need for 1-0:1.6.0 and 0-0:98.1.0 to be exposed)? Would you want to set an automation or alarm when the peak value exceeds a threshold (which would probably too late, as you've exceeded the threshold)? Would set an automation or alarm when the current value comes close to a threshold (to prevent exceeding the threshold)? Would you simply use the history to analyse your usage pattern and change your behaviour? |
Are you sure you captured the telegram correctly? I get a CRC error trying to parse it? |
I'm happy to recapture it. I copy/pasted it and manually added the trailing
Correct, I was also surprised to read that in the document! Unfortunately, the reality is that 99% of Belgium doesn't yet have digital watermeters — I believe only Antwerp has a significant deployment, the rest only has pilots.
Indeed! Some day 😄
An additional characteristic sounds perfect! But note that Looking at the example on the last page of the document makes this more clear:
→ 2351 W is the current window's average consumption, and the peak for this month was 2589 W, at So I would propose Consumption Average Live + Consumption Peak, or Consumption Window + Consumption Window Peak. Or something along those lines 😊
No, the price per kWh is still charged based on The capacity tariff is an additional cost charged based on the peak capacity used, independent of how much you consume. IOW: you pay more if your usage requires a bigger pipe/thicker cables in the infrastructure! (In fact, they are legally forbidden from charging more for the distribution network infrastructure across the entire population. Say that they receive €1 billion/year pre-capacity tariff, then that's still going to be true today, it's just going to be charged differently. The rationale being: incentivize people to spread their load across the day, to reduce the need for expensive new infrastructure as the economy electrifies.)
It's simply "the last 15 minutes" — i.e. the last 15*60=900 seconds.
We don't need to do that: I think we could simply align it to the 10 minute windows that Eve uses? That'd mean that every
That's fine. I propose
👍 Sounds good!
These are the consumption peaks (the
Or in the telegram I provided, i.e. using my actual consumption:
Sorry for the delayed response — but obviously writing this took long! Looking forward to your thoughts! 😊 |
Oh, and here is a super short summary of how to interpret and act on those values from somebody who works at Fluvius! :) https://twitter.com/RubenPeene/status/1607322694294315008 |
Please do. I want to make sure that the checksum computation still works.
Ah, so it's a running average. Makes sense. I was put off track since "your" telegrams shows the historic values on 15-minute boundaries, but the example in Twitter shows random times.
It's power (W), not consumption (Wh). Unfortunately, Eve displays these as Current Consumption vs Total Consumption.
So, it's like connection costs (aansluitkosten)?
Indeed, we can show the running average over the last 15 minutes every 10 minutes. It won't add up to the total consumption, but it would be great for analysing your historical usage.
Not in the example on Twitter. Updated the parser to handle the new keys, combining
Not sure if it makes sense to expose the peaks to HomeKit, if we already create Eve history for the average power. |
- Bug fix: RangeError: The value of "value" is out of range. It must be >= -32768 and <= 32767. Received 41948 when history entry contains illegal value. Now invalid value is simply not reported to Eve and default has been changes to unsigned int16 (from signed int16). See ebaauw/homebridge-p1#70. - Add `averagePowerDelegate` parameter for Homebridge P1 support for capacity tariff in Flanders, see ebaauw/homebridge-p1#69. - Refactor consumption history (again...)
Here you go, several telegrams:
I know, it's very confusing. Hence my question here: https://twitter.com/wimleers/status/1624007742942855173. You can see in the PRs of other projects too that they're seeing values like mine.
We call them "netkosten" in Flanders. See https://www.vreg.be/nl/jaarafrekening for all aspects, but especially see the "netkosten" box. There's 3 kinds: i) distribution ("distributienettarieven") ii) transmission ("transmissietarieven") and iii) transport ("transporttarieven"). The changes that went into effect on January 1, 2023 (the "capacity tariff") is explained in a video here: https://www.vreg.be/nl/nieuwe-nettarieven. More concretely, the documented prices for 2023 tell me that in my region (Ghent → Imewo) it'll cost me:
Yes — this is perhaps what I'm most excited about 😄
Looking good!
I think that at least initially, just the history is more than enough! |
Looking good!
|
Mystery solved: the initial |
- Add accessory for Capacity tariff, see #69. - Simulate 1000W current consumption when using `telegram` for testing, - Add missing error reporting for `telegram` setting.
- Add accessory for Capacity tariff, see #69.
- Add accessory for Capacity tariff, see #69.
Could you try beta v1.3.3? It should create an additional Electricity Capacity accessory (and Water as well, when reported by the smart meter). Note that Eve history entries for Total Consumption contain average power in 0.1 W, but Eve computes and displays the consumption in Wh instead. In the day view, you see a column per hour, so the actual average power for that hour is the consumption value; in the hour view, you see a column per 10 minutes, so you need to multiple the consumption value by 6 to get the average power for those 10 minutes. |
Just installed it. I see |
Published v1.3.3. |
Hiya!
Thanks for this superb Homebridge plugin! 🤩 Especially love the Eve history support: it's far better than the dashboard that https://fluvius.be/ offers, because that will lag anything between 12 hours and 4 days 🙃
On January 1, the "capacity tariff" (capaciteitstarief) launched in Belgium. This added extra information to the P1 datagrams, which
homebridge-p1
does not know how to interpret:This is labeled version 1.7 of Belgium's DMSR implementation. See the official spec for details.
This PR provides a sample datagram — I'm happy to provide more if that's useful!
If you would like me to contribute the code to interpret and expose these values: I'm happy to help, but look to you for implementation guidance.
I also did some digging and found these PRs against other projects that may be helpful references: