All Projects → SvenSommer → darksky2influxdb

SvenSommer / darksky2influxdb

Licence: MIT License
Stores wheather forcecast data from darkskyapi into a influxdb database

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to darksky2influxdb

envsensor-observer-py
Python Bluetooth low energy observer example for OMRON Environment Sensor (2JCIE-BL01)
Stars: ✭ 31 (+47.62%)
Mutual labels:  influxdb, grafana
bounded-disturbances
A k6/.NET red/green load testing workshop
Stars: ✭ 39 (+85.71%)
Mutual labels:  influxdb, grafana
docker-telegraf-influxdb-grafana
Docker Image with Telegraf, InfluxDB and Grafana
Stars: ✭ 17 (-19.05%)
Mutual labels:  influxdb, grafana
ml-ops
Get your MLOps (Level 1) platform started and going fast.
Stars: ✭ 81 (+285.71%)
Mutual labels:  influxdb, grafana
darksky-influxdb
Logs weather information from darksky.io to InfluxDB
Stars: ✭ 22 (+4.76%)
Mutual labels:  weather, influxdb
air-quality
Live dashboard for air quality in my home.
Stars: ✭ 70 (+233.33%)
Mutual labels:  influxdb, grafana
grafana-dashboards
List of Grafana Dashboards 📺
Stars: ✭ 120 (+471.43%)
Mutual labels:  influxdb, grafana
darksky
Forecast.io API wrapper in Go (Golang)
Stars: ✭ 74 (+252.38%)
Mutual labels:  weather, forecast
telegraf-influxdb-grafana
TIG Stack
Stars: ✭ 30 (+42.86%)
Mutual labels:  influxdb, grafana
weather-milliseconds
Experiment to render a forecast as fast as possible
Stars: ✭ 24 (+14.29%)
Mutual labels:  weather, forecast
rpi-monitoring-node
Automated installation of Grafana, Telegraf and influxdb for your Raspberry Pi
Stars: ✭ 18 (-14.29%)
Mutual labels:  influxdb, grafana
ha-config-ataraxis
My Home Assistant Configs. If you like what you see, please ⭐️my repo. It would encourage me a lot 🤘
Stars: ✭ 146 (+595.24%)
Mutual labels:  influxdb, grafana
formula1-telemetry-kafka
No description or website provided.
Stars: ✭ 99 (+371.43%)
Mutual labels:  influxdb, grafana
geostat
GeoStat, Python script for parsing Nginx and Apache logs files and getting GEO data from incoming IP's.
Stars: ✭ 50 (+138.1%)
Mutual labels:  influxdb, grafana
File-Maker
Generate data files for Wii Channels that have the latest news, forecast data, etc.
Stars: ✭ 65 (+209.52%)
Mutual labels:  weather, forecast
monitoring-rancher
🤠How to Set up Rancher Server Monitoring with TIG Stack?
Stars: ✭ 22 (+4.76%)
Mutual labels:  influxdb, grafana
WXKDarkSky
A pure-Swift Codable layer over the Dark Sky API.
Stars: ✭ 21 (+0%)
Mutual labels:  weather, dark-sky
solar-logger
A datalogger for a solar inverter. Stores data in influxdb and displays it in grafana. Has load diverting capability, to use the inverter's excess power
Stars: ✭ 53 (+152.38%)
Mutual labels:  influxdb, grafana
Jupiter
🌞 The Swift Weather Framework
Stars: ✭ 14 (-33.33%)
Mutual labels:  weather, forecast
nfCollector
Collects Netflow version 1, 5, 6, 7, 9 & IPFIX & stores them on InfluxData time-series DB (InfluxDB)
Stars: ✭ 30 (+42.86%)
Mutual labels:  influxdb, grafana

darksky2influxdb

Stores weather forcecast data from Dark Sky Api into a influxdb database.
Powered by Dark Sky

This information can by used to display forecast data with grafana.

Tip: This blogpost describes the installation and setup for a personal weather chart using influxdb and grafana and step-by-step.

Preview

Getting Started

Clone repository git clone https://github.com/SvenSommer/darksky2influxdb

Prerequisites

Node and npm

Node and npm are required. See https://docs.npmjs.com/getting-started/installing-node. Test your version by

node -v
npm -v

Get the latest npm version with npm install npm@latest -g

Dark Sky API Key

Get your https://darksky.net/dev/register here.
Please note that only the first 1000 API requests you make every day are free of charge.

Influxdb

Please follow the official installation documentation https://docs.influxdata.com/influxdb/v1.2/introduction/installation/

Grafana

If you want to visualise the data in a chart I can hardly reccomend grafana.
You can find my dashboard for import in grafana\Weather - Forecast-Dashboard.json.

Installing

  1. Enter cloned directory: cd darksky2influxdb and install dependencies npm install
  2. Configure config/default.yml file

Here is an example of default.yml

general:
  debug: true
  cron: '*/15 * * * *'
darksky:
  key: abcdefghiklmnopqrstuvwxyz1234567
  units: auto
  longitude: -123.41670367098749
  latitude: 47.20296790272209
influxdb:
  host: 192.168.188.2
  database: weather
  username: darkskyimport_user
  password: supersecretpassword!?
Option Description
debug Enables Debug mode and provides additional informations

Type: booleon
Possible values: true,false
cron Programm is repating itself in a given period

Type: string
Possible values: '*/15 * * * *' - every 15 minutes,
'' - running only once
darksky - key get your darksky key here https://darksky.net/dev/register

Type: string
Possible values: abcdefghiklmnopqrstuvwxyz1234567
darksky - units Return weather conditions in the requested units. See https://darksky.net/dev/docs/forecast

Type: string
Possible values: auto,ca,uk2,us,si
darksky - longitude and latitude Coordinates of forecast location (in decimal degrees).

Type: float
Possible values: latitude: 47.20296790272209 and longitude:-123.41670367098749
influxdb - host Server your influxdb is running

Type: string
Possible values: localhost , 192.168.188.2
influxdb - database Name of your Database the forecast data is stored.

Type: string
Possible values: weather , forecast
influxdb - username User with writing privileges on the database
influxdb - password Password of user with writing privileges on the database

Running the Import

Start the import with node importForecast.js If you have given a valid cron interval in the configfile the programm will repeat the import automaticly.

Tested

This is coded and tested on a RaspberryPi 3

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • This code is originally based on ErwinSteffens project darksky-influxdb. Many thanks to him!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].