Closed sebbegg closed 1 year ago
Or could this be some other issue?
For me CRC works without issues so this is probably a hardware issue. Maybe the reader is not 100% correct on the meter or something else.
Another option could be that another Program is accessing the serial port and reading small chunks of data thus making the received frame invalid.
I have the same issue and I doubt it is due to other program accessing the port. I am not able to read from the port again in another script once it has been opened in my SMLReader program: "serial.serialutil.SerialException: Port is already open.". For me, about 30 readings fail every hour +/- 3. Below is an extract from my log. What strikes me is frequency of the failures: The vast majority seem to occur exactly 90 or 180 seconds after the last. I wonder if this is caused by an overflow within the the meter and/or a bug. My meter is a Holley EHZ 541-ZD (Rheinenergie).
Perhaps others who have similar issues can comment to get to the bottom of this!
19:00:34,002 SMLReader: WARNING CRC failure.
19:02:03,999 SMLReader: WARNING CRC failure.
19:05:03,993 SMLReader: WARNING CRC failure.
19:06:33,986 SMLReader: WARNING CRC failure.
19:08:03,989 SMLReader: WARNING CRC failure.
19:09:34,002 SMLReader: WARNING CRC failure.
19:11:03,998 SMLReader: WARNING CRC failure.
19:12:34,004 SMLReader: WARNING CRC failure.
19:14:03,997 SMLReader: WARNING CRC failure.
19:15:34,025 SMLReader: WARNING CRC failure.
19:17:51,005 SMLReader: WARNING CRC failure.
19:19:20,979 SMLReader: WARNING CRC failure.
19:23:07,957 SMLReader: WARNING CRC failure.
19:24:37,954 SMLReader: WARNING CRC failure.
19:26:41,954 SMLReader: WARNING CRC failure.
19:29:42,946 SMLReader: WARNING CRC failure.
19:31:12,939 SMLReader: WARNING CRC failure.
19:32:42,936 SMLReader: WARNING CRC failure.
19:37:09,928 SMLReader: WARNING CRC failure.
19:38:39,932 SMLReader: WARNING CRC failure.
19:40:09,943 SMLReader: WARNING CRC failure.
19:41:39,919 SMLReader: WARNING CRC failure.
19:43:09,916 SMLReader: WARNING CRC failure.
19:44:39,913 SMLReader: WARNING CRC failure.
19:47:21,917 SMLReader: WARNING CRC failure.
19:48:51,905 SMLReader: WARNING CRC failure.
19:50:21,917 SMLReader: WARNING CRC failure.
19:51:51,902 SMLReader: WARNING CRC failure.
19:53:21,895 SMLReader: WARNING CRC failure.
19:54:51,892 SMLReader: WARNING CRC failure.
19:56:21,911 SMLReader: WARNING CRC failure.
19:57:51,900 SMLReader: WARNING CRC failure.
19:59:21,898 SMLReader: WARNING CRC failure.
20:02:16,928 SMLReader: WARNING CRC failure.
Hi there,
I'm using smllib to monitor my smartmeter. Occasionally (rather frequently lately) I'm seeing CRC errors like the one below:
Some frames in between always seem fine and yield proper data. Can I expect this to be a "hardware" issue possibly related to the IR reader (in which case I'd probably catch & ignore them)? Or could this be some other issue?