Network flooding issues (with fixes)
Posted: 26 Oct 2021 15:38
Currently my z-wave network with 16 Fibaro Dimmer 2's (FGD-212 v3.5) is much better than it was when I started setting it up couple years ago. Hopefully this post can provide help to someone cutting required time for troubleshooting from years to months. :)
It's still not as reliable and responsive as my Zigbee network, but after extensive troubleshooting and changes made (as described below) at least I can toggle lights and response is usually reliable and instant. Remaining issues are all related to network flooding that occurs when using lights grouped behind "one button" causing large number of z-wave packets to be sent and received at the same time.
I'm still slightly worried of flooding issues becoming worse in future since I have installed only half of z-wave dimmers and have number of sensors (FGMS-001) waiting to be installed. Maybe I need to setup two z-wave networks and split devices between them although they would still compete on same limited RF resources...
So, here's what I've tried. Some of changes were useful, some not so much.
-- relocated UZB dongle to avoid interference and minimize obstacles between dimmers and dongle
-> minor improvement, and even that only after adding usb extension cable to get dongle farther from PC itself
-- disabled 800MHz support from my LTE router as upstream channel is right next to EU Z-Wave channels
-> major improvement, previously entire z-wave network stopped working while uploading
-- replaced UZB dongle internal coil antenna with correct length external wire pigtail antenna
-> major improvement, amount of retries shown on timing page went down a lot and signal levels improved
-- adjusted pigtail antennas of z-wave devices with weakest signal
-> minor improvement, slightly better signal on those few devices
-- manually fixed in and out routes for some to be directly with z-way and some via devices with strongest signal (instead of always evolving mismatch of mesh links)
-> minor improvement, mostly made network function much more predictable instead of working fine one day and struggling on another day
-- disabled rssi polling by editing automation/modules/ZWave/index.js
-> no improvement
-- updated to Z-way to 3.2 with unsolicitedReportsOnSet feature
-> major improvement, reduction of traffic on network when toggling light due not sending duplicate get to light
-- changed from S0 security to no-security (FGD-212 doesn't support S2)
-> major improvement, large reduction of traffic on network due skipping nonce part (two thirds reduction)
-- disabled network statistics updating by editing automation/modules/ZWave/index.js
-> no improvement (I incorrectly stated on 1st version of this post that this one had major improvement)
-- disabled periodical sensor polling (Smarthome UI > hamburger menu > Apps > Periodical Sensor Polling)
-> major improvement, previously z-wave was unusable for 10 seconds every 10 minutes due sensor polling flooding network
So most important changes made were:
- removed interference caused by 800MHz LTE band 20
- changed from S0 security to insecure to reduce traffic
- update to z-way 3.2 with get optimizations to reduce traffic
- disabling network statistics polling to reduce traffic
Remaining issue:
- Fibaro Dimmer 2 (FGD-212 v3.5) sends spurious power level reports after on/off/dim causing extra network traffic.
- This is apparently due firmware bug causing device to ignore settings that are supposed to disable power monitoring.
(edit: removed incorrect info regarding network stats updating and replaced it with sensor polling change)
It's still not as reliable and responsive as my Zigbee network, but after extensive troubleshooting and changes made (as described below) at least I can toggle lights and response is usually reliable and instant. Remaining issues are all related to network flooding that occurs when using lights grouped behind "one button" causing large number of z-wave packets to be sent and received at the same time.
I'm still slightly worried of flooding issues becoming worse in future since I have installed only half of z-wave dimmers and have number of sensors (FGMS-001) waiting to be installed. Maybe I need to setup two z-wave networks and split devices between them although they would still compete on same limited RF resources...
So, here's what I've tried. Some of changes were useful, some not so much.
-- relocated UZB dongle to avoid interference and minimize obstacles between dimmers and dongle
-> minor improvement, and even that only after adding usb extension cable to get dongle farther from PC itself
-- disabled 800MHz support from my LTE router as upstream channel is right next to EU Z-Wave channels
-> major improvement, previously entire z-wave network stopped working while uploading
-- replaced UZB dongle internal coil antenna with correct length external wire pigtail antenna
-> major improvement, amount of retries shown on timing page went down a lot and signal levels improved
-- adjusted pigtail antennas of z-wave devices with weakest signal
-> minor improvement, slightly better signal on those few devices
-- manually fixed in and out routes for some to be directly with z-way and some via devices with strongest signal (instead of always evolving mismatch of mesh links)
-> minor improvement, mostly made network function much more predictable instead of working fine one day and struggling on another day
-- disabled rssi polling by editing automation/modules/ZWave/index.js
-> no improvement
-- updated to Z-way to 3.2 with unsolicitedReportsOnSet feature
-> major improvement, reduction of traffic on network when toggling light due not sending duplicate get to light
-- changed from S0 security to no-security (FGD-212 doesn't support S2)
-> major improvement, large reduction of traffic on network due skipping nonce part (two thirds reduction)
-- disabled network statistics updating by editing automation/modules/ZWave/index.js
-> no improvement (I incorrectly stated on 1st version of this post that this one had major improvement)
-- disabled periodical sensor polling (Smarthome UI > hamburger menu > Apps > Periodical Sensor Polling)
-> major improvement, previously z-wave was unusable for 10 seconds every 10 minutes due sensor polling flooding network
So most important changes made were:
- removed interference caused by 800MHz LTE band 20
- changed from S0 security to insecure to reduce traffic
- update to z-way 3.2 with get optimizations to reduce traffic
- disabling network statistics polling to reduce traffic
Remaining issue:
- Fibaro Dimmer 2 (FGD-212 v3.5) sends spurious power level reports after on/off/dim causing extra network traffic.
- This is apparently due firmware bug causing device to ignore settings that are supposed to disable power monitoring.
(edit: removed incorrect info regarding network stats updating and replaced it with sensor polling change)