From 7de3c9322c2387d1c86de8b11a0eb13c275612bd Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 9 Feb 2022 18:11:18 +0100 Subject: [PATCH] config --- opcua2mqtt/MqttPublish.py | 2 -- opcua2mqtt/config.json | 2 -- 2 files changed, 4 deletions(-) diff --git a/opcua2mqtt/MqttPublish.py b/opcua2mqtt/MqttPublish.py index bdb8857..3299ff5 100644 --- a/opcua2mqtt/MqttPublish.py +++ b/opcua2mqtt/MqttPublish.py @@ -13,8 +13,6 @@ class MqttPublish(AbstractMqttPublisher): self.queue = queue self.stats = stats self.topicPre = self.config["publishTopicPrefix"] - self.statusTopic = self.config["statusTopic"] - self.statusThreshold = self.config["statusThreshold"] def localLoop(self): while not self.killBill: diff --git a/opcua2mqtt/config.json b/opcua2mqtt/config.json index 2761308..9d4cd92 100644 --- a/opcua2mqtt/config.json +++ b/opcua2mqtt/config.json @@ -3,8 +3,6 @@ "broker": "172.16.2.16", "port": 1883, "publishTopicPrefix": "opcua", - "statusTopic": "opcua/bridge/status", - "statusThreshold": 100 }, "stats": { "topic": "statistics",