This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

M-Bus
#1
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?
Reply
#2
What error do you get in Alerts tab?
Reply
#3
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.
Reply
#4
Example script is wrong, it should have log(res) instead of log(data)
Reply
#5
Perfect, now it works 

Thanks
Reply


Forum Jump: