Weather34 Aurora Version(english supported only)

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Locked
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

super it just needed a UTF8 php header line sorry should have thought of that earlier. anyway have a good day .brian
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by prestwickwx »

weatherist34 wrote: Sun May 16, 2021 3:06 pm super it just needed a UTF8 php header line sorry should have thought of that earlier. anyway have a good day .brian
Have fun with the new Mac! I am going to have to update at some point. Still have a old Mini running High Sierra. :D

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
vortexya
Fresh Boarder
Fresh Boarder
Posts: 16
Joined: Sun Sep 23, 2018 11:28 am

Re: Weather34 Aurora Version(english supported only)

Post by vortexya »

Love the new forecast layout, very nice.
User avatar
jmontamat
Gold Boarder
Gold Boarder
Posts: 267
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by jmontamat »

Hello.

I also like the new forecast presentation.

A little bug in chartforecast.php

else if ($wuskydayUV1>=5)echo "<span style='hsl(34, 98%, 49%)'>".
for :
else if ($wuskydayUV1>=5)echo "<span style='color:hsl(34, 98%, 49%)'>".

Thanks
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

good morning Josep

thanks all fixed and simplified the using color phrases from css file master still uses HSL method but now simple phrase <orange> etc

Code: Select all

<?php //UVINDEX
if ($wuskydayUV1>0){
echo "UVINDEX ";
if ($wuskydayUV1>10)echo "<purple>". number_format($wuskydayUV1,0)."</purple><br>";
else if ($wuskydayUV1>=8)echo "<red>". number_format($wuskydayUV1,0)."</red><br>";
else if ($wuskydayUV1>=5)echo "<orange>". number_format($wuskydayUV1,0)."</orange><br>";
else if ($wuskydayUV1>=3)echo "<yellow'>". number_format($wuskydayUV1,0)."</yellow><br>";
else if ($wuskydayUV1>0)echo "<green>". number_format($wuskydayUV1,0)."</green><br>";}
?>
Download Update 19th May 2021
* Fix missing UV color style Ref Josep (07:56)


@vortexya glad you like it , please remind me what I have to fix for you, Ive forgot was it moonrise etc ?
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by prestwickwx »

weatherist34 wrote: Sun May 16, 2021 3:06 pm super it just needed a UTF8 php header line sorry should have thought of that earlier. anyway have a good day .brian
Hi Brian,

Just updated to the latest and the odd character in the Forecast temperature returned. Here is what I found looking at the Header:

This code in line 1 produces the odd character:

Code: Select all

<?php include_once('updaterwu.php');include('wudata.php');header('Content-Type: text/html; charset=utf-8');?>
This order removes the odd character:

Code: Select all

<?php header('Content-Type: text/html; charset=utf-8');include_once('updaterwu.php');include('wudata.php');?>
Looks like the Content-Type being first is preferred by Chrome and Safari.

Strange :shock:

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

hello chuck

it feels like working blind cant see any discrepancies locally here on two localhost servers, or ICDSOFT server so im baffled .look later see if i can reproduce but so far i haven’t been able too. perhaps it needs code “if error echo pour a beer come back tomorrow “ :D
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by prestwickwx »

weatherist34 wrote: Wed May 19, 2021 4:17 pm hello chuck

it feels like working blind cant see any discrepancies locally here on two localhost servers, or ICDSOFT server so im baffled .look later see if i can reproduce but so far i haven’t been able too. perhaps it needs code “if error echo pour a beer come back tomorrow “ :D
A good Stout or pint of Ale always solves the problem. :D

It may be something that is configured slightly different on your ICDSOFT server vs mine - I am sure we are in different data centers.

I reversed the order and everything is fine.

Cheers,

Chuck

Update - I am thinking it might be the .htaccess file on the webserver. Perhaps yours includes a line AddDefaultCharset UTF-8 in the file.

Chuck
Last edited by prestwickwx on Wed May 19, 2021 5:03 pm, edited 2 times in total.
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

may be thats the answer having the utf header 1st
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

hmm I dont use a modified htaccess on local server. I updated GITHUB/Download according to your idea, I still couldn't replicate locally in browser safari, chrome, firefox (Mac OS).also contains some other minor adjustments .here is what I see locally
browfc.jpg
browfc.jpg (104 KiB) Viewed 3531 times



Download Update 19th May 2021
* Contains all updates since March 1st
* SET HEADER UTF-8 Ref Chuck (18:21)
* Forceload new SVG icons (18:21)
* Fix missing UV color style Ref Josep (07:56)
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by prestwickwx »

Brian,

Ok. Must be some unique conf. on my server. As soon as I reverse it, Chrome and Safari show the odd character - Firefox is fine.

I also checked my php.ini for default_charset = "utf-8"; and I don't have that line.

Best wishes!

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
User avatar
jmontamat
Gold Boarder
Gold Boarder
Posts: 267
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by jmontamat »

Good morning Brian.

Would it be possible to correct this superposition by shifting the temperature value?



Thanks.
Attachments
Sin título.png
Sin título.png (20.69 KiB) Viewed 3454 times
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

Good morning Josep

no problem all done just add a z-index has the position is from the master css files shifting it would also push other out of sync.

css is straight forward [data-title]{z-index:9999}

Download Update 21st May 2021
* Contains all updates since March 1st
* Icon text overlay Z-index Ref Josep (11:13)
* UVINDEX 3 color correction (10:52)
* Updates night icons appearance (08:32)
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
jmontamat
Gold Boarder
Gold Boarder
Posts: 267
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by jmontamat »

Thanks Brian very attentive as always. :)
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by prestwickwx »

Hi Brian,

Hope all is well.

Just noticed a minor issue. The Forecast being reported seems to be slightly different on the Indoor page than on the others. Different source maybe?

Capture.PNG
Capture.PNG (153.86 KiB) Viewed 3376 times
Capture1.PNG
Capture1.PNG (202.22 KiB) Viewed 3376 times
Best wishes,

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
Locked