This commit is contained in:
Wolfgang Hottgenroth 2020-08-29 17:01:54 +01:00
parent 13cced9c64
commit bbdd078da8

View File

@ -120,7 +120,7 @@ class MeterbusSerial(object):
def shortFrameRequest(self, cmd, addr):
chksum = (cmd + addr) & 0x00ff
msg = bytearray([0x10, cmd, addr, chksum, 0x16])
print(a2h(msg))
# print(a2h(msg))
frontendSample()
@ -251,7 +251,7 @@ if __name__ == "__main__":
'error': 0
},
80: {
'ok': 0
'ok': 0,
'error': 0
}
}