diff --git a/README.md b/README.md index 06f2858..bb25e84 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ Run check-mate: python3 check-mate.py --host meshtastic.local --location 'Base Camp' +Then in a private channel on a different node to the one connected to `check-mate` send a message containing `radio check` or `mesh check` (case insensitive and spaces are ignored). + ### Arguments | Arg | Env | Description | diff --git a/check-mate.py b/check-mate.py index bb2645a..c4db1c2 100644 --- a/check-mate.py +++ b/check-mate.py @@ -86,7 +86,7 @@ def onReceive(self, packet, interface): self.logger.info("[Ignoring default channel] %s: %s", name, text) return - if not re.search(r"radio\s*check", text, re.IGNORECASE): + if not re.search(r"(mesh|radio)\s*check", text, re.IGNORECASE): self.logger.info( "[Not a radio check] %s (channel %d): %s %d", name,