Hi,
someone knows if it's possible to retrieve the available roomplans via a JSON call? If so, which JSON call should I make?
Get available roomplan via JSON
Moderator: leecollings
- 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
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¶m=getplandevices&idx=xx
Jos
This returns a list of devices for the room: /json.htm?type=command¶m=getplandevices&idx=xx
Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 38
- Joined: Saturday 06 September 2014 15:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Get available roomplan via JSON
Great, tnx for the quick response! Did I missed this in some wiki or isn't this one described?
- 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
No, I looked it up in the source when looking for this a while ago. 
Jos

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 38
- Joined: Saturday 06 September 2014 15:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Get available roomplan via JSON
Ok, nice. I've added to the wiki as well.
Who is online
Users browsing this forum: No registered users and 1 guest