Troubleshooting Flow Meter comms on the Emonpi2

Hi there,

I’m trying to troubleshoot the following communications issue:

Aug 25 12:01:00 emonhp emonHub\[2294\]: ERROR    MBUS       Could not find MBUS device
Aug 25 12:01:00 emonhp emonHub\[2294\]: ERROR    MBUS       Could not write to MBUS serial port
Aug 25 12:01:00 emonhp emonHub\[2294\]: ERROR    MBUS       read_data_frame could not read from serial port
Aug 25 12:01:00 emonhp emonHub\[2294\]: DEBUG    MBUS       Invalid MBUS data received 0 bytes 0.4 ms, count: 1
Aug 25 12:01:00 emonhp emonHub\[2294\]: ERROR    MBUS       Could not write to MBUS serial port
Aug 25 12:01:00 emonhp emonHub\[2294\]: ERROR    MBUS       read_data_frame could not read from serial port
Aug 25 12:01:00 emonhp emonHub\[2294\]: DEBUG    MBUS       Invalid MBUS data received 0 bytes 0.5 ms, count: 2
Aug 25 12:01:00 emonhp emonHub\[2294\]: DEBUG    MBUS       Decoded MBUS data: None

Basically, my heat meter is installed and connected via the MBUS adaptor on the emonpi2. I can see it’s configured for com_port = /dev/ttyAMA0

This device exists:

 pi@emonhp:\~ $ ls -l /dev/ttyAMA\* 2>/dev/null
crw-rw---- 1 root dialout 204, 64 Aug 25 12:00  /dev/ttyAMA0

But I don’t see any messages in the log when I plug the dongle in, even though there is a red light indicating power.

Is there anything I need to look at? Any suggestions?

Thanks!

It might be a permission issue. Other than that, I don’t know, sorry.

Another topic relates to this SSH to a new emonpi2 (Heatpump level 3) / Flow meter not detected

To clarify, according to the preceding topic, this is a Level 3 Heatpump Monitor, and not a standard emonPi2.

@rvangraan On-line support for the Heatpump Monitor is included in the purchase price; if you cannot resolve the issue, contact The Shop: [email protected].

I’ve solved the problem. The cable was bad and it the emonpi detected the port after swapping the cable.

2 Likes