You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 809318d
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -17,7 +17,7 @@ A Linux-native OpenDeck/OpenAction plugin for discovering and controlling access
17
17
18
18
</details>
19
19
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.
21
21
22
22
## Highlights
23
23
@@ -56,6 +56,13 @@ OpenHomeB uses the new plugin and action namespace `com.infamous-pattern.openhom
56
56
2. Homebridge must run in insecure mode (`-I`) for the Config UI accessory-control API to read and write characteristics.
57
57
3. Keep Homebridge and port `8581` on a trusted LAN; do not expose it directly to the internet.
58
58
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.
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.
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.
0 commit comments