Logic Machine Forum
M-Bus - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: M-Bus (/showthread.php?tid=2081)



M-Bus - stonecroft - 14.05.2019

Hello.

I'm trying to read M-Bus meters with external Serial to M-Bus gateway (Tecbase Mbus 10 RS232-Mbus) according to http://openrb.com/m-bus-integration-in-lm

When I try to read meter data I get *nil in return.
Scan the bus and change short address is working so connection to M-Bus meter seems to work.
Any ideas what I'm doing wrong?


RE: M-Bus - admin - 14.05.2019

What error do you get in Alerts tab?


RE: M-Bus - stonecroft - 14.05.2019

No error in Alerts tab, just *nil in Logs tab.
If I try to read wrong short address or change short address I get meassge in Alerts tab.


RE: M-Bus - admin - 14.05.2019

Example script is wrong, it should have log(res) instead of log(data)


RE: M-Bus - stonecroft - 15.05.2019

Perfect, now it works 

Thanks