Read Device Category
victron_read_categoryRead all registers for any Victron device category by service name. Covers 33 categories including PV inverter, GPS, and more.
Instructions
Read all registers for any Victron device category by service name. Covers all 33 categories including digital inputs, genset, PV inverter, settings, GPS, meteo, and more. Use victron_discover to find connected devices and their unit IDs first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | GX device IP address or hostname | |
| port | No | Modbus TCP port | |
| unitId | No | Modbus unit ID. If omitted, uses the default unit ID for the category. | |
| category | Yes | Device category service name (e.g. "digitalinput", "genset", "pvinverter", "settings", "gps"). Partial match supported — you can use just the short name without the "com.victronenergy." prefix. | |
| 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 |
|---|---|---|---|
| service | No | ||
| readings | No |