Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread an oldman
see if this helps PHP Version: 8.1.10 weewx 4.8.0 using weewx-sdr driver wxgraphic_weewx.txt has 08:55:00 AM,09/29/2022,48.8,45.0,45.0,73.8,40.8,30.1,Steady,3.1,ESE,0.0,4.0,,07:40:44,19:27:56 skin.conf curr_cond_icon = 'yes' php log [30-Sep-2022 07:11:21 UTC] PHP Warning: Undefined array key ""

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread Glenn McKechnie
That does help. Most definitely! I get a similar error message but it still generates the image, regardless of curr_cond_icon setting What is different is that mine is a Warning, yours is Fatal so it likely comes down to how strict php is set - in it's ini file PHP Notice: Undefined index: in

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread an oldman
my php.ini is what came in the rpm for fedora 36 ; display_errors ; Default Value: On ; Development Value: On ; Production Value: Off ; display_startup_errors ; Default Value: Off ; Development Value: On ; Production Value: Off ; error_reporting ; Default Value: E_ALL & ~E_NOTICE &

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread an oldman
forgot i add to the top of index.php ini_set('display_errors',1); so it showed up in the browser too On Friday, September 30, 2022 at 3:58:29 AM UTC-5 an oldman wrote: > my php.ini is what came in the rpm for fedora 36 > ; display_errors > ; Default Value: On > ; Development Value: On > ; P

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread Glenn McKechnie
Okay. Pushed a fix for that issue - and hopefully that was the issue! It retains the ability to display the current condition icons, if they are available, while ignoring the null field that is currently being sent. If that all works without issue, or all remains quiet, I'll roll that up as rele

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread hesf...@gmail.com
Hallo, in germany the wxgraphic_weewx.txt.tmpl = 11:50:00,29.09.2022,13,3,12,8,13,3,80,0,9,9,999,0,langsam steigend,11,3, SSW,19,3, 0, 0, ,07:12:09,18:56:45 the error is ',' notation i have it in wxgraphic.txt.temp and index.php (line 278) from ',' to ";" changed. now it works [image: 192.

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread an oldman
i ran the config.txt through cheetah as config.txt.tmpl #raw .. #end raw $barom_units = "$unit.label.pressure"; $rain_units = "$unit.label.rain"; $degree_units_type = "$unit_system"; $wind_units = "$unit.label.wind"; #raw #end raw imagecenteredtext(90, 12, "$station.location", 3, 10,

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread Glenn McKechnie
On 30/09/2022, hesf...@gmail.com wrote: > Hallo, > > in germany the wxgraphic_weewx.txt.tmpl = > 11:50:00,29.09.2022,13,3,12,8,13,3,80,0,9,9,999,0,langsam steigend,11,3, > SSW,19,3, 0, 0, ,07:12:09,18:56:45 > the error is ',' notation Well. That is interesting. I wonder how others have dealt with

[weewx-user] Incorrect time on Web Page

2022-09-30 Thread Robert and Katrina de Keijzer
Hi, I have recently opened the webpage associated with Weewx and noticed the time is incorrect. It's only happened recently, so I'm puzzled what is going on. Debug log Sep 30 20:22:27 solar weewx[31879] DEBUG user.interceptor: raw packet: {'dateTime': 1664533304, 'usUnits': 1, 'temperature_in

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread Glenn McKechnie
On 30/09/2022, an oldman <> wrote: > i ran the config.txt through cheetah as config.txt.tmpl > > #raw > .. > #end raw > $barom_units = "$unit.label.pressure"; > $rain_units = "$unit.label.rain"; > $degree_units_type = "$unit_system"; > $wind_units = "$unit.label.wind"; > #raw > #raw > > in wxgr

Re: [weewx-user] Incorrect time on Web Page

2022-09-30 Thread Tom Keffer
Are you looking at an old web page? Are the timestamps shown in your log correct? In other words, is the computer's clock correct? Your log shows that at 20:22:27 a record with timestamp 19:25:00 was added. That's nearly an hour old. What is your archive interval? On Fri, Sep 30, 2022 at 3

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread an oldman
it's from saratoga-weather.org Legacy Weather PHP scripts Anole's wxgraphic.php script version 6.3 the only way i found to get past that utf-8 for ° was to move it to the php file also i used the clientraw.txt file yes the $station.location was to long for type=avatar, but then i like the banner

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread Glenn McKechnie
On 30/09/2022, an oldman wrote: > it's from saratoga-weather.org Legacy Weather PHP scripts Anole's > wxgraphic.php script version 6.3 > the only way i found to get past that utf-8 for ° was to move it to the php > file Yeah. I'll give it another go but it's fallen down the list somewhat :-) > a

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread an oldman
the clientraw.txt.tmpl is from gjr80 WeeWX-WD skin take a look at this page it might help https://saratoga-weather.org/wdparser/index.php?site=https%3A%2F%2Fsaratoga-weather.org&submit=Submit On Friday, September 30, 2022 at 6:47:40 AM UTC-5 Glenn McKechnie wrote: > On 30/09/2022, an oldman wrot

Re: [weewx-user] Current Weather Conditions Weather Graphic

2022-09-30 Thread 'Steeple Ian' via weewx-user
Hi Glen, I managed to do a sneaky update on my phone using your latest fix and I am pleased to say it is all working now. Thanks for the prompt update and keep up the good work. Cheers, Ian On Friday, September 30, 2022 at 1:59:29 PM UTC+2 an oldman wrote: > the clientraw.txt.tmpl is from gjr80