-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarine-sensorhub-mqtt.conf
90 lines (90 loc) · 2.72 KB
/
marine-sensorhub-mqtt.conf
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
logdir: ./
publish:
interval: 15
timeout: 250
disconnecttimeout: 250
pubservers:
tcp://test.mosquitto.org:1883:
topics:
- marine-sensorhub-mqtt/foo/bar
- marine-sensorhub-mqtt/foo/baz
username: awesomeo
password: kyle
cafile: /etc/ssl/certs/foo.pem
tcp://broker.hivemq.com:1883:
topics:
- marine-sensorhub-mqtt/bat/man
- marine-sensorhub-mqtt/bat/cat
subscription:
server: tcp://test.mosquitto.org:1883
esp-msh-root-topic: msh/raw/
signalk-root-topic: msh/cerbo/N/signalk/123456789/
cerbo-root-topic: msh/cerbo/N/1234567890ab/
username: awesomeo
password: kyle
cafile: /etc/ssl/certs/foo.pem
bleTopics:
- msh/raw/ble/temperature/#
phyTopics:
- msh/raw/rtd/temperature/#
espTopics:
- msh/raw/esp/status/#
navTopics:
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/headingMagnetic
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/rateofTurn
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/position
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/speedOverGround
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/attitude
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/speedThroughWater
gnssTopics:
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/gnss/satellites
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/gnss/horizontalDilution
- msh/cerbo/N/signalk/123456789/vessels/self/navigation/gnss/geoidalSeparation
steeringTopics:
- msh/cerbo/N/signalk/123456789/vessels/self/steering/#
windTopics:
- msh/cerbo/N/signalk/123456789/vessels/self/environment/wind/#
waterTopics:
- msh/cerbo/N/signalk/123456789/vessels/self/environment/water/#
- msh/cerbo/N/signalk/123456789/vessels/self/environment/depth/#
outsideTopics:
- msh/cerbo/N/signalk/123456789/vessels/self/environment/outside/#
propulsionTopics:
- msh/cerbo/N/signalk/123456789/vessels/self/propulsion/#
repost: true
repost-root-topic: msh/live/
publish-timeout: 250
influxdb:
enabled: true
org: awesomeo
bucket: mybucket
token: supersecrettoken
url: https://influx.example.com
MACtoName:
"00:01:02:03:04:05": "Fridge"
"00:01:02:03:04:06": "Freezer"
N2KtoName:
"n2k-on-ve.can-socket.6": "GPS"
"n2k-on-ve.can-socket.7": "AIS"
topic-overrides:
BLE: true
GNSS: true
ESP: true
Nav: true
Outside: true
PHY: true
Propulsion: true
Steering: true
Water: true
Wind: true
verbose-topic-logging:
BLE: false
GNSS: false
ESP: false
Nav: false
Outside: false
PHY: false
Propulsion: false
Steering: false
Water: false
Wind: false