21.04.2022, 08:08
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)