Giter VIP home page Giter VIP logo

Comments (2)

TD22057 avatar TD22057 commented on June 18, 2024

FYI there are two different MQTT gateways right now. The version in MySensors 1.5 is a pseudo-broker (i.e. a broker with an extremely limited feature set). There is another version which is an MQTT client (I believe the latest version is https://github.com/ntruchsess/MySensors/tree/mqttclient). The difference is that the client publishes messages to an existing broker. The pseudo-broker allows a limited number (might be only 1, not sure) of connections and publishes all messages to those connections.

Anyone using MQTT is running a broker (Mosquitto, RabbitMQ, etc) so, in my opinion, the MQTT client gateway version is a much better version to support. In that mode, MyController would just implement a basic MQTT publish/subscribe model with a broker and the broker will take care of routing to the gateway. Of course since the other gateway is a broker, that might not be a big difference. But I'm not sure if they use exactly the same message structure or not - that would have to be checked.

from mycontroller-v1-legacy.

jkandasa avatar jkandasa commented on June 18, 2024

For now I have added support for https://github.com/mysensors/Arduino/tree/master/libraries/MySensors/examples/MQTTGateway But it has very limited support, We have to change address(topic) format to support all the available MysSensors commands.

from mycontroller-v1-legacy.

Related Issues (20)

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.