Both the temperature (outside) and all of the selections under the windchill, humidex, etc. gauge have wrong scale readings for the gauge "needle". The digital readout on both gauges? is correct, as is the scale on the indoor temperature gauge.
Any ideas?
"wchillTL":"$day.windchill.min.raw",
#if $day.windchill.min.raw is None
"wchillTL":"0",
#else
"wchillTL":"$day.windchill.min.raw",
#end if
ps: I generally like to put comments in when I change something in case I want to change it back. It appears that the # is not used in gauge.data.html.tmpl as a comment marker; what else can I use?
##
Thanks, Tom!
## this code handles windchill==None
#*
The following code handles windchill == 0
Don't forget to add it to future updates
*#
Thanks, Gary. Yes, I see your point about the problems having the gauges show out of range readings. Maybe a way to turn off the corresponding "button" under the gauge would be something to investigate. Of course this is just an interesting academic exercise.
Steve
instead reads "WchillTL":$day.windchill.min.formatted"
So,I just used his suggested code change replacing the word raw with formatted, but that was a no go.
I shudder to think what will happen when this gets sorted out and I install RTG.!!
Steve
Your post highlights two issues; the temperature gauge and windchill. When I look at your site just now the temperature gauge is displaying 27.1C for both inside and outside temperature. Other than both obs being the same value I see nothing unusual. Changing between inside and outside works fine. If I look at your gauge-data.txt temp and intemp are both 27.1. The mouse over plots look ok and appear consistent with the gauge displays at the moment. Have I missed something obvious, or is the a different meaning to 'wonky' over your way :)
Wind chill wise your gauge-data.txt is showing N/A for windchill and the gauges are displaying that as -20C. So the issue is with the windchill value in gauge-data.txt. The use of .raw or .formatted is of no consequence, .raw will display windchill with a whole lot of decimal places, .formatted will format windchill as per skin.conf/weewx.conf (typically 1 decimal place) without a unit label. If I look at your main page I see windchill is 'Undefined: T>50 F or V<=3 mph' (would seem to tie in with N/A in gauge-data.txt) so I suspect the SteelSeries Gauges extension is not the issue. I am guessing the narrative about T and V is just some formatting you have added to index.html.tmpl or is there something else you have changed re windchill?
Gary
--
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 weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Seriously, I believe the issue is due to the absence of numeric values for windchill and heatindex. I would have to look at the auto scale routines in the SteelSeries Gauges code but I suspect lack of windchill and heatindex messes up the temperature auto scale calculations when changing units. I guess that takes us back to my second point from my last post; have you made any changes to how windchill and heatindex are stored? The default weeWX approach is to track outTemp when the temperature and wind conditions are not met.
Gary
The lack of windrose data is expected; the SteelSeries Gauges extension has never populated the windrose field nor does it provide the forecast text in the scroller. You need RTGD for both of these features.
Gary
Steve
--
Gary..I followed your steps 1 through 4. I have not yet uncomment the [[SteelSeries]] section of weewx.conf
I now have (on the Weewx machine) gauge_data.txt under /weewx/public_htm
gauge-data.txt is on the web server under /Weather and is being updated on my 2 minute archive period.
and change it to:
realTimeUrlWeewx : 'gauge-data.txt', // *** WeeWX Users: Change to your location of the gauge data file ***
realTimeUrlWeewx : '../gauge-data.txt', // *** WeeWX Users: Change to your location of the gauge data file ***
3. save gauges.js4. refresh your gauges page in your browser
I cannot find a any real time gauge data config settings.
[RealtimeGaugeData]
date_format = %Y.%m.%d %H:%M
rtgd_path = /home/weewx/public_html
rtgd_file_name = gauge-data.txt
remote_server_url = http://remote/address
timeout = 1
response_text = success
[[StringFormats]]
degree_C = %.1f
degree_F = %.1f
degree_compass = %.0f
foot = %.0f
hPa = %.1f
inHg = %.2f
inch = %.2f
inch_per_hour = %.2f
km_per_hour = %.1f
km = %.1f
mbar = %.1f
meter = %.0f
meter_per_second = %.1f
mile = %.1f
mile_per_hour = %.1f
mm = %.1f
mm_per_hour = %.1f
percent = %.0f
uv_index = %.1f
watt_per_meter_squared = %.0f
[[Groups]]
group_altitude = foot
group_pressure = hPa
group_rain = mm
group_speed = km_per_hour
group_temperature = degree_C
[[WU]]
enable = false
api_key = XXXXXXXXXXXXXXXXXXX
location = XXXXXXXXXXXXX
1. Gauges are only updating at my archive interval of 2 minutes instead of my 2 second loop interval,
2. The windchill and heat index buttons aren't' working the way they did before (but this is not very important), and
--
[RealtimeGaugeData]
...
[[Groups]]
group_altitude = foot
group_pressure = inHg
group_rain = inch
group_speed = mile_per_hour
group_temperature = degree_F
--
realTimeUrlWeewx : '../gauges/gauge-data.txt', // *** WeeWX Users: Change to your location of the gauge data file ***
realTimeUrlWeewx : '../gauge-data.txt', // *** WeeWX Users: Change to your location of the gauge data file ***
Anyway, back to the gauges. I was mistaken in thinking we could disable the whole SteelSeries Gauges extension, we need to keep the image generator going to produce the plots. To do this:
1. Edit skins/ss/skin.conf and locate the following lines:
[Generators]
generator_list = weewx.reportengine.CopyGenerator, weewx.cheetahgenerator.CheetahGenerator, weewx.imagegenerator.ImageGenerator
And change it to read
[Generators]
generator_list = weewx.imagegenerator.ImageGenerator
This disables everything in the SteelSeries Gauges extension except for the ImageGenerator that generates the plots
2. Edit weewx.conf and remove the comments against [StdReport] [[SteelSeries]], this will re-enable the SteelSeries Gauges extension but this time only the ImageGenerator will be run.
3. Restart WeeWX or do a config reload.
The plots should be produced on the next report cycle and uploaded to the web server. Provided they are going to the right directory and he SteelSeries Gauges is looking in the right place for them it should work.
I really should package rtgd with a skin to produce the images and copy over the SteelSeries Gauges javascript/CSS just as the SteelSeries Extension does, this really should be a heck of a lot easier than it is at the moment. I have resisted doing this in the past but I think I don't have much choice now.
Gary
Good Morning, Gary. I implemented your changes from last night, and with the exception of gauge-data.txt now in /var, there is no other change. Here are two observations from today:1. With debug = 1 there is no record of any of the charts (such as dayinouttemp.png) being uploaded to any location on the web server. The only .png files that are there are those from October 25 located in Weather/ss.
2. This has nothing to do with the aforementioned files, but I made some changes in gauges.js to try and change the colors on the gauges. I shut down weewx, made the changes on the weewx machine then restarted weewx. From your previous note, I expected gauges,js to change on the web server, but this did not happen. Do I have to manually upload the .js file while weewx is turned off? I thought the copy once would take care of this on a restart.