Battery Status
victron_battery_statusRetrieve comprehensive battery status data including state of charge, voltage, current, power, temperature, cell voltages, time-to-go, history, and alarms from a Victron Energy battery monitor via Modbus TCP or MQTT.
Instructions
Get detailed battery monitor data: SOC, voltage, current, power, temperature, cell voltages, time-to-go, history, and alarms. Specify unitId for the battery monitor (check victron_discover to find it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | GX device IP address or hostname | |
| port | No | Modbus TCP port | |
| unitId | No | Modbus unit ID for the battery monitor | |
| mqttHost | No | MQTT broker host. Defaults to the "host" parameter or VICTRON_HOST env var. | |
| mqttPort | No | MQTT broker port. Defaults to VICTRON_MQTT_PORT env var or 1883. | |
| portalId | No | Venus OS portal ID for MQTT topics. Use victron_mqtt_discover to find it. Defaults to VICTRON_PORTAL_ID env var. | |
| transport | No | Transport protocol. Defaults to VICTRON_TRANSPORT env var or "modbus". | |
| deviceInstance | No | MQTT device instance number. If omitted, uses wildcard subscribe to find the first matching device. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| readings | Yes | ||
| serviceInstance | No |