Pre-install question: Is there a provision for having more than one of a given device type (e.g. 5 switches in same instance)? Similar to how, say, Virtual Button driver lets you adjust the number of buttons. This could be extremely helpful for certain dashboard setups, where multiple tiles are linked to different attributes of the same host device.
I'm new to HE and have a couple dozen Zigbee units around the house. But I'd like to automate my pool light. I was going to install an additional switch on that circuit but have problems with that.
Yesterday I got an Amazon Fire tablet to use as a dashboard and noticed that somehow, it had become aware of my iAqualink pool controller! It looks like Alexa has added it as a Skill with a bunch of buttons to control the pool!
This virtual switch sounds like what I need to implement the pool into HE, but I'm really confused. I installed your Lite version, and I see that when I add a virtual switch to HE it appears as the Type. But now I'm stuck. How do I connect this virtual switch to an Alexa switch embedded in its Skill for the iAqualink?
I saw your note to "enable the Contact or Motion Sensor functions in the preferences" but I can't find that setting in my Alexa app on my phone. Could someone please list the steps needed to actually implement this virtual switch to control an Alexa device? Thanks in advance!
In your Virtual Device Driver turn on sensor option.
Then creat an Alexa rutine trigered by your new virtual device as a sensor.
Now when you turn on your divece it will report open sensor and the sensor will triger an Alexa routine
This is awesome! I can’t believe I just found it. I do have one odd thing. I’m using only the Smoke Detector, but in HomeKit the battery level shows up as 0 and as a Leak detector. Any idea why or how I can change it?
I've been using udth lite for several years as a virtual contact sensor with auto off to trigger an Alexa routine. For some reason, in the last week, it is no longer triggering the routine in Alexa. My work around is a Hubitat virtual contact sensor and a rule machine rule to auto close after one minute. Not sure if this is a result of a Hubitat update, I'm on beta 2.5.2.109. If I manually cycle the virtual contact sensor in the Alexa app the routine runs as expected.
Yes, beta software is known to break things. That is why it’s only released to a small subset of users. It’s also a good opportunity to fix bugs before they are released to a wider audience. I would collect all the necessary logs and do a bug report in the beta thread so the issue can be identified and fixed before it goes to general availability. you can also try rolling back to previous 2.5.2 beta to see if the issue goes away or back to GA code.
Not a rabbit hole I have time to go down at the moment. I've shared the info here and noted that it is not an Alexa issue. The built-in virtual contact sensor works. A simple rule enables auto close.
FWIW, I'm not able to replicate any problems with this driver (using switch on/off with "Contact" enabled) in 2.5.2, nor do I see any code offhand in the driver that looks like it might have been affected by the tightening in 2.5.1 (the more likely suspect without knowing anything about the actual problem). It would be good to narrow down whether this is a problem with the driver or something else at a minimum, but all I tell from this is that it's likely "something else."
Logs, events, and other troubleshooting will, of course, reveal more about anyone's particular case if problems continue for them.
I am... please see
ea
If you believe there is a problem with this driver, I'd leave the Alexa skill out of the picture and provide specific steps to replicate the problem with the driver, as well as spelling out what that problem is. (The problem with Alexa, as I mentioned there, is that the "motion" attribute is null, and you appear to be using this driver for at least one such device, but a platform upgrade would not have taken this away if it was already populated; the Alexa skill just got picker about logging when something it's looking for isn't. It is possible something could be affecting newly created devices that I wasn't able to replicate with my quick test above, so knowing what the steps are and where the problem actually is should help figure out a resolution.)
Logs, of course, will be particularly helpful, especially if there are any driver errors. ![]()
Did you resolve this issue as I am having the same issue as well. I am not sure when the virtual device quit triggering the routine but it is no longer working. I use the udth Lite as well. I am on 2.5.2.109 on a C7 hub. I can see the virtual device change in Alexa app but it no longer triggers the routine. There must have been a change in the Alexa app possibly.
I switched to the built-in virtual contact sensor. Solved my issue. See my solution here. I can post a copy of that when I'm home later today.
I updated to the latest version this morning and my virtual devices are now triggering the Alexa routines. At some point I may go down that path of the Virtual Contact Sensor but for now all is working again.
I have 2 outside light, 1 is a lamppost voice the other is a wall light voice the wall light only works with a virtual contact, ohe other only works with the uDTH, whats going on??????????