DrSensor / F.I.D.E

A desktop application like File Explorer apps but for IoT data
Apache License 2.0
1 stars 1 forks source link

Run MQTT broker on start #6

Open DrSensor opened 6 years ago

DrSensor commented 6 years ago

There is 3 MQTT broker that can be run in the node.js application.

  1. Eclipse Ponte - Eclipse.org IoT project that based on Mosca. Have 3 main adapters: HTTP, MQTT, and COAP. Need to wait until it's mature :no_good_man:
  2. Mosca - First MQTT broker for node.js.
  3. Aedes - Created after discussion from Mosca users. It addresses the concerns about performance and stability. Have simple example :blush:

Seems going to use Aedes. PS: need to close the broker when exiting the application.

For testing, make sure you test it on: * arduino - because by default, MQTT uses TCP/IP transport, not HTTP * browser - Use MQTT.js or Vue-mqtt for this