-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
32 lines (31 loc) · 816 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const lightConfig = require('./src/config/light.json');
const switchConfig = require('./src/config/switch.json');
const motionSensorConfig = require('./src/config/motionSensor');
const thermostatConfig = require('./src/config/termostat.json');
module.exports = {
bridge: {
name: 'Homebridge',
username: '10:00:00:00:00:00',
port: 51820,
pin: '123-45-678',
},
accessories: [
],
platforms: [
{
platform: 'SmartHousePlatform',
lights: [
...lightConfig,
],
fans: [
...switchConfig,
],
thermostats: [
...thermostatConfig,
],
motionSensors: [
...motionSensorConfig,
]
},
]
};