@jason-lane just re tested my new one and it does use V3 but the only time it is was null is if you don't click save so the states don't populate (may need to see if i can do something about that so it does it on the install). But that's even more odd that my one worked even without your fix? the important thing is it still works with though
Hi @BorrisTheCat. I just wanted to say that the new version seems to be working fine for me. Thanks again for your work! Sorry that I went AWOL for a bit. Things just got really busy for me
Has anyone managed to get a "motion" child sensor working OK with this driver?
I have a normally closed PIR on input 1, but in the logs it shows the "motion" state is not reset to "inactive" until a subsequent event arrives:
name
value
description
source
type
timestamp
contact
closed
IP1 has closeded
DEVICE
physical
2019-10-26 17:36:09.816
motion
active
IP1 has become active
DEVICE
physical
2019-10-26 17:36:09.814
contact
open
IP1 has opened
DEVICE
physical
2019-10-26 17:36:06.604
motion
inactive
IP1 has become inactive
DEVICE
physical
2019-10-26 17:36:06.603
contact
closed
IP1 has closeded
DEVICE
physical
2019-10-26 17:34:41.109
motion
active
IP1 has become active
DEVICE
physical
2019-10-26 17:34:41.108
contact
open
IP1 has opened
DEVICE
physical
2019-10-26 17:34:37.943
Starting from the bottom of the table, you can see the NC contact being detected as "open" and then "motion" being set to "active", which is correct. The "contact" is then correctly reported as "closed" when the PIR restores its NC circuit, but "motion" remains "active" for several more minutes, requiring the arrival of the another "contact" "open" event before it momentarily becomes inactive.
The net result is once the NC is opened for the first time, "motion" always remains "active".
I have tried the driver both with "Auto inactive" as 15 seconds (above log) and ASAP.
Here are the corresponding events for the PIR child device. As per the earlier report, the "motion" state is not set to "inactive" until the arrival of a subsequent "contact" "open" event:
@Kulfsson
need to move the discussion to here I will try and get a moderator to move it to not mess up the other thread. @bobbyD is this something you can do?
there was some z-wave changes in the previous build that messed up the setting of some z-wave drivers so that's why it stopped working. You don't need to remove the parent just have to delete and recreate the child devices. probably best to swap the rules with virtual devices 1st then do the main device and move them over.
This device is now supported directly by HE and is working well for me. Due to the platform changes breaking the driver above I sent one to HE so that it could be done.
Your will need to clean your device up before you swap drivers though. To do this I have a little clean driver that your need to convert it to 1st. It's in my GitHub repo on the 1st post.
This breakes all of your apps connected to the devices, so before you do anything your need to remove the child devices from them before you have the devices deleted. Then once the new driver creates the new devices you can put them all back. You do not need to exclude the main device from the system it's just the driver and child devices that you are swapping around.
I'm struggling with this one. I have 4 UBSs (3 of which are still on smartthings).
I removed and reset one of them, which is currently connected to a RFID keypad which I use with it's NO/NC connection to 'dumbly' arm/disarm smartthings SHM.
I'm using the 'native' driver now on hubitat, but I can't seem to figure out a way to have the UBS react to any changes from the keypad (still connected to in1/in2).
your telling the driver your not "using" the contacts you need to select normally closed or normal open or momentary depending on what you want it to do. it will then create child devices for you that will show their state.
yeah, I tried already. it was used to monitor the status of a voltage-free connection on the keypad. don't recall which way, but hitting the pad with a RFID temporarily opened the NC circuit. Or maybe the other way round, don't recall.
Any idea which switch type / device type to use to achieve that? I'm not getting anywhere fast.
that depends on what its triggering. The type in this case is just the event trigger so in my case i use contacts because they are connected doors and switches so that made sense. But if your trigger app or whatever needs a switch then select that.
if that's the case select switch (this is what i would do it makes more sense)
you would use return from away then have lets say the switch ON goes to away and when switch OFF return from away (which would go to the relevant mode depending on the time of day you have set)