Page 1 of 1

HomeSeer dimmers / CentralScene based assosication

Posted: 16 Sep 2016 00:44
by i8beef
Hey, just playing with one of these now, and was wondering if anyone knows how to get the central scene based association working with HomeSeer dimmers and ZWay? And if not, is there a way to jack up the polling speed?

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 19 Sep 2016 17:59
by i8beef
I'm guessing by the resounding silence, that the answer here is no, this isn't supported right now? I know the central scene based instant status stuff is new, so that's ok if it's the case.

Does anyone then have any idea how I might utilize one of the other modules, or write a module, that will handle this? I'd be happy with "button push triggers poll after three seconds" (to let the dimmer ramp up or down first) if there's no easy way to get the value passed by central scene. I've poked at a few of the modules but I don't see any that would let me trigger a poll like this...

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 23 Sep 2016 19:28
by PoltoS
Hello!

One you enable Trap Events module, it will create virtual devices on each event from Central Scene CC. You can then use these virtual devices in your rules.

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 25 Sep 2016 19:39
by i8beef
Yes, I have the virtual devices, but what do I then use make it do the following:

1. Wait for 5 seconds
2. Update the device state

I haven't been able to figure out how to do that part.

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 26 Sep 2016 08:55
by PoltoS
You can use it in If-Then or LogicalRules module

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 27 Sep 2016 00:37
by i8beef
Yes, but like I said, none of the modules I've seen seem to support the next step, which is triggering an update poll after a few seconds. I'm happy to write a module that does that... is there a good place to look to start a new module?

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 27 Sep 2016 11:59
by pz1

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 30 Sep 2016 08:19
by i8beef
Ok, so I realized I was about to pretty much duplicate the If-Then module, so I forked the original and added the functionality there instead. It adds an option for someone to trigger a POLL on the device after a designated delay instead of just setting a static value. Pull request submitted.

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 03 Oct 2016 00:20
by PoltoS
Thanks. We will check it and decide if we merge it in trunk or suggest a separate module

Re: HomeSeer dimmers / CentralScene based assosication

Posted: 11 Dec 2016 21:00
by jswim788
Is there any way to distinguish the keyAttribute on the virtual device? I can see that a single, double or triple tap on the dimmer is changing this value, but I can't find a way to use this. The virtual device only seems to get an 'on' message.

Code: Select all

[2016-12-10 19:14:14.088] [D] [zway] RECEIVED: ( 01 0B 00 04 00 09 05 5B 03 13 03 01 B5 )
[2016-12-10 19:14:14.088] [D] [zway] SENT ACK
[2016-12-10 19:14:14.088] [D] [zway] SETDATA controller.data.incomingPacket.nodeId = 9 (0x00000009)
[2016-12-10 19:14:14.088] [D] [zway] SETDATA controller.data.incomingPacket.frameType = "singlecast"
[2016-12-10 19:14:14.088] [D] [zway] SETDATA controller.data.incomingPacket = **********
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.9.data.lastReceived = 0 (0x00000000)
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.9.instances.0.commandClasses.91.data.sequence = **********
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcNodeId = 9 (0x00000009)
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.srcInstanceId = 0 (0x00000000)
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.keyAttribute = 3 (0x00000003)
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.1.instances.0.commandClasses.91.data.currentScene = 1 (0x00000001)
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.9.instances.0.commandClasses.91.data.keyAttribute = 3 (0x00000003)
[2016-12-10 19:14:14.088] [D] [zway] SETDATA devices.9.instances.0.commandClasses.91.data.currentScene = 1 (0x00000001)
[2016-12-10 19:14:14.106] [I] [core] Notification: device-info (device-OnOff): {"dev":" (9.0.0.1) Button","l":"on"}