-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py.sample
64 lines (59 loc) · 2.02 KB
/
config.py.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from uuid import getnode
important_urls = [
"http://c-beam.cbrp3.c-base.org/he1display",
]
urls = [
"http://www.c-base.org",
"http://logbuch.c-base.org/",
"http://c-beam.cbrp3.c-base.org/events",
"https://c-beam.cbrp3.c-base.org/c-base-map",
"http://cbag3.c-base.org/artefact",
"https://c-beam.cbrp3.c-base.org/missions",
"https://c-beam.cbrp3.c-base.org/weather",
"http://c-beam.cbrp3.c-base.org/bvg",
"http://c-beam.cbrp3.c-base.org/nerdctrl",
# "https://c-beam.cbrp3.c-base.org/rickshaw/examples/fixed.html",
"https://c-beam.cbrp3.c-base.org/sensors",
"https://c-beam.cbrp3.c-base.org/ceitloch",
# "http://visibletweets.com/#query=@cbase&animation=2",
"https://c-beam.cbrp3.c-base.org/reddit",
"http://vimeo.com/cbase/videos",
"https://wiki.c-base.org/dokuwiki/",
"https://github.com/c-base/meta/issues",
"http://app.flowhub.io#runtime/endpoint?protocol%3Dwebsocket%26address%3Dws%3A%2F%2Fc-flo.cbrp3.c-base.org%3A3569%26id%3Da9dca883-c07f-4cd7-b369-180fa9b52b68",
]
mqtt_client_id = "he1-mqttwebview"
mqtt_client_name = "he1"
mqtt_client_password = "ejwfoiwejfwofijf38fu98f1hfnwevlkwenvlwevjn"
mqtt_server = "c-beam.cbrp3.c-base.org"
mqtt_server_tls = False
#mqtt_server_cert = "/etc/ssl/certs/c-beam-mqtt.crt"
#mqtt_server_cert = "/etc/ssl/certs/c-beam-ext.c-base.org.pem"
mqtt_server_cert = "/etc/ssl/certs/root.crt"
discovery_message = {
"command": "participant",
"protocol": "discovery",
"payload": {
"component": "c-base/mqttwebview",
"label": "Show URL on a public screen.",
"inports": [
{
"queue": "%s/open" % mqtt_client_name,
"type": "string",
"description": "URL to be opened",
"id": "open",
}
],
"outports": [
{
"queue": "%s/opened" % mqtt_client_name,
"type": "object",
"description": "The URL that has been opened and is showing.",
"id": "opened",
}
],
"role": "%s" % mqtt_client_name,
"id": mqtt_client_id,
"icon": "television"
}
}