mirror of
https://github.com/dtwardow/homebridge-multi-tap-switch.git
synced 2026-11-01 20:18:30 +00:00
Add Test directory and config
This commit is contained in:
1 parent
b31fbe03fa
commit
e74bfeb4e2
2 files changed
+52
No files matched your search
@@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"id": 1,
|
||||
"username": "test",
|
||||
"name": "test",
|
||||
"hashedPassword": "df121e72b850a058bd68f3d05b1f94dc985821a3885b5da38e263654f29843f98bb6d8e594f6042ff871a424602a9bff50dffa97f258bdc1dca4c79e87bac20c",
|
||||
"salt": "64085e70da64670349f042d4c3d3cac75b20233ffeb71db68399973f60da077d",
|
||||
"admin": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"bridge": {
|
||||
"name": "HomebridgeTest",
|
||||
"username": "CC:22:3D:E3:CE:30",
|
||||
"manufacturer": "homebridge.io",
|
||||
"model": "homebridge",
|
||||
"port": 51826,
|
||||
"pin": "031-45-154"
|
||||
},
|
||||
|
||||
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
|
||||
"ports": {
|
||||
"start": 52100,
|
||||
"end": 52150,
|
||||
"comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
|
||||
},
|
||||
"accessories": [
|
||||
],
|
||||
|
||||
"platforms": [
|
||||
{
|
||||
"platform" : "MultiTapSwitch",
|
||||
"name" : "MTS",
|
||||
"devices": [
|
||||
{
|
||||
"name": "MTS1",
|
||||
"numberConfiguredScenes": 5,
|
||||
"triggerTimeout": 10,
|
||||
"resetAfterSwitchOff": false,
|
||||
"logging": true
|
||||
},
|
||||
{
|
||||
"name": "MTS2",
|
||||
"numberConfiguredScenes": 5,
|
||||
"triggerTimeout": 10,
|
||||
"resetAfterSwitchOff": false,
|
||||
"logging": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user