Commit Graph
9 Commits
Author SHA1 Message Date
James Bateman (hp-laptop)andClaude Opus 4.8 1c325bf2a2 Dashboard: big output-power readout beside a square SHUTDOWN
Top row is now a 2-unit markdown card showing output power large in mW
(sized/centred via card-mod piercing the ha-markdown shadow, since the
markdown card strips inline styles) next to the 1-unit square SHUTDOWN
button. Dropped the now-redundant mW tile from the lower Output section,
leaving Output dBm and EDFA in.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 16:14:14 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 a227771151 Dashboard: single SHUTDOWN button at the top of the Control view
Replace the three-button emergency row (PUMP OFF / SEED OFF / SHUTDOWN)
with one full-width red SHUTDOWN button, moved to the top of the view. It
runs script.butterfly_edfa_shutdown (pump-1 to 0, booster off, then seed
off) with no confirmation, so it acts immediately.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 16:04:42 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 f9ce61ba33 Dashboard: stack Control view in operating order (single column)
Switch the Control view to a single column so the sections render top to
bottom in operating order: Status -> Output -> Seed (Stage 1) ->
Booster (Stage 2) -> Emergency, instead of the 2-column masonry that put
Seed beside Output and Booster below.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 16:02:39 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 e4fcb048e8 Dashboard: fix override switch entity id to amp_pump_limit_override
HA derives the entity_id from the entity name (Amp Pump Limit Override),
not the discovery object_id, so the switch is
switch.butterfly_edfa_rack_amp_pump_limit_override. The dashboard pointed
at ...amp_pump_override, hence 'Entity not found'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 15:44:13 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 1453e151e3 Dashboard: add Pump Limit Override switch to the Booster stage
Surfaces the new switch.butterfly_edfa_rack_amp_pump_override entity that
lifts the pump-1 clamp from 4000 mA to 8000 mA. Shows as unavailable
until the override firmware is flashed to the ESP32.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 14:22:15 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 47706c298a Dashboard: make the status strip read-only (no duplicate toggles)
The top glance strip used the seed/pump switch entities, so each on/off
control appeared twice (strip + stage card). Switch the strip to
read-only lamps: seed uses the seed_laser_enabled binary sensor, and all
four entries get tap_action: none. The real toggles stay in the Seed and
Booster stage cards (plus the emergency off buttons).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 14:15:58 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 f3fb8534bc Dashboard: drop gauges, fix tile legibility, 2-column layout
Addresses review feedback on the first panel pass:
- remove the output and pump-1 gauge cards (numeric tiles instead)
- fix illegible status lamps: a full-width 4-up glance strip with short
  labels replaces the cramped icon-only tile row; readouts use
  grid_options so names no longer truncate
- widen to a 2-column sections layout
- history graphs stay on their own Diagnostics & Trends tab

Verified in-browser against the live HA (2026.1.2).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 13:56:03 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 a8bf154c99 Redesign dashboard as a laser control panel
Split into two sections-view tabs. The Control tab leads with a status-
lamp row (seed/amp link, seed, booster, fault status), a headline output
gauge in mW with dBm/input tiles, then the Seed and Booster stages as
labelled channels with their controls, and a red emergency block
(PUMP OFF / SEED OFF / SHUTDOWN) styled via card-mod. The Diagnostics &
Trends tab absorbs the history graphs and the network/TEC/error detail
that previously crowded the top of the single view.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 13:40:43 +01:00
James Bateman (hp-laptop)andClaude Opus 4.8 abcb6b7553 Butterfly EDFA Rack: Home Assistant config and dashboard
Fresh repo holding only the Butterfly-rack HA side (the firmware and BOM
live in koheron-esp32-bridge). Contents, pulled from the live HA host:

- configuration.butterfly.yaml: dBm->mW template sensors + the YAML
  dashboard registration, to merge into /config/configuration.yaml
- scripts.butterfly.yaml: the butterfly_edfa_shutdown emergency-off script
- ui-lovelace-butterfly.yaml: the dashboard
- deploy.sh: scp the dashboard, check_config, restart HA
- .gitignore guards against committing the HA DB, logs and secrets

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-02 13:35:40 +01:00