Skip to content

Commit 69a108c

Browse files
committed
GWAPPS-47: Update doc of how to implement Z-Wave CC
1 parent 637599d commit 69a108c

8 files changed

+1520
-348
lines changed
50.9 KB
Loading
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
@startuml
2+
3+
' Style for the diagram
4+
skinparam classFontColor black
5+
skinparam classFontSize 10
6+
skinparam classFontName Helvetica
7+
skinparam shadowing false
8+
skinparam ArrowColor #000000
9+
10+
skinparam ObjectBackgroundColor #DEDEDE
11+
skinparam ObjectBorderColor #480509
12+
skinparam ObjectBorderThickness 2
13+
skinparam ObjectFontColor #000000
14+
15+
skinparam NoteBackgroundColor #FFFFFF
16+
skinparam NoteBorderColor #000000
17+
18+
title Attribute Store tree representation
19+
20+
object HomeID #fffae6
21+
HomeID : Attribute Type = ATTRIBUTE_HOME_ID
22+
HomeID : value = Desired: [], Reported: [FB E6 8C CE]
23+
24+
object "NodeID" as NodeID_1 #f2ffe6
25+
NodeID_1 : Attribute Type = ATTRIBUTE_NODE_ID
26+
NodeID_1 : value = Desired: [], Reported: [03]
27+
28+
object "Endpoint" as endpoint_1 #e6fff7
29+
endpoint_1 : Attribute Type = ATTRIBUTE_ENDPOINT_ID
30+
endpoint_1 : value = Desired: [], Reported: [00]
31+
32+
object "Attribute" as attribute_1 #FFFFFF
33+
attribute_1 : Attribute Type = CONFIGURED_DEFAULT_VOLUME
34+
attribute_1 : value = Desired: [00], Reported: [64]
35+
36+
object "Attribute" as attribute_2 #FFFFFF
37+
attribute_2 : Attribute Type = CONFIGURED_DEFAULT_TONE_IDENTIFIER
38+
attribute_2 : value = Desired: [00], Reported: [04]
39+
40+
object "Attribute" as attribute_3 #FFFFFF
41+
attribute_3 : Attribute Type = TONES_NUMBER
42+
attribute_3 : value = Desired: [00], Reported: [1E]
43+
44+
object "Attribute" as attribute_4 #FFFFFF
45+
attribute_4 : Attribute Type = TONE_INFO_IDENTIFIER
46+
attribute_4 : value = Desired: [00], Reported: [04]
47+
48+
object "Attribute" as sub_attribute_1 #FFFFFF
49+
sub_attribute_1 : Attribute Type = TONE_INFO_DURATION
50+
sub_attribute_1 : value = Desired: [00], Reported: [0F]
51+
52+
object "Attribute" as sub_attribute_2 #FFFFFF
53+
sub_attribute_2 : Attribute Type = TONE_INFO_NAME
54+
sub_attribute_2 : value = Desired: [00], Reported: ["04 Electric Apartment Buzzer"]
55+
56+
object "Attribute" as attribute_5 #FFFFFF
57+
attribute_5 : Attribute Type = PLAY
58+
attribute_5 : value = Desired: [01], Reported: [00]
59+
60+
61+
62+
HomeID *-- NodeID_1
63+
NodeID_1 *-- endpoint_1
64+
endpoint_1 *-- attribute_1
65+
endpoint_1 *-- attribute_2
66+
endpoint_1 *-- attribute_3
67+
endpoint_1 *-- attribute_4
68+
endpoint_1 *-- attribute_5
69+
attribute_4 *-- sub_attribute_1
70+
attribute_4 *-- sub_attribute_2
71+
72+
73+
74+
75+
@enduml
26.1 KB
Loading
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
@startuml
2+
skinparam roundCorner 15
3+
4+
top to bottom direction
5+
6+
cloud "IoT Services" as IOTService {
7+
rectangle "Developer GUI" as DEVGUI
8+
}
9+
10+
rectangle "IoT Gateway" {
11+
rectangle "Attribute Store" as AttributeStore
12+
rectangle "Unify Controller Language (UCL)" as UCL
13+
rectangle "MQTT Broker" as Broker
14+
rectangle "Z-Wave Controller - ZPC" as ZPC
15+
}
16+
17+
18+
' Relation between Protocol controllers and MQTT abstration layer
19+
AttributeStore <-u-> AttributeStore : .uam files
20+
21+
' IoT Services relation to the rest
22+
IOTService <-d-> Broker
23+
24+
UCL -d-> AttributeStore : Commands
25+
ZPC -d-> AttributeStore : Update
26+
AttributeStore -u-> ZPC : Send events
27+
AttributeStore -u-> UCL : Send events
28+
UCL <-u-> Broker
29+
30+
@enduml
10.8 KB
Loading
20.6 KB
Loading

0 commit comments

Comments
 (0)