From a0efe1129b7e646d1c366795dbfcbec5d706880c Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 17 Jul 2019 16:15:21 +0100 Subject: [PATCH] registers changed --- src/registers.json | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/src/registers.json b/src/registers.json index a69138e..a467e83 100644 --- a/src/registers.json +++ b/src/registers.json @@ -2,9 +2,9 @@ { "args": { "address": 1, + "converter": "dht20TOFloat", "count": 1, "label": "Temperature", - "converter": "dht20TOFloat", "publishTopic": "Pub/Temperature", "scanRate": 10.0, "unit": 5, @@ -15,9 +15,9 @@ { "args": { "address": 2, + "converter": "dht20TOFloat", "count": 1, "label": "Humidity", - "converter": "dht20TOFloat", "publishTopic": "Pub/Humidity", "scanRate": null, "unit": 5, @@ -28,6 +28,8 @@ { "args": { "address": 0, + "bitCount": 8, + "converter": null, "count": 1, "label": "Switches", "publishTopic": "Pub/Switches", @@ -40,10 +42,10 @@ { "args": { "address": 40010, + "converter": "uint32", "count": 2, "feedbackTopic": "FB/Counter1", "label": "Counter1", - "converter": "uint32", "publishTopic": "Pub/Counter1", "scanRate": 1.0, "subscribeTopic": "Sub/Counter1", @@ -54,9 +56,9 @@ { "args": { "address": 40012, + "converter": "uint32", "count": 2, "feedbackTopic": "FB/Counter2", - "converter": "uint32", "label": "Counter2", "publishTopic": "Pub/Counter2", "scanRate": null, @@ -68,9 +70,9 @@ { "args": { "address": 40014, + "converter": "uint32", "count": 2, "feedbackTopic": "FB/Counter3", - "converter": "uint32", "label": "Counter3", "publishTopic": "Pub/Counter3", "scanRate": null, @@ -82,9 +84,9 @@ { "args": { "address": 40016, + "converter": "uint32", "count": 2, "feedbackTopic": "FB/Counter4", - "converter": "uint32", "label": "Counter4", "publishTopic": "Pub/Counter4", "scanRate": 1.0, @@ -104,5 +106,17 @@ "unit": 4 }, "type": "CoilDatapoint" + }, + { + "args": { + "address": 1, + "feedbackTopic": "FB/Coil2", + "label": "Coil2", + "publishTopic": "Pub/Coil2", + "scanRate": 1.0, + "subscribeTopic": "Sub/Coil2", + "unit": 4 + }, + "type": "CoilDatapoint" } -] +] \ No newline at end of file