mqtt-explorer | MQTT Explorer - MQTT Subscriber client

 by   gambitcomminc Python Version: Current License: GPL-3.0

kandi X-RAY | mqtt-explorer Summary

kandi X-RAY | mqtt-explorer Summary

mqtt-explorer is a Python library typically used in User Interface applications. mqtt-explorer has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However mqtt-explorer build file is not available. You can download it from GitHub.

The MQTT Explorer subscriber client is designed to explore MQTT topics in your IoT Platform, show and sort statistics. It is useful if you want to analyze how much and what kind of information flows from publishers to the selected topic hierarchy. Commercial MQTT brokers have extensive global statistics in the $SYS topic, as detailed at , but not per-topic statistics. Furthermore, there is no easy way to explore what's happening in real-time. The existing simple open-source mqtt-stats subscriber client already displays per-topic statistics, eg. like mqtt-spy or MQTTLens, but more. It uses GTK to present a GUI. This utility allows you to analyze quantitatively the published topics underneath a wildcard topic and answer such questions as "which topic generates the most messages?" and "which topic generates the most traffic?". You can sort by messages/second to get the most active topics. The MQTT Explorer improves on this to explore interesting topics. It allows to filter topics, hides uninteresting topics, and allows to archive payloads for later replay by MIMIC MQTT Simulator .
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mqtt-explorer has a low active ecosystem.
              It has 2 star(s) with 0 fork(s). There are no watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              mqtt-explorer has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mqtt-explorer is current.

            kandi-Quality Quality

              mqtt-explorer has 0 bugs and 0 code smells.

            kandi-Security Security

              mqtt-explorer has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mqtt-explorer code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mqtt-explorer is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              mqtt-explorer releases are not available. You will need to build from source code and install.
              mqtt-explorer has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 1182 lines of code, 57 functions and 1 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed mqtt-explorer and discovered the below as its top functions. This is intended to give you an instant insight into mqtt-explorer implemented functionality, and help decide if they suit your requirements.
            • Create the GUI .
            • add a new entry
            • Called when a message is received .
            • Called when GTK filter clicked .
            • Event handler for archived topics
            • This method is called by the main thread .
            • create a mqtt client
            • Archive the last payload .
            • Invoked when a connection is received .
            • Called when the client is disconnected .
            Get all kandi verified functions for this library.

            mqtt-explorer Key Features

            No Key Features are available at this moment for mqtt-explorer.

            mqtt-explorer Examples and Code Snippets

            No Code Snippets are available at this moment for mqtt-explorer.

            Community Discussions

            QUESTION

            MQTT TLS connection
            Asked 2022-Mar-01 at 20:20

            I would like to connect a test MQTT-Client to my Node.js application as a MQTT-Broker. I am using the aedes library from moscajs

            My MQTT-Client is the tool "MQTT-Explorer" and here is my Node.js application:

            ...

            ANSWER

            Answered 2022-Mar-01 at 20:20

            MQTT Explorer is built using Node.js and the MQTT library MQTT.js. As per this issue:

            Node.js requires the IP address to be in the subjectAltNames for the cert and not in the CN. Maybe MQTT.fx isn't requiring that, but it should.

            and:

            If your server's certificate says CN=localhost in the Subject field, connect using localhost and not 127.0.0.1 and it should work. If it says CN=127.0.0.1, you have to make a new one because Node.js won't validate the IP address unless it's in the SAN extension. There is a way to work around it in code (I think it's an option called checkServerIdentity), but I would prefer to fix my certificate if I had this problem.

            A rationale for the approach taken in Node is set out in this answer which includes the following quote from RFC2818: HTTP Over TLS :

            In some cases, the URI is specified as an IP address rather than a hostname. In this case, the iPAddress subjectAltName must be present in the certificate and must exactly match the IP in the URI.

            As you are using MQTT over TLS (as opposed to HTTP Over TLS) you could argue that the above does not apply but, given that the main use of the TLS library is for HTTP traffic, it makes sense that it confirms to the RFC by default.

            You have a few options including:

            • Use a hostname (e.g. localhost) rather then an IP when creating the certificate/connecting.
            • Add the IP as a subjectAltName
            • Modify the library to use a noop checkServerIdentity (see this answer).
            • Use another application for testing (not really recommended as some applications will work and others will not). The issue quoted above mentions that MQTT.fx works.

            Source https://stackoverflow.com/questions/71312809

            QUESTION

            Connect to Azure IoT Hub using MQTT
            Asked 2022-Jan-21 at 07:29

            I am trying to connect to an Azure IoT Hub directly using MQTT using this method:

            https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support#using-the-mqtt-protocol-directly-as-a-device

            I am using MQTT explorer for windows: https://mqtt-explorer.com/ I enter the following details. My ioTHub is called IoTHub and my device is called device, so as per the documentation:

            Protocol: mqtt:// Host: iothub.azure-devices.net/?api-version=2018-06-3430 Port: 8883 Validate Cert: Off Encryption: Off Username: iothub.azure-devices.net/device/?api-version=2018-06-30 Password: SharedAccessSignature sr=iothub.azure-devices.net&sig=XXXXXXXXXXXXXXXXXXXredactedXXXXXXXXXXXXXXXXXXXX&se=1642603375&skn=iothubowner

            No ports are blocked from my location. The connection fails and says disconnected from server. If I try with TLS encryption it says not authorised.

            How can I access the IoTHub using MQTT?

            ...

            ANSWER

            Answered 2022-Jan-21 at 07:29

            You're on the right track! One small detail is missing, in the docs

            Quote:

            For the ClientId field, use the deviceId.

            The client ID can be set using the advanced settings, as seen in the two screenshots below:

            As for TLS Encryption, it's required. Switch it on and you should be able to connect.

            Edit: As you mentioned in the comment, the connection string was also wrong. You need the Shared Access Signature for a device. An easy way of generating one is by using the az cli. When you run the command below, you provide the connection string of your device (you can get it from the portal) and it will create the Shared Access Signature for you.

            az iot hub generate-sas-token --connection-string "HostName=iot-Hub.azure-devices.net;DeviceId=deviceId;SharedAccessKey=foo"

            Source https://stackoverflow.com/questions/70788177

            QUESTION

            MQTTnet : Unable to connect With TLS : Interop+AppleCrypto+SslException: bad protocol version
            Asked 2020-Oct-05 at 15:06

            I am a new .NET core user trying to learn how to connect a managed client with TLS on MacOS Catalina, using MQTTnet.

            I am trying to connect from ASP.NET Core 3 Background Service to a Mosquitto broker. Using MqttExplorer I am able to connect successfully to the server over TLS, with username, password and a server certificate (CA) file. So, I know the Mosquitto Broker is configured correctly.

            However, I am unable to achieve this with MQTTnet.

            ...

            ANSWER

            Answered 2020-Oct-03 at 22:13

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mqtt-explorer

            This python package requires.
            PyGTK https://python-gtk-3-tutorial.readthedocs.io/en/latest/
            Eclipse Paho MQTT client API https://www.eclipse.org/paho/clients/python/docs/

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/gambitcomminc/mqtt-explorer.git

          • CLI

            gh repo clone gambitcomminc/mqtt-explorer

          • sshUrl

            git@github.com:gambitcomminc/mqtt-explorer.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Python Libraries

            public-apis

            by public-apis

            system-design-primer

            by donnemartin

            Python

            by TheAlgorithms

            Python-100-Days

            by jackfrued

            youtube-dl

            by ytdl-org

            Try Top Libraries by gambitcomminc

            mqtt-stats

            by gambitcommincPython

            electric-meter-monitoring

            by gambitcommincPython

            sparkplug-demo

            by gambitcommincPython

            monitor-thresh

            by gambitcommincPython