Logic Machine Forum
HONEYWELL METER - MBUS - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: HONEYWELL METER - MBUS (/showthread.php?tid=4008)



HONEYWELL METER - MBUS - Angeles - 20.04.2022

Hi again:

I have a new question.... We have an installation with Honeywell meters. They have 3 address - primary1 primary2 and second. Primary 1 is 0,  but primary2 is the last two number of its serie number.
My question is, how to use primary2 to getdata from the meter? I use getdata and didn't get any result. I don't know if someone has used this type of meter. Basically is for not change the address of every meter and use de primary2 instead.

Thanks a lot....


RE: HONEYWELL METER - MBUS - admin - 21.04.2022

Try running the bus scan first. Disable any other script that might be using mbus (only a single script can access the bus at any time). You might also need to change the baud rate, check the meter documentation for this.
Code:
require('mbus')

mbus.init('/dev/RS232', 2400)
res = mbus.scan(0, 254)
log(res)