Repository navigation
Releases: willtheorangeguy/OctoPrint-HomeAssistantPower
Release list
v0.1.2
Live wattage moves to the navbar.
The printer plug's current draw now sits beside the navbar plug icon, so it is readable at a glance without opening the dropdown. Per-plug wattage stays in the dropdown rows.
The sidebar panel drops its now-duplicated "Now" row and keeps the per-print energy figures. It appears only when there is a print total to report, rather than whenever a power sensor exists.
Both placements are governed by the existing Show live wattage in the navbar setting.
Install
https://github.com/willtheorangeguy/OctoPrint-HomeAssistantPower/archive/v0.1.2.zip
v0.1.1
Bug fix.
Settings dialog could not reach Home Assistant before the first Save. Pressing Load entities from Home Assistant right after a successful Test connection failed with "Home Assistant is not configured yet". Test connection used the values typed into the form; Load entities and Detect used the saved settings, which are still empty until you press Save.
All three now use the connection details from the form when present, falling back to the saved settings otherwise.
Install
https://github.com/willtheorangeguy/OctoPrint-HomeAssistantPower/archive/v0.1.1.zip
v0.1.0
First release.
Control Home Assistant smart plugs from OctoPrint:
- Multi-plug navbar control — every configured entity gets a state dot, live wattage and on/off buttons.
- Power off after a print — a cancellable countdown, then a wait for the hotend (and optionally the bed) to cool below a threshold, then disconnect and cut power. Aborts by itself if a new print starts.
- Power on and connect — one button switches the printer plug on and retries the serial connection until the printer answers.
- Energy and cost — live watts in the dropdown, plus a sidebar panel showing what the current and previous prints consumed.
- Any entity domain — the Home Assistant service domain is derived from the entity ID, so
switch.*,light.*andinput_boolean.*all work regardless of whether ZHA, Zigbee2MQTT or a vendor integration exposed the plug. - Safe by default — cutting power mid-print needs explicit confirmation, plug control is a separate OctoPrint permission, and the access token is admin-only.
No extra Python dependencies; OctoPrint already ships requests.
Requires OctoPrint 1.5.0+ and a Home Assistant long-lived access token.
Install
https://github.com/willtheorangeguy/OctoPrint-HomeAssistantPower/archive/v0.1.0.zip