I want to add a device or multiple device to product in my system

I want to add a device or multiple devices to a product in my system.
how it is possible?
I did not get any unique id from any device.
the responses are
{
“name”: “Battery Monitor”,
“customName”: null,
“productCode”: “”,
“idSite”: 494968,
“productName”: “SmartShunt 500A”,
“firmwareVersion”: “v4.16”,
“lastConnection”: 1729663548,
“class”: “device-battery-monitor device-icon-smartshunt-500a”,
“machineSerialNumber”: false,
“instance”: 1,
“idDeviceType”: 2,
“settings”:
},
{
“name”: “Battery Monitor”,
“customName”: null,
“productCode”: “”,
“idSite”: 494968,
“productName”: “SmartShunt 500A”,
“firmwareVersion”: “v4.16”,
“lastConnection”: 1728527452,
“class”: “device-battery-monitor device-icon-smartshunt-500a”,
“machineSerialNumber”: false,
“instance”: 2,
“idDeviceType”: 2,
“settings”:
},

Or Am i wrongly approaching.
Please correct me if needed.
I am stuck now.
could not think any way.
Thanks for your help

What unique id so you want? the mac address over Bluetooth? Data over mqtt? How are you trying to connect to the information -are you pulling information from the cerbo or device itself?

Hi,
Thanks for your reply.
I want to create a relationship between a Victron device and a product in my separate web app. Then I want to pull some data from Vrm API and save into my DB and these data will have a relation with the product I mention. because I need to show them on different pages regarding my product. So, for that, I need a unique data/id that is unique for every single device.

How are you querying the devices?
With node red, there is a vrm api integration. Then you can send data that way possibly. Are you wanting to send it over the web, over wifi, mqtt?

1 Like

I am need add it over the web.

https://www.victronenergy.com/live/ccgx:modbustcp_faq