Magic Home Plugin for Homecontrol
| .gitignore | ||
| .jshintrc | ||
| entry.js | ||
| HCMagicHome.js | ||
| HCMagicHomeAddressable.js | ||
| HCMHAddressableSubsection.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Configuration
All types:
type
Either"normal","addressable"or"subsection"
Type "normal" and "addressable":
logall
Setslog_all_receivedin the constructor.connect_timeout
Setsconnect_timeoutin the constructor. (Default: 10000)command_timeoutSetscommand_timeoutin the constructor. (Default: 5000)
Type "normal":
ack
Bitmask to setackin the constructor.
Type "addressable":
-
strip_length
Number of segments on the strip. Required. -
registry_key
Name to register this controller in the global registry as. Only required when this device is supposed to have subsections.
Type "subsection":
-
parent
Name of the parent device in the registry. Corresponds to aregistry_key -
section_id
Identifier of this section for the parent. -
section_start
Which segment of the strip this subsection starts. May not be greater thanstrip_lengthof the parent. -
section_end
Which segment of the strip this subsection ends. May not be greater thanstrip_lengthof the parent.