Sun, 09 Sep 2018 19:11:14 +0200
Extended the plug-in descriptive text and added some more TODO comments.
MqttMonitor/MqttMonitorWidget.py | file | annotate | diff | comparison | revisions | |
PluginMqttMonitor.py | file | annotate | diff | comparison | revisions |
--- a/MqttMonitor/MqttMonitorWidget.py Sun Sep 09 19:10:33 2018 +0200 +++ b/MqttMonitor/MqttMonitorWidget.py Sun Sep 09 19:11:14 2018 +0200 @@ -594,6 +594,7 @@ if hostAndPort in brokerList: brokerList.remove(hostAndPort) brokerList.insert(0, hostAndPort) + # TODO: limit to most recently used 20 entries self.__plugin.setPreferences("RecentBrokersWithPort", brokerList) self.__populateBrokerComboBoxes() @@ -609,6 +610,7 @@ self.brokerPortComboBox.clear() # step 2a: populate the broker name list + # TODO: make list unique and sorted self.brokerComboBox.addItems([b[0].strip() for b in brokerList]) self.__setConnectButtonState()
--- a/PluginMqttMonitor.py Sun Sep 09 19:10:33 2018 +0200 +++ b/PluginMqttMonitor.py Sun Sep 09 19:11:14 2018 +0200 @@ -26,13 +26,17 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "1.0.0" +version = "1.1.0" className = "MqttMonitorPlugin" packageName = "MqttMonitor" shortDescription = "Plug-in implementing a tool to connect to a MQTT broker" longDescription = ( """Plug-in implementing a tool to connect to a MQTT broker, subscribe""" - """ to topics, present received messages and publish messages.\n\n""" + """ to topics, present received messages and publish messages.""" + """ It displays broker statistics (the $SYS/# topic tree) and""" + """ log messages of the underlying paho-mqtt client. This tool""" + """ support unencrypted connections (port 1883) as well as encrypted""" + """ SSL/TLS connections (port 8883)\n\n""" """Note: The paho-mqtt Python package must be installed.""" ) needsRestart = False