-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GWAPPS-47: Update doc of how to implement Z-Wave CC
- Loading branch information
1 parent
637599d
commit 69a108c
Showing
8 changed files
with
1,520 additions
and
348 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 75 additions & 0 deletions
75
applications/zpc/doc/assets/img/attribute_store_sound_switch.uml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
@startuml | ||
|
||
' Style for the diagram | ||
skinparam classFontColor black | ||
skinparam classFontSize 10 | ||
skinparam classFontName Helvetica | ||
skinparam shadowing false | ||
skinparam ArrowColor #000000 | ||
|
||
skinparam ObjectBackgroundColor #DEDEDE | ||
skinparam ObjectBorderColor #480509 | ||
skinparam ObjectBorderThickness 2 | ||
skinparam ObjectFontColor #000000 | ||
|
||
skinparam NoteBackgroundColor #FFFFFF | ||
skinparam NoteBorderColor #000000 | ||
|
||
title Attribute Store tree representation | ||
|
||
object HomeID #fffae6 | ||
HomeID : Attribute Type = ATTRIBUTE_HOME_ID | ||
HomeID : value = Desired: [], Reported: [FB E6 8C CE] | ||
|
||
object "NodeID" as NodeID_1 #f2ffe6 | ||
NodeID_1 : Attribute Type = ATTRIBUTE_NODE_ID | ||
NodeID_1 : value = Desired: [], Reported: [03] | ||
|
||
object "Endpoint" as endpoint_1 #e6fff7 | ||
endpoint_1 : Attribute Type = ATTRIBUTE_ENDPOINT_ID | ||
endpoint_1 : value = Desired: [], Reported: [00] | ||
|
||
object "Attribute" as attribute_1 #FFFFFF | ||
attribute_1 : Attribute Type = CONFIGURED_DEFAULT_VOLUME | ||
attribute_1 : value = Desired: [00], Reported: [64] | ||
|
||
object "Attribute" as attribute_2 #FFFFFF | ||
attribute_2 : Attribute Type = CONFIGURED_DEFAULT_TONE_IDENTIFIER | ||
attribute_2 : value = Desired: [00], Reported: [04] | ||
|
||
object "Attribute" as attribute_3 #FFFFFF | ||
attribute_3 : Attribute Type = TONES_NUMBER | ||
attribute_3 : value = Desired: [00], Reported: [1E] | ||
|
||
object "Attribute" as attribute_4 #FFFFFF | ||
attribute_4 : Attribute Type = TONE_INFO_IDENTIFIER | ||
attribute_4 : value = Desired: [00], Reported: [04] | ||
|
||
object "Attribute" as sub_attribute_1 #FFFFFF | ||
sub_attribute_1 : Attribute Type = TONE_INFO_DURATION | ||
sub_attribute_1 : value = Desired: [00], Reported: [0F] | ||
|
||
object "Attribute" as sub_attribute_2 #FFFFFF | ||
sub_attribute_2 : Attribute Type = TONE_INFO_NAME | ||
sub_attribute_2 : value = Desired: [00], Reported: ["04 Electric Apartment Buzzer"] | ||
|
||
object "Attribute" as attribute_5 #FFFFFF | ||
attribute_5 : Attribute Type = PLAY | ||
attribute_5 : value = Desired: [01], Reported: [00] | ||
|
||
|
||
|
||
HomeID *-- NodeID_1 | ||
NodeID_1 *-- endpoint_1 | ||
endpoint_1 *-- attribute_1 | ||
endpoint_1 *-- attribute_2 | ||
endpoint_1 *-- attribute_3 | ||
endpoint_1 *-- attribute_4 | ||
endpoint_1 *-- attribute_5 | ||
attribute_4 *-- sub_attribute_1 | ||
attribute_4 *-- sub_attribute_2 | ||
|
||
|
||
|
||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
applications/zpc/doc/assets/img/zwave_command_class_integration.uml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@startuml | ||
skinparam roundCorner 15 | ||
|
||
top to bottom direction | ||
|
||
cloud "IoT Services" as IOTService { | ||
rectangle "Developer GUI" as DEVGUI | ||
} | ||
|
||
rectangle "IoT Gateway" { | ||
rectangle "Attribute Store" as AttributeStore | ||
rectangle "Unify Controller Language (UCL)" as UCL | ||
rectangle "MQTT Broker" as Broker | ||
rectangle "Z-Wave Controller - ZPC" as ZPC | ||
} | ||
|
||
|
||
' Relation between Protocol controllers and MQTT abstration layer | ||
AttributeStore <-u-> AttributeStore : .uam files | ||
|
||
' IoT Services relation to the rest | ||
IOTService <-d-> Broker | ||
|
||
UCL -d-> AttributeStore : Commands | ||
ZPC -d-> AttributeStore : Update | ||
AttributeStore -u-> ZPC : Send events | ||
AttributeStore -u-> UCL : Send events | ||
UCL <-u-> Broker | ||
|
||
@enduml |
Binary file added
BIN
+10.8 KB
applications/zpc/doc/assets/img/zwave_command_class_sound_switch_commands.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.6 KB
applications/zpc/doc/assets/img/zwave_command_class_sound_switch_conf_report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.