Skip to content
Vertikar edited this page May 14, 2015 · 9 revisions

Help wanted from someone who has a better understanding of MQTT!

  • MQTT is on port 1883
  • Runs RabbitMQ?
  • MQTT used for almost everything?
  • Announcements from drivers that a config page on Labs should be shown
  • Data from waypoints published via MQTT
  • $device/[device uuid]/TEMPPATH/rssi
  • $location/waypoints also exists, but MQTT.lens shows [2] as the data. Seems to show the number of waypoints seen by the Spheramids
  • Subscribing to a topic accepts wildcards
  • Use + for single level (e.g. something/topic/+ would include something/topic/1 and something/topic/2)
  • Use # for multi-level (e.g. something/topic/# would include all of the above, plus levels below, such as something/topic/1/hello)

Interesting MQTT topics

  • node/[sphere serial number]/# - Stuff going on on your Sphere (e.g. what drivers are doing etc.)
  • $thing/[thing ID]/channel/on-off/event/state - A topic about the state of the on-off channel (?)
  • $device/+/TEMPPATH/rssi - Shows the activity of every waypoint (including the Sphere) and includes info like RSSI