That DTH has the double tap exposed as button 1 and 2 so if button 1 is pressed (=double tap on) turn on hue lights or if button 2 is pressed (=double tap off) turn off hue lights.
From DTH:
* Button Mappings:
*
* ACTION BUTTON# BUTTON ACTION
* Double-Tap Up 1 pressed
* Double-Tap Down 2 pressed
*
How do i differentiate between a single tap and a double tap? I need the single tap to control the ādumbā lights in the room, and the double tap to control the Hue lights in the room.
I have created a virtual switch that starts a Scene (basically sets a light to a particular color). This works fine, but nothing happens when I turn the virtual switch off. This is because while I was prompted for the On action, having set that side of things up, I canāt find out where and how to add the Off action lol. This is an app usage question. How do I define the Off action of a virtual switch, in either the mobile interface or on the Web UI?
A scene is a āpoint in timeā setting of multiple devices. A scene could have certain lights on, others off, dimmers set to specific levels.
So thereās no such thing as turning a scene off.
You can create a different scene to be activated when you turn the virtual switch off.
You didnāt mention how you created the automation to activate your scene. The Smart Lighting SmartApp can activate a scene (among other things) when you turn a real or virtual switch off.
Ok I worked out my problem was I was using a year old instructions - the newest I could find. But a year is a long time in the world of smart technology. Iād been told to set it up using the classic app. I was going around in circles in the UI not being able to see what to tap or swipe to attach any automation to the off action, only on. I understand the logical principles that you canāt turn a scene off without defining what the off state means, but I could not find any actual UI element to allow me to attach an off action. Eventually I discovered by trial and error that in fact it can be done in the new app now, and that was a very straightforward process.
I have followed these steps however in the app i get the ācannot connect to the deviceā error. on the web it appears to be online but in the ios app it is offline
I you want just a virtual switch, then thereās a smartapp for creating those called Virtual Device Creator in the Marketplace. Use Classic to get to it, and then the new app can use it. For just a normal virtual on/off switch or dimmer, this is what I use.
Via the Classic app, go to the Marketplace, then tap on the SmartApp tab, and then ā+ Moreā, and then all the way at the bottom of the list you will find Virtual Device Creator.
I noticed that virtual switches created with Virtual Device Creator are ālocalā. This means I can use one in Smart Lighting and keep the whole automation local.
Hi guys. I just created a virtual switch through the IDE and Iām trying to use it in webcore but it wonāt show up in the actions sections. Why is that?