deep in my mind i have the view that ist is possoble to Enter/Change a time value with setpoint. Idea is to have a setpoint that increases oder decreases a time value maybe by 15 minutes and this should be displayes linke: 12:30
Hi
Did you implement the set time as descripted above? I think thats a good idea.
Can you post possibly an example of the implementation?
That would be very nice, thanks
In BasicUI, this works fine. But unfortunately, in the iOS app the transformation on a Setpoint item doesn’t work: it just shows you the number instead of the time (hh:mm). Related issue that is already reported for that is:
Thanks!
Though I have no immediate use for it, I entered it in my OH anyway, just in case I need it.
I saw that in the android app, it works fine, albeit that the “choice wheel” shows the untransformed numbers, the outcome though shows time formatted numbers.
Not sure how easy it is to use it as a specific time, but I’ ll cross that bridge when I get there. For now, a big thanks
First, you would have to decide when to run your rule.
A more efficient approach is to run a completely different kind of rule, when your test Item changes, perhaps also at each midnight etc. That rule can calculate when you want the thing to happen, and set up a timer for that target time.
I know all code:
rule “test”
when Time cron “0 */5 * ? * *” // Every 5 minutes
then
if (now.getHourOfDay()==Testclock.state)
{
sendBroadcastNotification(“działa!”)
}
end