The JSON API seems a bit incomplete when it comes to Room and Floor Plans
Unable to list *all* (including hidden) rooms
Would have expected /json.htm?type=plans&order=name or /json.htm?type=plans&order=name&used=false to retrieve them but it doesn’t
Unable to list Floor Plans (Plans -> Floorplan)
I need to list all floorplans and all rooms within a floorplan but there doesn’t seem to be that option.
In insight I’d say the naming being used at the moment is quite strange as I would have expected:
/json.htm?type=plans -> list Floorplan
/json.htm?type=rooms -> list Rooms
Domoticz API: List hidden Rooms and Floorplans
Moderators: leecollings, remb0
-
- Posts: 73
- Joined: Friday 09 October 2015 19:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 73
- Joined: Friday 09 October 2015 19:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz API: List hidden Rooms and Floorplans
nvm, I've figured it out - guess Wiki needs updating!
Code: Select all
http://192.168.1.2:8080/json.htm?type=floorplans
http://192.168.1.2:8080/json.htm?type=plans&displayhidden=1
http://192.168.1.2:8080/json.htm?type=command¶m=getfloorplanplans&idx=1
-
- Posts: 849
- Joined: Sunday 23 February 2014 17:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: mixed
- Location: Hengelo(Ov)/NL
- Contact:
Re: Domoticz API: List hidden Rooms and Floorplans
@SchattenMann
What do you want to tell with that list of IP-adresses in the local range of 192.168.* ?
We (= other forum-members) cannot see what you intend to show by clicking those URLs
What do you want to tell with that list of IP-adresses in the local range of 192.168.* ?
We (= other forum-members) cannot see what you intend to show by clicking those URLs
Last edited by Toulon7559 on Friday 26 August 2016 16:00, edited 2 times in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
-
- Posts: 73
- Joined: Friday 09 October 2015 19:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Domoticz API: List hidden Rooms and Floorplans
can't see how that's a problem, just replace 192.168.1.2 with your Domoticz IP
Who is online
Users browsing this forum: No registered users and 1 guest