User Tools

Site Tools


projects:mqtt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
projects:mqtt [2014/12/24 17:37]
smile created
projects:mqtt [2015/10/08 16:39]
ihmis-suski
Line 1: Line 1:
 ====== c-beam MQTT ====== ====== c-beam MQTT ======
 +
 +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)
 +^ component ^ source ^ label ^ inports queue ^ outports queue^ ​
 +|c-base/​ampel-nerd | n/a |pedestrian traffic light in front of the door to nerdarea|ampel/​nerd,​ | n/a |
 +|c-base/​barstatus-bar | n/a |c-base bar status sign at the bar|bar/​status,​ | n/a |
 +|c-base/​barstatus-c-lab | n/a |c-base bar status sign in the c-lab|bar/​status,​ | n/a |
 +|c-base/​barstatus-nerd | n/a |c-base bar status sign in the nerd area|bar/​status,​ | n/a |
 +|c-base/​c-beam |https://​github.com/​c-base/​c-beam|c-base on-board computer| n/a |user/​boarding,​ user/eta, c_out/play, c_out/loop, c_out/​Julia,​ nerdctrl/​open,​ siri/open, info/time, bar/status, |
 +|c-base/​c_leuse | n/a |c-base airlock|c_out/​play,​ c_out/loop, c_out/​Julia,​ | n/a |
 +|c-base/he1 | n/a |c-base siri data rescue probe|he1/​open,​ | n/a |
 +|c-base/​ingress-table |https://​github.com/​c-base/​ingress-table|Ingress Table| n/a |ingress/​status/​a6301120831b46f1be00fa2cb0bce195.16,​ |
 +|c-base/​mechblast | n/a |c-base workshop blaster|c_out/​play,​ c_out/loop, c_out/​Julia,​ | n/a |
 +|c-base/​nerdctrl | n/a |c-base nerd control interface|nerdctrl/​open,​ c_out/play, c_out/loop, c_out/​Julia,​ |nerdctrl/​open,​ |
 +|c-base/​siri | n/a |c-base siri data rescue probe|siri/​open,​ c_out/play, c_out/loop, c_out/​Julia,​ |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 |
 +|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} |
 +====== mqtt-sender ======
 +
 +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
  
projects/mqtt.txt · Last modified: 2022/06/01 15:14 by sodoku