Skip to content

Latest commit

 

History

History
54 lines (51 loc) · 1.33 KB

Configuration.md

File metadata and controls

54 lines (51 loc) · 1.33 KB

Advanced configuration

The following configuration example shows all switches in combination. The configuration was used to make the screenshots in the detailed documentation pages. The configuration shows examples of the automation switch, the lock mechanism, the security system and the regular switch.

Example

{
  "bridge": {
      ...
  },
  "platforms": [
    {
      "platform": "AutomationSwitches",
      "switches": [
        {
          "type": "automation",
          "name": "WindowOpenAlert",
          "period": 600,
          "autoOff": false,
          "stored": false
        },
        {
          "type": "automation",
          "name": "AutoOff",
          "period": 900,
          "autoOff": true,
          "stored": false
        },
        {
          "type": "lock",
          "name": "ScreenLock",
          "default": "unlocked",
          "stored": true
        },
        {
          "type": "security",
          "name": "Home Mode",
          "default": "armed-stay",
          "stored": true
        },
        {
          "type": "security",
          "name": "My DIY security system",
          "default": "unarmed",
          "stored": true,
          "zones": ["Living room", "Bedroom", "Back door"]
        }
      ]
    }
  ]
}