From 2b5e4e92f131e47f2cc1a6854c215286411501c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Mon, 26 Jan 2026 16:56:52 +0100 Subject: [PATCH] cli_pretty: Wi-Fi: signal-strenght to text was inverted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Should be like this: ┌────────────┬────────────────────┐ │ RSSI (dBm) │ Status │ ├────────────┼────────────────────┤ │ ≥ -50 │ excellent (strong) │ ├────────────┼────────────────────┤ │ -60 to -51 │ good │ ├────────────┼────────────────────┤ │ -70 to -61 │ poor │ ├────────────┼────────────────────┤ │ < -70 │ bad (weak) │ └────────────┴────────────────────┘ --- src/statd/python/cli_pretty/cli_pretty.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/statd/python/cli_pretty/cli_pretty.py b/src/statd/python/cli_pretty/cli_pretty.py index 5e65d4da..ffd381a4 100755 --- a/src/statd/python/cli_pretty/cli_pretty.py +++ b/src/statd/python/cli_pretty/cli_pretty.py @@ -568,9 +568,9 @@ class Decore(): def signal_to_status(signal): if signal >= -50: status = Decore.bright_green("excellent") - elif signal <= -65: + elif signal >= -60: status = Decore.green("good") - elif signal <= -50: + elif signal >= -70: status = Decore.yellow("poor") else: status = Decore.red("bad")