From 8dfc0e096cd78224f3836f845c3af1c5ef3a8a49 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Fri, 30 Jan 2026 20:28:50 +1100 Subject: [PATCH] better heuristics Signed-off-by: jokob-sk --- back/device_heuristics_rules.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/back/device_heuristics_rules.json b/back/device_heuristics_rules.json index 30e2ae5f..783ca333 100755 --- a/back/device_heuristics_rules.json +++ b/back/device_heuristics_rules.json @@ -5,7 +5,12 @@ "matching_pattern": [ { "mac_prefix": "INTERNET", "vendor": "" } ], - "name_pattern": [] + "name_pattern": [], + "ip_pattern": [ + "^192\\.168\\.1\\.1$", + "^192\\.168\\.0\\.1$", + "^10\\.0\\.0\\.1$" + ] }, { "dev_type": "Smart Switch", @@ -178,11 +183,7 @@ { "mac_prefix": "000C29", "vendor": "Cisco" }, { "mac_prefix": "00155D", "vendor": "MikroTik" } ], - "name_pattern": ["router", "gateway", "ap", "access point"], - "ip_pattern": [ - "^192\\.168\\.[0-1]\\.1$", - "^10\\.0\\.0\\.1$" - ] + "name_pattern": ["router", "gateway", "ap", "access point"] }, { "dev_type": "Smart Light",