Piston Not Being Triggered


#1

Not sure if this is the right place for WebCore questions when running on Hubitat but will post here and see if I get an answer.

Have Zooz ZEN32 Scene Controller (“Basement Scene” or “Switch 10” in copy of piston) and using the big button which is button 5. I have a piston that tries to use pushed, held, and released events from that button of the scene controller as you can see in the copy of the piston below. Here is a copy of the events I set up for testing this piston:

You can see that I pressed button 5 (which turned on the switch for that device), then double-clicked it, then held it for about 3 seconds before releasing it. All of those events are captured by the log.

But the only time the piston triggers is for the double-tap. Am I doing something wrong or is there something about the ZEN32 device which doesn’t allow those attributes to be subscribed to. I should say that I have successfully used the switch state of the ZEN32 for some pistons but don’t have it in this piston.

Here is the piston log:
1/1/2024, 1:46:41 PM +680ms
+3ms ╔Received event [Basement Scene].doubleTapped = 5 with a delay of 29ms, canQueue: true, calledMyself: false
+70ms ║RunTime initialize > 69 LockT > 1ms > r9T > 55ms > pistonT > 53ms (first state access 9 m:13 5 64)
+74ms ║Runtime (13764 bytes) initialized in 55ms (v0.3.114.20231008_HE)
+76ms ║╔Execution stage started
+83ms ║║Comparison (integer) 5 gets (integer) 5 = true (0ms)
+85ms ║║Condition #2 evaluated true (6ms)
+87ms ║║Condition group #1 evaluated true (condition changed) (8ms)
+102ms ║║Comparison (enum) off is (enum) on = false (1ms)
+104ms ║║Condition #4 evaluated false (16ms)
+107ms ║║Condition group #3 evaluated false (condition changed) (18ms)
+139ms ║║Executed device command [Family Room Main].off() (25ms)
+139ms ║║Executed virtual command [Family Room Main].setSwitch (27ms)
+145ms ║║Comparison gets = false (event device/attr eXcluded)
+146ms ║║Condition #10 evaluated false (4ms)
+147ms ║║Condition group #9 evaluated false (condition did not change) (5ms)
+152ms ║║Comparison gets = false (event device/attr eXcluded)
+153ms ║║Condition #23 evaluated false (4ms)
+154ms ║║Condition group #22 evaluated false (condition did not change) (6ms)
+159ms ║║Comparison gets = false (event device/attr eXcluded)
+160ms ║║Condition #28 evaluated false (4ms)
+162ms ║║Condition group #27 evaluated false (condition did not change) (6ms)
+165ms ║╚Execution stage complete. (90ms)
+173ms ╚Event processed successfully (170ms)
1/1/2024, 1:45:50 PM +906ms
+4ms ╔Starting piston… (v0.3.114.20231008_HE)
+17ms ║╔Subscribing to devices…
+122ms ║║Device missing from piston. Loading all from parent (101ms)
+123ms ║║Attempting Attribute doubleTapped value [5] subscription for device: Basement Scene
+135ms ║║Attempting Attribute held value [5] subscription for device: Backdoor Scene
+152ms ║║Attempting Attribute released value [5] subscription for device: Backdoor Scene
+159ms ║║Attempting Attribute pushed value [5] subscription for device: Backdoor Scene
+162ms ║║Subscribing to Basement Scene.doubleTapped.5…
+178ms ║║SKIPPING sub: :5323ec41762ae70397679b1ffe350335:switch
+179ms ║║SKIPPING sub: :23d61524837a6b2934ec2783ee3e87f4:switch
+181ms ║║Subscribing to Backdoor Scene.held.5…
+188ms ║║Subscribing to Backdoor Scene.released.5…
+195ms ║║Subscribing to Backdoor Scene.pushed.5…
+204ms ║║Piston utilizes Family Room North [switch]…
+205ms ║║Piston utilizes Family Room Main [switch, level]…
+223ms ║╚Finished subscribing (215ms)
+232ms ║Subscribing to 12205-85th-Ave.pistonID…(:12b4f2c3efce23981fba8df3e29e4fc1:)
+240ms ║Subscribing to 12205-85th-Ave.oldpistonID…(:05779f22abad21b8ea747e9f03cc5c72:)
+252ms ║Comparison gets = false (event device/attr eXcluded)
+257ms ║Comparison (enum) on is (enum) on = true (1ms)
+264ms ║Comparison gets = false (event device/attr eXcluded)
+269ms ║Comparison (string) is (string) down = false (1ms)
+275ms ║Comparison gets = false (event device/attr eXcluded)
+281ms ║Comparison gets = false (event device/attr eXcluded)
+306ms ╚Piston started (302ms)


#2

Also, I just realized that I have used button 5 pushed in the Basic Button Controller before and it worked for that app. But it is not being seen in WebCore.


#3

you should show the piston in use. It appears that you are missing devices from the logs of subscriptions being skipped. It is not clear that what you posted, is what is being used with your devices.


#4

Check my response in the Hubitat forum.


#5

Thanks again @Pantheon. I really helps to use the right device!