Skip to content

Commit 809318d

Browse files
Merge pull request #5 from infamous-pattern/release/openhomeb-2.0.2
OpenHomeB 2.0.2
2 parents 0ff2c59 + f97d6d0 commit 809318d

26 files changed

Lines changed: 545 additions & 89 deletions

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ body:
3636
attributes:
3737
label: OpenHomeB version
3838
description: Enter the installed plugin version.
39-
placeholder: "2.0.1"
39+
placeholder: "2.0.2"
4040
validations:
4141
required: true
4242

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
inputs:
99
tag:
10-
description: Existing version tag to release, for example v2.0.1
10+
description: Existing version tag to release, for example v2.0.2
1111
required: true
1212
type: string
1313

‎CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 2.0.2 — 2026-08-12
4+
5+
- Added automatic startup connection recovery after Fedora login.
6+
- Added a 3-second network-readiness grace period before the first Homebridge probe.
7+
- Added bounded reconnect backoff: 2, 5, 10, 30, then 60 seconds.
8+
- Added a 60-second live Homebridge health check that does not treat stale catalogue data as online.
9+
- Refreshes visible Devices, Switch, Adjust State, and Brightness actions immediately after reconnect.
10+
- Reconnects automatically after system wake and after connection-related action failures.
11+
- Preserves last-known state during background outages and suppresses repeated identical connection errors.
12+
313
## 2.0.1 — 2026-07-28
414

515
- Renamed the project and plugin to OpenHomeB.

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openhomeb"
3-
version = "2.0.1"
3+
version = "2.0.2"
44
edition = "2024"
55
authors = ["Infamous Pattern"]
66
description = "A Linux-native OpenDeck plugin for discovering and controlling Homebridge accessories, including brightness."

‎README.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A Linux-native OpenDeck/OpenAction plugin for discovering and controlling accessories exposed by Homebridge Config UI.
44

5-
**Current version: 2.0.1**
5+
**Current version: 2.0.2**
66

77
![OpenHomeB overview](docs/screenshots/overview.png)
88

@@ -17,7 +17,7 @@ A Linux-native OpenDeck/OpenAction plugin for discovering and controlling access
1717

1818
</details>
1919

20-
Version 2.0.1 includes the complete 2.0 feature set and release-build validation fixes. Version 2.0 expanded the working Switch implementation with dedicated brightness controls, shared discovery caching, proactive authentication renewal, richer device metadata, compatibility parsing, and configurable button labels.
20+
Version 2.0.2 adds automatic startup and reconnect recovery so OpenHomeB refreshes itself when Fedora networking or Homebridge becomes available after OpenDeck starts. It also retains the complete 2.0 feature set: dedicated brightness controls, shared discovery caching, proactive authentication renewal, richer device metadata, compatibility parsing, and configurable button labels.
2121

2222
## Highlights
2323

@@ -56,6 +56,13 @@ OpenHomeB uses the new plugin and action namespace `com.infamous-pattern.openhom
5656
2. Homebridge must run in insecure mode (`-I`) for the Config UI accessory-control API to read and write characteristics.
5757
3. Keep Homebridge and port `8581` on a trusted LAN; do not expose it directly to the internet.
5858

59+
60+
## Automatic startup and reconnect recovery
61+
62+
OpenHomeB 2.0.2 no longer requires opening Homebridge in a browser after Fedora login. The plugin waits briefly for networking, then performs a live Homebridge catalogue refresh. If Homebridge is unavailable it retries with bounded backoff at 2, 5, 10, 30, and 60 seconds.
63+
64+
After a successful reconnect OpenHomeB reauthenticates as needed, refreshes the shared catalogue, and updates visible Devices, Switch, Adjust State, and Brightness actions. A 60-second health check keeps recovery active after Homebridge restarts, system wake events, or temporary network outages. Background connection failures preserve the last-known control state instead of replacing it repeatedly with an Offline title.
65+
5966
## Build on Fedora Workstation 44
6067

6168
```bash

‎RELEASE_NOTES_2.0.2.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# OpenHomeB 2.0.2
2+
3+
OpenHomeB 2.0.2 is a reliability release focused on startup and reconnect behaviour on Linux/OpenDeck systems.
4+
5+
## What changed
6+
7+
- Added automatic Homebridge recovery after Fedora login and OpenDeck startup.
8+
- Waits 3 seconds after global settings arrive before the first connection attempt so NetworkManager and local DNS have time to settle.
9+
- Retries unavailable Homebridge servers with bounded backoff: 2, 5, 10, 30, then 60 seconds.
10+
- Performs a live Homebridge catalogue health check every 60 seconds; stale cached data cannot be mistaken for a healthy connection.
11+
- Automatically reauthenticates through the existing token flow when required.
12+
- Refreshes visible Devices, Switch, Adjust State, and Brightness actions immediately after a successful reconnect.
13+
- Requests an immediate reconnect after system wake or a connection-related action failure.
14+
- Preserves the last-known button state during background outages instead of repeatedly replacing it with an Offline title.
15+
- Suppresses duplicate reconnect messages once the retry interval reaches the steady-state 60-second cadence.
16+
17+
## Existing functionality retained
18+
19+
- Homebridge device discovery and room-aware selectors.
20+
- Switch state query, toggle, confirmation, and automatic 401 reauthentication.
21+
- Brightness control from keys and encoders.
22+
- Set State and Adjust State controls.
23+
- Shared catalogue caching and stale-cache fallback for the property inspector.
24+
- Proactive authentication-token renewal.
25+
- x86_64 and aarch64 Linux packaging.
26+
27+
## Installation
28+
29+
Download `openhomeb-2.0.2-linux-universal.streamDeckPlugin` from the GitHub release assets and install it through OpenDeck's Plugins screen. Restart OpenDeck after replacing an older build.
30+
31+
Existing OpenHomeB 2.0.1 action UUIDs and settings are unchanged, so configured buttons should carry forward without being recreated.

‎VALIDATION.md‎

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Validation status — version 2.0.1
1+
# Validation status — version 2.0.2
22

3-
Validated in the artifact-generation environment on 28 July 2026.
3+
Validated in the artifact-generation environment on 12 August 2026.
44

55
## Automated validation completed
66

7-
- OpenDeck manifest JSON syntax and version `2.0.1`.
8-
- Cargo package version and HTTP user agent set to `2.0.1`.
7+
- OpenDeck manifest JSON syntax and version `2.0.2`.
8+
- Cargo package version and HTTP user agent set to `2.0.2`.
99
- Six action definitions, including the Keypad/Encoder **Brightness** action.
1010
- Linux code paths for x86_64 and aarch64.
1111
- Existence of every manifest icon and property-inspector asset.
@@ -18,11 +18,11 @@ Validated in the artifact-generation environment on 28 July 2026.
1818

1919
## Automated API and package-contract tests
2020

21-
Twenty tests passed, covering authentication, discovery, reads, writes, brightness control, token renewal, HTTP 401 retry, catalogue caching, stale-cache fallback, UUID-first characteristic matching, compatibility parsing, metadata, action-selection reconciliation, label options, package structure, and OpenHomeB branding and publisher-neutral identifiers.
21+
Twenty-two tests passed, covering authentication, discovery, reads, writes, brightness control, token renewal, HTTP 401 retry, catalogue caching, stale-cache fallback, UUID-first characteristic matching, compatibility parsing, metadata, action-selection reconciliation, label options, package structure, and OpenHomeB branding and publisher-neutral identifiers.
2222

2323
## Rust release-validation corrections
2424

25-
Version 2.0.1 carries forward the release-build fixes for:
25+
Version 2.0.2 carries forward the release-build fixes for:
2626

2727
- unused action UUID re-exports;
2828
- the unused `Characteristic` import;
@@ -41,3 +41,13 @@ cargo clippy --all-targets -- -D warnings
4141
```
4242

4343
The Fedora build script performs a native release build, and the tagged GitHub Actions workflow builds x86_64 and aarch64 binaries before creating the installable universal `.streamDeckPlugin` asset.
44+
45+
## 2.0.2 reconnect validation
46+
47+
- Startup monitor waits for OpenDeck global settings before attempting Homebridge.
48+
- Initial connection uses a 3-second network grace period.
49+
- Retry backoff is bounded at 2/5/10/30/60 seconds.
50+
- Health checks use a live catalogue refresh and cannot succeed from stale cache alone.
51+
- Successful reconnect refreshes visible stateful actions.
52+
- System wake clears caches and requests a reconnect.
53+
- Background connection failures preserve last-known state where possible.

‎assets/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Name": "OpenHomeB",
33
"Description": "OpenHomeB controls Homebridge accessories from OpenDeck on Linux with live state, brightness, caching, and token management.",
44
"Author": "Infamous Pattern",
5-
"Version": "2.0.1",
5+
"Version": "2.0.2",
66
"CodePaths": {
77
"x86_64-unknown-linux-gnu": "x86_64-unknown-linux-gnu/bin/openhomeb",
88
"aarch64-unknown-linux-gnu": "aarch64-unknown-linux-gnu/bin/openhomeb"

‎docs/screenshots/overview.png‎

1.92 KB
Loading

0 commit comments

Comments
 (0)