I have confirmed and to the best of my knowledge, the station altitude is 
set correctly (altitude = 2320 foot).

When I run weewx directly (sudo weewxd weewx.conf) I get the following:

Traceback (most recent call last):
  File "/usr/bin/weewxd", line 64, in <module>
    weewx.engine.main(options, args)
  File "/usr/share/weewx/weewx/engine.py", line 852, in main
    sane = os.stat(config_path).st_ctime
OSError: [Errno 2] No such file or directory: '/home/pi/weewx.conf'

I really do not understand what that means.  I went and looked at line 64 
and 852 but don't know enough to see a problem.  I understand the last line 
because my config file is at /etc/weewx/weewx.conf.  Is there another way 
to run it directly?

Once I get past this step, I can try the other suggestions you had.

On Tuesday, February 11, 2020 at 2:03:38 AM UTC-8, gjr80 wrote:
>
> Sorry, only use hPa here so the obvious nonsense inHg value was lost on me.
>
> WeeWX is flexible enough that you change whatever you want to display on 
> your web page, you can use another field or recalculate using whatever you 
> like, it's just a case of altering the appropriate template. Similarly, you 
> can change what is sent to WU, WeeWX is coded to send field barometer, to 
> change that you need to dig into the code and your changes would likely not 
> be safe across an upgrade.
>
> In terms of solutions, one obvious check is that you have your station 
> altitude set correctly in weewx.conf. You are after the altitude setting 
> under [Station]. If altitude is set correctly then the solution is in the 
> driver. The WS-2813 driver emits pressure and WeeWX calculates barometer 
> and altitude. Have you run WeeWX directly 
> <http://weewx.com/docs/usersguide.htm#Running_directly> to see what 
> pressures are being include in loop packet and archive records. You should 
> see all three pressures included as the data sent to console is after WeeWX 
> has augmented the packet/record with whatever derived fields it can.
>
> Unfortunately it looks like the WS-2813 driver cannot be run stand alone 
> which would be handy to see exactly what data is coming from the driver (as 
> opposed to running WeeWX directly which include driver and WeeWX calculated 
> fields). You can driver only data by disabling the WeeWX StdWXCalculate 
> service that calculates the additional fields. To disable StdWXCalculate 
> edit weewx.conf and locate the process_services setting under [Engine] 
> [[Services]]. It should look something like this:
>
> process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, 
> weewx.engine.StdQC, weewx.wxservices.StdWXCalculate
>
> just put a # in front of the StdWXCalculate service as follows:
>
> process_services = weewx.engine.StdConvert, weewx.engine.StdCalibrate, 
> weewx.engine.StdQC #, weewx.wxservices.StdWXCalculate
>
> save and stop WeeWX if running and then run directly 
> <http://weewx.com/docs/usersguide.htm#Running_directly> again. This time 
> you should see no derived fields added and what you see should be coming 
> from the driver. What pressure field is provide and if it is pressure is 
> it indeed station pressure? If this is the case then the issue lies 
> elsewhere, if not then the driver needs some scrutiny.
>
> Gary
>

-- 
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/df992563-d738-4f4d-90ec-ec68c3b995b5%40googlegroups.com.

Reply via email to