Scope of this PR is to implement the use of the file /tmp/clientlist.json to filter the list of connected device as introduced in issue #36.
This should fix the problem of wireless devices that are not detected as disconnected in in new routers with new firmware.
The file is used only if present and as additional filter after executing all previous check, so nothing should change if the file is not available.
I tested this with AC86U, AC68U and MESH configuration for some days and everything looks fine.
As you can see I have to implement a special control for wired device, to avoid problem with devices that are connected with an additional hub in cascade. This was causing the devices to appear continuously online / offline, because they appear and disappear from the file.
With current implementation list of devices is really reliable at my side.
Scope of this PR is to implement the use of the file
/tmp/clientlist.json
to filter the list of connected device as introduced in issue #36. This should fix the problem of wireless devices that are not detected as disconnected in in new routers with new firmware. The file is used only if present and as additional filter after executing all previous check, so nothing should change if the file is not available. I tested this withAC86U
,AC68U
andMESH configuration
for some days and everything looks fine. As you can see I have to implement a special control for wired device, to avoid problem with devices that are connected with an additional hub in cascade. This was causing the devices to appear continuously online / offline, because they appear and disappear from the file. With current implementation list of devices is really reliable at my side.