Magic Home Plugin for Homecontrol
Go to file
2022-05-17 02:20:15 +02:00
.gitignore initial commit 2019-01-25 16:15:03 +01:00
.jshintrc added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00
entry.js added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00
HCMagicHome.js added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00
HCMagicHomeAddressable.js added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00
HCMHAddressableSubsection.js added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00
package-lock.json added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00
package.json added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00
README.md added support for addressable strips and subsections of addressable strips 2022-05-17 02:20:15 +02:00

Configuration

All types:

  • type
    Either "normal", "addressable" or "subsection"

Type "normal" and "addressable":

  • logall
    Sets log_all_received in the constructor.
  • connect_timeout
    Sets connect_timeout in the constructor. (Default: 10000)
  • command_timeout Sets command_timeout in the constructor. (Default: 5000)

Type "normal":

  • ack
    Bitmask to set ack in 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 a registry_key

  • section_id
    Identifier of this section for the parent.

  • section_start
    Which segment of the strip this subsection starts. May not be greater than strip_length of the parent.

  • section_end
    Which segment of the strip this subsection ends. May not be greater than strip_length of the parent.