sudo /etc/init.d/weewx stop will stop the current running service but if 
you have other instances running, for example WeeWX directly, sudo 
/etc/init.d/weewx 
stop will have no effect as WeeWX is not running as a service. When running 
WeeWX directly you need to stop the execution using a control key sequence 
(CTL-C) or list the running WeeWX processes with ps -aux|grep weewx and 
then use the Linux kill command to kill the process.

Whenever you do a lot of stop-starting, running services/running directly 
and odd things (apart from odd pressure values :) ) are happening it can be 
because there is more than one instance of WeeWX running. If you look at 
the log you can usually see it by there being more than one process ID 
number against WeeWX at any one time.

Well if your relative pressure is set correctly I am out of ideas on how to 
fix this. I am not convinced the driver is wrong but I guess it is 
possible. Really need someone who understands the driver operation and the 
2813 to take that further.

Gary

On Wednesday, 12 February 2020 11:41:16 UTC+10, Dan Blanchard wrote:
>
> The further I go, the more complex it is getting.  First, yes I have a 
> WS-2813U-IT and yes, I did set the relative pressure to match the local 
> weather service.
>
> I don't want to muddy the waters any more, but how is it that I stopped 
> the wewx service but it is still reporting?  I'm still trying to understand 
> this thing.
>
> On Tuesday, February 11, 2020 at 5:04:02 PM UTC-8, gjr80 wrote:
>>
>> On Wednesday, 12 February 2020 10:16:47 UTC+10, Dan Blanchard wrote:
>>>
>>> OK, I shut down via sudo /etc/init.d/weewx stop then I ran sudo weewxd 
>>> /etc/weewx/weewx.conf and it is continuing to produce data.  I see that 
>>> the barometer and altimeter are both the 32.xx readings while pressure is 
>>> the same as what is reading on my station 29.9x.
>>>
>>> Hang on, let's go through this a bit more carefully. So you have run 
>> WeeWX directly and are seeing all three WeeWX pressure fields. WeeWX field 
>> pressure is matching what is on your console exactly. Fields altitude 
>> and barometer are 'in the 32s'. By my rough calculations an absolute 
>> pressure of 29.9inHg at 2300ft gives a barometer value of about 32.5. So on 
>> the face of it it would appear that the driver is providing data (whether 
>> it is right or wrong) in field pressure and WeeWX is calculating fields 
>> barometer and altimeter as expected.
>>
>> Can I ge weewx to read the pressure reading in lieu of the barometer 
>>> altimeter reading that it is presumably doing?
>>>
>>
>> Now I don't understand. The 28xx driver takes the pressure value 
>> displayed on the station hardware and feeds that to WeeWX as the WeeWX 
>> field named pressure (after which WeeWX calculates fields barometer and 
>> altitude). Do you want the driver to instead take that pressure value 
>> displayed on the station hardware and feed that to WeeWX as the WeeWX field 
>> named barometer (after which WeeWX calculates fields pressure and 
>> altitude)? That can be done but it requires modification of the driver 
>> code, I would not being doing that lightly, someone did not roll a dice and 
>> randomly decide to put the pressure value from the 2813 in field pressure, 
>> it was done for a reason.
>>
>> I was looking for a 2813 manual and the only manual I could find was for 
>> a WS-2813U-IT weather station. On page 14 it talks about setting a 
>> 'Relative value pressure reference setting' based on a value from a weather 
>> service, airport etc. Is that your station and have you set that correctly 
>> or if not your station is there a similar setting?
>>
>> 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/89c6a422-f291-40e7-bc0a-e752f46892be%40googlegroups.com.

Reply via email to