-
Notifications
You must be signed in to change notification settings - Fork 6
/
telldusmq.json
26 lines (26 loc) · 890 Bytes
/
telldusmq.json
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
{
"Mqtt": {
"Broker": "tcp://localhost:1883",
"ClientId": "TelldusMq",
"Username": "mquser",
"Password": "mquser",
"Events": {
"PublishTopic": "tellstick/events/{{.Protocol}}/{{.Model}}/{{.House}}/{{.Unit}}/{{.Group}}",
"PublishPayload": "{{.Method}}",
"SubscribeTopic": "tellstick/events",
"SubscribeDeviceEvents": "tellstick/device/#"
},
"Sensors": {
"PublishTopic": "tellstick/sensors/{{.Protocol}}/{{.Model}}/{{.Id}}/{{.DataType}}",
"PublishPayload": "{{.Value}}"
}
},
"Tellstick": {
"UnixSocketEvents": "/tmp/TelldusEvents",
"UnixSocketClient": "/tmp/TelldusClient",
"SplitTemperatureAndHumidity": true,
"MapTurnOnTo": "ON",
"MapTurnOffTo": "OFF",
"ReverseMappingOnIncoming": true
}
}