forked from the1laz/cgateweb
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.js
More file actions
32 lines (22 loc) · 796 Bytes
/
settings.js
File metadata and controls
32 lines (22 loc) · 796 Bytes
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
//cbus ip address
exports.cbusip = '127.0.0.1';
//cbus project name
exports.cbusname = "HOME";
//mqtt server ip:port
exports.mqtt = '127.0.0.1:1883';
exports.topicPrefix = "homeassistant"
exports.enableHassDiscovery = true;
//username and password (unncomment to use)
//exports.mqttusername = 'user1';
//exports.mqttpassword = 'password1';
// net and app for automatically requesting values
exports.getallnetapp = '254/56';
// whether to request on start (requires getallnetapp set as well)
exports.getallonstart = true;
// how often to request after start (in seconds), (requires getallnetapp set as well)
exports.getallperiod = 60 * 60;
// Sets MQTT retain flag for values coming from cgate
exports.retainreads = true;
exports.messageinterval = 200;
//logging
exports.logging = true;