[Feature request] Logic as time in Energy Flowcards

I would love to have the ability to use logic in te “Time” parts of the Energiecard:

(Tijd - Dutch for Time)

This could give the ability use the current time and for example the time I need te car. As “aantal uur” (hours) can already be used with logics (hour needed to charge to full for example).

In Power by The Hour this is already possible, so I think it is an easy fix. I know I can use that app, but it doensn’t have this easyness to find the cheapest hours between given times.

1 Like

I think in that case you should ask the PbtH dev why PthH hasn’t got this ‘easyness’, or if he would consider adding it.

1 Like

You are right, and I also added a feature request there, but I also proceeded with this feature request, because this is a standard build-in card. And why would we stop making those better if that is a possibility?

Ah I see. I didn’t say to withdraw the feature request, as many other triggercards don’t accept tags or variables as well.
But this PbtH card does exactly the same, only the from [time] to [time] part, like
from 2AM to 8AM
is written as the x hours before [time], like
the 6 hours before 8AM
which is the same

I think it’s differs for everyone which one is considered the easier one.

Wow, now I understand these trigger cards. It’s before time xx instead of for xx period.

Sometimes trigger cards are interpreted differently by me.

1 Like

True! I get it, but to determine the X Hours before [TIME], there is some extra calculation needed. e.g.: [TIME] - Time now. And calculation with time is quite a challange. Hence my refference to easyness. Or do i see harder challanges ahead, that actually are pretty easy to solve?

The BetterLogicLibrary app has special cards and functions for handling time and dates.

1 Like

Epoche time makes life easier. There are several posts how to use it.

1 Like

I’m going to try this! Thanks for the advice!