config
This commit is contained in:
@ -13,8 +13,6 @@ class MqttPublish(AbstractMqttPublisher):
|
|||||||
self.queue = queue
|
self.queue = queue
|
||||||
self.stats = stats
|
self.stats = stats
|
||||||
self.topicPre = self.config["publishTopicPrefix"]
|
self.topicPre = self.config["publishTopicPrefix"]
|
||||||
self.statusTopic = self.config["statusTopic"]
|
|
||||||
self.statusThreshold = self.config["statusThreshold"]
|
|
||||||
|
|
||||||
def localLoop(self):
|
def localLoop(self):
|
||||||
while not self.killBill:
|
while not self.killBill:
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
"broker": "172.16.2.16",
|
"broker": "172.16.2.16",
|
||||||
"port": 1883,
|
"port": 1883,
|
||||||
"publishTopicPrefix": "opcua",
|
"publishTopicPrefix": "opcua",
|
||||||
"statusTopic": "opcua/bridge/status",
|
|
||||||
"statusThreshold": 100
|
|
||||||
},
|
},
|
||||||
"stats": {
|
"stats": {
|
||||||
"topic": "statistics",
|
"topic": "statistics",
|
||||||
|
Reference in New Issue
Block a user