1.1.0: default interval 8 h, minimum 1 h

A repeater's battery, temperature and noise do not change by the hour, and
every reading is airtime on a channel everyone shares. The dashboard window
follows: 24 h by default (2-3x the interval), staleness thresholds too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-13 11:41:54 +01:00
1 parent 726a618483
commit e2d3c72ba2
9 files changed
+50 -38

No files matched your search

+8 -6
View File
@@ -164,8 +164,8 @@ panels = [
0,
"time() - meshcore_last_scrape_success_timestamp{SEL}",
"s",
steps((None, "green"), (4000, "yellow"), (7500, "red")),
"Kdy naposledy uzel odpověděl. Při výchozím intervalu 1 h je normál do ~3600 s.",
steps((None, "green"), (30000, "yellow"), (58000, "red")),
"Kdy naposledy uzel odpověděl. Při výchozím intervalu 8 h je normál do ~28800 s.",
),
stat(
5, "Fronta TX", 16, 0, "meshcore_queue_length{SEL}", "none", steps((None, "green"), (3, "yellow"), (8, "red"))
@@ -346,12 +346,14 @@ dashboard = {
"name": "window",
"label": "Okno",
"type": "custom",
"query": "1h,3h,6h,12h",
"current": {"text": "3h", "value": "3h"},
"options": [{"text": w, "value": w, "selected": w == "3h"} for w in ("1h", "3h", "6h", "12h")],
"query": "1h,3h,6h,12h,24h,48h",
"current": {"text": "24h", "value": "24h"},
"options": [
{"text": w, "value": w, "selected": w == "24h"} for w in ("1h", "3h", "6h", "12h", "24h", "48h")
],
"hide": 0,
"description": "Okno pro rychlosti a duty cycle. Data se mění jen při čtení repeateru, "
"takže okno má být aspoň 2–3× interval čtení (výchozí 1 h → 3h).",
"takže okno má být aspoň 2–3× interval čtení (výchozí 8 h → 24h).",
},
{
"name": "node",
+18 -8
View File
@@ -41,10 +41,10 @@
"name": "window",
"label": "Okno",
"type": "custom",
"query": "1h,3h,6h,12h",
"query": "1h,3h,6h,12h,24h,48h",
"current": {
"text": "3h",
"value": "3h"
"text": "24h",
"value": "24h"
},
"options": [
{
@@ -55,7 +55,7 @@
{
"text": "3h",
"value": "3h",
"selected": true
"selected": false
},
{
"text": "6h",
@@ -66,10 +66,20 @@
"text": "12h",
"value": "12h",
"selected": false
},
{
"text": "24h",
"value": "24h",
"selected": true
},
{
"text": "48h",
"value": "48h",
"selected": false
}
],
"hide": 0,
"description": "Okno pro rychlosti a duty cycle. Data se mění jen při čtení repeateru, takže okno má být aspoň 2–3× interval čtení (výchozí 1 h → 3h)."
"description": "Okno pro rychlosti a duty cycle. Data se mění jen při čtení repeateru, takže okno má být aspoň 2–3× interval čtení (výchozí 8 h → 24h)."
},
{
"name": "node",
@@ -304,11 +314,11 @@
},
{
"color": "yellow",
"value": 4000
"value": 30000
},
{
"color": "red",
"value": 7500
"value": 58000
}
]
}
@@ -338,7 +348,7 @@
"refId": "A"
}
],
"description": "Kdy naposledy uzel odpověděl. Při výchozím intervalu 1 h je normál do ~3600 s."
"description": "Kdy naposledy uzel odpověděl. Při výchozím intervalu 8 h je normál do ~28800 s."
},
{
"id": 5,