Thanks. I put 21% now in the first line and status indicator on price export. Now it works. The way I had it worked for allmost two years ![]()
Here also no gas prices for almost 13 days now with TTF Leba Easyenergy.
Same here, reported weeks ago but no change since PbtH update (test version) afterwards (= no gas price). I now use the Frank Energy app (Netherlands) which is providing the required information (also when you’re not their customer, like me). The price must be corrected, as a service fee is included in the ‘Price’ tariff, but that can be easily adjusted according your own energy supplier by a flow.
I’ve send the same price picture to whatsapp yesterday on 15:00 and 15:05 hour, en indeed, the prices are different. It was already noticed by @Gruijter , but to make it more clear:
Prices do get adjusted sometimes during the day by Entsoe. Check the entsoe transparency site for ‘the truth’ (well, sort of)
It could also be caused by discrepancies between market sources like entsoe and nordpool. Flip-flopping between different price providers is already automatically prevented by the latest version of PbtH, based on the market you select. Nordic countries will prefer Nordpool, others will prefer Entsoe. You can also manually force a provider from device settings.
What is ‘stekker’ and what is difference between ENTSOE and ENTSOE Gruijter?
For gas prices I tried all provider options, but for weeks no gas prices…
Gas I have to check (again… Price providers keep changing their API’s unfortunately)
ENTSOE is the official transparency platform. It is the source of all price data in EU, including nordic countries, except for special market situations (which happen quite a lot). The API is heavily rate limited, so if you want to use ENTSOE it is best to get your own API key. See ENTSOE INSTRUCTIONS how to apply for your own API key.
ENTSOE Gruijter is my own hosted price server, based on price pushes I get from ENTSOE directly. It has no rate limit and has almost immediate updates when prices change during the day (which happens quite a lot)
Nordpool also has the prices for most of EU, and is the ‘home’ market for Nordic countries. When ENTSOE and Nordpool disagree on prices (which happens often), the Nordic countries are best of using Nordpool. The rest of EU should believe ENTSOE as truth. For Nordpool an unofficial API is used, and usage should be limited to a minimum to prevent complete shutdown for Homey users.
STEKKER is used for price forecasting, and also has the ENTSOE prices when they are known. STEKKER is however less reliable for non-forecasted prices. Note that when you select ‘enable forecast’ the forecasted prices are always coming from stekker, independent of the price source for known prices.
So… It is quite a complex puzzle, especially when the providers do not agree on pricing. And only your energy provider knows what they ACTUALLY charge you, based on a para-science called BISTROMATHICS
Thanks for the explanation!
In my case the PbtH power prices do match 100% with the prices of my energy company (both on a 15 minutes base).
However, when using the PbtH ’Summarizers’, the € calculations never match the € my energy company charges on a daily basis.
Instead, I have recently created flows (unfortunately, I’m not familiar with Homey script) that basically calculates the 15-min usage (from P1) multiplied by the 15 min tariff (and same for returned kWh). This way, both the usage (kWh) and money charged by my energy company matches for 100% (2 decimals) with my flow-generated calculations. The difference with the PbtH calculations (which I think are incorrect somewhere, otherwise the same values should be reported; I’ve already explained a possible cause in this forum) is about € 0,10 - 0,30 daily, which is too much for me on a yearly basis.
Ok, will look into it
New version 8.9.1 ready for testing: https://homey.app/a/com.gruijter.powerhour/test/
- Change to new EEX API (GAS)
- Replace easyenergy with energyzero API (NL GAS)
- Fix price tag example
- Improve import/export price usage
- Improve battery strategy timimg
The API’s for GAS prices needed a full change. I managed to reverse engineer the new API again (a lot of work
) @Marcel_R please test.
@DaneedeKruyff Price example should work now. Was probably caused by Homey shortening the string. Please test.
@Marcel_R I went through the code, but could not really find a obvious cause for monetary discrepancies. I did however improve detection of when to use import vs export price. It is now primarily based on the kWh meter in stead of the W meter, and that is what power companies do as well. Please test if this solves the issue.
Since it’s not being updated anymore, I made a script that retrieves gas prices via the Enever website. The token is free for 240 requests. That works fine to keep the tariff updated. Why the app doesn’t pick it up, I have no idea.
Lucky is the gas price one price a day.
Is fortunately enough for 240 tokens.
Are you saying v8.9.1 doesnt fix gas price fetching for you?






