Hi all, I need help with these error on vedirect.
All was working good until I updated to emonSD-08May21
I’m getting checksum errors, but it doenst happen with older version of emonSD
Any help??
Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 135, in _read_serial
packet = self.input(self._ser.read())
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 61, in input
if self.key.decode() == 'Checksum':
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 1477: invalid start byte
2021-09-05 05:04:33,570 DEBUG VEDirect Starting Serial read from Serial(port='/dev/ttyUSB0', baudrate=19200, bytesize=8, parity='N', stopbits=1, timeout=10, xonxoff=False, rtscts=False, dsrdtr=False)
2021-09-05 05:04:33,573 ERROR VEDirect Read error
Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 135, in _read_serial
packet = self.input(self._ser.read())
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 61, in input
if self.key.decode() == 'Checksum':
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 1477: invalid start byte
2021-09-05 05:04:38,597 DEBUG VEDirect Starting Serial read from Serial(port='/dev/ttyUSB0', baudrate=19200, bytesize=8, parity='N', stopbits=1, timeout=10, xonxoff=False, rtscts=False, dsrdtr=False)
2021-09-05 05:04:38,599 ERROR VEDirect Read error
Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 135, in _read_serial
packet = self.input(self._ser.read())
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 61, in input
if self.key.decode() == 'Checksum':
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 1477: invalid start byte
2021-09-05 05:04:43,687 DEBUG VEDirect Starting Serial read from Serial(port='/dev/ttyUSB0', baudrate=19200, bytesize=8, parity='N', stopbits=1, timeout=10, xonxoff=False, rtscts=False, dsrdtr=False)
2021-09-05 05:04:43,689 ERROR VEDirect Read error
Traceback (most recent call last):
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 135, in _read_serial
packet = self.input(self._ser.read())
File "/opt/openenergymonitor/emonhub/src/interfacers/EmonHubVEDirectInterfacer.py", line 61, in input
if self.key.decode() == 'Checksum':
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 1477: invalid start byte
LOG LEVEL: DEBUG #(DEFAULT:WARNING)