How to update am Item of DateTime type?

Found a workable solution, you can also peak behind to see the code.

Decided to start over from basics and follow this:
https://www.openhab.org/docs/tutorial/rules_advanced.html

Was going to Administration → Settings → Add-Ons-> Automation to install this:
https://www.openhab.org/addons/automation/jsscripting/

However discovered a DateTime Block library

Which allowed me to do this:
image

1 Like