{"_id":"582789abbe5c080f00a5a81c","parentDoc":null,"project":"568bdc1483d2061900d86cdc","version":{"_id":"582789aabe5c080f00a5a7fe","__v":10,"project":"568bdc1483d2061900d86cdc","createdAt":"2016-11-12T21:29:14.915Z","releaseDate":"2016-11-12T21:29:14.915Z","categories":["582789abbe5c080f00a5a7ff","582789abbe5c080f00a5a800","582789abbe5c080f00a5a801","582789abbe5c080f00a5a802","582789abbe5c080f00a5a803","582789abbe5c080f00a5a804","582789abbe5c080f00a5a805","582789abbe5c080f00a5a806","582789abbe5c080f00a5a807","582789abbe5c080f00a5a808","5827ea984ca29e0f00137a9e","583df597887db62f00644283","583df5d9c622791900e78da5","5845cd8763c11b250037967d","5845d13063c11b2500379681","5859e859e3306d1900126725","587aeb9a01cf3a0f008359eb","587c422af45e2d0f005e200d","587d84dc82f6f30f004ceee5"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"beta2","version_clean":"0.0.0","version":"0"},"__v":0,"category":{"_id":"5845d13063c11b2500379681","__v":0,"version":"582789aabe5c080f00a5a7fe","project":"568bdc1483d2061900d86cdc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-12-05T20:42:24.315Z","from_sync":false,"order":1,"slug":"platform-overview","title":"Platform Overview"},"user":"568bdbc4fe6fcc0d006dc970","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-19T02:46:02.561Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Introduction\"\n}\n[/block]\nAn **environment** in droplit.io is the highest level in organizational structure. \n\nGenerally environments map one-to-one with a physical location or space. For example, a single building can be represented with an environment.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Children\"\n}\n[/block]\nAn environment contains:\n* [Zones](doc:zones) \n* [Devices](doc:devices) \n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Command and control\"\n}\n[/block]\nThe highest scope commands can be issued to are [Environments](doc:environments). For example: Setting the property “BinarySwitch.switch” to “off” of an environment will set the property on all children that implement the “BinarySwitch” service class.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Alias\"\n}\n[/block]\nEnvironments can be aliased. See [Aliases](doc:aliases).","excerpt":"Container for a location: A factory, an office, my house, the Holodeck, etc","slug":"environments","type":"basic","title":"Environments"}

Environments

Container for a location: A factory, an office, my house, the Holodeck, etc

[block:api-header] { "type": "basic", "title": "Introduction" } [/block] An **environment** in droplit.io is the highest level in organizational structure. Generally environments map one-to-one with a physical location or space. For example, a single building can be represented with an environment. [block:api-header] { "type": "basic", "title": "Children" } [/block] An environment contains: * [Zones](doc:zones) * [Devices](doc:devices) [block:api-header] { "type": "basic", "title": "Command and control" } [/block] The highest scope commands can be issued to are [Environments](doc:environments). For example: Setting the property “BinarySwitch.switch” to “off” of an environment will set the property on all children that implement the “BinarySwitch” service class. [block:api-header] { "type": "basic", "title": "Alias" } [/block] Environments can be aliased. See [Aliases](doc:aliases).