From 6b94ac6b01cc9c4999b1d61273148228ecec9fe0 Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 23 Aug 2026 16:09:38 +0200 Subject: [PATCH] OneKey: make mqtt timeout configurable, default 90s (#33120) --- templates/definition/charger/onekey.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/definition/charger/onekey.yaml b/templates/definition/charger/onekey.yaml index 1442c6c39..b408d67ba 100644 --- a/templates/definition/charger/onekey.yaml +++ b/templates/definition/charger/onekey.yaml @@ -22,6 +22,11 @@ requirements: broker is `localhost`. params: - preset: mqtt + - name: timeout + default: 90s + help: + de: Ab wann ein Messwert als veraltet gilt — Standard 90 s, das Dreifache des 30-s-Herzschlags des Geräts + en: When a reading counts as stale — default 90 s, three times the device's 30 s heartbeat - name: topic default: onekey description: @@ -43,24 +48,19 @@ render: | source: mqtt {{- include "mqtt" . | indent 2 }} topic: {{ .topic }}/wp/sgmode - timeout: 90s power: source: mqtt {{- include "mqtt" . | indent 2 }} topic: {{ .topic }}/wp/power - timeout: 90s energy: source: mqtt {{- include "mqtt" . | indent 2 }} topic: {{ .topic }}/wp/energy - timeout: 90s temp: source: mqtt {{- include "mqtt" . | indent 2 }} topic: {{ .topic }}/wp/temp - timeout: 90s limittemp: source: mqtt {{- include "mqtt" . | indent 2 }} topic: {{ .topic }}/wp/limittemp - timeout: 90s