Network Optimization

Posted on
Sun Dec 03, 2017 7:33 am
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Network Optimization

Just tried to run a network optimise from the Interfaces>z-Wave>Optimize Z-Wave Network and it just shows the following
Network Optimize.png
Network Optimize.png (72.1 KiB) Viewed 1909 times

I also tried the indigo.zwave.startNetworkOptimize() command, both just do nothing .

Set it off last night and 14 hours later I ran the command again but not one line of optimizing between the two times, just waiting for network idle.

I rebooted the Mac Mini just before the optimize started last night, any ideas?

Code: Select all
2 Dec 2017, 23:03:58
   Z-Wave                          Optimizing - stopped
   Z-Wave                          Optimizing - started network optimization for nodes: 55, 73, 93, 94, 99, 101, 113, 116, 117, 118, 119, 120, 121, 122, 125, 126, 127, 135, 136, 137, 138, 140, 141, 142, 143, 145, 146, 148, 152, 154, 155, 4, 5, 6, 8, 28, 35, 85, 89, 100, 103, 124, 139, 150, 151, 153, 156, 157, 158, 159, 160


3 Dec 2017, 12:56:45
   Z-Wave                          Optimizing - stopped
   Z-Wave                          Optimizing - started network optimization for nodes: 150

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sun Dec 03, 2017 12:05 pm
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Network Optimization

Total of 51 devices but when I ran it on v 7.0.3 it instantly started to give output.

Code: Select all
.
2017-08-02 02:00:00.084   Z-Wave   Optimizing - started network optimization for nodes: 19, 21, 55, 60, 73, 76, 80, 81, 82, 83, 87, 4, 5, 6, 8, 28, 37, 38, 61, 72, 84, 85, 86, 89
2017-08-02 02:00:04.685   Z-Wave   Optimizing - starting "019 - En Suite Window Sensor"
2017-08-02 02:00:10.489   Z-Wave   Optimizing - ping failed (could be asleep)
2017-08-02 02:00:10.490   Z-Wave   Optimizing - skipped "019 - En Suite Window Sensor" (unreachable)
2017-08-02 02:00:18.521   Z-Wave   Optimizing - starting "021 - Hall Coat Cupboard - Switch"
2017-08-02 02:00:22.932   Z-Wave   Optimizing - ping failed (could be asleep)
2017-08-02 02:00:22.933   Z-Wave   Optimizing - skipped "021 - Hall Coat Cupboard - Switch" (unreachable)
2017-08-02 02:00:30.955   Z-Wave   Optimizing - starting "055 - Front Door Keypad Lock"
2017-08-02 02:00:32.293   Z-Wave   Optimizing - ping completed in 1287 ms
2017-08-02 02:00:32.293   Z-Wave   Optimizing - finding neighbors
2017-08-02 02:00:32.302   Z-Wave   Optimizing - requesting neighbor list update


But the same schedule on v7..1.1 I get nothing, even when I just use the GUI and just ask for 1 powered device.
Just need someone to try a single device on 7.1.1 to test if they get the same result.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sun Dec 03, 2017 12:23 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Network Optimization

Network Optimisation is working for me with one powered device on 7.1.1

I have tested from a client running on my MacBook Pro and on the Indigo Server (Mac mini) with same result - it works. :)

Posted on
Sun Dec 03, 2017 12:36 pm
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Network Optimization

Thanks Jon, now to start turning plugin's all off and see if that gets it working.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sun Dec 03, 2017 1:11 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Network Optimization

Do you have a Z-Wave device set to constant polling?

Posted on
Sun Dec 03, 2017 1:58 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Network Optimization

Try turning on Indigo's Z-Wave Debug logging checkbox (via the Interfaces->Z-Wave->Configure... menu item) to see what traffic is coming from the Z-Stick. Indigo won't start the optimization until there is no traffic for several seconds.

Image

Posted on
Sun Dec 03, 2017 2:07 pm
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Network Optimization

berkinet wrote:
Do you have a Z-Wave device set to constant polling?


Just checked them all, all set to 1 hour polling or 1 hour wake up.
Fired up disk2 on the Mac Mini Server and that gave the same result, changed the USB Gen5 port, reverted back to 7.0.4 and still no update...
Back on disk1 and CarbonCopyCloner should restore the mess I made on disk2!!!
Just seen Matt's suggestion about the debug so off to see what gets logged.
Thanks all for the suggestions.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Sun Dec 03, 2017 3:24 pm
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Network Optimization

Thanks Matt,

Seems I have a rogue Fibaro FGS223 that works fine but just floods the log with

2017-12-03 20:20:41.310 Z-Wave Debug starting node healing thread
2017-12-03 20:20:41.310 Z-Wave Debug starting node status polling thread
2017-12-03 20:20:41.322 Z-Wave Debug RCVD requestMeterLevel: 01 10 00 04 00 64 0A 32 02 21 44 00 00 03 79 00 00 AA
2017-12-03 20:20:41.323 Z-Wave Debug . . requestMeterLevel: node 100, endpoint None, meterType 01, raw value 4400...
2017-12-03 20:20:41.323 Z-Wave Debug . . requestMeterLevel: 8.89 kWh (float: 8.890000)
2017-12-03 20:20:41.323 Z-Wave Debug RCVD requestMeterLevel: 01 10 00 04 00 64 0A 32 02 21 44 00 00 03 79 00 00 AA
2017-12-03 20:20:41.323 Z-Wave Debug . . requestMeterLevel: node 100, endpoint None, meterType 01, raw value 4400...
2017-12-03 20:20:41.323 Z-Wave Debug . . requestMeterLevel: 8.89 kWh (float: 8.890000)
2017-12-03 20:20:41.324 Z-Wave Debug RCVD requestMeterLevel: 01 10 00 04 00 64 0A 32 02 21 44 00 00 03 79 00 00 AA
2017-12-03 20:20:41.324 Z-Wave Debug . . requestMeterLevel: node 100, endpoint None, meterType 01, raw value 4400...
2017-12-03 20:20:41.324 Z-Wave Debug . . requestMeterLevel: 8.89 kWh (float: 8.890000)
2017-12-03 20:20:41.325 Z-Wave Debug RCVD requestMeterLevel: 01 14 00 04 00 05 0E 32 02 21 34 00 00 0B 00 00 00 00 00 00 00 CA
2017-12-03 20:20:41.325 Z-Wave Debug . . requestMeterLevel: node 005, endpoint None, meterType 01, raw value 3400...
2017-12-03 20:20:41.325 Z-Wave Debug . . requestMeterLevel: 281.6 W (float: 281.600000)

and I also see tons of

2017-12-03 20:23:15.218 Z-Wave Debug starting zwave packet parser thread
2017-12-03 20:23:15.219 Z-Wave Debug SENT getVersion: 01 03 00 15 E9
2017-12-03 20:23:15.220 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.220 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.222 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.222 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.224 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.224 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.226 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.226 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.227 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.228 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.229 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.229 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.231 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.231 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.233 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.233 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.234 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.235 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.236 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.237 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.238 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.238 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.240 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)
2017-12-03 20:23:15.240 Z-Wave Debug SENT getVersion: 01 03 00 15 E9 (re-sent because retransmit request)
2017-12-03 20:23:15.242 Z-Wave Debug RCVD getVersion: 18 (RETRANSMIT REQUEST)

now when I turn on and off the Fibaro I get

3 Dec 2017, 20:56:47
Z-Wave Optimizing - started network optimization for nodes: 159 <<<<< Fibaro is off and Optimize works instantly
Z-Wave Optimizing - starting "159 - Garden Lights"
Z-Wave Optimizing - ping completed in 68 ms
Z-Wave Optimizing - finding neighbors
Z-Wave Optimizing - requesting neighbor list update
Z-Wave Optimizing - neighbor list updated from 151, 153, 157, 158 to 103, 151, 153, 157, 158
Z-Wave Optimizing - finished "159 - Garden Lights"
Z-Wave Optimizing - complete
Z-Wave Optimizing - update succeeded: "159 - Garden Lights"

3 Dec 2017, 20:57:22
Z-Wave received "141 - 141 Door/Window Sensor" status update battery level 100%
Z-Wave received "Living Room Twigs Switch" power load to 16.6 W <<<<<<< Turn on the Fibaro Switch
Z-Wave Optimizing - started network optimization for nodes: 159 <<<<<<<< Start Optimize

3 Dec 2017, 21:00:00 <<<<<<<At this point I turn off the Fibaro (not showing in the log record!) after 3 minutes of "waiting for network"
Honeywell [EV Zone: Bathroom]: Setting Heat Setpoint to: 18.0
Honeywell [EV Zone: Bedroom 1]: Setting Heat Setpoint to: 17.0
Honeywell [EV Zone: Bedroom 2]: Setting Heat Setpoint to: 12.0
Honeywell [EV Zone: Bedroom 3]: Setting Heat Setpoint to: 12.0
Honeywell [EV Zone: Conservatory]: Setting Heat Setpoint to: 11.0
Z-Wave Optimizing - starting "159 - Garden Lights" <<<<< And finally the Optimize starts that was requested 3 minutes earlier!
Z-Wave Optimizing - ping completed in 169 ms
Z-Wave Optimizing - finding neighbors
Z-Wave Optimizing - requesting neighbor list update
Honeywell [EV Zone: Dining Room]: Setting Heat Setpoint to: 15.0
Honeywell [EV Zone: En Suite]: Setting Heat Setpoint to: 17.0
Honeywell [EV Zone: Hall-Bedroom]: Setting Heat Setpoint to: 18.0
Honeywell [EV Zone: Hall-Kitchen]: Setting Heat Setpoint to: 18.0
Honeywell [EV Zone: Living Room Door]: Setting Heat Setpoint to: 21.0
Honeywell [EV Zone: Living Room Front]: Setting Heat Setpoint to: 21.0
Honeywell [EV Zone: Utility Room]: Setting Heat Setpoint to: 15.0
Z-Wave Optimizing - neighbor list updated from 103, 151, 153, 157, 158 to 151, 153, 157, 158
Z-Wave Optimizing - finished "159 - Garden Lights"
Z-Wave Optimizing - complete
Z-Wave Optimizing - update succeeded: "159 - Garden Lights"

Thanks All

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Posted on
Tue Dec 05, 2017 5:52 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Network Optimization

Yeah, if that module is flooding the network with multiple commands per second it is going to cause all sorts of problems. Try resetting it (exclude it from the Z-Stick, re-include, and re-sync) to see if that helps. Also see if there are any configuration parameters related to energy reporting you can change. If none of that helps, then I think it is malfunctioning.

Image

Posted on
Wed Dec 06, 2017 3:45 pm
CliveS offline
Posts: 761
Joined: Jan 10, 2016
Location: Medomsley, County Durham, UK

Re: Network Optimization

Yes, removed, reset, resynced as a new device and optimizing fine now, thanks Matt.

CliveS

Indigo 2023.2.0 : macOS Ventura 13.6.3 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
----------------------------------------------------------------------------------
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests