Skip to content

emresaglam/bloomsky-to-keen.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a python script to get a subset of data that the bloomsky API provides and push them to keen.io. You can use it to store outside temperature, humidity, etc in keen.io to analyze it in the future.

python getBloomSky.py --config /path/to/config.json

Requirements

The required libraries are in the requirements.txt file.

You also need to create a file called config.json and put it in the same directory as getBloomSky.py file.

And last but not least, you need a keen.io account and a project.

config.json format

You can find an example config.json.example file in the repo

That's it! ;)

FAQ

  1. Wait what? Why are you converting units? Don't you know that bloomsky has an SI API?

    I do know, but the SI unit returns Pressure as an integer, which ends up plotting the Pressure graphs as increments of 1. That doesn't look pretty :( (Like this chart below.) alt tag

  2. Why is this written like a batch file?

    I use this to pull data every 5 mins with a cronjob. It just works! :)


I have no affiliations neither with BloomSky nor Keen.io...

About

Gets the data from BloomSky and pushes it to keen.io

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages