Logic Machine Forum
Map OBIS Codes - 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: Map OBIS Codes (/showthread.php?tid=1328)



Map OBIS Codes - Mr.D - 05.04.2018

I just received a new powermeter and it is possible to connect to this with an ethernet cable. From the modbus page I can see its possible to connect with ip adresse and TCP connections. However, I do I interpret the values been received. From the user guide I have a map of the OBIS Codes/Values.... I have another powermeter connected with modbus and this one uses registers to map the data. 

Anyone knows how to do this?
The powermeter is a KAIFA...


RE: Map OBIS Codes - admin - 05.04.2018

Can you provide documentation on this meter? Maybe it is M-Bus not ModBus? There are meters that use M-Bus as a transport layer but encode data using different protocol (HAN).


RE: Map OBIS Codes - Mr.D - 05.04.2018

Hi,

Yes it uses a HAN, and it might be a M-Bus...

This is the OBIS Codes/values...
Is this helpful?

[img]blob:https://forum.logicmachine.net/c0a813c0-2813-46ef-8a5d-48a76be22ec0[/img]


RE: Map OBIS Codes - admin - 05.04.2018

Then you need RS-232<>M-Bus adapter to connect this meter. From what I've read the meter sends data periodically but this feature might not be enabled by default. There's code for Arduino which reads data from such meters, should not be too hard to rewrite it to use Lua serial library: https://github.com/roarfred/AmsToMqttBridge