Well as many have said, read the brilliant manual that Tom Keffer has 
produced, as to quote 'the answer to your question will be found in there 
and many questions you didn't know you had'! 

I thought I had; I have been eating and sleeping it for the last week or 
so, but that didn't prevent me from making a 'school-boy' error - syntax!!

Solved!

The more observant of you out there, well certainly more observant than me, 
will have noted that I copied and pasted a few commands I tried in [Std 
Calibrate], namely:


   windSpeed = WindSpeed * 3.6
        wind = wind * 3.6
        wind_speed = wind_speed * 3.6

Note the mistake on the first one:

WindSpeed instead of: *w*indSpeed 

So now I know the commands/variables to input in the correct syntax:

windGust
windSpeed

It all works - problem solved.

Throughout this whole process I have learnt a lot and enjoyed solving all 
the problems.

Thank you Tom Keffer and Mathew Wall - your work is superb and you have 
raised the bar in my knowledge.

I will leave this post up for a day or so just in case anyone is 'racking 
their brains' to help me, then probably delete it, as I have answered my 
own question. RTFQ as the say!


Happy and embarrassed,

Dave.


On Friday, 17 August 2018 14:20:26 UTC+1, quantum.m...@googlemail.com wrote:
>
> Good Afternoon All,
>
> I probably have a silly question, but it is driving me mad......
>
> After having spent many hours working through:
>
> 1) Setting up a Raspberry Pi with WeeWx
> 2) Installing and Configuring Matthew Wall's brilliant Interceptor to read 
> from an Aercus Weather Ranger AKA HP100
> 3) Configuring uploads to Wunderground (WU)
>
> All is good except one problem........the wind speeds.
>
> When not connected to Weewx the Aercus uploads directly to WU and the 
> speeds are correct, that is they tally with the display speeds km/h to 
> km/h. However, with Weewx in the loop the speeds logged and published 
> appear to be m/s, suggesting that Weewx is expecting m/s and W/U km/h, and 
> thus when WeeWx publishes, WU believes it is receiving km/h and publishes 
> accordingly. Thus, the windspeeds are out by a factor of about 3.6
>
> I have tried, following the brilliant User Guide:
>
> 1) Changing the database units - METRIC and METRICWX
> 2) Placing expressions such as:
>         windSpeed = WindSpeed * 3.6
>         wind = wind * 3.6
>         wind_speed = wind_speed * 3.6
> in the StdCalibrate section
>
> But I cannot for the life of me figure this one out by myself - and I have 
> tried.
>
> As an example from the log (sanitized):
>
> Aug 17 12:44:21 weewx weewx[2932]: interceptor: ServerThread: GET: 
> ID=XXXX&PASSWORD=XXXX&intemp=21.0&outtemp=20.4&dewpoint=11.4&windchill=20.4&inhumi=52&outhumi=56&windspeed=0.5&windgust=1.1&winddir=101&absbaro=1008.0&relbaro=1020.9&rainrate=0.0&dailyrain=0.0&weeklyrain=15.0&monthlyrain=27.3&yearlyrain=45.3&light=63371.5&UV=2017&dateutc=2018-8-17%2012:44:21&softwaretype=WeatherRanger%20V2.4.6&action=updateraw&realtime=1&rtfreq=5
> Aug 17 12:44:21 weewx weewx[2932]: interceptor: MainThread: raw data: 
> ID=XXXX&PASSWORD=XXXX&intemp=21.0&outtemp=20.4&dewpoint=11.4&windchill=20.4&inhumi=52&outhumi=56&windspeed=0.5&windgust=1.1&winddir=101&absbaro=1008.0&relbaro=1020.9&rainrate=0.0&dailyrain=0.0&weeklyrain=15.0&monthlyrain=27.3&yearlyrain=45.3&light=63371.5&UV=2017&dateutc=2018-8-17%2012:44:21&softwaretype=WeatherRanger%20V2.4.6&action=updateraw&realtime=1&rtfreq=5
>
> When that is sent through Weewx, the windspeed reports as 0.5 km/h, when 
> it is in fact 0.5 m/s. When sent directly to Wunderground it reports as 
> 1.8km/h which tallies with the display unit and the wind outside!!
>
> I apologize in advance if I have missed something really obvious or simple!
>
>  I really like the look of WeeWx and after many hours studying the guide 
> and setting it all up, it currently it is not ready yet with such a 
> fundamental problem.
>
> Really hope there is a simple fix, that I have missed.
>
> Many, many thanks in advance if someone is able to help.
>
> Dave.
>

On Friday, 17 August 2018 14:20:26 UTC+1, quantum.m...@googlemail.com wrote:
>
> Good Afternoon All,
>
> I probably have a silly question, but it is driving me mad......
>
> After having spent many hours working through:
>
> 1) Setting up a Raspberry Pi with WeeWx
> 2) Installing and Configuring Matthew Wall's brilliant Interceptor to read 
> from an Aercus Weather Ranger AKA HP100
> 3) Configuring uploads to Wunderground (WU)
>
> All is good except one problem........the wind speeds.
>
> When not connected to Weewx the Aercus uploads directly to WU and the 
> speeds are correct, that is they tally with the display speeds km/h to 
> km/h. However, with Weewx in the loop the speeds logged and published 
> appear to be m/s, suggesting that Weewx is expecting m/s and W/U km/h, and 
> thus when WeeWx publishes, WU believes it is receiving km/h and publishes 
> accordingly. Thus, the windspeeds are out by a factor of about 3.6
>
> I have tried, following the brilliant User Guide:
>
> 1) Changing the database units - METRIC and METRICWX
> 2) Placing expressions such as:
>         windSpeed = WindSpeed * 3.6
>         wind = wind * 3.6
>         wind_speed = wind_speed * 3.6
> in the StdCalibrate section
>
> But I cannot for the life of me figure this one out by myself - and I have 
> tried.
>
> As an example from the log (sanitized):
>
> Aug 17 12:44:21 weewx weewx[2932]: interceptor: ServerThread: GET: 
> ID=XXXX&PASSWORD=XXXX&intemp=21.0&outtemp=20.4&dewpoint=11.4&windchill=20.4&inhumi=52&outhumi=56&windspeed=0.5&windgust=1.1&winddir=101&absbaro=1008.0&relbaro=1020.9&rainrate=0.0&dailyrain=0.0&weeklyrain=15.0&monthlyrain=27.3&yearlyrain=45.3&light=63371.5&UV=2017&dateutc=2018-8-17%2012:44:21&softwaretype=WeatherRanger%20V2.4.6&action=updateraw&realtime=1&rtfreq=5
> Aug 17 12:44:21 weewx weewx[2932]: interceptor: MainThread: raw data: 
> ID=XXXX&PASSWORD=XXXX&intemp=21.0&outtemp=20.4&dewpoint=11.4&windchill=20.4&inhumi=52&outhumi=56&windspeed=0.5&windgust=1.1&winddir=101&absbaro=1008.0&relbaro=1020.9&rainrate=0.0&dailyrain=0.0&weeklyrain=15.0&monthlyrain=27.3&yearlyrain=45.3&light=63371.5&UV=2017&dateutc=2018-8-17%2012:44:21&softwaretype=WeatherRanger%20V2.4.6&action=updateraw&realtime=1&rtfreq=5
>
> When that is sent through Weewx, the windspeed reports as 0.5 km/h, when 
> it is in fact 0.5 m/s. When sent directly to Wunderground it reports as 
> 1.8km/h which tallies with the display unit and the wind outside!!
>
> I apologize in advance if I have missed something really obvious or simple!
>
>  I really like the look of WeeWx and after many hours studying the guide 
> and setting it all up, it currently it is not ready yet with such a 
> fundamental problem.
>
> Really hope there is a simple fix, that I have missed.
>
> Many, many thanks in advance if someone is able to help.
>
> Dave.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to