Connect Home Power Device
Link batteries
Links the provided list of batteries from the vendor account to the Energy Hub Alliance.
POST
/
v1.0.0
/
link
/
users
/
{userId}
/
vendor-accounts
/
{vendorAccountId}
/
batteries
Authorizations
X-API-KEY
string
headerrequiredApiKey used for authorization and authentication
Path Parameters
userId
string
requiredUser ID
vendorAccountId
string
requiredVendor account ID
Body
application/json
Object for batteries IDs request that should be added to the Energy Hub Alliance.
externalBatteries
string[]
requiredList of external IDs of batteries to be linked to the Energy Hub Alliance.
Response
200 - application/json
isLinked
boolean
requiredIndicates if the battery is linked with the Energy Hub Alliance.
vendor
enum<string>
requiredThe vendor of the battery.
Available options:
FRONIUS
, TESLA
, SMA
name
string
requiredThe display name of the battery.
externalId
string
requiredID of the battery in external vendor system.
id
string
requiredThe ID of the battery.