Byd battery

From HybridAIOne/hybridclaw · View interactive version

Byd battery is an AI agent skill from the GitHub repository HybridAIOne/hybridclaw. Read BYD Battery-Box HVS/HVM/LVS/LVL home-storage telemetry through local Modbus or paired-inverter delegation, with read-only safety boundaries.

How to use this skill

Skill file

BYD Battery

Use this skill for operator-approved monitoring of BYD Battery-Box Premium HVS,

HVM, LVS, LVL, and older HV/LV family home-storage units. Prefer the bundled

helper for all protocol details:

node skills/byd-battery/byd-battery.cjs --format json read state-of-charge
node skills/byd-battery/byd-battery.cjs --format json read pack-telemetry
node skills/byd-battery/byd-battery.cjs --format json read cell-extremes
node skills/byd-battery/byd-battery.cjs --format json read inventory
node skills/byd-battery/byd-battery.cjs --format json read module-telemetry
node skills/byd-battery/byd-battery.cjs --format json read alarms
node skills/byd-battery/byd-battery.cjs --format json read firmware
node skills/byd-battery/byd-battery.cjs --format json read be-connect-metadata
node skills/byd-battery/byd-battery.cjs --format json read energy-counters
node skills/byd-battery/byd-battery.cjs --format json read state-of-charge --via fronius

Safety Boundary

Read-only v1. Do not attempt mutating actions through this skill. Remote

shutdown, BMU reset, capacity reconfiguration, installer-app operations,

cell-balancing overrides, write coils, and write-register requests are out of

scope because they can affect a high-voltage DC battery. If a future v2 adds

any mutating action, it must be red-stakes, require mandatory F8/F14 approval,

and include installer handover instructions.

Never ask for, print, or store installer-app passwords such as common default

installer codes in helper output. Treat them as SecretRef-managed even if they

are well known.

Setup

Set local BMU connection values in this order:

  1. Browser admin: open the active HybridClaw admin URL ending in /admin/secrets and set the

BYD_BMU_* values.

  1. Browser /chat or TUI fallback:

/secret set BYD_BMU_HOST "192.168.1.50" plus the matching port, unit id,

and model values.

  1. Local console fallback:
hybridclaw secret set BYD_BMU_HOST "192.168.1.50"
hybridclaw secret set BYD_BMU_MODBUS_PORT "8080"
hybridclaw secret set BYD_BMU_UNIT_ID "1"
hybridclaw secret set BYD_BMU_MODEL "Premium HVS"

The helper uses the SecretRef names in metadata and output. It does not expose

the configured LAN host, port, unit id, model, or any installer secret in

normal results.

F3 host policy should allow only the BMU LAN host and Modbus port. BYD local

Modbus does not require internet endpoints by default.

Operation Rules

incident hints.

temperature.

max/min temperature.

family, tower/module topology, BMU/BMS firmware, hardware revision when

present in the BMU block, inverter family, and grid mode.

decoded from the read-only diagnostic 0x0558 pages. Larger systems may

require multiple sampled pages; the helper reads only the allowlisted

diagnostic holding-register range and never starts measurement with a write.

metadata that can be recovered from local BMU registers. It intentionally

does not log in to Be Connect Plus or handle installer passwords.

R29 incident-card payloads.

rollup fields.

--via fronius. The helper delegates to R21.111 Fronius

local-power-flow / local-storage-realtime surfaces instead of inventing a

BYD cloud path. This checkout does not currently bundle a Fronius helper

path; treat the emitted delegation payload as a handoff to the R21.111 skill

once that skill is present.

failure. The helper emits an R29 bmu-comms-lost incident-card payload; do

not retry-loop against the BMU.

read be-connect-metadata, read firmware, and read inventory for

read-only commissioning metadata available from local BMU registers; do not

automate installer-app login or password flows.

Register Boundary

The helper exposes only allowlisted read-holding-register ranges derived from

the community BYD Battery-Box Premium Modbus maps:

No arbitrary register passthrough exists. No write function codes are exposed.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.