CT/Color/lighting pistons causing chaos

Hello all, First time posting. Long time user.

I have been using WebCORE for about 2-3 years, since my smartthings days. When I switched to Hubitat everything seamlessly migrated over and worked beautifully.

Starting yesterday morning, after upgrading WebCORE through HPM and what appears to be a mirror of the official HE WebCORE integration, any lighting piston with color temp, color, or any lighting level has caused pure chaos on my smarthome.

My Kitchen lights are in a group of 5 bulbs, to which I use one piston to turn on and off the lights based on motion or lack there of. Works splendidly and without issue, but as soon as the lights turn on my automation piston, which is to set the level and CT for the mode the house is in causes absolute chaos. each light will turn on (from the first piston as indented) and then each light independently go into an on/off/on/off/on/off tailspin until it eventually stops with some of the lights on, and off. sometimes none at all.

I've attached images of the two pistons that control these lights, first the on/off piston which has no issues and working still, and secondly the automation piston which is causing issues. Below are the logs of what happens in the automation piston when this happens.

based on trial and tribulations in the past, It appears the piston might not be seeing the mode of the hub as this is kind of what happens if I trigger the lights to turn on in a mode that the piston thinks the lights should be off. example. If I allow the motion lights to turn on the lights at night, the automation will catch this and turn off all the lights, if motion is still active the automation will keep repeating itself until motion stops.

While I do create very complex pistons in WebCORE. I would still consider myself a novice user. I know the basics. If this happens do this. I am not familiar with variables and such. (just to give you context of experience)

1/15/2023, 10:13:52 AM +503ms
+2792ms ╔Stopping piston...
+2819ms ╚Piston stopped (26ms)
1/15/2023, 10:13:53 AM +691ms
+3ms ╔Received event [Kitchen Lights].switch = off with a delay of 2572ms, canQueue: false, calledMyself: true
+3ms ╚Piston is not active, aborting piston execution. (Paused) (1ms)
1/15/2023, 10:13:52 AM +804ms
+3ms ╔Received event [Kitchen Lights].switch = on with a delay of 263ms, canQueue: true, calledMyself: false
+4ms ╚Piston is not active, aborting piston execution. (Paused) (1ms)
1/15/2023, 10:13:51 AM +167ms
+11ms ╔Received event [Kitchen Lights].switch = off with a delay of 48ms, canQueue: true, calledMyself: false
+12ms ╚Event queued (10ms)
1/15/2023, 10:13:49 AM +236ms
+4ms ╔Received event [Kitchen Lights].switch = off with a delay of 1929ms, canQueue: false, calledMyself: true
+7ms ║RunTime initialize > 6 LockT > 0ms > r9T > 2ms > pistonT > 0ms (first state access 0 m:4 4 2)
+11ms ║Runtime (17270 bytes) initialized in 2ms (v0.3.114.20230113_HE)
+12ms ║╔Execution stage started
+19ms ║║Comparison (enum) :008beec930316fbd687f2b0b8deae734: changes = false (0ms)
+20ms ║║Condition #2 evaluated false (4ms)
+22ms ║║Condition group #1 evaluated false (condition did not change) (5ms)
+25ms ║║Comparison (enum) off changes_to (string) on = false (1ms)
+28ms ║║Condition #18 evaluated false (4ms)
+30ms ║║Condition group #17 evaluated false (condition changed) (6ms)
+33ms ║║Comparison (enum) off changes_to (string) off = true (0ms)
+36ms ║║Condition #31 evaluated true (4ms)
+37ms ║║Condition group #30 evaluated true (condition changed) (6ms)
+42ms ║║Command optimization: Skipped execution of device command [Kitchen Spot Light].off() because it would make no change to the device. (0ms)
+45ms ║║Command optimization: Skipped execution of device command [Kitchen Under Cabinet Lighting].off() because it would make no change to the device. (1ms)
+49ms ║║Comparison (enum) off is (string) on = false (0ms)
+51ms ║║Condition #35 evaluated false (4ms)
+53ms ║║Comparison (enum) off changes_to (string) off = false (0ms)
+54ms ║║Condition #36 evaluated false (2ms)
+55ms ║║Condition group #34 evaluated false (condition did not change) (8ms)
+57ms ║║Comparison (enum) off is (string) on = false (0ms)
+59ms ║║Condition #49 evaluated false (3ms)
+62ms ║║Comparison (integer) 100 is_greater_than (integer) 10 = true (1ms)
+63ms ║║Condition #50 evaluated true (4ms)
+66ms ║║Comparison (enum) off changes_to (string) on = false (0ms)
+67ms ║║Condition #51 evaluated false (3ms)
+70ms ║║Comparison (enum) :008beec930316fbd687f2b0b8deae734: is_not_any_of (string) :db51cd17b1529242205547665623a183:,:d92734546f9de0bc17699b6571d0f0a6:,:471d5dd91efa958a520a066a6ccb1be2:,:7f6c6f34c18315fe87f30412e17777a6: = true (1ms)
+71ms ║║Condition #52 evaluated true (4ms)
+72ms ║║Condition group #48 evaluated false (condition did not change) (17ms)
+74ms ║╚Execution stage complete. (62ms)
+78ms ╚Event processed successfully (76ms)
1/15/2023, 10:13:46 AM +41ms
+6ms ╔Received event [Kitchen Lights].switch = on with a delay of 49ms, canQueue: true, calledMyself: false
+15ms ║RunTime initialize > 14 LockT > 0ms > r9T > 1ms > pistonT > 0ms (first state access 6 m:13 7 7)
+27ms ║Runtime (17312 bytes) initialized in 1ms (v0.3.114.20230113_HE)
+38ms ║╔Execution stage started
+44ms ║║Comparison (enum) :008beec930316fbd687f2b0b8deae734: changes = false (0ms)
+45ms ║║Condition #2 evaluated false (3ms)

1 Like

Apparently I cant upload media or links into my post?

https://community.hubitat.com/g/owners

Follow the link to join owner group, it should help with the posting images and links.

Do a hpm repair on webcore, and try again.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.