Skip to content

Commit

Permalink
EVU Kit bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
snaptec committed Apr 18, 2019
1 parent f370939 commit f0ab16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bezug_ethmpm3pm/readmpm3pm.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
value2 = resp.registers[1]
all = format(value1, '04x') + format(value2, '04x')
ikwh = int(struct.unpack('>i', all.decode('hex'))[0])
ikwh = float(ekwh) * 10
ikwh = float(ikwh) * 10
f = open('/var/www/html/openWB/ramdisk/bezugkwh', 'w')
f.write(str(ikwh))
f.close()
Expand Down

0 comments on commit f0ab16d

Please sign in to comment.