question

nicola avatar image
nicola asked

vrm api with globallink 520

hello,


I have purchased a globallink and would like to use victron api to integrate the system with home assistant.


However, I can't understand how these api work, in fact whatever call I make, I get all the attributes of the global link but I can't get anything of the BMV and MPPT connected. I show an example of a response where actually these devices do not have the attributes valued.


What can I try to do? Thanks


{
    "success": true,
    "records": {
      "devices": [
        {
          "name": "Gateway",
          "customName": null,
          "productCode": "",
          "idSite": 428398,
          "productName": "GlobalLink 520",
          "firmwareVersion": "v2.06",
          "signalRSSI": "-103 dB",
          "antennaType": "Internal",
          "networkName": "Vodafone Italia S.p.A. (22210)",
          "lastConnection": 1714130343,
          "class": "device-gateway device-icon-globallink-520",
          "loggingInterval": 900,
          "identifier": "xxxxxx",
          "lastPowerUpOrRestart": 1714129434,
          "machineSerialNumber": "xxxxxxx",
          "settings": [
            {
              "timestamp": null,
              "value": null,
              "idUser": null,
              "idSite": "428398",
              "instance": "0",
              "idDataAttribute": "auto_update",
              "loggedTimestamp": "1714129434",
              "loggedValue": 100,
              "idDeviceType": "0",
              "description": "Auto update",
              "user_name": null,
              "enumData": [
                {
                  "nameEnum": "Disabled",
                  "valueEnum": 99,
                  "values": {
                    "150": 0
                  }
                },
                {
                  "nameEnum": "Official Release (stable)",
                  "valueEnum": 100,
                  "values": {
                    "150": 1,
                    "151": 0
                  }
                },
                {
                  "nameEnum": "Release candidate (beta)",
                  "valueEnum": 101,
                  "values": {
                    "150": 1,
                    "151": 1
                  }
                }
              ],
              "attributes": [
                151,
                150
              ],
              "values": {
                "150": {
                  "value": null,
                  "loggedValue": "1"
                },
                "151": {
                  "value": null,
                  "loggedValue": "0"
                }
              }
            },
            {
              "timestamp": null,
              "value": null,
              "idUser": null,
              "idSite": "428398",
              "instance": "0",
              "idDataAttribute": "306",
              "loggedTimestamp": "1714130343",
              "loggedValue": "0",
              "idDeviceType": "0",
              "description": "Relay 1 state",
              "user_name": null,
              "enumData": [
                {
                  "nameEnum": "Open",
                  "valueEnum": 0
                },
                {
                  "nameEnum": "Closed",
                  "valueEnum": 1
                }
              ]
            },
            {
              "timestamp": null,
              "value": null,
              "idUser": null,
              "idSite": "428398",
              "instance": "0",
              "idDataAttribute": "691",
              "loggedTimestamp": "1714129434",
              "loggedValue": "1",
              "idDeviceType": "0",
              "description": "Bluetooth enabled",
              "user_name": null,
              "enumData": [
                {
                  "nameEnum": "Disabled",
                  "valueEnum": 0
                },
                {
                  "nameEnum": "Enabled",
                  "valueEnum": 1
                }
              ]
            }
          ]
        },
        {
          "name": "Battery Monitor",
          "customName": "SmartBMV HQ2201FP4NT",
          "productCode": "",
          "idSite": 428398,
          "productName": "BMV-712 Smart",
          "lastConnection": 1714130326,
          "class": "device-battery-monitor device-icon-bmv-712-smart",
          "machineSerialNumber": false,
          "instance": 101,
          "idDeviceType": 2,
          "settings": []
        },
        {
          "name": "Solar Charger",
          "customName": "SmartSolar HQ2220FKQWN",
          "productCode": "",
          "idSite": 428398,
          "productName": "SmartSolar Charger MPPT 100/20 48V",
          "lastConnection": 1714130326,
          "class": "device-solar-charger device-icon-smartsolar-charger-mppt-100-20-48v",
          "machineSerialNumber": false,
          "instance": 100,
          "idDeviceType": 4,
          "settings": []
        },
        {
          "name": "Digital input",
          "customName": null,
          "productCode": "",
          "idSite": 428398,
          "productName": "GlobalLink 520",
          "lastConnection": 1714130343,
          "class": "device-digital-input device-icon-globallink-520",
          "inputType": "Generic input",
          "inputState": "High",
          "instance": 1,
          "idDeviceType": 20,
          "settings": []
        },
        {
          "name": "Digital input",
          "customName": null,
          "productCode": "",
          "idSite": 428398,
          "productName": "GlobalLink 520",
          "lastConnection": 1714130343,
          "class": "device-digital-input device-icon-globallink-520",
          "inputType": "Generic input",
          "inputState": "High",
          "instance": 2,
          "idDeviceType": 20,
          "settings": []
        }
      ],
      "unconfigured_devices": []
    }
  }
api
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers

Related Resources

Additional resources still need to be added for this topic