Skip to content

Commit

Permalink
Merge pull request #21 from garethflowers/patch-3
Browse files Browse the repository at this point in the history
Improves formatting of example JSON
  • Loading branch information
max-christian authored Nov 3, 2020
2 parents f00015b + 1847ff3 commit b9324f0
Showing 1 changed file with 31 additions and 26 deletions.
57 changes: 31 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,37 @@ Texecom zones must be configured individually in the Homebridge config.json file

Example:

"platforms": [
{
"platform": "Texecom",
"serial_device": "/dev/ttyUSB0",
"baud_rate": 19200,
"zones": [
{
"name": "Living Room",
"zone_number": "7",
"zone_type": "motion",
"dwell": 1000
}
,
{
"name": "Front Door",
"zone_number": "15",
"zone_type": "contact",
"dwell": 1000
}
],
"areas": [
{"name": "Texecom Alarm","area_number": "1","area_type": "securitysystem","dwell": 0}
]
}
]

```json
"platforms": [
{
"platform": "Texecom",
"serial_device": "/dev/ttyUSB0",
"baud_rate": 19200,
"zones": [
{
"name": "Living Room",
"zone_number": "7",
"zone_type": "motion",
"dwell": 1000
},
{
"name": "Front Door",
"zone_number": "15",
"zone_type": "contact",
"dwell": 1000
}
],
"areas": [
{
"name": "Texecom Alarm",
"area_number": "1",
"area_type": "securitysystem",
"dwell": 0
}
]
}
]
```


### Global Configuration
Expand Down

0 comments on commit b9324f0

Please sign in to comment.