Domoticz Plugin to extracting OBIS CODES values from Power Meters
This plugin only helping to extracting data from Power meters
All new device are creating as a text.
You have to make your on lua script, use value from obis text device and update the dummy device to make charts.
Obis codes descriptions -> https://www.promotic.eu/en/pmdoc/Subsystems/Comm/PmDrivers/IEC62056_OBIS.htm
Installation:
cd ~/domoticz/plugins
git clone https://github.com/MFxMF/Domoticz-OBIS-Codes-Extractor
sudo pip3 install telnetlib3
Restart your domoticz server.
Used python modules:
telnetlib3 -> https://telnetlib3.readthedocs.io
Tested on domoticz 4.10717
Connection RS485 to LAN conventer to the Power Meter
Conventer Home page -> https://www.usriot.com/products/modbus-serial-to-ethernet-converters.html
To do connection test you have to telnet to RS485 conventer and after the connection
input initial code.
In my case is: /?!
Sometime device serial numer is neccesary
Example Below:
pi@raspberry:~$ telnet 192.168.2.221 26
Trying 192.168.2.221...
Connected to 192.168.2.221.
Escape character is '^]'.
/?!
/[email protected]
1-1:C.1.0(1312321)
1-1:0.9.1(10:43:51)
1-1:0.9.2(19-10-06)
1-1:1.8.1(00870.918kWh)
1-1:1.8.109(00853.841kWh)
1-1:1.8.108(00790.023kWh)
1-1:1.8.107(00732.802kWh)
1-1:1.8.106(00664.845kWh)
1-1:1.8.105(00604.491kWh)
1-1:1.8.2(00520.655kWh)
1-1:1.8.209(00508.593kWh)
1-1:1.8.208(00478.261kWh)
1-1:1.8.207(00454.785kWh)
1-1:1.8.206(00424.815kWh)
1-1:1.8.205(00397.692kWh)
1-1:1.8.3(02127.828kWh)
1-1:1.8.309(02093.799kWh)
1-1:1.8.308(01931.960kWh)
1-1:1.8.307(01796.433kWh)
1-1:1.8.306(01628.924kWh)
1-1:1.8.305(01459.285kWh)
1-1:1.8.0(03519.402kWh)
1-1:1.8.009(03456.235kWh)
1-1:1.8.008(03200.245kWh)
1-1:1.8.007(02984.021kWh)
1-1:1.8.006(02718.585kWh)
1-1:1.8.005(02461.470kWh)
1-1:5.8.1(00181.688kvarh)
1-1:5.8.109(00178.204kvarh)
1-1:5.8.108(00163.258kvarh)
1-1:5.8.107(00149.054kvarh)
1-1:5.8.106(00133.048kvarh)
1-1:5.8.105(00118.831kvarh)
1-1:5.8.2(00112.636kvarh)
1-1:5.8.209(00110.163kvarh)
1-1:5.8.208(00102.996kvarh)
1-1:5.8.207(00096.784kvarh)
1-1:5.8.206(00089.491kvarh)
1-1:5.8.205(00083.043kvarh)
1-1:5.8.3(00406.531kvarh)
1-1:5.8.309(00401.129kvarh)
1-1:5.8.308(00368.797kvarh)
1-1:5.8.307(00339.454kvarh)
1-1:5.8.306(00303.322kvarh)
1-1:5.8.305(00263.973kvarh)
1-1:5.8.0(00700.856kvarh)
1-1:5.8.009(00689.497kvarh)
1-1:5.8.008(00635.052kvarh)
1-1:5.8.007(00585.292kvarh)
1-1:5.8.006(00525.862kvarh)
1-1:5.8.005(00465.848kvarh)
1-1:8.8.1(00000.000kvarh)
1-1:8.8.109(00000.000kvarh)
1-1:8.8.108(00000.000kvarh)
1-1:8.8.107(00000.000kvarh)
1-1:8.8.106(00000.000kvarh)
1-1:8.8.105(00000.000kvarh)
1-1:8.8.2(00000.000kvarh)
1-1:8.8.209(00000.000kvarh)
1-1:8.8.208(00000.000kvarh)
1-1:8.8.207(00000.000kvarh)
1-1:8.8.206(00000.000kvarh)
1-1:8.8.205(00000.000kvarh)
1-1:8.8.3(00000.401kvarh)
1-1:8.8.309(00000.390kvarh)
1-1:8.8.308(00000.386kvarh)
1-1:8.8.307(00000.351kvarh)
1-1:8.8.306(00000.339kvarh)
1-1:8.8.305(00000.339kvarh)
1-1:8.8.0(00000.401kvarh)
1-1:8.8.009(00000.390kvarh)
1-1:8.8.008(00000.387kvarh)
1-1:8.8.007(00000.351kvarh)
1-1:8.8.006(00000.339kvarh)
1-1:8.8.005(00000.339kvarh)
1-1:1.6.0(0.552kW)(19-10-06,08:45)
1-1:1.6.009(0.577kW)(19-09-18,09:15)
1-1:1.6.008(0.586kW)(19-08-29,12:45)
1-1:1.6.007(0.592kW)(19-07-18,09:30)
1-1:1.6.006(0.603kW)(19-06-28,11:00)
1-1:1.6.005(0.556kW)(19-05-07,07:45)
1-1:1.2.1(008.090kW)
1-1:1.2.109(008.090kW)
1-1:1.2.108(007.513kW)
1-1:1.2.107(006.927kW)
1-1:1.2.106(006.335kW)
1-1:1.2.105(005.732kW)
1-1:1.4.0(013)(0.474kW)
1-1:1.5.0(0.500kW)
1-1:0.1.0(14)
1-1:0.1.209(19-10-01,00:00)
1-1:0.1.208(19-09-01,00:00)
1-1:0.1.207(19-08-01,00:00)
1-1:0.1.206(19-07-01,00:00)
1-1:0.1.205(19-06-01,00:00)
1-1:0.1.309(00:00)(00000000,00000000)
1-1:0.1.308(00:00)(00000000,00000000)
1-1:0.1.307(00:00)(00000000,00000000)
1-1:0.1.306(00:00)(00000000,00000000)
1-1:0.1.305(00:00)(00000000,00000000)
1-1:0.9.0(07)
1-1:C.61(19-10-01)
1-1:83.8.3(143.517kWh)
1-1:83.8.6(112802kWh)
1-1:32.7.0(60.1V)
1-1:52.7.0(59.8V)
1-1:72.7.0(60.3V)
1-1:31.7.0(3.068A)
1-1:51.7.0(2.789A)
1-1:71.7.0(2.719A)
1-1:1.7.0(0.488kW)
1-1:3.7.0(0.121kvar)
1-1:4.7.0(0.000kvar)
1-1:13.7.0(0.97)
1-1:F.F(00000000)
1-1:F.F.1(00000000)
1-1:F.F.2(00000000)
1-1:F.F.3(00000000)
1-1:C.7.0(0001)
1-1:C.7.1(0000)
1-1:C.7.2(0002)
1-1:C.7.3(0000)
1-1:C.52(19-09-05,08:08)
1-1:C.53(08:08)
1-1:C.54(19-09-05,12:12)
1-1:C.55(12:12)
1-1:C.56(0000.04.04)
1-1:C.7.4(00)
1-1:C.77.001(19-09-04,08:08,19-09-04,12:12)
1-1:C.77.002(19-06-29,15:21,19-06-29,15:21)
1-1:C.77.003(18-08-25,15:13,18-08-25,15:13)
1-1:C.77.0*04(18-08-10,15:14,18-08-10,15:14)
1-1:C.3.0(00000000)
1-1:C.4.0(00C00088)
1-1:C.5.0(0020C0F0)
1-1:C.60(19-10-06)
1-1:C.2.0(02)
!
Domoticz hardware
After setup domoticz plugin, on the Domoticz Devices, a new idx should be created
Make your own. Below an example.