OpenHAB for Omarchy
Bar widget for Omarchy that shows the first selected OpenHAB item. Click the pill to see the rest (up to 10). Right-click or Setup configures the server and picks items.
Plugin id: tdeckers.openhab
Install
omarchy plugin add https://github.com/tdeckers/omarchy-openhab.git --enable
Place it on the bar if needed:
omarchy bar move tdeckers.openhab --section right
Setup
- Left-click OH on the bar, then Setup (or right-click the pill).
- Paste the OpenHAB URL (
http://openhab.local:8080orhttps://…). If a reverse proxy sits in front, use that public URL. - Paste credentials:
username:passwordwhen the server uses HTTP Basic (common behind a proxy)- or an API token from OpenHAB → Profile → Security (starts with
oh.)
- Save, then Reload items.
- Search the list and click rows to select (●). The first selected item is the bar label.
The secret is stored with secret-tool when a keyring is available; otherwise
it is written to ~/.config/omarchy/tdeckers.openhab.json (mode 0600). Prefer
HTTPS.
Selected item names and the URL are stored in that same config file. It is outside the plugin checkout and is never committed.
Use
- Left-click the bar: status panel
- Right-click the bar: settings
- Escape closes the panel
States refresh every 15 seconds by default:
omarchy bar set tdeckers.openhab refreshIntervalSec 30
Remove
omarchy plugin remove tdeckers.openhab
Working on the plugin itself is covered in CONTRIBUTING.md.
License
MIT. Not affiliated with the OpenHAB project or Omarchy.