×
Menu
Index

6.1.16.1 Methods Defined Here

assign_rooms_to_group(scheme handle, group handle, [room IDs])
Assigns the rooms specified by room IDs list to the specified group.  The room IDs list can be either a list of strings or a list of VEBody objects.
 
create_grouping_scheme(name) -> int
Creates a room grouping scheme with the given name.  Returns the handle of the new grouping scheme
 
create_room_group(scheme_handle, group_name, colour = (0, 0, 0) ) -> String
Creates a room group with the given name and colour in the provided grouping scheme. Colour is expressed as a tuple of (R,G,B) and is optional, defaulting to black.  Returns the handle of the new room group
 
get_grouping_schemes( ) -> List of dictionaries
Get a list of room grouping schemes stored as dictionaries.  Dictionary entries are:
 
handle
(string)
name
(string)
 
get_room_groups(grouping scheme handle) -> List of dictionaries
Get a list of room groups (stored as dictionaries) for a grouping scheme.   Dictionary entries are:
 
colour
(tuple of R,G,B ints)  each colour entry in range 0-255
handle
(int)
name
(string)
rooms
(list of strings) list of room IDs assigned to group
 
get_zone_groups() -> List of dictionaries
Get a list of zone groups (stored as dictionaries).   Dictionary entries are:
 
name
(string)
id
(string)
 
 
 
get_zones(zone group ID) -> List of dictionaries
Get a list of zones (stored as dictionaries) for a zone group.   Dictionary entries are:
 
name
(string)
id
(string)
rooms
(list of strings) list of room IDs assigned to zone
master_room
(string) ID of the master room
 
assign_rooms_to_zone (zone ID)
Assigns all rooms to the specified zone.
 
create_zone(zone group ID, zone name) -> String
Creates a zone with the given name in the provided zone group. Returns the ID of the newly added zone.
 
create_zone_group(name) -> String
Creates a zone group with the given name. Returns the ID of the newly added zone group.