aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2019-05-24 15:50:38 +0200
committerBjørn Mork <bjorn@mork.no>2019-05-24 15:50:38 +0200
commitc68b36a37ef18769dd1950e3839f758f1dc7237b (patch)
treeb2cd7e7cf976019c837a7ff906d3db65777dfdea
parent7be09931bfee37199ef669f37e3fc270988fa569 (diff)
add config examples
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r--aidon_v0001.json21
-rw-r--r--kaifa_v0001.json21
-rw-r--r--kamstrup_v0001.json20
-rw-r--r--obinsectd.conf18
4 files changed, 80 insertions, 0 deletions
diff --git a/aidon_v0001.json b/aidon_v0001.json
new file mode 100644
index 0000000..287557c
--- /dev/null
+++ b/aidon_v0001.json
@@ -0,0 +1,21 @@
+[
+ { "1-1:0.2.129.255" : { "name" : "ListId", "value" : "AIDON_V0001" } },
+ { "0-0:96.1.0.255" : { "name" : "SerialNumber" } },
+ { "0-0:96.1.7.255" : { "name" : "Model" } },
+ { "1-0:1.7.0.255" : { "name" : "Power", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:2.7.0.255" : { "name" : "PowerExport", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:3.7.0.255" : { "name" : "ReactivePower", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:4.7.0.255" : { "name" : "ReactivePowerExport", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:31.7.0.255" : { "name" : "CurrentL1", "unit" : "A", "scale" : 10 } },
+ { "1-0:51.7.0.255" : { "name" : "CurrentL2", "unit" : "A", "scale" : 10 } },
+ { "1-0:71.7.0.255" : { "name" : "CurrentL3", "unit" : "A", "scale" : 10 } },
+ { "1-0:32.7.0.255" : { "name" : "VoltageL1", "unit" : "V", "scale" : 10 } },
+ { "1-0:52.7.0.255" : { "name" : "VoltageL2", "unit" : "V", "scale" : 10 } },
+ { "1-0:72.7.0.255" : { "name" : "VoltageL3", "unit" : "V", "scale" : 10 } },
+ { "0-0:1.0.0.255" : { "name" : "MeterTime" } },
+ { "1-0:1.8.0.255" : { "name" : "CumulativeEnergy", "unit" : "kWh", "scale" : 100 } },
+ { "1-0:2.8.0.255" : { "name" : "CumulativeEnergyExport", "unit" : "kWh", "scale" : 100 } },
+ { "1-0:3.8.0.255" : { "name" : "CumulativeReactiveEnergy", "unit" : "kVArh", "scale" : 100 } },
+ { "1-0:4.8.0.255" : { "name" : "CumulativeReactiveEnergyExport", "unit" : "kVArh", "scale" : 100 } }
+]
+
diff --git a/kaifa_v0001.json b/kaifa_v0001.json
new file mode 100644
index 0000000..470fc83
--- /dev/null
+++ b/kaifa_v0001.json
@@ -0,0 +1,21 @@
+[
+ { "1-1:0.2.129.255" : { "name" : "ListId", "value" : "KFM_001" } },
+ { "0-0:96.1.0.255" : { "name" : "SerialNumber" } },
+ { "0-0:96.1.7.255" : { "name" : "Model" } },
+ { "1-0:1.7.0.255" : { "name" : "Power", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:2.7.0.255" : { "name" : "PowerExport", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:3.7.0.255" : { "name" : "ReactivePower", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:4.7.0.255" : { "name" : "ReactivePowerExport", "unit" : "kW", "scale" : 1000 } },
+ { "1-0:31.7.0.255" : { "name" : "CurrentL1", "unit" : "A", "scale" : 10 } },
+ { "1-0:51.7.0.255" : { "name" : "CurrentL2", "unit" : "A", "scale" : 10 } },
+ { "1-0:71.7.0.255" : { "name" : "CurrentL3", "unit" : "A", "scale" : 10 } },
+ { "1-0:32.7.0.255" : { "name" : "VoltageL1", "unit" : "V", "scale" : 10 } },
+ { "1-0:52.7.0.255" : { "name" : "VoltageL2", "unit" : "V", "scale" : 10 } },
+ { "1-0:72.7.0.255" : { "name" : "VoltageL3", "unit" : "V", "scale" : 10 } },
+ { "0-0:1.0.0.255" : { "name" : "MeterTime" } },
+ { "1-0:1.8.0.255" : { "name" : "CumulativeEnergy", "unit" : "kWh", "scale" : 1000 } },
+ { "1-0:2.8.0.255" : { "name" : "CumulativeEnergyExport", "unit" : "kWh", "scale" : 1000 } },
+ { "1-0:3.8.0.255" : { "name" : "CumulativeReactiveEnergy", "unit" : "kVArh", "scale" : 1000 } },
+ { "1-0:4.8.0.255" : { "name" : "CumulativeReactiveEnergyExport", "unit" : "kVArh", "scale" : 1000 } }
+]
+
diff --git a/kamstrup_v0001.json b/kamstrup_v0001.json
new file mode 100644
index 0000000..9e5eaf8
--- /dev/null
+++ b/kamstrup_v0001.json
@@ -0,0 +1,20 @@
+[
+ { "1-1:0.2.129.255" : { "name" : "ListId", "value" : "Kamstrup_V0001" } },
+ { "1-1:0.0.5.255" : { "name" : "SerialNumber" } },
+ { "1-1:96.1.1.255" : { "name" : "Model" } },
+ { "1-1:1.7.0.255" : { "name" : "Power", "unit" : "kW", "scale" : 1000 } },
+ { "1-1:2.7.0.255" : { "name" : "PowerExport", "unit" : "kW", "scale" : 1000 } },
+ { "1-1:3.7.0.255" : { "name" : "ReactivePower", "unit" : "kW", "scale" : 1000 } },
+ { "1-1:4.7.0.255" : { "name" : "ReactivePowerExport", "unit" : "kW", "scale" : 1000 } },
+ { "1-1:31.7.0.255" : { "name" : "CurrentL1", "unit" : "A", "scale" : 100 } },
+ { "1-1:51.7.0.255" : { "name" : "CurrentL2", "unit" : "A", "scale" : 100 } },
+ { "1-1:71.7.0.255" : { "name" : "CurrentL3", "unit" : "A", "scale" : 100 } },
+ { "1-1:32.7.0.255" : { "name" : "VoltageL1", "unit" : "V", "scale" : 1 } },
+ { "1-1:52.7.0.255" : { "name" : "VoltageL2", "unit" : "V", "scale" : 1 } },
+ { "1-1:72.7.0.255" : { "name" : "VoltageL3", "unit" : "V", "scale" : 1 } },
+ { "0-1:1.0.0.255" : { "name" : "MeterTime" } },
+ { "1-1:1.8.0.255" : { "name" : "CumulativeEnergy", "unit" : "kWh", "scale" : 100 } },
+ { "1-1:2.8.0.255" : { "name" : "CumulativeEnergyExport", "unit" : "kWh", "scale" : 100 } },
+ { "1-1:3.8.0.255" : { "name" : "CumulativeReactiveEnergy", "unit" : "kVArh", "scale" : 100 } },
+ { "1-1:4.8.0.255" : { "name" : "CumulativeReactiveEnergyExport", "unit" : "kVArh", "scale" : 100 } }
+]
diff --git a/obinsectd.conf b/obinsectd.conf
new file mode 100644
index 0000000..246cdbe
--- /dev/null
+++ b/obinsectd.conf
@@ -0,0 +1,18 @@
+{
+ "topicmap" :
+ {
+ "/obinsect/debug/channel" : "debug",
+ "/obinsect/debug/raw" : "rawhexdump",
+ "/obinsect/json/normalized" : "normal",
+ "/obinsect/json/full" : "full",
+ "/obinsect/value/power" : "1-1:0.2.129.255",
+ "/obinsect/value/export" : "PowerExport",
+ "/obinsect/value/custom" : [ "timestamp", "1-1:0.2.129.255" ]
+ },
+ "obisdefs" :
+ [
+ "/etc/obinsect/aidon_v0001.json",
+ "/etc/obinsect/kaifa_v0001.json",
+ "/etc/obinsect/kamstrup_v0001.json"
+ ]
+}