This is an old revision of the document!
MQTT is a machine-to-machine (M2M)/“Internet of Things” connectivity protocol. see: http://mqtt.org
We are running a mqtt server on c-beam.cbrp3.c-base.org on port 1883. It's only reachable from the internal network.
An up-to-date listing of artefacts and their topics can be found from https://github.com/c-base/c-flo/tree/master/participants
The content of the current participant folder (updated by running a grunt createMarkup command in c-flo)
artifact | description | inports topic | outports topic |
---|---|---|---|
ampel-nerd | pedestrian traffic light in front of the door to nerdarea | colors: ampel/nerd | n/a |
barstatus-bar | c-base bar status sign at the bar | barstatus: bar/status | n/a |
barstatus-c-lab | c-base bar status sign in the c-lab | barstatus: bar/status | n/a |
barstatus-nerd | c-base bar status sign in the nerd area | barstatus: bar/status | n/a |
c-beam | c-base on-board computer | n/a | userboarding: user/boarding usereta: user/eta playsound: c_out/play playrandomsound: c_out/loop saytext: c_out/Julia openurl1: nerdctrl/open openurl2: siri/open time: info/time barstatus: bar/status |
c_leuse | c-base airlock | playsound: c_out/play playrandomsound: c_out/loop saytext: c_out/Julia | n/a |
he1 | c-base siri data rescue probe | openurl: he1/open | n/a |
ingress-table | Ingress Table | n/a | cbase: ingress/status/+ |
mechblast | c-base workshop blaster | playsound: c_out/play playrandomsound: c_out/loop saytext: c_out/Julia | n/a |
nerdctrl | c-base nerd control interface | openurl: nerdctrl/open playsound: c_out/play playrandomsound: c_out/loop saytext: c_out/Julia | openurl: nerdctrl/open |
siri | c-base siri data rescue probe | openurl: siri/open playsound: c_out/play playrandomsound: c_out/loop saytext: c_out/Julia | openurl: siri/open |
Currently there are the following topics:
topic | interval | description |
---|---|---|
info/time | 1 minute | current date and time |
c_out/loop | 10 minutes | starts a new sound loop on c_out |
c_out/play | n/a | playload plays various sound samples |
c_out/Julia | n/a | playload plays announcements on c_out via tts with voice Julia |
nerdctrl/open | n/a | opens the payload URL in a browser in the nerdarea |
client/echelon | n/a | this is a retained topic, if it is available, the traffic stats script on echelon is running |
system/echelon/traffic | 1 minute | average incoming and outgoing traffic on ipb and kdg lines from echelon in bytes/s since last message |
system/powermon/load | 15 seconds | current (estimated) power load in watts |
system/powermon/load_low | 15 seconds | lowest power load in watts |
system/powermon/load_low_date | 15 seconds | date lowest power load in watts was seen last |
system/powermon/load_high | 15 seconds | highest power load in watts |
system/powermon/load_high_date | 15 seconds | date highest power load in watts was seen last |
system/powermon/count | 15 seconds | estimated power meter counter |
system/powermon/last_update | 15 seconds | ISO timestamp of the last update of the power data |
system/powermon | 15 seconds | all of the above power data |
system/powermon/raw | 15 seconds | raw data from the LS110 |
ingress/status/+ | n/a | these are retained topics and show status of the ingres portals around the c-base |
user/boarding | n/a | triggered when a member logs in, message contains the username in JSON format |
ampel/nerd | n/a | Beispiel JSON-Daten für die Message: '{“red”: 1, “green”: 0}' |
ampel/mainhall | n/a | wie, ampel nerd, aber zusätzlich noch mit Gelb: {“red”: 1, “green”: 1, “yellow”: 1} |
The topics from echelon are published with a small lua daemon, which can be easily extended. Check it out from: https://github.com/c-base/mqtt-sender