This commit is contained in:
Claudio Maggioni 2023-03-29 20:49:33 +02:00
parent a74226cc67
commit e15557984b
1 changed files with 100 additions and 0 deletions

View File

@ -777,6 +777,106 @@ Exceed: Redesign based on >3 reused components (1 Logical View, >1 Process View,
}
Components TBD:
- https://github.com/hap-java/HAP-Java
- https://github.com/tlaukkan/zigbee4java
- instances of the PostgreSQL 15 RDBMS ([sources here](https://github.com/postgres/postgres) and [specification here](https://www.postgresql.org/docs/15/index.html)), a _free as in beer_ and FOSS piece of software.
- https://spring.io/projects/spring-boot
```puml
@startuml
skinparam componentStyle rectangle
!include <tupadr3/font-awesome/database>
title Smarthut.sm Logical View
interface " " as DIF
interface " " as TF
interface " " as SCF
interface " " as UIF
component "[EXTERNAL] IoT Devices" as IOT {
interface " " as HDF
interface " " as HSF
interface " " as ZDF
interface " " as ZSF
[HomeKit smart device] as HD
[HomeKit smart sensor] as HS
[Zigbee smart device] as ZD
[Zigbee smart sensor] as ZS
HD--HDF
HS--HSF
ZD--ZDF
ZS--ZSF
}
[User Interface] as UI
component "Users and Devices" as DEV {
interface " " as DIDBF
interface " " as HAPF
interface " " as ZIGF
[HAP-java] as HAP
[zigbee4java] as ZIG
[Device Engine] as DI
[User and Device DB <$database{scale=0.33}>] as DIDB
HDF )-- HAP
HSF )-- HAP
ZDF )-- ZIG
ZSF )-- ZIG
HAP--HAPF
ZIG--ZIGF
HAPF )-- DI
ZIGF )-- DI
DIDBF-DIDB
DI -( DIDBF
}
component "Triggers and Automations" as TRIG {
interface " " as TDBF
[Trigger and Automation Engine] as T
[Trigger and Automation DB <$database{scale=0.33}>] as TDB
TDBF-TDB
T -( TDBF
}
component "Scenes" as SCENE {
interface " " as SCDBF
[Scene Engine] as SC
[Scene DB <$database{scale=0.33}>] as SCDB
SCDBF-SCDB
SC -( SCDBF
}
UIF--UI
DI--DIF
TF--T
SCF--SC
DI --( TF
T --( SCF
DIF )-- SC
DI --( UIF
DIF )-- UI
UI --( SCF
UI --( TF
skinparam monochrome true
skinparam shadowing false
skinparam defaultFontName Courier
@enduml
```
# Ex - Interface/API Specification