Coder Social home page Coder Social logo

chkr1011 / mqttmultimeter Goto Github PK

View Code? Open in Web Editor NEW
218.0 218.0 35.0 1.59 MB

Cross platform MQTT client for MQTT debugging and message inspection. It is based on the .NET library MQTTnet.

License: MIT License

C# 100.00%
arduino debugging esp32 esp8266 home-automation iot linux macos mqtt mqtt-broker mqtt-client mqtt-explorer mqtt-protocol mqtt-server mqtt-smarthome mqttclient postman smart-home smarthome windows

mqttmultimeter's People

Contributors

chkr1011 avatar ms-sk avatar soyoo avatar tkouba avatar yyjdelete avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mqttmultimeter's Issues

cannot connect to AWS IoT with certificate

When connecting to AWS Iot Core, the selected pfx certificate seems to not be used in the TLS options. When I made the following changes to set the cert and applicationProtocols, it started working:
MqttClientService.cs:

        clientOptionsBuilder.WithTls(o =>
        {
            o.SslProtocol = item.ServerOptions.SelectedTlsVersion.Value;
            o.IgnoreCertificateChainErrors = item.ServerOptions.IgnoreCertificateErrors;
            o.IgnoreCertificateRevocationErrors = item.ServerOptions.IgnoreCertificateErrors;
            o.CertificateValidationHandler = item.ServerOptions.IgnoreCertificateErrors ? _ => true : null;

            **if (!string.IsNullOrEmpty(item.SessionOptions.CertificatePath))
            {
                X509Certificate2Collection certificates = new()
                {
                    new X509Certificate2(item.SessionOptions.CertificatePath)
                };

                o.Certificates = certificates;
                o.ApplicationProtocols = new List<SslApplicationProtocol>() { new("mqtt") };
            }**
        });

how to access mqtt broker using token

is there any option to access the mqtt broker by ACCESS_TOKEN?

example : I'm using to following command to publish message for my mqtt broker
mosquitto_pub -d -q 1 -h "$HOST_NAME" -p "1883" -t "temperature/sensor" -u "$ACCESS_TOKEN" -m {"temperature":25}

Save and restore payload

Hello,
thank you for this great app.
I am using the MQTTnetApp to send test messages to an application I am developing. It is great that the topics and their settings are saved and restored when restarting the MQTTnetApp. However, the payload is not restored and always clean after restart. Is this on purpose? Would it be possible to save and restore the payload as well?
Best regards, Philip

Thanks

Hi.

This is not a real issue, but I just wanted to say thanks for that app 👍 .

I wanted a GUI that make easy to send and receive MQTT messages and your app just do that perfectly. Before that I used MQTTBox but when sending a few hundred messages in a few milliseconds it become really slow while your app remain responsive.

So thanks a lot for this.

Allow self signed certificates

Hello, is it possible to add a function that would allow to use a non-valid certificate ( self signed ) on a checkbox?

the executable is so huge, is it possible slim it?

executable from v1.7.0.211 mqttMultimeter-linux-x64.zip

176M 2023-04-30 10:22 mqttMultimeter


file says not stripped, but after strip it'll broken.


$ file ./mqttMultimeter
./mqttMultimeter: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=8c843397ceec509a72a2b2394d574f5822bb3aad, not stripped, too many notes (256)

$ strip ./mqttMultimeter

$ ./mqttMultimeter
Failure processing application bundle; possible file corruption.
Arithmetic overflow while reading bundle.
A fatal error occurred while processing application bundle

The app crashes

The connection is closed if a large amount of data gets into the listbox.
You can check it by entering this data in the options: host: test.mosquitto.org port: 1883

mqtt5

Official mqtt-client supports only mqtt3. Does your app support mqtt5?

Tree view

The "gold standard" for mqtt GUI clients (IMHO) is MQTT-Explorer which sadly is no longer actively maintained.

It has a tree-view as an alternative to the "inflight" panel in mqttnetapp, which is very useful.

It would be awesome to have something like this here as well.

mqttexp

Import mqtt_inflight does nothing

I saved an export of mqtt_inflight and then when I imported it I saw nothing. I looked at the file contents and the data is all there. So it should work but the inflight viewer shows nothing. I am not sure if I am using it incorrectly or if the feature just doesn't work.

[Request] Websocket connection UX

When selecting 'websocket' as the transport, the port field has no effect, since the host field effectively becomes an 'address field' where you specify the host, port and path all in one. This wasn't immediately obvious to me as a new user, until after some trial and error.

As a suggestion, when the user selects the websocket transport, could the UI disable the port field, and change the host field's label to say 'address'?

tree view ?

Is it possible to add TreeView which is loaded dynamically instead of ReceivedApplicationMessages?
I think that list of messages in ListBox is a bad idea, it's uncomfortable to work with it

Безымянный
`

[Feature] Export / import the connection settings as JSON?

I'm not sure if this already works, but it would be nice to have the option to export / import the connection settings (E.g. as a JSON structure). This would make it more easy if you want to share connections with a colleague, etc.

Sharing saved entries

Hi, I was wondering if I can use the app as documentation tool so I can share my saved entries and have it loaded to another person's application instance.

Thanks in advance

Any pre built release available?

Hello, just starting with MQTTnet library. So was wondering if you have published any pre built binaries for Windows or linux anywhere? Or its just source and we have to figure out how to build in our favorite OS?

Support XDG layout on Linux

Currently, we get a directory named $HOME/.MQTTnetApp i which the various configuration files are written.

It would be great to follow the XDG Base Directory Specification https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html so as to not pollute $HOME.

Secondly, the casing is rather annoying on a case-sensitive file system where application directories are typically kept lower case. bash as an example will not auto-complete that out-of-the-box unless you get the casing right when typing the first letters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.