# doodabomb89/laundromat_status_tracker architecture

> Architecture diagram of the GitHub repository doodabomb89/laundromat_status_tracker, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/doodabomb89/laundromat_status_tracker
- Repository: https://github.com/doodabomb89/laundromat_status_tracker

## Overview

Laundromat Status SG lets customers check washer and dryer availability remotely. Its documented workflow is: smart plugs report power draw, that draw determines whether machines are running, status is stored in Supabase, and the HTML dashboard displays it to customers. The repository contains only the dashboard mockup; hardware detection and database implementation details are not available here, so those components have no source paths. Relationships shown are documented in the README.

Main entry points: [`laundromat-status-mockup.html`](https://github.com/doodabomb89/laundromat_status_tracker/blob/main/laundromat-status-mockup.html) (Availability dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_hardware["Machine monitoring"]
  node_plug["Smart plugs"]
  node_detection["Activity detection"]
end

subgraph group_backend["Status data"]
  node_supabase[("Supabase status data")]
end

subgraph group_frontend["Customer dashboard"]
  node_dashboard["Availability dashboard"]
end

node_customer(("Customer"))

node_plug -->|"reports power"| node_detection
node_detection -->|"writes status"| node_supabase
node_supabase -->|"provides status"| node_dashboard
node_customer -->|"checks availability"| node_dashboard

click node_dashboard "https://github.com/doodabomb89/laundromat_status_tracker/blob/main/laundromat-status-mockup.html"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_plug,node_detection toneBlue
class node_supabase toneAmber
class node_dashboard toneMint
class node_customer toneIndigo
```

## Components

### Machine monitoring

- **Smart plugs**
- **Activity detection**

### Status data

- **Supabase status data**

### Customer dashboard

- [Availability dashboard](https://github.com/doodabomb89/laundromat_status_tracker/blob/main/laundromat-status-mockup.html): `laundromat-status-mockup.html`

### Other components

- **Customer**

## Connections

- Smart plugs → Activity detection: reports power (evidence: `README.md`)
- Activity detection → Supabase status data: writes status (evidence: `README.md`)
- Supabase status data → Availability dashboard: provides status (evidence: `README.md`)
- Customer → Availability dashboard: checks availability (evidence: `README.md`)
