Skip to content

2 Garage Doors (with multi channel device)

Ben edited this page Jul 8, 2021 · 8 revisions

This simulation can be setup via the Homebridge/HOOBS UI, adding an entry in the 'Multi Channel Devices' section and setting the Device ID and the 'Show As' to '2 Garage Doors'.

Or if you prefer to edit the configuration directly, set the deviceId and choose the showAs option to "garage_two". For example:

"multiDevices": [
   {
      "deviceId": "10009553c8",
      "deviceModel": "dual_dualr2",
      "showAs": "garage_two",
      "operationTime": 100
   }
]

⚠️ It is important to have:

  • channel 0 connected to the 'up' motor and channel 1 connected to the 'down' motor for the first garage
  • channel 2 connected to the 'up' motor and channel 3 connected to the 'down' motor for the second garage, and
  • all channels 'inched' via the eWeLink app (I would recommend 0.5 seconds).

Your garage doors must be able to respond to this 'pulse' by starting to move up/down and then stopping with another 'pulse'. The plugin will send an initial request to turn the switch ON (and then be turned off by the eWeLink 'inching' setting) and the garage door will start moving. The plugin will then send another request to turn the switch ON (and then be turned off by the eWeLink 'inching' setting) after the operationTime configuration setting to stop the garage door moving after the appropriate time.

The operationTime is defined in deciseconds so time how long it takes to open/close the garage and multiply this by ten. If the garage door has a different UP and DOWN time then you can set operationTime for the time UP and operationTimeDown for the time DOWN.

Since it is impossible for the switch to report the correct position of the garage doors to Homebridge, the plugin relies on a cached state which changes each time the garage doors are opened/closed. There may be times when this becomes out of sync. If this happens, please make sure all the garage doors are fully closed, then remove the accessory from the Homebridge cache. The accessory will be added again with a CLOSED status which will match the garage doors.