WXSIM "EWN-style"

Yes, sure!

Hi Harold,
try these:

$path_to_langfiles = "lang/";
$path_to_lastret = "/home/yourusername/yourrootfolder/lastret.txt";
$path_to_js = "js/";
$path_to_css = "css/";

Have you lastret.txt uploads on root folder?
You shouldn’t put lastret in wxsim folder…just simple to put it on root.

Same thing about lang folder.
Have you lang folder in wxsim folder?
If yes, try this setting:

$path_to_langfiles = "wxsim/lang/";

Hi folks, i notice its just me, but i cannot find were to turn on my than 4 days for the icons along the top?

http://www.suffolkweather.info/wxsim-new/forecast.php

Hi Bashy,
Wxsim-> parameters - > numbers of day [emoji6]

Alessandro

Thanks but thats already set to 9 :?

Have you already checked wret?

HI, it cant be wret either cause my other scripts are going to 9 days too :confused:

http://www.suffolkweather.info/index.php?p=918&lang=en

Bashy, check the lastret.txt and be sure it have 00:00 timestamps. If you post your lastret.txt can i run it in m y dev-version and see if there are any oddities.

Btw. I have rain-units working on my dev-version now.
I think i will also get it so it reads the default units from $uoms :slight_smile:

Thanks, here ya go, knowing me, it will be a rookie mistake :wink: but this does work for your
other scripts :slight_smile:


lastret.txt (91 KB)

ok, now im officially lost, that one i posted is 9 days, this one thats uploaded is only 3

http://www.suffolkweather.info/lastret.txt

Ok, and how can you solve? It’s possible configure the file “config.php” to be able to put km/h defalut?
Thank you

Mine is working now for some reason, panic over, thanks anyway :slight_smile:

Thank you very much Henkka.

Steve

No, you can’t configure config.php to do that.
You should un-checked “cookies and other data…” in navigation data menu on chrome browser :wink:
Cheers,

Alessandro

Hi
tried $path_to_langfiles = “lang/”; the button still work

their is not a lang folder in the wxsim folder only lang info is in the config file it’s self

the lastret.txt is in the root folder http://ballaugh.no-ip.biz:2082/lastret.txt

the local server is a synology 214 with web server and the root folder I load into is called web

I tried $path_to_lastret = “http://ballaugh.no-ip.biz:2082/lastret.txt”;
also $path_to_lastret = “http://ballaugh.no-ip.biz:2082/web/lastret.txt”; neither changed the top updated time from 01.01.1970 01:00 to the correct value
only $path_to_lastret = “…/lastret.txt”; works and gives the correct date and time for the last updated lastret.txt file in the root folder

Harold

It showed 9 days on my dev-version. :slight_smile:

Feel free to test the updated zip :slight_smile:

  • Default units should be read from $uoms
  • Possibility to set rain-unit from the unit-gear

// Henkka

Henkka, this is great. All the units are now working as defined by $UOM. Thanks for doing this.

There does appear to be one issue. For the last several days at the end of the Carousel Forecast, it is showing 14-plus inches of rain. This is far greater than it should be or what lastret.txt is showing. My webpage is here: http://tylertexasweather.com/ttwfcast4.htm and the current lastret.txt is here: http://tylertexasweather.com/lastret.txt

Thanks,

Steve

Mone is looking pretty good with the latest update but I can’t get the weather description to come up. Only says null.
You can see here: http://www.shermanctweather.org/ewn/wxsim/forecast.php
I’ve attached a copy of my lastret.txt
Thanks,
Tom


lastret.txt (50.1 KB)

Great with a lastret.txt in US-units to test with :slight_smile:
I allready found the 14+ inches issue.
Btw. enable relative humidity on WRET (dewpoint are else wrong) :wink: