Skip to content

Commit

Permalink
[home] improved mermaid diagram for resources workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Feb 2, 2024
1 parent f272c7e commit f2931de
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions apps/home/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
## Smart home resources
# Smart home resources

### Diagram of home-related resources
## Diagram of home-related resources

<center>

*Right-click on nodes and open in a new tab to see the project's implementation*

</center>

```mermaid
%%{init: {"flowchart": {"htmlLabels": false}} }%%
Expand All @@ -24,23 +30,24 @@ flowchart TD
click Whisper "https://github.com/gruberdev/homelab/tree/main/apps/home/whisper" "Github app path"
click Satellite "https://github.com/gruberdev/homelab/tree/main/apps/home/satellite" "Github app path"
click LocalAI "https://github.com/gruberdev/homelab/tree/main/apps/services/mlops/local-ai" "Github app path"
Host_Computer{{"Host Node"}} -- Sending microphone audio --> External-mic
External-mic --> Satellite
Host_Computer{{"Host Interface (Node)"}} -- Sending microphone audio --> External-mic
Satellite -. Links indirectly through Wyoming protoocol .-> Whisper
External-mic -- Relaying audio over a containerized API --> Satellite
Satellite --> HomeAssistant & openwakeword
openwakeword --> HomeAssistant
LocalAI <--> HomeAssistant
LocalAI <-- OpenAI API replacement --> HomeAssistant
HomeAssistant --> Piper
Whisper <--> HomeAssistant
Piper -- Transmitting generated assistant voice --> Host_Computer
style Satellite fill:#ddf,stroke:#333,stroke-width:2px,stroke-dasharray: 0
style openwakeword fill:#fdfd96,stroke:#333,stroke-width:2px
style External-mic fill:#ddf,stroke:#333,stroke-width:2px
style HomeAssistant fill:#616161,stroke:#333,stroke-width:4px,stroke-dasharray: 0
style LocalAI fill:#fdd,stroke:#333,stroke-width:2px
style Piper fill:#fd9,stroke:#333,stroke-width:2px
style Whisper fill:#bbf,stroke:#333,stroke-width:2px
style Host_Computer fill:#f9f,stroke:#333,stroke-width:2px
style Satellite fill:##0582ca,stroke:#333,stroke-width:2px,stroke-dasharray: 0
style openwakeword fill:#0582ca,stroke:#333,stroke-width:2px
style External-mic fill:#00a6fb,stroke:#333,stroke-width:2px
style HomeAssistant fill:#051923,stroke:#333,stroke-width:3px,stroke-dasharray: 0
style LocalAI fill:#0582ca,stroke:#333,stroke-width:2px
style Piper fill:#00a6fb,stroke:#333,stroke-width:2px
style Whisper fill:#0582ca,stroke:#333,stroke-width:2px
style Host_Computer fill:#003554,stroke:#333,stroke-width:2px
```


Expand Down

0 comments on commit f2931de

Please sign in to comment.