Closet Piston has severe lag


#1

I seem to be having an issue with my closet lights piston. It seems via the logs that things arent too bad, yet I will get a pretty lengthy delay such as up to 5 seconds. I’m not sure if this is the hub or my networking towards the device.

Current logs:
8/28/2017, 10:27:15 AM +119ms
+2ms ╔Received event [Master Closet Contact].contact = open with a delay of 733ms
+236ms ║RunTime Analysis CS > 40ms > PS > 85ms > PE > 111ms > CE
+244ms ║Runtime (36612 bytes) successfully initialized in 85ms (v0.2.0e5.20170812) (241ms)
+246ms ║╔Execution stage started
+267ms ║║Comparison (enum) open is (string) open = true (3ms)
+269ms ║║Cancelling condition #5’s schedules…
+270ms ║║Condition #5 evaluated true (13ms)
+272ms ║║Cancelling condition #1’s schedules…
+273ms ║║Condition group #1 evaluated true (state changed) (17ms)
+277ms ║║Cancelling statement #3’s schedules…
+315ms ║║Executed physical command [Master Closet Light].setLevel([100]) (30ms)
+316ms ║║Executed [Master Closet Light].setLevel (32ms)
+339ms ║║Executed physical command [Master Closet Light].on() (19ms)
+340ms ║║Executed [Master Closet Light].on (21ms)
+346ms ║║Executed virtual command [Master Closet Light].wait (1ms)
+348ms ║║Requesting a wake up for Mon, Aug 28 2017 @ 10:47:15 AM PDT (in 1200.0s)
+357ms ║╚Execution stage complete. (111ms)
+359ms ║Setting up scheduled job for Mon, Aug 28 2017 @ 10:47:15 AM PDT (in 1199.99s)
+376ms ╚Event processed successfully (376ms)


#2

Curious if you tested it with a barebone piston that just turns on the bulb when contact is open?


#3

I have not. This was once a part of an all inclusive master bedroom piston that had a ceiling fan and lighting in it. I started to notice some issues then and moved it to its own separate piston in hopes of helping.


#4

zigbee/z-wave transport problem - how’s the network? Open the ST app, watch the device page and open/close the door - how long does it take for updates? It looks to me like a transport issue - repair zwave / unplug hub for 15 min for zigbee


#5

First time takes ~ 3 seconds, after that its less than a second. Almost like a powersave/sleep model.


#6

I’ve noticed a severe latency sometimes with my cree connected bulbs in my hallway as well. I’ll unplug the hug for 15 minutes as I go grab some lunch. Do I need to remove batteries too?


#7

Yeah, the idea is that the hub is OFF for 15 minutes, remove batteries, unplug hub - this will kick the zigbee devices around a bit - if the sensor is z-wave, do the repair instead.


#8

Cool. Looking up the devices I’ve been having issues with it seems like all of them are zigbee. Is this a common issue for zigbee devices? I’m curious how to prevent this for later on and what causes it.


#9

I had an issue with zigbee devices before, the only way I was able to get them to become responsive again was to move my router/access point channel away from what the zigbee radio was using. Also, just in case your hub is really close to the router, give it some distance.


#10

My router is a good 30+ feet away from my hub. I basically repurposed an old security system box into smart home box. Inside is my hub, and two raspberry pis running assorted software. They are all connected to a netgear switch.

My network topography was my fear, but I double checked it to find a weak link.
It goes:
hub > switch > powerline adapter > linksys router/switch > TPLink Google Onhub > modem out.
The linksys router is in bridge mode so I’m not fearful of double natting. I’ve also just set a static IP for the hub and also did a firmware update on both powerline adapters. I’m hoping with this all I should be in good shape to eliminate all bugs I might have within my network topography.

I have noticed though that when I do have issues with those devices, I get random errors that the hub is unavailable for a split second.


#11

When you say old security system, is it metal? Do you think it might be affecting your signal?


#12

Yes it is. I would have thought so but the issue seems to have progressively become worse and despite being in that security box the entire time. I can toggle devices easily right now without an issue, it just seems like the first preliminary use after sitting for a while is where it struggles.


#13

After doing a Zwave repair and Zigbee 15 reset I still had issues. I have since decided to dwindle down my network connection going to the hub to just a DDWRT flashed Linksys e1200. So far connections seem great and only time will tell. It appears this issue is common for those on the 18.21 (latest firmware) with device health on. I’ve since removed device health and have worked on it from there. If this interation works I’ll report back. If it still causes the same issues I will suspect the current firmware is indeed to blame.


#14

I also realize this is moving more into general discussion. Please feel free to move it moderators if it isn’t in the right place given current discussion :slight_smile: