HEOS CLI Protocol

.
.
{
"name": "'player name N'",
"pid": "player id N'",
"gid": "group id'",
"model": "'player model N'",
"version": "'player verison N'"
"network": "wifi"
"lineout": "level type"
"control": "control option"
"serial": "serial number"
}
]
}
Example: heos://player/get_players
4.2.2 Get Player Info
Command: heos://player/get_player_info?pid=player_id
Attribute Description Enumeration
pid Player id returned by 'get_players' or
'get_groups' command
N/A
gid pid of the Group leader N/A
network Network connection type
wired
wifi
unknown (not applicable for external
controllers)
lineout LineOut level type 1 - variable
2 - Fixed
control Only valid when lintout level type is Fixed
(2).
1 - None
2 - IR
3 - Trigger
4 - Network
serial Only listed if device has valid serial
number
N/A
Note: The group id field (gid) is optional. The 'gid' field will only be appeared if the player(s) is part of a group.
Note: control field is only populated when lineout level type is Fixed (lineout = 2)
Response:
{
"heos": {
"command": "player/get_player_info",
"result": "success",
"message": "pid='player_id'"
},
"payload": {
"name": "'player name'",
"pid": "player id'",
"gid": "group id'",
"model": "'player model'",
"version": "'player verison'"
"network": "wired"
"lineout": "level type"
"control": "control option"
"serial": "serial number"
}
}