MQTT_topic_root

This commit is contained in:
jokob-sk
2024-10-03 13:45:59 +10:00
parent 14996d6582
commit 677e293138
5 changed files with 6 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ services:
- TZ=Europe/Berlin
- PORT=20211
network_mode: host
dns:
dns: # specifying the DNS servers used for the container
- 10.8.0.1
- 10.8.0.17
```

View File

@@ -732,7 +732,7 @@
"description": [
{
"language_code": "en_us",
"string": "The topic root of the devices sensors. Inserted into the <code>{MQTT_topic_root}/sensor/{DEVICE_ID}/state</code> topic."
"string": "The topic root of the devices sensors. Inserted into the <code>{MQTT_topic_root}/sensor/{MQTT_DEVICE_ID}/state</code> topic."
}
]
},

View File

@@ -173,7 +173,7 @@
}
]
},
"default_value": 30,
"default_value": 300,
"options": [],
"localized": ["name", "description"],
"name": [

View File

@@ -161,7 +161,7 @@
}
]
},
"default_value": 30,
"default_value": 300,
"options": [],
"localized": ["name", "description"],
"name": [

View File

@@ -56,7 +56,7 @@ def main():
mylog('verbose', [f'[{pluginName}] Unknown devices count: {len(unknown_devices)}'])
# TEST
# TEST - below is a WINDOWS host IP
# execute_name_lookup('192.168.1.121', timeout)
for device in unknown_devices:
@@ -86,7 +86,7 @@ def main():
#===============================================================================
def execute_name_lookup (ip, timeout):
"""
Execute the NBLOOKUP command on IP.
Execute the NBTSCAN command on IP.
"""
args = ['nbtscan', ip]