Yes it looks like that. I have fixed that as well. I would be interested to see what you have done with livedata.php as I am continuing to evolve this for the WeeWX version.
Thanks, Ian On Mon, May 27, 2019 at 5:21 AM Jd D <[email protected]> wrote: > Hi Ian, > Also notice some left-over debug code in shared.php that prevents > Fahrenheit temps from displaying correctly. > > *$weather["temp_units"]='C'; * > if ($weather["temp_units"] == 'C'){ > $heatIndex = fToCDirect($heatIndex); > > Thanks Jerry > > On Sunday, May 26, 2019 at 7:28:06 PM UTC-7, Jd D wrote: >> >> Hi Ian, >> >> Noticed this in weewxcron.php >> >> if ($position6=="forecast3ds.php" || $position6=='forecast3wu.php' || >> $position6=='forecast3wularge.php' || *$position4 = "advisory.php")*{ >> >> I think you want == >> >> Also I cleaned up most of my apache errors by making small changes to >> livedata.php >> >> Thanks Jerry >> >> On Sunday, May 26, 2019 at 11:47:25 AM UTC-7, Jd D wrote: >>> >>> Hi Ian, >>> Right now just using the template for my local weather station and my >>> nearby metar. >>> Here is my settings1.php. >>> I XXed out personal stuff. >>> Also I tried to use the least number of sections so to reduce the number >>> of apache errors I am logging. >>> Since I cut and pasted the file into the replay so you can see where the >>> cut and pastes happen. :-) >>> I can send my w34stats.php file if that would help. >>> I can work these issues if you rather and just send you what I find if >>> that is a better. I have the time and experience with php/javascript and >>> python. >>> Thanks Jerry >>> >>> $apikey = ""; >>> $wuapikey = ""; >>> $weatherflowID = ""; >>> $weatherflowoption = "no"; >>> $weatherflowlightning = ""; >>> $weatherflowmapzoom = ""; >>> $id = ""; >>> $purpleairID = ""; >>> $purpleairhardware = "no"; >>> $metarapikey =""; >>> $TZ = "XXXXXXXXX"; >>> $UTC = "XX"; >>> $lon = XXXXX; >>> $lat = XXXX; >>> $darkskyunit = "us"; >>> $wuapiunit = "h"; >>> $stationlocation = "XXXXXXX"; >>> $stationName = "XXXXX"; >>> $moonadj = ""; >>> $minmag = "3"; >>> $unit = "english"; >>> $metric = false; >>> $elevation = "1792"; >>> $uk = false; >>> $usa = true; >>> $scandinavia = false; >>> $restoftheworld = false; >>> $windunit = "mph"; >>> $distanceunit = "mi"; >>> $tempunit = "F"; >>> $rainunit = "in"; >>> $rainrate = "/h"; >>> $pressureunit = "inHg"; >>> $livedataFormat = "WeeWX-CRT"; >>> $livedata = "demodata/realtime.txt"; >>> $currentconditions = "currentconditionsds.php"; >>> $chartsource = "mbcharts"; >>> $extralinks = "yes"; >>> $languages = "no"; >>> $dateFormat = "m-d-Y"; >>> $timeFormat = "g:i:s a"; >>> $timeFormatShort = "g:i"; >>> $clockformat = "12"; >>> $showDate = false; >>> $temperaturemodule = "temperaturein.php"; >>> $position1 = "temperatureyear.php"; >>> $position2 = "temperatureyear.php"; >>> $position3 = "temperatureyear.php"; >>> $position4 = "temperatureyear.php"; >>> $position1title = "1"; >>> $position2title = "2"; >>> $position3title = "3"; >>> $position4title = "4" >>> $position6title = "6"; >>> $position6 = ""; >>> >>>> $position12title = "12"; >>>> $position12 = "indoortemperature.php"; >>>> $positionlastmoduletitle = "l"; >>>> $positionlastmodule = "indoortemperature.php"; >>>> $webcamurl = ""; >>>> $email = ""; >>>> $twitter = ""; >>>> $theme1 = "dark"; >>>> $since = "2016"; >>>> $weatherhardware = "La Crosse"; >>>> $mbplatform = "WeeWX"; >>>> $davis = "No"; >>>> $db_host = "localhost"; >>>> $db_user = "root"; >>>> $db_pass = ""; >>>> $db_name = "weatherstation"; >>>> $notifications = "yes"; >>>> $sunoption = ""; >>>> $hemisphere = ""; >>>> $metar = "yes"; >>>> $icao1 = "XXXX"; >>>> $airport1 = "XXXX"; >>>> $airport1dist = "10"; >>>> $defaultlanguage = "en"; >>>> $language = "en"; >>>> $password = ""; >>>> $flag = "us"; >>>> $dshourly = "no"; >>>> $manifestShortName = ""; >>>> >>>> -- > 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/4ebf7f6b-a6d7-4e89-89b2-d50d1b44d3cf%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/4ebf7f6b-a6d7-4e89-89b2-d50d1b44d3cf%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CADASSaQH7zoMgMAtza7-T%3D_TUMWfetx4L71kckQ1jjVAoryULw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
