Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

164
Visualizações
Connecting AWS MQTT via websocket

I am trying to connect a sensor to an AWS MQTT Broker to a database that will send it to a webserver so that it can be easily accessible. Right now the only way people in our lab can have access to our sensor data is through contacting me directly and having me connect to the Node Red dashboard. Would there be any way for everyone to have access to the data via WebSocket, or at least a couple of people?

I've searched for hours on end and have had no success regarding the ease of accessibility.

From what I've researched there is this a java based client called MQTT.Cool that can connect multiple brokers and have data published via WebSocket using JavaScript. However there is literally no data available except the ones provided by the company. So combining it it with my project has not been an easy task.

Also, I've thought about allowing my node red dashboard to be accessed out of my local ip-address, but due to security reasons it has been recommended not to be done.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

AWS IoT provides an SDK that you can use in your browser: https://github.com/aws/aws-iot-device-sdk-js#browser

You can write a web application and view the contents returned by the database after logging in If you need to browse in real-time, you can use mqtt.js to subscribe to some topics: https://www.emqx.com/en/blog/connect-to-mqtt-broker-with-websocket

Or use MQTTX, a client tool, to connect directly to the MQTT broker and subscribe to topic

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda