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 - TZ=Europe/Berlin
- PORT=20211 - PORT=20211
network_mode: host network_mode: host
dns: dns: # specifying the DNS servers used for the container
- 10.8.0.1 - 10.8.0.1
- 10.8.0.17 - 10.8.0.17
``` ```

View File

@@ -732,7 +732,7 @@
"description": [ "description": [
{ {
"language_code": "en_us", "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": [], "options": [],
"localized": ["name", "description"], "localized": ["name", "description"],
"name": [ "name": [

View File

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

View File

@@ -56,7 +56,7 @@ def main():
mylog('verbose', [f'[{pluginName}] Unknown devices count: {len(unknown_devices)}']) 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) # execute_name_lookup('192.168.1.121', timeout)
for device in unknown_devices: for device in unknown_devices:
@@ -86,7 +86,7 @@ def main():
#=============================================================================== #===============================================================================
def execute_name_lookup (ip, timeout): def execute_name_lookup (ip, timeout):
""" """
Execute the NBLOOKUP command on IP. Execute the NBTSCAN command on IP.
""" """
args = ['nbtscan', ip] args = ['nbtscan', ip]