User Tools

Site Tools


projects:mqtt

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:mqtt [2015/10/08 17:09]
ihmis-suski
projects:mqtt [2022/06/01 15:14] (current)
sodoku Add websockets port
Line 3: Line 3:
 MQTT is a machine-to-machine (M2M)/"​Internet of Things"​ connectivity protocol. see: http://​mqtt.org 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.+We are running a mqtt server on c-beam.cbrp3.c-base.org on port 1883 (or port 1882 for websockets). 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 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) +The content of the current participant folder (updated by running a __grunt createMarkup__ ​command in c-flo) 
-component ​source ^ label ^ inports ​queue ^ outports ​queue^  +artifact ​description ​^ inports ​topic ^ outports ​topic^  
-|c-base/​ampel-nerd | n/a |pedestrian traffic light in front of the door to nerdarea|ampel/​nerd| n/a | +|barstatus ​|c-base bar status switch| n/a |**state**: ​bar/state \\ **stateful**:​ bar/​stateful \\ **status**: bar/​status| 
-|c-base/barstatus-bar | n/a |c-base ​bar status ​sign at the bar|bar/status| n/a +|c-base/BigSwitch ​|IP-Lounge big switch|**led**: button/bigswitch/​led \\ **colors**: button/​bigswitch/​colors|**state**: button/bigswitch/​on
-|c-base/barstatus-c-lab ​n/a |c-base bar status sign in the c-lab|bar/statusn/+|c-base/buttonpanel ​|Ignition button|**led**: ​c-boom/led \\ **vibra**: c-boom/vibra|**ignition**: ​c-boom/ignition \\ **start**: ​c-boom/​start| 
-|c-base/barstatus-nerd ​n/a |c-base bar status sign in the nerd area|bar/status| n/a | +|[[https://​github.com/​c-base/​c_out|c_out]] |Generate sounds| n/a |**playsound**: ​c_out/​play ​\\ **playrandomsound**: ​c_out/​loop ​\\ **saytext**: ​c_out/announce \\ **saytext_en**:​ c_out/announce_en
-|c-base/c-beam |https://​github.com/​c-base/​c-beam|c-base on-board computer| n/a |user/​boarding,​ user/​eta, ​c_out/playc_out/loopc_out/Julia, nerdctrl/​open,​ siri/open, info/time, bar/status+|c-base/c-beam-viewer |Show URL on a public screen.|**open**:​ #​ROLE/​open|**opened**:​ #​ROLE/​opened| 
-|c-base/c_leuse ​| n/a |c-base ​airlock|c_out/play, c_out/loop, c_out/Julian/+|crew |station crew register| n/a |**boarding**:​ user/​boarding \\ **leaving**:​ user/​leaving \\ **crew**: ​c-base/crew \\ **members**:​ c-base/crew/members \\ **passive**:​ c-base/​crew/​passive \\ **updated**:​ c-base/​crew/​last_update| 
-|c-base/he1 n/a |c-base siri data rescue probe|he1/open| n/a | +|ingress-table/data |Ingress data fetching for the Ingress Table|**fetch**:​ ingress-data.FETCH \\ **poll**: ingress-data.POLL|**floor**:​ ingress-data.FLOOR \\ **light**: ingress-data.LIGHT \\ **streets**:​ ingress-data.STREETS
-|c-base/ingress-table ​|https://​github.com/​c-base/​ingress-table|Ingress Table| n/a |ingress/​status/​a6301120831b46f1be00fa2cb0bce195.16+|c-base/dmx |station light control|**set_channels**:​ dmx-mainhall/​state|**fixtures**:​ dmx-mainhall/fixtures \\ **channels**:​ dmx-mainhall/​current_state \\ **automode**:​ dmx-mainhall/​automode| 
-|c-base/mechblast ​n/a |c-base ​workshop blaster|c_out/play, c_out/loop, c_out/Julian/+|echelon |station network traffic monitoring| n/a |**traffic**:​ system/​echelon/​traffic
-|c-base/nerdctrl ​| n/a |c-base nerd control interface|nerdctrl/​openc_out/playc_out/loopc_out/Julia|nerdctrl/open+|msgflo-browser/infodisplay |Show URL on a public screen.|**open**:​ #ROLE.OPEN \\ **urls**: #​ROLE.URLS|**opened**:​ #​ROLE.OPENED| 
-|c-base/siri | n/a |c-base ​siri data rescue probe|siri/open, c_out/play, c_out/loop, c_out/Julia|siri/open| +|[[https://​github.com/​c-base/​ingress-table|ingress-portal]] |Portal status via Ingress Table| n/a |**status**: ​ingress/​status/​+
- +|ingress-table/lights ​|Drive the lights on the table|**streets**:​ ingress-lights.STREETS \\ **floor**: ingress-lights.FLOOR \\ **light**: ingress-lights.LIGHT \\ **animate**:​ ingress-lights.ANIMATE|**shown**:​ ingress-lights.SHOWN| 
 +|c-base/​mqttwebview ​|Show URL on a public screen.|**open**:​ #ROLE/open|**opened**: #ROLE/opened
 +|c-base/music-player |c-base music player| n/a |**current_song**:​ megablast/​current_song| 
 +|nerdctrl ​|c-base nerd control interface| ​n/a |**openurl**: ​nerdctrl/​open
 +|panel |Color LED panel|**palette**:​ panel/#​ROLE| n/a | 
 +|pedestrianlight |pedestrian traffic light|**colors**:​ ampel/#​ROLE| n/a | 
 +|playsound |Play sounds|**playsound**: ​c_out/​play ​\\ **playrandomsound**: ​c_out/​loop ​\\ **saytext**: ​c_out/announce \\ **saytext_en**:​ c_out/​announce_enn/
 +|powermon |station power usage monitoring| n/a |**out**: system/​powermon \\ **load**: system/​powermon/​load \\ **counter**:​ system/​powermon/​counter \\ **updated**:​ system/​powermon/​last_update| 
 +|station-announcer/​StationAnnouncer |Generate random station announcements at given propability|**announce**:​ station-announcer.ANNOUNCE \\ **probability**:​ station-announcer.PROBABILITY \\ **in**: station-announcer.IN|**out**:​ station-announcer.OUT \\ **skipped**:​ station-announcer.SKIPPED| 
 +|statuslight |bar status light indicating openness|**barstatus**:​ bar/stateful| n/a 
 +|time |c-base ​station timen/a |**time**: info/time| 
 +|Vacuum |station vacuum cleaner| n/|**on**: c-base/vacuum/on|
  
 Currently there are the following topics: Currently there are the following topics:
  
-^ topic                 ​^ interval ^ description ^ +^ topic                      ^ interval ​  ​^ description ^ 
-|info/time              ​|  1 minute ​ ​| ​current date and time +|ampel/mainhall ​                |  ​n/a       | wie, ampel nerd, aber zusätzlich noch mit Gelb: {"​red": ​1, "​green":​ 1, "​yellow":​ 1} | 
-|c_out/​loop ​            ​| 10 minutes | starts a new sound loop on c_out | +|ampel/​nerd ​                    ​| ​ n/a       Beispiel JSON-Daten für die Message: '​{"​red":​ 1, "​green":​ 0}' | 
-|c_out/​play ​            ​|  n/a       | playload plays various sound samples | +|c-base/​crew ​                   | 15 minutes | all of the below crew data | 
-|c_out/​Julia ​           |  n/a       | playload plays announcements on c_out via tts with voice Julia+|c-base/​crew/​members ​           | 15 minutes | crew member count | 
-|nerdctrl/​open ​         |  n/a       | opens the payload URL in a browser in the nerdarea ​+|c-base/​crew/​last_update ​       | 15 minutes | ISO timestamp of the last update of the power data | 
-|client/​echelon ​        ​|  n/a       | this is a retained topic, if it is available, the traffic stats script on echelon is running | +|c-base/​crew/​passive ​           | 15 minutes | number of passive members ​
-|system/echelon/​traffic ​|  1 minute ​ | average incoming ​and outgoing traffic on ipb and kdg lines from echelon in bytes/s since last message ​+|c_out/​loop ​                    ​| 10 minutes | starts a new sound loop on c_out | 
-|ingress/​status/​+ ​      ​|  n/a       | these are retained topics and show status of the ingres portals around the c-base | +|c_out/​play ​                    ​|  n/a       | playload plays various sound samples | 
-|user/boarding ​         ​|  n/a       ​| ​triggered when member logs inmessage ​contains ​the username ​in JSON format ​+|c_out/​Julia ​                   |  n/a       | playload plays announcements on c_out via tts with voice Julia| 
-|ampel/nerd             |  ​n/a       Beispiel JSON-Daten für die Message: '​{"​red":​ 1, "​green":​ 0}' ​+|client/​echelon ​                ​|  n/a       | this is a retained topic, if it is available, the traffic stats script on echelon is running | 
-|ampel/mainhall ​        |  n/a       ​| ​wieampel nerd, aber zusätzlich noch mit Gelb: {"​red":​ 1, "​green":​ 1, "​yellow":​ 1} |+|info/time                      ​|  1 minute ​ | current date and time 
 +|ingress/​status/​+ ​              ​|  n/a       | these are retained topics and show status of the ingres portals around the c-base | 
 +|nerdctrl/open                  ​|  n/a       ​| ​opens the payload URL in browser ​in the nerdarea | 
 +|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 ​               | 15 seconds | all of the below power data | 
 +|system/​powermon/​counter ​       | 15 seconds | estimated power meter counter | 
 +|system/​powermon/​last_update ​   | 15 seconds | ISO timestamp of the last update of the power data | 
 +|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/​raw ​           | 15 seconds | raw data from the LS110 | 
 +|user/​boarding ​                 ​|  n/a       ​| ​triggered when a member logs inmessage contains the username in JSON format ​|
 ====== mqtt-sender ====== ====== mqtt-sender ======
  
projects/mqtt.1444316960.txt.gz · Last modified: 2015/10/08 17:09 by ihmis-suski