Dummy device type timer

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
harrykausl
Posts: 177
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Dummy device type timer

Post by harrykausl »

I have a lot of dummy-switches which work as timers. For example I open a window and switch the dummy-switch on (lua), it has a specific off after some minutes. When it runs off, I send a message, that the window is still open. It would be nice, to have a specific kind of dummy-timer switches, the only propertiy would be the timeoffset. It would be more nice, if the resting time would be shown on the device. Still more better, if this devices would be virtual devices, which could be created via lua and deleted via lua. So when window opens, I would create the timer and when it closes, I would delete it. In this case, we would need another property (what to do when ends). The advantge would be, that I have not a switch for every window but only for the open windows.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Dummy device type timer

Post by waltervl »

You could use Dzvents scripting for this. The only thing is that the resting time cannot be shown but you could use a text device for this that shown countdown for all the open windows.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest