-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdraw-plantuml.txt
144 lines (126 loc) · 2.26 KB
/
draw-plantuml.txt
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
@startuml
'top to bottom direction
left to right direction
skinparam linetype ortho
skinparam roundcorner 5
'scale 900 width
'scale 720 height
note "Legend:\nGreen - Exposes\nBlack - Uses" as N1
package "Home" {
class PC as "Computer" << (D,white) >> {
* Browser
* Discord
* NAT [Samba]
* TTS
}
class MOB as "Mobile" << (D,white) >> {
+ Push
----
* Browser
* Discord [STT]
* Trello
* Kodi remote
}
class TV << (D,white) >> {
+ CEC
}
package "pi-kodi" {
class Portal << (A,white) >> {
+ WEB
----
* Google calendar
* Accu weather
* REST
}
class NR_KODI as "Nodered" << (S,white) >> {
+ HTTP
+ Websocket
----
* Feed (RSS, Trello, Dropbox)
* Chatbot
* HTTP
* Exec [cat / ls]
* CEC
* STT
* MQTT
* Redis
}
class NAT as "NAT" << (S,white) >> {
+ Samba
}
class TOR as "Transmission" << (S,white) >> {
+ WEB
}
class KODI as "Kodi" << (S,white) >> {
+ HTTP
* CEC
}
class USB as "usb" << (D,white) >> {
}
}
package "pi-hub" {
class MSG as "Mosquitto" << (S,white) >> {
+ MQTT
}
class CACHE as "Redis" << (S,white) >> {
+ Redis
}
class POUCHDB as "PouchDB" << (S,white) >> {
+ HTTP
+ WEB
}
class NR_HUB as "Nodered" << (S,white) >> {
+ HTTP
----
* GPIO
* HTTP
* MQTT
* Redis
}
class HAT as "SenseHat" << (D,white) >> {
+ GPIO
}
}
}
package "Internet" {
class DIS as "Discord" << (S,white) >> {
* Push
}
class TRE as "Trello" << (S,white) >> {
+ REST
+ WEB
}
class MEDIA as "Media content" << (M,white) >> {
+ RSS
}
class DROP as "Dropbox" << (S,white) >> {
+ REST
+ WEB
}
class WEAT as "Weather" << (S,white) >> {
+ REST
+ HTML widget
}
}
MOB --> DIS
TOR ..> USB
NAT ..> USB
"pi-hub" <---> "pi-kodi"
KODI ..> USB
KODI ..> TV
PC ..> "pi-hub"
PC ..> "pi-kodi"
PC --> DIS
NR_KODI --> DIS
NR_KODI ..> USB
NR_KODI ..> TV
NR_HUB ..> HAT
NR_HUB ..> CACHE
NR_HUB ..> POUCHDB
NR_HUB ..> MSG
NR_HUB ..> WEAT
Portal ..> NR_KODI
Portal ..> TOR
Portal ..> KODI
Portal ..> WEAT
@enduml