enabled flag in opcua configuration
This commit is contained in:
@ -44,6 +44,8 @@ logger.info("MqttPublish started")
|
||||
|
||||
opcuaThreads = []
|
||||
for o in config['opcua']:
|
||||
if o['enabled'] != 'true':
|
||||
continue
|
||||
ot = OpcUaRequester(o, queue)
|
||||
ot.start()
|
||||
logger.info(f"OpcUaRequester thread for {o['name']} started")
|
||||
|
@ -6,6 +6,7 @@
|
||||
},
|
||||
"opcua": [
|
||||
{
|
||||
"enabled": "true",
|
||||
"nodes": [
|
||||
{ "ns": 0, "n": "i=345", "d": "pv" },
|
||||
{ "ns": 0, "n": "i=348", "d": "sv" },
|
||||
|
Reference in New Issue
Block a user