Weather station scripts

They're free, but use at your own risk

The scripts referenced here are used in the operation of this weather station, and may be freely copied and used to support your station. Please note that you use these scripts at your own risk. No warranty is expressed or implied. I accept no liability for any damages that may ensue from their use.
You will need to configure them for your own particular weather station website.
RSS feed for Scripts Updates A RSS Feed is available to help keep you informed on updates to the scripts.

Many of these scripts are now available on GitHub at

Buy Me A Coffee If you find one or more of the scripts useful to you, please consider making a donation to help offset the routine expenses of operation of this website.
Thanks for your kind support!

A Version History is available -- check back from time to time to see if there are updates to scripts you have downloaded earlier. Announcements of version updates and new scripts are made on and Weather-Watch forums and saratogaWXPHP Twitter account as they become available.

Note: Twitter widget has been disabled 3-Jul-2023 since it no longer displays the recent update Tweets.

This page was updated Monday, 03-Apr-2023 11:31 AM

DarkSky International forecast formatting script - multilingual

NOTE: DarkSky was purchased by Apple on 31-Mar-2020 and has announced the end of 2021 to discontinue the public API and they are no longer offering API keys.
On 31-Mar-2023, Apple shutdown the DarkSky API so all prior keys are invalid and the script no longer functions. DS-forecast.php is deprecated.

Version history

  • Version 1.11 - 03-Apr-2023 script deprecated. DarkSky API shutdown on 31-Mar-2023 so script is non-functional
  • Version 1.11 - 27-Dec-2022 fixes for PHP 8.2
  • Version 1.10 - 19-Jan-2022 fixes for PHP 8.1 Deprecated errata messagages
  • Version 1.09 - 23-Jan-2019 added hourly forecast and tabbed display (DS-forecast-lang.php V1.06 required)
  • Version 1.08 - 15-Jan-2019 added check for good JSON return before saving cache file
  • Version 1.07 - 10-Jan-2019 DS-forecast-lang.php V1.05 updated with missing Danish translation for 'snow'
  • Version 1.07 - 07-Jan-2019 fixed minor formatting issue with Hebrew in Saratoga template
  • Version 1.06 - 05-Jan-2019 fixed Hebrew language display when used in Saratoga template
  • Version 1.05 - 08-Dec-2018 added optional current conditions display box, cloud-cover now used for better icon choices
  • Version 1.04 - 04-Dec-2018 added lang=sr (Serbian) translation
  • Version 1.03 - 29-Nov-2018 added fixes for summaries with embedded UTF symbols.
  • Version 1.02 - 19-Nov-2018 added Updated: and DarkSky forecast by: display/translations
  • Version 1.01 - 17-Nov-2018 added wind unit translations, fixed -0C display, added alerts display (only English alerts are available), added sources links display
  • Version 1.00 - 16-Nov-2018 initial release