8000 GitHub - pvginkel/ZigbeeControl · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ZigbeeControl

A control panel that wraps two Zigbee2MQTT instances and a code-server in persistent iframe tabs, so the whole Zigbee setup is reachable from one page. Tabs backed by a Kubernetes deployment get a restart button that triggers a rollout restart, and the panel streams each tab's live status — running, restarting, error — over Server-Sent Events, so the tab icons stay in sync without a refresh. The tabs come from a YAML file supplied at APP_TABS_CONFIG; there is no database and no persisted state.

Layout

  • backend/ — Flask. Serves the tab configuration, triggers the rollout restarts and publishes the status events to the browsers over its own SSE stream. OIDC authentication, off by default in development.
  • frontend/ — React 19 + TypeScript + Vite, with an API client generated from the backend's OpenAPI spec, covered end to end by Playwright.

Building and running

The repo builds and runs inside a KubeCoder environment, which supplies the Python and Node toolchains. From the repository root:

kc project setup    # install dependencies and seed the .env files
kc project build    # build the frontend
kc project test     # backend pytest, frontend Playwright
kc project lint     # ruff, mypy and vulture; eslint, tsc and knip
scripts/dev.py      # the dev stack: frontend :3200, backend :3201

More

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0