https://github.com/paul-reed/emoncms-weather-script
A script to parse data from Wunderground.com and input the feeds into emoncms via Curl
https://github.com/paul-reed/emoncms-weather-script
Last synced: 7 months ago
JSON representation
A script to parse data from Wunderground.com and input the feeds into emoncms via Curl
- Host: GitHub
- URL: https://github.com/paul-reed/emoncms-weather-script
- Owner: Paul-Reed
- Created: 2013-10-06T18:45:21.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-09T20:22:09.000Z (over 12 years ago)
- Last Synced: 2025-02-21T10:15:35.216Z (12 months ago)
- Language: PHP
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
emoncms-weather-script
======================
A script to parse data from Wunderground.com and -
1) input the data feeds into emoncms via Curl
2) create and update a 'current conditions' image file, which can be image linked from your dashboard
Add the script to a location of choice, in my case;
/home/pi/scripts
Edit the script with the details shown in the script itself;
$ sudo nano weather.php
Create a cron job to run the script as often as required;
$ sudo crontab -e
and add to the bottom of the file
*/15 * * * * /usr/bin/php /home/pi/myscripts/weather.php
which will run the script every 15 minutes on the hour.
When run, corresponding inputs will be automatically created and updated in emoncms.
Forum help - http://openenergymonitor.org/
Scrip originally written by Martin Harizanov - http://harizanov.com/