Merge branch 'master' of ssh://home.hottis.de:2922/wolutator/mbus-gateway

This commit is contained in:
2020-08-29 14:33:48 +02:00

View File

@ -141,7 +141,7 @@ class MeterbusSerial(object):
print("Waiting for input ... ") print("Waiting for input ... ")
c = ord(self.port.read()) c = ord(self.port.read())
print("State {}, Octet {}".format(state, c)) print("State {}, Octet 0x{:02X}".format(state, c))
if state == MeterbusResponseStates.START1: if state == MeterbusResponseStates.START1:
if c == 0x68: if c == 0x68: