Skip to content

radoondas/safecastbeat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis Build Status

Safecastbeat

Welcome to Safecastbeat.

Safecastbeat is a beat which will periodically pull data from Safecast API.

This will specifically pull data every Period defined and will use api call with since parameter. Example call may look following:

https://api.safecast.org/measurements.json?per_page=1000&since=2019-03-22%2B20%3A51%3A46

Above command will request any new data added to Safecast DB since date and time specified in URI. It can be mix of current and older data as measurements can be uploaded with delays.

Installation

Download and install appropriate package for your system. Check release page for latest packages.

You also can use Docker image docker pull radoondas/safecastbeat

Configuration

To run Safecastbeat you have to define Period for data pull. 1m or 2m should be sufficient.

  period: 5m

Define the path to CA file which requires TLS call. One CA is provided in the repository. Feel free to use it.

Run

./safecastbeat -c safecastbeat.yml -e 

Visualisations

This is an example of visualisation for measurements.

Map

Build

If you want to build Safecastbeat from scratch, follow build documentation.