2015-08-19 16:55:46 +02:00
2015-08-14 18:40:35 +02:00
2015-08-14 18:40:35 +02:00
2015-08-19 16:55:46 +02:00
2015-08-15 12:50:16 +02:00
2015-08-15 12:41:22 +02:00
2015-08-14 18:40:35 +02:00
2015-08-16 12:49:51 +02:00
2015-08-14 18:40:35 +02:00
2015-08-14 18:40:35 +02:00
2015-08-14 18:40:35 +02:00
2015-08-15 13:18:27 +02:00
2015-08-14 18:40:35 +02:00
2015-08-14 18:40:35 +02:00
2015-08-14 18:40:35 +02:00
2015-08-14 18:40:35 +02:00
2015-08-15 07:54:47 +02:00
2015-08-15 13:18:27 +02:00
2015-08-14 18:40:35 +02:00
2015-08-19 16:55:46 +02:00
2015-08-16 17:28:09 +02:00
2015-08-14 18:40:35 +02:00
2015-08-19 16:55:37 +02:00
2015-08-15 10:46:46 +02:00
2015-08-14 18:40:35 +02:00
2015-08-14 18:40:35 +02:00

recorder

Recorder

Requirements

  • hiredis unless HAVE_REDIS is false.

Installation

  1. Copy config.h.example to config.h
  2. Edit config.h
  3. Edit config.mk and select features
  4. Type make

Monitoring

In order to monitor the recorder, whenever an MQTT message is received, the recorder will add an epoch timestamp and the last received topic a Redis key (if configured) or a file otherwise. The Redis key looks like this:

redis 127.0.0.1:6379> hgetall ot-recorder-monitor
1) "time"
2) "1439738692"
3) "topic"
4) "owntracks/jjolie/ipad"

The monitor file is located relative to STORE and contains a single line, the epoch timestamp at the moment of message reception and the topic separated from eachother by a single space:

1439738692 owntracks/jjolie/ipad
Description
Store and access data published by OwnTracks apps
Readme Multiple Licenses 8.3 MiB
Languages
C 83.8%
HTML 3.8%
JavaScript 3.5%
Shell 3.1%
CSS 2.5%
Other 3.3%