gruijter / com.gruijter.powerhour

Homey app to summarize power meters per hour, day and month
GNU General Public License v3.0
10 stars 13 forks source link

Missing 4 o'clock in the morning #153

Closed KentTage closed 9 months ago

KentTage commented 10 months ago

Hi!

I have set up an advanced flow that is triggered every hour (on the hour) with a 10 s delay. (When I ran the When card on the hour it seemed to not have updated to the new price yet.) I then check with a When flow-card "The price is one of 6 lowest in the 12 hours before 7 o'clock". I'm not entirely sure this is supposed to work since it requires that you keep yesterday's prices in addition to the next day's prices, but it is when my car is parked and when the price is usually the lowest, so I'm hoping that it should be possible. I trigger activation of my car charger if it is one of the lowest priced hours and if it is not, I turn off the charger. I have tested this, and it seems to normally trigger charging on the "correct" hours with a few incorrect decisions from time to time, but that could perhaps be due to changes in the exchange rate.

I have one problem and two questions with this:

KentTage commented 10 months ago

A screenshot of my flow: Charging

stefan-schweiger commented 10 months ago

Maybe this is also affected by this bug https://github.com/gruijter/com.gruijter.powerhour/pull/154 at least the "with a few incorrect decisions from time to time" seems like it's related

gruijter commented 9 months ago

closing. please reopen if it is still an issue.