A long post, but I need help...
I have a relatively simple "Simple Automation Rule"
- When virtual contact opens, turn on 5 lights
- When virtual contact closes, wait 1 minute, turn off 5 lights
- Only do this when it's dark (sunset -30 mins to sunrise +30 mins)
The purpose is to light the way when it's dark.
I am having difficulty where I will have sporadic performance of this rule. Sometimes, all the lights fire "instantly" (as in no noticeable delays)...this morning, had issues 2 times. As a note, all lights respond immediately when I turn them on/off through either the dashboard or within the device page.
Here is the performance (from device logs) this morning when I left and when my wife left:
Case 1:
07:00:56.113: Virtual Contact Open
07:00:56.408: Kitchen Hallway On (OK)
07:00:56.410: Foyer Light On (OK)
07:00:57.542: Front Door Outside Light On
07:00:59.586: Master Bedroom Hallway On
07:00:59.583: Laundry Room Light On
07:01:01.609: Virtual Contact Close
07:02:01.914: Kitchen Hallway Off (OK)
07:02:01.948: Foyer Light Off (OK)
07:02:02.811: Front Door Outside Light Off
07:02:04.619: Master Bedroom Hallway Off
You will notice that the Laundry Room Light never registered off...even though it turned off about 5 seconds after the Master Bedroom Hallway.
Case 2:
07:06:54.686: Virtual Sensor Open
07:06:54.861: Kitchen Hallway Light On (OK)
07:06:54.904: Foyer Light On (OK)
07:06:55.643: Front Door Outside Light On (OK-ish)
07:06:59.472: Master Bedroom Hallway On
07:07:01.250: Virtual Sensor Close
07:08:01.548: Kitchen Hallway Light Off (OK)
07:08:01.573: Foyer Light Off (OK)
07:08:02.266: Front Door Outside Light Off (OK-ish)
07:08:03.690: Master Bedroom Hallway Off
07:08:04.157: Laundry Room Light Off
In this case, the Laundry Room Light never registered as on, even though I saw it turn on just as I was closing the door.
Z-Wave Details:
I have a strong mesh with 58 mains powered devices and 1 battery powered device. I have 1 ghost node that I haven't gotten around to removing with my Z-WAVE USB key.
Kitchen Hallway Light (0x3F): Direct (9 dB)
Foyer Light (0x36): Direct (-6 dB)
Front Door Outside Light (0x42): Direct (-6 dB)
Master Bedroom Hallway (0x41): 01 -> 12 -> 07 -> 41 40 kbps (-2 dB)
Laundry Room Light (0x3E): 01 -> 20 -> 3E 40 kbps (21 dB)
I did a repair (multiple times) on the Master Bedroom Hallway and Laundry Room Light, and they will not choose different paths. The Laundry Room Light is physically about 10 feet away from the Kitchen Hallway Light (which is direct connect to the hub...about 8 feet away).
Here are the paths for the repeaters:
0x12: 01 -> 21 -> 41 -> 06 -> 12 9.6 kbps (25 dB)
0x07: 01 -> 41 -> 06 -> 07 9.6 kbps (3 dB)
0x20: Direct
0x21: Direct
0x41:
0x06: 01 -> 41 -> 07 -> 06 100 kbps (no RSSI)
0x07: 01 -> 41 -> 06 -> 07 9.6 kbps (3 dB)
The thing is...0x06 is a Zooz multi-relay (Zen something...has 3 relays) and creates a contact closer when the door is open, which fires a virtual contact sensor. This is ALWAYS virtually instantaneous...even though it's MUCH farther away from the hub than the Laundry Room Light.
If you look at some of these paths, it looks like there is a Z-Wave message loop? Am I interpreting this correctly?
For the Master Bedroom Hallway, it's 3 feet away (the other side of the hall) from the Foyer and Front Door Outside Lights...these direct connect. However, the Master Bedroom Hallway doesn't route through these, it goes FARTHER from the hub to 0x07, which then routes to 0x12 (closer than 0x07, but still farther than 0x36 or 0x3F), and then routes from 0x12 back to the hub...and the route from 0x12 is MUCH FARTHER than a direct connect would have been for this switch to route to the main hub.
Can I force a Z-Wave route?
I never had these issues with my previous SmartThings...same Z-Wave devices, locations, and rules.
I have attached a Z-Wave floor plan showing positions.
Key:
- Green = Z-Wave Plus
- Blue = Z-Wave
Hubitat hub is the black circle to the "right" of the kitchen.