get rooms

This block is part of the globals group and was last modified in core v15.0.0.

get rooms v15.0.0

Returns the list of rooms that have devices assigned to them.

In pins 0 + flow
  • flow v15.0.0
    flow
Out pins 2 + flow
  • flow v15.0.0
    flow
  • rooms v15.0.0
    array
  • count v15.0.0
    number

Returns the distinct non-empty room names across all adopted devices, sorted. Rooms are free text set per device; there is no separate room registry.

zigbee
zwave
matter
thread
hue
smart home

A typical wiring for get rooms: a function trigger starts the flow; the flow out pin feeds debug.

Studio canvas example for the get rooms block: typical wiring for get rooms.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v15.0.0.


Back to globals Return to the main group to view all sub-groups Back to home Return to the group to view all blocks within this group