Git Product home page Git Product logo

Comments (2)

RickCarlino avatar RickCarlino commented on June 20, 2024 2

To add some details to what @jsimmonds2 said, the MQTT broker was not intended to be a replaceable component. RabbitMQ is the only supported broker. The software stack's MQTT usage was intentionally built with tight coupling to the API server for security reasons. To use a non-FarmBot MQTT server you would need to self-host your FarmBot and set a custom MQTT_HOST ENV var on the server-side. You would then need to double-check that the server still operates correctly with your vendor's specific MQTT broker (no guarantee that it will work). After that, you will need to ensure that the MQTT broker is secure since the Web App will not be able to control access to the MQTT server. The Web App's default MQTT server has security mechanisms, but they are specific to RabbitMQ, it will not be able to control access if you do not use RabbitMQ.

I would not recommend changing the default MQTT server since it will require you to make modifications to the software source code in multiple places. It will also require you to understand the security risks involved.

from farmbot_os.

jsimmonds2 avatar jsimmonds2 commented on June 20, 2024 1

want change the broker for sending and receiving

You need to be self-hosting the Web App code, pretty sure.

In the FBOS code, check out this process Supervisor code to see where Authentication Credentials come from :)

from farmbot_os.

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.