Closed MichaelUray closed 2 years ago
Interesting ... you discbered a bug noone else had in the last years ... the reason is that a ) is the last character before the "end" sequence. WIll provide a fix soon
PS: Are you really sure it is this problem? Because I can not reproduce it ... and when looking at the posted Debug log I do not see anything incomig at all ... So ... no data are received (make sure to NOT have a read command on the serial port running in a shell in parallel!! Then adapter will not get any data
Oh boy, you are absolutly right, it did not receive anything since my "sniffer" was blocking the received data.
Fixing that I get at least some data into the log, but now I run into the issue, that it reports
MESSAGE TIMEOUT TRIGGERED
No or too long answer from Serial Device after last request.
What could cause that?
Please find there the full log file. iobroker.2022-04-02.log.zip
I close here ... we iterate in Forum ... two places makes no sense :-)
I did connect the meter via IR interface and it also sends a response to the start sequence "/?!" which the iobroker adapter sends out, but when the meter completed the frame, then the adapter ist still waiting and about 1 minute later it ends in a timout. It looks to me as if the adapter does not recognice the end of the frame
My serial monitor (jpnevulator) shows me the following communication between the adapter and the meter at the start:
And it receives the following data at the end:
After that data transmittion from the meter stopped, the adapter is still waiting and it ends then in a timeout.
These are my adapter settings:
Versions:
There is the full data response to find which the meter sent me via a terminal after sending "/?!" https://forum.iobroker.net/topic/47328/smartmeter-adapter-probleme/25?_=1648889794421