diff --git a/README.md b/README.md index fdfb253..0848bd2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # hai-omni-docs -Documentation site for [`omni-pca`](https://github.com/rsp2k/omni-pca) — a +Documentation site for [`omni-pca`](https://git.supported.systems/warehack.ing/omni-pca) — a reverse-engineered Python library and Home Assistant integration for HAI/Leviton Omni Pro II home automation panels. Built with Astro + Starlight, organised around the Diátaxis framework. @@ -51,4 +51,4 @@ src/ ## Source project -- Library + integration: +- Library + integration: diff --git a/astro.config.mjs b/astro.config.mjs index 26ed6c9..257cfb9 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -28,12 +28,12 @@ export default defineConfig({ { icon: 'github', label: 'GitHub', - href: 'https://github.com/rsp2k/omni-pca', + href: 'https://git.supported.systems/warehack.ing/omni-pca', }, ], editLink: { // Placeholder — update once the docs repo lives somewhere on GitHub. - baseUrl: 'https://github.com/rsp2k/hai-omni-docs/edit/main/', + baseUrl: 'https://git.supported.systems/warehack.ing/omni-pca-docs/edit/main/', }, lastUpdated: true, pagination: true, diff --git a/src/content/docs/changelog.md b/src/content/docs/changelog.md index 092039e..69cb094 100644 --- a/src/content/docs/changelog.md +++ b/src/content/docs/changelog.md @@ -196,4 +196,4 @@ panel's network module is currently off. install the wheel manually or pip-install from a Git URL. - **HACS submission**: pending live-panel validation. -[2026.5.10]: https://github.com/rsp2k/omni-pca/releases/tag/v2026.5.10 +[2026.5.10]: https://git.supported.systems/warehack.ing/omni-pca/releases/tag/v2026.5.10 diff --git a/src/content/docs/how-to/install-in-home-assistant.md b/src/content/docs/how-to/install-in-home-assistant.md index 2cc5985..fe4819f 100644 --- a/src/content/docs/how-to/install-in-home-assistant.md +++ b/src/content/docs/how-to/install-in-home-assistant.md @@ -39,7 +39,7 @@ Until HACS publication, use Path B or add the project as a HACS *custom repository*: 1. **HACS → Integrations → ⋮ → Custom repositories** -2. URL: `https://github.com/rsp2k/omni-pca`, category *Integration*. +2. URL: `https://git.supported.systems/warehack.ing/omni-pca`, category *Integration*. 3. Click **Add**, then download as in steps 1–3 above. ## Path B — manual copy @@ -50,7 +50,7 @@ Works on any HA install (Container, Supervised, Core, OS): cd /path/to/your/homeassistant/config/ # the dir with configuration.yaml mkdir -p custom_components cd custom_components -git clone https://github.com/rsp2k/omni-pca tmp-omni +git clone https://git.supported.systems/warehack.ing/omni-pca tmp-omni cp -r tmp-omni/custom_components/omni_pca . rm -rf tmp-omni ``` diff --git a/src/content/docs/reference/library-api.md b/src/content/docs/reference/library-api.md index 1b919cb..a61a781 100644 --- a/src/content/docs/reference/library-api.md +++ b/src/content/docs/reference/library-api.md @@ -139,7 +139,7 @@ security (`SECURITY_OFF`..`SECURITY_ARMING_NIGHT_DELAYED`), energy (`SHOW_MESSAGE_WITH_BEEP`..`EMAIL_MESSAGE`), scenes/misc (`SCENE_OFF`..`STOP`), audio (`AUDIO_ZONE`..`AUDIO_KEY_PRESS`). -Source: [`omni_pca/commands.py`](https://github.com/rsp2k/omni-pca/blob/main/src/omni_pca/commands.py). +Source: [`omni_pca/commands.py`](https://git.supported.systems/warehack.ing/omni-pca/blob/main/src/omni_pca/commands.py). Companion types: @@ -224,4 +224,4 @@ The package ships a `omni-pca` console script: --- For full details, the source has type hints and docstrings everywhere; see -[github.com/rsp2k/omni-pca](https://github.com/rsp2k/omni-pca). +[git.supported.systems/warehack.ing/omni-pca](https://git.supported.systems/warehack.ing/omni-pca). diff --git a/src/content/docs/reference/protocol.mdx b/src/content/docs/reference/protocol.mdx index 767e8be..b2ec278 100644 --- a/src/content/docs/reference/protocol.mdx +++ b/src/content/docs/reference/protocol.mdx @@ -189,7 +189,7 @@ TCP — the panel would accept it but no production deployment uses it. The inner Message format is documented at the top of this page (start byte, length, opcode, data, CRC-16/MODBUS). The opcode tables for v1 and -v2 live in [`omni_pca.opcodes`](https://github.com/rsp2k/omni-pca/blob/main/src/omni_pca/opcodes.py) +v2 live in [`omni_pca.opcodes`](https://git.supported.systems/warehack.ing/omni-pca/blob/main/src/omni_pca/opcodes.py) — too long to reproduce here. ### v2 `Login` (inner opcode 42) — *defined but unused on TCP* diff --git a/src/content/docs/tutorials/dev-stack.md b/src/content/docs/tutorials/dev-stack.md index ef4a7d5..a9fa4da 100644 --- a/src/content/docs/tutorials/dev-stack.md +++ b/src/content/docs/tutorials/dev-stack.md @@ -17,7 +17,7 @@ change the library. - ~500 MB of free disk for the HA + builder images. - Port 8123 free on localhost. - The `omni-pca` source repo cloned locally - (`git clone https://github.com/rsp2k/omni-pca`). + (`git clone https://git.supported.systems/warehack.ing/omni-pca`). ## Step 1 — boot the stack