From a10731f685fc0fbc36dc0c6cd28cd5ae08273212 Mon Sep 17 00:00:00 2001 From: Reinhard Weber Date: Thu, 21 Sep 2023 12:40:11 +0200 Subject: [PATCH] fix topic --- src/solarflow-status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solarflow-status.py b/src/solarflow-status.py index 1b359cd..b2e9dc1 100644 --- a/src/solarflow-status.py +++ b/src/solarflow-status.py @@ -111,7 +111,7 @@ def on_zendure_message(client, userdata, msg): for pack in packdata: sn = pack.pop('sn') for prop, val in pack.items(): - local_client.publish(f'solarflow-hub-test/telemetry/batteries/{sn}/{prop}',val) + local_client.publish(f'solarflow-hub/telemetry/batteries/{sn}/{prop}',val) if "socLevel" in pack: socketio.emit('updateSensorData', {'metric': 'socLevel', 'value': pack["socLevel"], 'date': sn})