Page 1 of 1

Get available roomplan via JSON

Posted: Thursday 21 January 2016 20:42
by salvation
Hi,

someone knows if it's possible to retrieve the available roomplans via a JSON call? If so, which JSON call should I make?

Re: Get available roomplan via JSON

Posted: Thursday 21 January 2016 20:54
by jvdz
This returns a list of roomplans: /json.htm?type=plans&order=name&used=true
This returns a list of devices for the room: /json.htm?type=command&param=getplandevices&idx=xx

Jos

Re: Get available roomplan via JSON

Posted: Thursday 21 January 2016 21:08
by salvation
Great, tnx for the quick response! Did I missed this in some wiki or isn't this one described?

Re: Get available roomplan via JSON

Posted: Thursday 21 January 2016 21:17
by jvdz
No, I looked it up in the source when looking for this a while ago. :)

Jos

Re: Get available roomplan via JSON

Posted: Thursday 21 January 2016 21:28
by salvation
Ok, nice. I've added to the wiki as well.