GX Device Info
victron_gx_infoRetrieve GX device identity including serial number, relay states, system time, and connection details via Modbus TCP or MQTT.
Instructions
Get GX device identity and connection info: serial number, relay states, system time, and connection details. MAC address and hostname are NOT available via Modbus TCP. Unit ID is always 100.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | GX device IP address or hostname | |
| port | No | Modbus TCP port | |
| 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 |