I can see gauge-data.txt is now being uploaded every loop packet but the realTimeUrlWeewx setting in gauges.js has reverted to an old value and consequently the gauges page can't find gauge-data.txt.
Gary On Friday, 26 October 2018 12:23:47 UTC+10, Steve2Q wrote: > > I uploaded the .php file to the web server. Since this afternoon, it now > appears that the background images stopped uploading to the web server at > 2:15 pm..and I thought it was corrected. I can only find .png files that > were uploaded to that time. I will wait till tomorrow morning to see if > adding the .php file has worked for the loops..then try to find where the > images are. > > Steve > > On Thu, Oct 25, 2018, 9:35 PM gjr80 <[email protected] <javascript:>> > wrote: > >> Yep, those 3 lines are necessary for http post to work. You don't seem to >> to have the file post_gauge-data.php on your web server - this file >> accepts the http post and saves the loop based gauge-data.txt to your >> web server. You can download it from the rtgd releases page >> <https://github.com/gjr80/weewx-realtime_gauge-data/releases>. It should >> be a simple case of copying it to the Weather directory on your web >> server. >> >> Gary >> >> On Friday, 26 October 2018 11:02:44 UTC+10, Steve2Q wrote: >>> >>> Gary..here is the [RealTimeGaugeData] Stanza from an old weewx.conf >>> file: I will add that the first three lines were not in my present >>> weewx.conf, so I added them but it still is not doing the loop updates. >>> >>> [RealtimeGaugeData] >>> remote_server_url = >>> http://photokinetics.org/Weather/post_gauge-data.php >>> timeout = 2 >>> response_text = success >>> date_format = %Y.%m.%d %H:%M >>> rtgd_path = /home/weewx/public_html >>> [[StringFormats]] >>> inch_per_hour = %.2f >>> mile_per_hour = %.1f >>> degree_compass = %.0f >>> km_per_hour = %.1f >>> inHg = %.2f >>> mm = %.1f >>> meter_per_second = %.1f >>> percent = %.0f >>> km = %.1f >>> uv_index = %.1f >>> inch = %.2f >>> degree_F = %.1f >>> meter = %.0f >>> degree_C = %.1f >>> mile = %.1f >>> foot = %.0f >>> hPa = %.1f >>> mbar = %.1f >>> watt_per_meter_squared = %.0f >>> mm_per_hour = %.1f >>> [[WU]] >>> api_key = xxxxxxxxxxxxxxxxxx >>> enable = true >>> location =xxxxxx >>> units = us >>> [[Groups]] >>> group_altitude = foot >>> group_pressure = hPa >>> group_rain = mm >>> group_speed = km_per_hour >>> group_temperature = degree_C >>> >> -- >> 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/BNTMCfeC30E/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> 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]. For more options, visit https://groups.google.com/d/optout.
