IHC Switch


Before you can use the IHC Switch platform, you must setup the IHC Component

When auto setup is enabled the following products will be found in the ihc project and setup as switch devices:

  • Wireless plug outlet
  • Wireless relay
  • Mobile wireless relay
  • Dataline plug outlet

Configuration

To manually configure IHC switches insert the “switch” section in your IHC configuration:

ihc:
  - url: 'http://192.168.1.3'
    username: YOUR_USERNAME
    password: YOUR_PASSWORD
    info: true
    switch:
      - id: 12345
      - id: 12346

Configuration Variables

switch

(map)(Optional)List of switches to setup manually

id

(integer)(Required)The IHC resource id.

name

(string)(Optional)The name of the component

note

(string)(Optional)Descriptive note.

position

(string)(Optional)Where it is placed.

The resource id should be a boolean resource (On/Off). For more information about IHC resource ids see Manual Setup.