Butterfly EDFA Rack bridge: seed + EDFA over WiFi/MQTT to Home Assistant

ESP32 firmware bridging the 1550 nm MOPA (Koheron CTL200 seed + Agiltron
M511 two-stage EDFA) to MQTT/HA as a single device. Telemetry and control
for both instruments verified end-to-end: MQTT command -> seed lasing ->
booster ramp to 27 dBm (~515 mW) at the documented 2500 mA operating point.

- PlatformIO/Arduino project, project-local venv, Makefile upload flow
- Koheron ASCII driver on UART2; Agiltron binary 0x55AA driver on UART1
- HA discovery (sensors, binary_sensors, switches, numbers); LWT availability
- Static IP, firmware current clamps on seed and booster pump
This commit is contained in:
James Bateman (hp-laptop)
2026-06-19 10:16:50 +01:00
commit 58475386ba
11 changed files with 967 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
.venv/
.pio/
include/secrets.h
*.pyc
__pycache__/