Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IP Control V1 2.14 interface notes
#1
There is a lot of good information in the API document here.

https://help.devialet.com/hc/en-us/artic...5207423378

That is the authoritative source but find it hard to parse and created this cheat sheet.

note to self: Should not hardcore ipcontrol or v1 these will change, do a look up with the mDNS discovery.

for Firmware version 2.14

BaseURL: http://<IP>/ipcontrol/v1/

Namespaces:
/devices{instance}
/systems{instance}
/groups{instance}

Instance: Only 'current' is "currently" supported.  future looking you may need to 'look this up'


Endpoints:
/devices/current/ {get} - this gives you device properties  
/systems/current/ {get} - this gives you system properties

/{groups|systems}/current/sources/current/soundControl/volume  {get} {post} {notification}
-get returns the volume - post with the following request data sets the volume.
Request Body
{
"volume": 35
}

/{groups|systems}/current/sources/current/soundControl/volumeUp {post} - turn it up
/{groups|systems}/current/sources/current/soundControl/volumeDown {post} - turn it down

/{groups|systems}/current/sources {get}  - this gives you a list of sources for the group or system.
/{groups|systems}/current/sources/current {get} - this gives you the current state of the group or system.

To Select a Source, use the SourceID from groups or systems /current/sources

"groups/current/sources/" + {SourceID} + "/playback/play"

/groups/current/sources/current/playback/play {post}
/groups/current/sources/current/playback/pause {post}
/groups/current/sources/current/playback/mute {post}
/groups/current/sources/current/playback/unmute {post}

Based on that you can do the basics of finding the devices and selecting a source to play along with changing the volume.

Still working through my implementation but those all work at some level with the caveat the Dialog is either hard to find or there is a bug.



regards
scott-
Reply


Messages In This Thread
IP Control V1 2.14 interface notes - by scotthar - 01-Feb-2022, 02:21

Forum Jump:


Users browsing this thread: 1 Guest(s)