[APP][Pro] Power by the Hour: Insights per hour, day, month and year

Hello,

I can download and install the PBTH APP in my Homey Pro. But when I want to create a flow I don’t see any flow map. Not with “if”, “and” and “then”. What am I doing wrong?
Please help.

Greetings Roelof

You first have to add one (or more) of the available devices, Roelof.

2 Likes

Thanks Peter,

I don’t know which device you mean. I installed the app “Power by the Hour” and drew a wrong conclusion yesterday. I don’t see any flow cards with the “If” and “and” but I do see them with the “Then”. In your image I do not recognize the devices that I should install in addition to the App. Do you have a link or example for me?

Thank you in advance!

I would llike to do something with the PBTH app, but I can’t figure it out. Maybe some of you could give me some suggestions, or it might even be a feature request. I’ve searched through this thread but I didn’t find a similar case. If there is, I’m sorry for not looking good enough.

My usecase:

  • I would like to calculate the max price spread “Y” for the known period “X” ahead. Maybe even for a certain period (Z).
  • So highest price -/- lowest price within the next “X” hours.
  • Where X could be a user variable but also be “known”
  • When price spread is larger than Y ct/kWh for at least Z hours → activate A
  • When price spread is lower than Y ct/kWh for at least Z hours → activate B
  • Where A and B are control settings on my Home Battery (or any other device on my Homey).

Why:

  • I have a Sessy Home Battery and would like to automatically change between EPEX charging/discharging or Imbalance trading through my Energy Supplier (Frank Energy).
  • Last couple of days/weeks the Imbalance trading is really marginal, while EPEX had price differences of up to 50-60 cents per kWh (25ct and 85ct on wednesday 6th of november for example).

The ROI cards within PBTH kind of does this, but it doesn’t have a negative output. So I can’t use it to switch.

Looking forward for some help/suggestions.

You have to add a device, like the way you install a sensor or anythingn else.

@Roelof_Bakker Did you already add a new device like Peter asked?
Add a new device, select the app Power by the Hour, select Power summerizer, add device like a smartplug,
Then there will be a new device from Power by the hour.

Thanks all! I now know what i have to do. The device is whitin the app, so an software device. Thanks for your help!

4 Likes

My apologies, I could’ve been clearer about that.
Glad to hear it’s solved.

2 Likes

I created a workaround to solve this. Where entering a larger number than 10 results in an error, doing so via a logic variable (in my case 24) it works as expected :slight_smile:

1 Like

Since 1-11 I have a new contract with Coolblue with the values ​​from the screenshot.

I also have a YouLess LS120P1 energy monitor. I have created 2 apps for electricity and gas via PBTH. The first thing I find strange is the fact that I can’t distinguish between Valley and Normal and apparently have to add the current.

After that, I find it complicated what exactly I have to enter in the Advanced Settings.

The screenshots are of the costs of the contract and the settings of the gas part. Power will come later.

Do you have any tips?

@Gruijter is there any reason why some flow cards only allow 1-16 as value? For example “Price becomes one of [1-16] lowest of today”. I basically want to do a flow which will set the heating temperature to 18°C if it’s one of the 3 highest, but to 22°C if it’s one 21 lowest prices today, which is not possible currently. And I get that I can use price ranks etc, but why not also just allow values from 1-23 for those other cards?

You can just put any value till 23 in. The showed values are not the fixed range, but an example. Try it out

You can invert any AND card…
Or you can use the ELSE function…

Standard flow functionality.

This is a WHEN card not a AND card, there is no inverting

Tried that but it gives me an “Invalid arguments.” error when saving

Just use the AND card version, and use the price hour changed as trigger.

The behavior has changed since the last update. I had to correct all flow cards when I wanted to edit a flow. Please have a look at my example above.

It did work before, but now it doesn’t.

Edit: this one [APP][Pro] Power by the Hour: Insights per hour, day, month and year - #2673 by TKroon

1 Like

I can also use the rank card, but is there any reason to not allow a larger range for this card?

Its mostly to manage expectations. Only about 8 hours of future prices can be guaranteed. 24 hours of known future prices is only available between 14 and 23 o’clock.

But if you insist of using a higher number; there is a workaround. Use a tag with the number you want in stead of directly typing in the number in the flowcard.

But this (and the reverse card) are only about prices for the current day, for which the full 24h range should be known