Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do you send data to the two mosquitto broker ?? #18

Open
zakariazouaoui opened this issue Oct 15, 2020 · 1 comment
Open

how do you send data to the two mosquitto broker ?? #18

zakariazouaoui opened this issue Oct 15, 2020 · 1 comment

Comments

@zakariazouaoui
Copy link

hello
i have a web server that have nginx and 2 docker-compose that have each 1mqqt 1 grafana 1 node red
i want to know how did you manage mqtt sub and hub i cant send data to any mqtt broker from the outside any idea

@janvda
Copy link
Owner

janvda commented Oct 16, 2020

Do you want to connect to the mqtt broker from the internet or from your LAN (local area network) ?

  • Connecting from the internet is not possible. Balena is opening only port for https (443).
  • Connecting from LAN is possible. You need to figure out the IP address of the device running the balena application and use that ip address as the ip address of the mqtt broker. The port number of the mqtt broker is specified in the docker compose file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants