Browse Source

Take timestamp from response instead local time

pull/173/head
Christian Ehrlicher 2 years ago
parent
commit
6753be8871
  1. 2
      tools/rpi/hoymiles/outputs.py

2
tools/rpi/hoymiles/outputs.py

@ -240,7 +240,7 @@ class VolkszaehlerOutputPlugin(OutputPluginFactory):
data = response.__dict__()
ts = int(round(time.time() * 1000))
ts = int(round(data['time'].timestamp() * 1000))
# AC Data
phase_id = 0

Loading…
Cancel
Save