-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibm (wunderground) API keys #24
Comments
Classic. Ugh. Apps Script only lets you choose every one or five minutes :( If you change if (updateWunderground) ScriptApp.newTrigger('updateWunderground_').timeBased().everyMinutes(1).create(); to: if (updateWunderground) ScriptApp.newTrigger('updateWunderground_').timeBased().everyMinutes(5).create();
// options are every 1, 5, 10, 15 or 30 minutes
// https://developers.google.com/apps-script/reference/script/clock-trigger-builder#everyMinutes(Integer) |
There are alternative ways to schedule it every 2 minutes with a watcher function that sets exact every-two-minutes triggers, but it'd add a lot of complication to the code. Sorry 'bout that. |
Thanks Leo. |
@aolfish: Instead of having two devices under one wunderground account, why don't you use separate WU account for each device. By this way, you may be able to overcome the WU API call limits. |
Weather Underground has changed they API key settings. API keys are now limited to 1500 calls per day and 30 calls per minute.
That equals 1440 Calls per day for device.
I have 2 stations reporting so my daily call is 2880, which is over the limit .
Weather Underground suspends my key and starts failing.
I regenerate new key and it will work for couple days then repeats.
Any way to change calling from 1 minute to 2 minutes ?
The text was updated successfully, but these errors were encountered: