version 0.3.0 released 2018-04-12
- provided possibility to calculate the difference between two dates/times
New plugin [pimatic-datetime]
version 0.3.0 released 2018-04-12
Hi, nice plugin. It is a pity that this has been forgotten. This would be enough and not just for work with time and date.
Pimatic = Smart Home
@saxnpaule said in New plugin [pimatic-datetime]:
Have a look here: https://forum.pimatic.org/topic/4141/date-time-difference-expressions-and-calculation/14
Yes, I’ve already seen it.
My proposed solution, 2 years ago, allows much wider use than just date diff. And without Pimatic core modification. Without another plugin and many unused variables.
http://www.fresse.org/dateutils/
Not to mention the possibility to use many other programs/utilities/scripts (ls, ps, cat, jq and so on).
Pimatic = Smart Home
I have a slight problem which might be a bug in the system. The rule
when every 10 minutes then set $woliSpeech to “$myTimeDateDevice.time”
delivers 21:09, 21:19,… instead of the expected 21:10, 21:20 …
Same with other conditions like
when every 1 hour…
Always one minute to less.
Well, another candidate for a workaround. I use now
when every 10 minutes then set $woliSpeech to “$myTimeDateDevice.time” after 10 seconds
Not fine, but it works.