Skip to content

Commit

Permalink
Merge pull request #24 from reinhard-brandstaedter/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
reinhard-brandstaedter authored Sep 21, 2023
2 parents 7ea16b2 + 0d940f5 commit 92ace58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solarflow-status.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 92ace58

Please sign in to comment.