Domoticz API: List hidden Rooms and Floorplans
Posted: Tuesday 23 August 2016 17:35
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
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