Environments (Locations, Rooms)

An environment represents aa room or a location (which on occasion can be virtual!). At its most basics, it is comprised of:

  • An optional way to watch (TV, Projector) and control the video processing
  • A way to control the audio (volume, decoder…)
  • Environmental items (lights…)

So most typically an environment is defined by a TV or a projector and a A/V processor or receiver. Example: in the current system’s deployment, the “HomeTheater” room is defined by the AVM70 audio processor and the OptomaCinemaX P2 projector. A location also contains a list of “participating devices” that needs to be turned on or off without direct set roles. Below is an extract of the system’s configuration file.

<device name="AVM70" type="AnthemStatementAVM70" location="HomeTheater" inputs="TV:1,Game:2,Jeannie:3,FireTV:4,PC:5,TVMusic:6,Streaming:7,Bluetooth:8,Music:9,PCMusic:10,FireTVMusic:11" ip="50:1e:2d:42:4e:a8" port="14999" />

<device name="OptomaCinemaXP2" type="IRDevice" location="HomeTheater" ir="HomeTheater" port="3" spacing="100" boot="100" media="VideoOnly" />

<location name="HomeTheater" tv="OptomaCinemaXP2" audio="AVM70" video="AVM70" volume="AVM70">

Of course, this does not achieve much without activities