I run two BLUETTI power stations (Elite 30 V2 and Elite 100 V2) as UPS for my NAS boxes. They work fine as UPS hardware, but they don't speak any UPS protocol, so the NAS has no idea when the power is out and never shuts down cleanly. There's no USB/serial UPS interface, and the Wi-Fi models don't even have an open port you could poll.
So I built bluetti-ups-emulator, now also available as a Home Assistant app (add-on).
How it works
BLUETTI Wi-Fi units keep a permanent, unencrypted MQTT connection to the vendor cloud and push their data there. With a local DNS override (one or two records in your router / Pi-hole / AdGuard / UniFi) the units connect to the add-on instead. The add-on reads along and relays everything 1:1 to the real cloud, so the BLUETTI app keeps working. If your internet goes down, it takes over as the broker and the data keeps flowing.
It then exposes each power station as a standard network UPS:
NUT (upsd): Synology, UGREEN, TrueNAS, Proxmox, and the Home Assistant NUT integration
apcupsd NIS: Unraid, QNAP
SNMP v1/v2c (UPS-MIB): UGREEN SNMP mode, monitoring tools
Each unit gets its own ports, so one add-on can serve several UPS to several NAS.
What it does beyond "on battery yes/no"
Instant outage detection: the unit sends a grid-loss event within about a second; the add-on uses that instead of waiting for the 30 s report.
Charge, runtime estimate, load, input voltage; LOW BATTERY by charge or runtime threshold.
No false shutdowns on Wi-Fi hiccups: if a unit stops reporting, the last state is held and the charge is extrapolated while on battery.
A settings check that warns if the AC output is off or AC ECO is enabled (AC ECO switches the AC output off on battery at low load, which defeats the whole point of a UPS).
A status page in the HA sidebar (Ingress).
With the NUT integration pointed at 127.0.0.1, you get the usual UPS entities in HA, which makes power-outage automations easy (I use them for an iOS live activity and a siren).
Install
Settings → Add-ons/Apps → Store → ⋮ → Repositories → https://github.com/Tscherno/bluetti-ups-emulator
Then add your devices (IP or serial, model, ports) and set the DNS override. Docs are in the repo; plain Docker is also supported if you'd rather run it on your NAS.
Tested with
Elite 30 V2 and Elite 100 V2, verified with live captures
Elite 200 V2: probably works (same register layout expected) but not confirmed yet. If you have one or another Wi-Fi model, there's a capture option and I'd be happy about an issue with a capture.
Clients: Unraid (apcupsd), UGREEN UGOS (NUT and SNMP), Home Assistant NUT
Caveats
Not an official BLUETTI project. The DNS override intercepts the unit's cloud connection, so use at your own risk.
If the add-on isn't running while your NAS is on battery, apcupsd/upsmon will shut down by design. Keep the Home Assistant host on a UPS too, and don't update HA during an outage (HA OS updates reboot the host).
Some units occasionally query a hardcoded public DNS server directly; the README explains how to handle that.
MIT licensed, no telemetry, no account needed. Feedback and captures from other models are very welcome.
GitHub: https://github.com/Tscherno/bluetti-ups-emulator