Author Topic: New BloomSky script - non-PHP  (Read 1219 times)

0 Members and 1 Guest are viewing this topic.

Offline Kasper

  • Member
  • *
  • Posts: 3
New BloomSky script - non-PHP
« on: March 30, 2018, 05:07:31 PM »
Hi I just thought I'd share this website script I have pieced together. It is relatively simple, but also a nice intuitive design. Just insert your own BloomSky API, look after XXXXXXXXXXXXXXXXXXXXXXXXX and replace. Give me your opinion, it may well be that I have overlooked something. You are welcome to modify the script :-)

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 341
    • http://www.TylerTexasWeather.Com
Re: New BloomSky script - non-PHP
« Reply #1 on: March 30, 2018, 07:41:51 PM »
I ran a quick test. Your script is showing both UV and Lux as undefined whereas the script I'm currently using shows values for these. Also, why does your script show places for Wind and  Wind Gust? My Bloomsky is not capable of providing that data. Next, the rain and rain rate show as "undefined". It's not currently raining, so these should be '0'. And finally, you need to provide a means to view Imperial units (non-metric).

Offline Kasper

  • Member
  • *
  • Posts: 3
Re: New BloomSky script - non-PHP
« Reply #2 on: April 01, 2018, 07:36:35 PM »
Hi SteveFitz1

Thanks for your constructive response

I have now corrected the script to a new v2, so that you can customize the language and I have addressed the UV/LUX/Rain/Wind compatibility issues. The new included 'settings.js' file must be placed on the same site/folder as the webpage. You will then edit your API and customize your language in this file. (just open/save the file with notepad)

Happy weather :-)

Offline SteveFitz1

  • Forecaster
  • *****
  • Posts: 341
    • http://www.TylerTexasWeather.Com
Re: New BloomSky script - non-PHP
« Reply #3 on: April 02, 2018, 11:22:30 AM »
Kasper,

Looks like you took care of the issues. It seems to be working much better now.

Thanks.

Offline Kasper

  • Member
  • *
  • Posts: 3
Re: New BloomSky script - non-PHP
« Reply #4 on: April 11, 2018, 02:08:53 PM »
Seems that bloomsky changed their website to a non secure protocol for a few days ago. So I've made a new version that uses a non secure connection. Download the attached BloomSky_WeatherSite_En_v2_NON-SECURE.zip file and change your settings in the 'settings.js' again.
« Last Edit: April 11, 2018, 02:11:10 PM by Kasper »