Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (19 sloc) 1.06 KB

What is this?

This little script grabs environment data from BloomSky weather systems and creates a json file to be read by pymultimonaprs project.

Dependencies

The only dependency is the requests library. You can automatically install using pip

pip install -r requirements.txt

Configuration

You need to create a config.json file. An example is provided here

Also the script supports two switches:

--config : config.json location (The default is config.json in the same directory as the script)

--output : Where to spit out the pymultimonaprs weather.json file. (The default is the same directory as the script)

Example

python ./getWeather.py --config /etc/bloomsky.config.json --output /tmp/weather.json

See Also


I have no affiliations with BloomSky...