@startuml
database ioBroker as i
note left of i : ioBroker wird nicht\nweiter ausgeführt


collections Client as c
note right of c : Beschreibung erfolgt\nin seperatem Diagram

package Server as s #gold {
  component "node:http" as nh1
  component "node:http" as nh2

  component "WebServer" {
    [Request Handler] as http
    [File Handler] as fh
    [Data Handler] as dh
  }
  component "ioBroker Interface" {
    [local database] as ldb
    [data requester] as dr
    [databse interface] as idb
  }

  http .up.> nh1 : use
  fh ..> [node:fs] : use
  dr ..> nh2 : use

  http ..> fh : use
  http ..> dh : use

  dr .up.> ldb : use
  idb ..> ldb : use

  idb -0)- dh : "Datenzugriff"
}

:User: --> c
c -(0-> nh1 : " HTTP GET"
nh2 -(0- i : " SimpleAPI"
@enduml