Get available roomplan via JSON

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
salvation
Posts: 38
Joined: Saturday 06 September 2014 15:34
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Get available roomplan via JSON

Post 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?
User avatar
jvdz
Posts: 2335
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Get available roomplan via JSON

Post 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
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
salvation
Posts: 38
Joined: Saturday 06 September 2014 15:34
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Get available roomplan via JSON

Post by salvation »

Great, tnx for the quick response! Did I missed this in some wiki or isn't this one described?
User avatar
jvdz
Posts: 2335
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Get available roomplan via JSON

Post by jvdz »

No, I looked it up in the source when looking for this a while ago. :)

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
salvation
Posts: 38
Joined: Saturday 06 September 2014 15:34
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Get available roomplan via JSON

Post by salvation »

Ok, nice. I've added to the wiki as well.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest