Hi,
I want to display the shut off time of a device.
I have in the script a timer, but how do i calculate the shut off time
It should somethng like : ostime()+ timer = new time
for example shut off command at 13:00 hr with timer 15 minutes should display 13:15 hr
calculate current time + timer
Moderator: leecollings
- madpatrick
- Posts: 761
- Joined: Monday 26 December 2016 12:17
- Target OS: Linux
- Domoticz version: 2025.2
- Location: Netherlands
- Contact:
calculate current time + timer
-= HP server GEN11 =- ZwaveJS-=- Domoticz v2025.2 -=- Dashticz =-
-= Checkout https://github.com/MadPatrick for the plugins =-
-= Checkout https://github.com/MadPatrick for the plugins =-
Who is online
Users browsing this forum: No registered users and 1 guest