One of my uses is for a mode switch activated by Alexa
I say âturn on night modeâ and the switch is turned on for 5 seconds.
I have a rule that if this switch turns on then activate my mode. (to get around the Mode Manager bug)
I use another one with a 90 minute time for a âboostâ to my heating
I turn it on and my heating is on for 90mins then automatically turns off.
When I have some compatible speakers I will use this to turn on a temporary âmuteâ switch for times when I donât want to have voice announcements. (but always forget to turn the mute off!)
I have used it extensively in ST for small period timers too
Sometimes you might want to use this virtual to control one or more other switches
I often use this little app to do this.
You can also reverse the operation of one or more switches..
I was looking to do something like this! In my case, I was wanting to create a virtual âtimed fan switchâ button/switch to complement my real âfan switchââsomething I could use to turn on the fan switch for a pre-set amount of time, like 15 minutes or so, then turn off. This looks like it could help with that, but it appears youâd still need a rule/app that would control the physical device based on this switch, and my wishlist for perfection also includes a âcancellationâ of the timer if the underlying physical switch is manipulated (e.g., if I started the âtimed switchâ but then turn the fan off manually and on again before the original timer is up).
Does anyone know if thereâs an app (or SmartApp I could port) that can help with this? In ST, Iâve done it a few different ways but donât know that I ever had a good solution for the second thing I mentioned. And really, the first didnât always work all that well either, since many times I found the original switch still on after the timed/virtual one was supposed to turn it off (cloud problems?).
If I turn the fan (or underlying ârealâ switch) off before the timer is up, nothing needs to necessarily happenâbut if I turn the fan back on before the âoriginalâ timer from the virtual switch is up, Iâd like to make sure that that timer gets cancelled. (I imagine that the virtual switch is still counting down the time and will blindly turn the other switch off when it that timer is up, regardless of what youâve done to the real switch in the meantime. If Iâm wrong, then it probably already does what I want, which is great!)
That looks like it could do it, but what does âpending cancellationâ mean? If the switch itâs configured to turn on/off is turned on/off by other means, will the timer/delay here be cancelled? (Thatâs what I want.) I guess I could test it and see.
How do I use your Virtual Switch Driver on a TP-Link wifi switch that already uses the "TP-Link Plug Switch driver" to install.
I'm a noob at this level but have been able to migrate my IRIS system to HE. My IRIS thermostats, Zwave switches and sensors, and wifi switches (all TP-Link)
I need your timer to actuate a pump that needs a momentary button push that triggers it and it automatically runs and shuts down on it's own once it is triggered. I use a powered timed switch to momentarily close a relay that closes the push button contact which starts the independently powered pump that has its own circuit board that runs the pump until hot water reaches the faucet. This setup worked with IRIS and I was able to set a 1 min timer in their app.
If I can get this to work I will have the whole IRIS system migrated and will start looking at getting my Lutron shades and Hunter Douglas shades connected if possible!
If you need to âlinkâ the virtual switch to a physical one, you can probably do that with rule machine or you can try my âone to manyâ app Http://hubitat.uk