-
Notifications
You must be signed in to change notification settings - Fork 16
/
weewx.ini
41 lines (34 loc) · 1.49 KB
/
weewx.ini
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
; ------------------------------------------
; Name: weewx
; Date: April 2017
; About: A monitoring platform collecting sensor data from WeeWX.
; Channel: Transport: MQTT; Format: JSON
; Storage: InfluxDB
; See also: https://getkotori.org/docs/applications/weewx.html
; http://lancet.mit.edu/mwall/projects/weather/releases/weewx-mqtt-0.15.tgz
; http://lancet.mit.edu/mwall/projects/weather/
; http://www.weewx.com/
; ------------------------------------------
; -----------------------------
; Data acquisition through MQTT
; -----------------------------
[weewx]
enable = true
type = application
realm = weewx
mqtt_topics = weewx/#
app_factory = kotori.daq.application.mqttkit:mqttkit_application
; ----------------------------------------------------------------------
; Data export
; https://getkotori.org/docs/handbook/export/
; https://getkotori.org/docs/applications/forwarders/http-to-influx.html
; ----------------------------------------------------------------------
[weewx.data-export]
enable = true
type = application
application = kotori.io.protocol.forwarder:boot
realm = weewx
source = http:/api/{realm:weewx}/{network:.*}/{gateway:.*}/{node:.*}/{slot:(data|event)}.{suffix} [GET]
target = influxdb:/{database}?measurement={measurement}
transform = kotori.daq.intercom.strategies:WanBusStrategy.topology_to_storage,
kotori.io.protocol.influx:QueryTransformer.transform