@jens timeDecimal only works for time of day strings and thus cannot be used to calculate date offsets.
-
Date + 6 months
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Hi, okay.
I make the info with the chart- plugin!Thank you.
Pimatic, my hobby.
-
Hi Jens,
How did you make the gauges?
Or is that an iframe? In that case, how do you update them to see actual info?Thanks in advance
-
@lschip said in Date + 6 months:
How did you make the gauges?
Hi, he used a new plugin. https://forum.pimatic.org/topic/3908/new-plugin-pimatic-charts
Pimatic = Smart Home
-
Missed that, thanks.
Great new plugin… -
I do not see how this is solved. Can someone show the final expression set please?
-
@heizelmann said in Date + 6 months:
solved
Hi, this is my way.
I have 3 Variable in my system.
$wasserfilter $wasserfilter 2 $wasserdatum
and 2 Rules.
When Reset is pressed set $wasserfilter = 182 and set $wasserfilter2 = 1 and set $wasserdatum to $system-date.date When its after 0:00 hour set $wasserfilter to $wasserfilter - 1 and set $wasserfilter2 to $wasserfilter2 + 1
“182” is the half year.
A Variable Device with $wasserdatum and $wasserfilter and Gauge Device with $wasserfilter 2 and $wasserfilter show the information.
A Button Device with “confirm enabled” for set and reset funktion.Good night!
Pimatic, my hobby.
-
@jens Thanks for the reply. In your case it might be OK, but if Pimatic is off around midnight counts will be lost. I am still looking for a solution where I store the start date and calculate the elapsed time when ever is needed.
-
Hi,
with Linux know how find you a way.Grüße aus Dresden.
Pimatic, my hobby.
-
Unix scripts are not an alternative for native users.
I opened a feature request https://forum.pimatic.org/topic/4141/date-time-difference-expressions-and-calculation.