Skip to content

4 Garage Doors (with multi channel device)

Ben edited this page Jul 8, 2021 · 5 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 '4 Garage Doors'.

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

"multiDevices": [
   {
      "deviceId": "10009553c8",
      "deviceModel": "4ch",
      "showAs": "garage_four",
      "operationTime": 100
   }
]

⚠️ It is important to have all four device 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 garages 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.

An simple configuration example:

[
   {
      "deviceId": "10009553c8",
      "type": "garage_four",
      "operationTime": 105
   }
]
  • If using the Homebridge UI, it's easier to use the plugin settings screen to configure the simulation
  • If using the HOOBS UI, copy and paste the example above into the 'Groups' box on the plugin settings screen
  • If manually editing the config JSON, don't forget to change the first line to "groups": [

Available Options

Entry Type Required Default Explanation
deviceId string Yes "" eWeLink Device ID.
label string No "" This setting has no effect except to be a helpful label for identifying which device this is when editing the configuration.
type string Yes "" In this case this must be set to "garage_four".
operationTime int Yes 100 The time in deciseconds that the garage door takes to open/close. Must be 20 or more.
operationTimeDown int No 100 If the garage door has a different operation time for up and down, use this setting to specify the operation time DOWN (in deciseconds) and the other setting to specify the operation time UP. Must be 20 or more.
ipAddress string No "" You can manually set the IP address for this device if it cannot be discovered by the plugin.
overrideLogging bool No "default" Override global logging setting for this device. Can be default (follows global setting), standard for standard logging, debug for debug logging or disable to disable accessory logging.