Hmmm, v0.6.3 used commas, from v0.6.4 spaces are used.
The latest release is v0.6.6, use that one. Or direct from the repo which has some minor fixes. (lang file and README.md tweaked) What it is doing in that image is showing the first space separated field for TEMP that it reads from wxgraphic_weewx.txt : ie: the whole string, as it sees just one long string. I'll reply offlist and get you to send me some files. On 07/10/2022, Scott Danville <[email protected]> wrote: > Added both commas or semicolons and get the following result between > variables in wxgraphic_weewx.txt.tmpl > The new default, just a space between variables, renders no graphic. > *How do I get the data to fill in the appropriate location in the > wxgraphic?* > *This is what I get with either commas or semicolons between variables in * > wxgraphic_weewx.txt.tmpl > [image: download.png] > > On Saturday, October 1, 2022 at 7:20:31 AM UTC-4 [email protected] wrote: > >> supplement // Nachtrag >> >> if the values in /wxgraphic/DATA/wxgraphic_weewx.txt = in format >> ""13:00:00 01.10.2022 10,1 9,7 10,1 96,0 9,5 998,3 langsam_fallend 11,3 S >> >> 4,8 19,3 07:15:41 18:51:55 >> i.e. with spaces, then the value for windchill or heatindex is wrong >> I changed this in config.txt as follows: >> >> Die Werte in wxgraphic_weewx.txt mit Leerzeichen getrennt und dazu noch >> als Komma-Werte gespeichert werden >> können diese Werte mit Komma und Punkt nicht verglichen werden, dann ist >> >> das Ergebnis für WindChill und HeatIndex nicht definiert oder falsch >> darum habe ich in der config.txt die folgenden Ergänzungen vorgenommen >> ($windchill_us >> und $heatindex_us) >> Beispiel bei CUSTOM >> >> >> /******************************************************************************/ >> /* write_custom: This function writes your values onto a custom 500X80 >> banner.*/ >> /* imagecenteredtext($x, $y, $text, $size, $ttfsize, $color, $angle); >> >> */ >> >> /******************************************************************************/ >> function write_custom() { >> >> // let's start by defining some global variables that will be passed >> between >> // functions. This is kind of clunky! >> // NOTE: IF YOU ADD ADDITIONAL COLORS YOU'LL NEED TO ADD THEM HERE TOO! >> global $color1, $color2, $color3, $color4, $color5, $date, $t_ime, >> $temp, >> $degree_units, $winds, $wind_units, $gust, $raintoday, >> $rain_units, >> $barom, $barom_units, $baromtrendwords, $dewpt, $humidity, >> $heatindex, >> $heat_index_threshold, $windchill, $wind_chill_threshold, >> $banner_icon_x, $banner_icon_y, $anti_alias, >> $windchill_us, $heatindex_us; >> >> // this section does the heat index and wind chill >> // it figures out what to show, wind chill, heatindex or nothing >> // depending upon your settings >> >> $windchill_us = number_format($windchill, 1, '.', ''); >> $heatindex_us = number_format($heatindex, 1, '.', ''); >> >> switch (TRUE){ >> // if windchill is <= $wind_chill_threshold we'll output it >> case ($windchill_us <= $wind_chill_threshold): >> $feelslike = "Wind Chill: $windchill$degree_units"; >> imagecenteredtext(90, 52, "$feelslike", 2, 8, $color3, 0); >> break; >> // if heat index >= $heat_index_threshold we'll output it >> case ($heatindex_us >= $heat_index_threshold): >> $feelslike = "Heat Idx: $heatindex$degree_units"; >> imagecenteredtext(90, 52, "$feelslike", 2, 8, $color1, 0); >> break; >> } // end switch >> >> ------------------------------------------- >> There is certainly a better way, but for now it works >> >> Gruss >> Hartmut >> >> >> [email protected] schrieb am Freitag, 30. September 2022 um >> 21:49:07 UTC+2: >> >>> 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 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 <[email protected]> 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 >>>>> :-) >>>>> >>>>> > also i used the clientraw.txt file >>>>> > yes the $station.location was to long for type=avatar, but then i >>>>> like the >>>>> > banners better >>>>> >>>>> Yep, banners for the win! >>>>> >>>>> Can you send me a clientraw.txt file. It appears you aren't using the >>>>> icons but I can see if my changes will still work, and also make >>>>> better sense of what the code is referencing. >>>>> >>>>> Thanks In Advance. >>>>> >>>>> -- >>>>> >>>>> >>>>> Cheers >>>>> Glenn >>>>> >>>>> rorpi - read only raspberry pi & various weewx addons >>>>> https://github.com/glennmckechnie >>>>> >>>> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/hUIl3AJjLvs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/3c1809be-8a79-4b86-9a89-cee81610a56fn%40googlegroups.com. > -- Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAAraAzj__D7%2BNM7RPjQmP1p%2BF%3D6J_3vj7Rx0JMCKJCq%2B7R8dmw%40mail.gmail.com.
