I cannot get the DataWatcher to send data to a different InfluxDB server. Up until now Iâve always had the openLuup on the same RPI as the InfluxDB server which works fine. The openLuup is on .205, the new InfluxDB is on .212. The DataWatcher config looks okay to me - does anything look incorrect?
I can see the .212 InfluxDB starting graphite on UDP port 2004 in syslog. I canât see this with nmap, but neither can I see it on the .205 server that works. Also, I have âgraphiteâ enabled in the InfluxDB, not the UDP service. However, this is also the same as the working server on .205. See below for the syslog snippet of graphite starting up on the .212 (new) server.
I get nothing in syslog, no errors anywhere that I can find. But the data is not getting to InfluxDB as far as I can tell. The same query does not find the data on the new InfluxDB (it does work for other data stored there via the http interface).
Iâm sure Iâm missing something obvious, but I donât know what it isâŠ
Jan 3 19:01:17 chelan-nuc influxd[14178]: ts=2019-01-04T03:01:17.442871Z lvl=info msg="Starting graphite service" log_id=0CmhlVuW000 service=graphite addr=:2004 batch_size=5000 batch_timeout=1s
Jan 3 19:01:17 chelan-nuc influxd[14178]: ts=2019-01-04T03:01:17.442886Z lvl=info msg="Registered diagnostics client" log_id=0CmhlVuW000 service=monitor name=graphite:udp::2004
Jan 3 19:01:17 chelan-nuc influxd[14178]: ts=2019-01-04T03:01:17.443227Z lvl=info msg=Listening log_id=0CmhlVuW000 service=graphite addr=:2004 protocol=udp addr=[::]:2004
Hereâs the DataWatcher configuration:
[code]DataWatcher CONFIGURATION at Thu Jan 3 20:39:03 2019
DAEMON = {
VERSION = â2016.10.10â,
client = âDataWatcherâ,
destinations = {â127.0.0.1:2003â,â192.168.86.212:2004â},
errors = {count = 0},
http = {received = 7},
ip = â192.168.86.205â,
start_time = âThu Jan 3 13:22:21 2019â,
udp = {
last_received = {},
last_sent = {
[â127.0.0.1:2003:inetâ] = âhvacTime.hvac 0 1546576722â,
[â192.168.86.212:2004:inetâ] = âhvacTime.hvac 0 1546576722â
},
received = 0,
sent = 1301
}
}
DATAWATCHER = {
VERSION = â2017.04.17â,
live_energy_usage = {},
memory_stats = {},
tally = {
HTTP_relayed = {
[âEnergyUsage.eâ] = 43,
[âIndoorTemperature.tempâ] = 76,
[âOutdoorTemperature.tempâ] = 8,
[âchelan.kwhâ] = 38,
[âchelanMonth.kwhâ] = 38,
[âcpu.dâ] = 218,
[âhvacTime.hvacâ] = 420,
[âmemory.dâ] = 218,
[âsolarGeneration.eâ] = 24,
[âuptime.mâ] = 218
},
UDP_relayed = {},
watched = {}
},
translations = {[â*.urn:micasaverde-com:serviceId:HVAC_OperatingState1.ModeStateâ] = {
Cooling = -1,
Heating = 1,
Idle = 0
}}
}
[cache] = {
LOCAL_DATA_DIR = âwhisper/â,
UDP_RECEIVER_PORT = â2003â
}
[dash] = {
DATAMINE_DIR = ââ,
ICON_PATH = â/cmh/skins/default/img/devices/device_states/â,
LOCAL_DATA_DIR = âwhisper/â,
VERAS = ââ
}
[graph] = {
DATAMINE_DIR = ââ,
LOCAL_DATA_DIR = âwhisper/â
}
[mine] = {DATAMINE_DIR = ââ}
[relay] = {
DESTINATIONS = â127.0.0.1:2003, 192.168.86.212:2004â,
LINE_RECEIVER_PORT = ââ,
LIVE_ENERGY_USAGE = â0â,
MEMORY_STATS = ââ,
SYSLOG = â127.0.0.1:514â
}[/code]