From f10710efa3377ea2686d66d0143e04c5aebfef62 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 13 May 2024 12:24:26 +0200 Subject: [PATCH] add mermaid for architecture (#40) --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9990cc..777d2b4 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,16 @@ This queries the API of a UniFi controller to get the current status of the Acce ## Overview -![](docs/architecture.png) - +```mermaid +graph TD; + A{"*respondd_main*"} -->| | B("*unifi_client*") + A -->| | C("*respondd_client*") + B -->|"RestFul API"| D("unifi_controller") + C -->|"Subscribe"| E("multicast") + C -->|"Send per interval / On multicast request"| F("unicast") + G{"yanic"} -->|"Request metrics"| E + F -->|"Receive"| G +``` ## Config File: ```yaml