[weewx-user] Re: weewx-sftp question

2024-02-18 Thread Steve2Q
Tom and Paul: thank you both. I will give it a shot, but I am a bit wary as 
to what to do if it breaks my install. Guess the best thing to do is a 
backup of all the weewx files and directories first.

Steve

On Saturday, February 17, 2024 at 1:15:55 PM UTC-5 WindnFog wrote:

> Did you install Matthew's sftp extension?
>
> https://github.com/matthewwall/weewx-sftp
>
> You'll also need pysftp, which you install with pip.
>
> I have used sftp with the above for years.  Most hosting sites are moving 
> away from ftp for security reasons.
>
> Paul VE1DX
>
> On Saturday, February 17, 2024 at 11:05:28 AM UTC-4 Steve2Q wrote:
>
>> Hello. I am having problems (again) trying to use ftp with DreamHost. 
>> They recommend changing to sftp, so I changed weewx conf to make   
>> secure_ftp = True. I am using Weewx V 3.8.2
>>
>> Apparently, just making secure_ftp = True is not working. Should I try 
>> using weewx-sftp and will it work with 3.8.2?
>>
>>  Thanks
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/05f5cdbf-3682-4d0f-9f57-24ee395d1479n%40googlegroups.com.


[weewx-user] weewx-sftp question

2024-02-17 Thread Steve2Q
Hello. I am having problems (again) trying to use ftp with DreamHost. They 
recommend changing to sftp, so I changed weewx conf to make   secure_ftp = 
True. I am using Weewx V 3.8.2

Apparently, just making secure_ftp = True is not working. Should I try 
using weewx-sftp and will it work with 3.8.2?

 Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6de52956-24bf-4a56-b1f8-4574c983c05fn%40googlegroups.com.


[weewx-user] StdCalibrate math question

2024-01-21 Thread Steve2Q
I have a calibration curve for my outdoor humidity sensor that includes 
division and an exponent. The formula is : OutHumidity = 
92.2/(1+(1/(OutHumididty/64.6)^3.47))  Can this be handled by StdCalibrate?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9e1d1a9b-faa3-48f9-8ca1-5cfeb712def9n%40googlegroups.com.


Re: [weewx-user] ftpupload suddenly stopped working, but....

2024-01-18 Thread Steve2Q
Tom. I finally got a support tech who was able to solve the problem. 
Apparently Dreamhost has made some OS changes which can cause problems with 
FTP. I would like to change to SFTP,  but I am not sure  how to go about 
it. The options you referred to do not exist in my weewx.conf file, and I 
really don't want to upgrade as I don't want to break the Steel Gauges 
which took me a LONG time to get operating properly. Is there a guide to 
changing over to SFTP for a "legacy" version of Weewx. Is it as simple as 
changing secure_ftp to True, and port to 22?

The following is the {FTP} section of my weewx.conf file:
 [[FTP]]
# FTP'ing the results to a webserver is treated as just another 
report,
# albeit one with an unusual report generator!
skin = Ftp

# If you wish to use FTP, uncomment and fill out the next four 
lines.
# Use quotes around passwords to guard against parsing errors.
server = www.xxx
path = xxx/yyy
user = aaa
password = bbb

# Set to True for an FTP over TLS (FTPS) connection. Not all servers
# support this.
secure_ftp = False

# To upload files from something other than what HTML_ROOT is set
# to above, specify a different HTML_ROOT here.
#HTML_ROOT = public_html

# Most FTP servers use port 21
port = 21

# Set to 1 to use passive mode, zero for active mode
passive = 0

Thanks, Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6e841a2d-58ce-4988-8046-51129f09fcddn%40googlegroups.com.


[weewx-user] ftpupload suddenly stopped working, but....

2024-01-17 Thread Steve2Q
Last evening, my system stopped uploading to Dreamhost.

I get the following message in syslog: " ftpupload: Unable to connect or 
log into server : timed out"

I have checked my config file and my credentials are correct, and using the 
identical credentials I can use my terminal program (Putty) to successfully 
log into Dreamhost. I also have SteelGauges installed, and that is running 
OK.

My ISP did "maintenance" last night, and my IP address has changed, so I 
checked with support on Dreamhost, and they said my new IP has NOT been 
blocked. What further information can I supply so someone can give me some 
guidance? I am running Weewx v 3.8.2

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ea1a9c8c-7520-47e5-8d0e-e4e395bde924n%40googlegroups.com.


[weewx-user] Re: weewx-sftp and delay in data displayed on the web

2023-12-28 Thread Steve2Q
Oscar, I hope someone replies to either of us, as I have a similar problem 
and request. 
Steve

On Thursday, December 28, 2023 at 5:34:04 AM UTC-5 Oscar Galvan Felez wrote:

> Hello
>
> Let's see if someone can give me some idea of where to look for this small 
> problem.
>
> Pi OS Lite + new weewx installation (setup.py) + Belchertown skin + 
> matthewwall sftp extension
>
> I installed Apache and I can see the weewx website locally in my browser, 
> the template is updated every 5 minutes and everything is correct!
>
> The data is uploaded correctly every 5 minutes to the hosting (IONOS) but 
> it takes another 5 minutes for the website to display the updated data, 
> which means there is a 10-minute delay. 
> Example: at 11:02 I see the data for 9:55, when the data for 11:00 has 
> actually already been uploaded to the hosting. 
>
> I spoke with my hosting and they told me everything was fine. 
> In my old installation and uploading the data via FTP this did not happen 
> to me. As of January 1, my hosting requires me to upload data via SFTP.
>
> I don't have very extensive knowledge of Linux, I am a very basic user of 
> following guides and learning. Any idea will be welcome. 
>
> Thank you and Happy Holidays
> Oscar Galvan
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6efe0378-2144-401f-a30b-7f785d0a997en%40googlegroups.com.


[weewx-user] Need help with change to SFTP

2023-12-27 Thread Steve2Q
Hello. I am a long time user, but have not had any reason (so far) to 
update from V3.8.2. In the past few weeks, I have had problems where my 
files stopped uploading to DreamHost. They found the error on their end, 
but recommend that I change for FTP to SFTP. I have two questions:

1. Will this affect my Steel Gauges which continue working fine even when 
the "regular" Weewx files are not uploading?

2. I am a very casual user, so I found that the directions on the Wiki are 
insufficient to make me comfortable making the change. Can anyone walk me 
through how to do it?

Thanks, Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c467916d-2f43-4be0-8041-4b1ebfcf34dcn%40googlegroups.com.


[weewx-user] StdQC question

2023-06-23 Thread Steve2Q
Hello: I am using v 3.8.2. I currently have the StdQC value set for 
outHumidity= 50, 100 and it is working properly. My question is this: Is 
there a way to have rate of change rather than set boundaries to be used? I 
think the answer is NO, but I wanted to check.

Thanks, Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/57e9b984-b785-443e-8c76-66eb7b59244an%40googlegroups.com.


[weewx-user] Documentation change suggestion

2022-12-25 Thread Steve2Q
Hi..I was reading the docs to see if a mathematical expression can be used 
as a correction and found the answer is yes. However, I noticed that there 
is a statement that for a simple offset for a Davis instrument it can be 
done in hardware. I would add that this can also be done with a Peet Bros. 
unit. An extremely small nit to pick!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2c8221c3-3a21-43bc-b9fc-e61710e45e73n%40googlegroups.com.


Re: [weewx-user] Re: FTP failure

2022-09-21 Thread Steve2Q
 Gary: I am still trying to get things working.

Here is where I am at currently;
Software versions:
Weewx:3.8.2
SteelSeries Gauges:   2.7.3
Rtgd:   0.3.7

The gauge-data.text file is not updating with loops. It is there, but when 
I refresh it does not change   ( 
https://photokinetics.org/Weather/gauge-data.txt )

When I set Debug =1, I get the following error every loop (approx 2.5 
seconds)
Sep 21 11:00:43 raspberrypi weewx[920]: rtgdthread: Failed to post data: 
Unexpected response

Everything else appears to be working: on startup, I get this:

Sep 21 11:10:24 raspberrypi weewx[1311]: rtgd: RealTimeGaugeData scroller 
text will use Weather Underground forecast data
Sep 21 11:10:24 raspberrypi weewx[1311]: rtgdthread: 
'/var/tmp/gauge-data.txt' wil be generated. min_interval is None

In your opinion, at this point, should I uninstall SteelSeries and Rtgd on 
my RPi, and deleted the /ss directory on the web server and start over?


On Monday, September 19, 2022 at 9:46:07 AM UTC-4 Steve2Q wrote:

> Gary..I changed the .php file locally and uploaded it to the /ss 
> directory. This did not change anything, however one thing I see is that 
> gauge-data.txt has not changed since 9/17. I am starting to wonder if it 
> may be best to uninstall/reinstall steel gauges from weewx?
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5cea30df-eb0d-4a3c-9ab8-2be6c8bdd775n%40googlegroups.com.


Re: [weewx-user] Re: FTP failure

2022-09-21 Thread Steve2Q
Gary: I am still trying to get things working.

Here is where I am at currently;
Software versions:
Weewx:3.8.2
SteelSeries Gauges:   2.7.3
Rtgd:   0.3.7

When I set Debug =1, I get the following error every loop (approx 2.5 
seconds)
Sep 21 11:00:43 raspberrypi weewx[920]: rtgdthread: Failed to post data: 
Unexpected response

Everything else appears to be working: on startup, I get this:

Sep 21 11:10:24 raspberrypi weewx[1311]: rtgd: RealTimeGaugeData scroller 
text will use Weather Underground forecast data
Sep 21 11:10:24 raspberrypi weewx[1311]: rtgdthread: 
'/var/tmp/gauge-data.txt' wil be generated. min_interval is None

In your opinion, at this point, should I uninstall SteelSeries and Rtgd on 
my RPi, and deleted the /ss directory on the web server and start over?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0ddb5038-195e-4cfb-8d5c-1e1a4399792an%40googlegroups.com.


Re: [weewx-user] Re: FTP failure

2022-09-18 Thread Steve2Q

Gary: my host told me how to access my log files, and in the instructions 
was this:

" I checked on the error logs, and today's log is empty, which is good in
the way that it would indicate the hosting environment is working
correctly. Please check on the logs and if you need further support let
us know, we'll be happy to help."

The error.log for today is empty.

The .php file WAS missing from /Weather, but my adding it does not appear 
to have changed anything.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/24068202-678f-4b7f-99b0-d967ad85a015n%40googlegroups.com.


Re: [weewx-user] FTP upload Problem

2022-09-16 Thread Steve2Q
Peter..you are very welcome. I hope I saved you saved some time and 
aggrevation. 

On Friday, September 16, 2022 at 3:58:52 AM UTC-4 PeterGill wrote:

> Steve, it turned out you were right, the problem was at my provider side. 
> Problem solved. Thanks for engaging!
>
> On Thursday, September 15, 2022 at 9:56:04 PM UTC+2 PeterGill wrote:
>
>> Thanks Steve, I´m talking to my provider right now and I´ll update here 
>> if the problem is with them
>>
>>
>> On Thursday, September 15, 2022 at 7:11:29 PM UTC+2 Steve2Q wrote:
>>
>>> Peter..I had the exact same problem with DreamHost. For some reason they 
>>> blocked my IP. They unblocked it yesterday afternoon, and FTP started 
>>> working a few hours later.
>>>
>>>
>>> On Thursday, September 15, 2022 at 9:58:56 AM UTC-4 PeterGill wrote:
>>>
>>>> Thanks for the quick answer. Sorry for a stupid follow up question - 
>>>> how do I make sure the right access permissions are set?
>>>>
>>>>
>>>> On Thursday, September 15, 2022 at 3:52:21 PM UTC+2 tke...@gmail.com 
>>>> wrote:
>>>>
>>>>> I don't know why it would have changed, but make sure you have access 
>>>>> permissions to whatever directory you are trying to upload to. 
>>>>>
>>>>> On Thu, Sep 15, 2022 at 6:39 AM PeterGill  wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Suddenly and out of the blue my ftp upload stopped working. The html 
>>>>>> files are generated as expected in /var/www/html/weewx and the file 
>>>>>> "celestial.html" referenced in the log extract below certainly exist in 
>>>>>> the 
>>>>>> library and opens correctly in Chrome.
>>>>>>
>>>>>> Of course reboot has been tried.
>>>>>>
>>>>>> Any help would be highly appreciated!
>>>>>>
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weeutil.ftpupload: Failed 
>>>>>> uploading /var/www/html/weewx/celestial.html to server ftp.myurl.se. 
>>>>>> Reason: '550 Requested action not taken. File unavailable (e.g., file 
>>>>>> not 
>>>>>> found, no access).'
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>>>> ftpgenerator: (2): caught exception '': 550 
>>>>>> Requested action not taken. File unavailable (e.g., file not found, no 
>>>>>> access).
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>     Traceback (most recent call last):
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>   File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>     n = ftp_data.run()
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>   File "/usr/share/weewx/weeutil/ftpupload.py", line 178, in run
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>     ftp_server.storbinary(stor_cmd, fd)
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>   File "/usr/lib/python3.7/ftplib.py", line 504, in storbinary
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>     with self.transfercmd(cmd, rest) as conn:
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>   File "/usr/lib/python3.7/ftplib.py", line 399, in transfercmd
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>     return self.ntransfercmd(cmd, rest)[0]
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>   File "/usr/lib/python3.7/ftplib.py", line 365, in ntransfercmd
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>     resp = self.sendcmd(cmd)
>>>>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine:   
>>>>>>   File "/usr/lib/python3.7/ftpli

Re: [weewx-user] Re: FTP failure

2022-09-15 Thread Steve2Q
Gary: here is the syslog with Debug =1. As you can see, there are 
definitely errors(s) every time rtg tries to FTP.

ep 15 16:41:04 raspberrypi weewx[5506]: engine: Initializing weewx version 
3.8.2
Sep 15 16:41:04 raspberrypi weewx[5506]: engine: Using Python 2.7.13 
(default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Sep 15 16:41:04 raspberrypi weewx[5506]: engine: Platform 
Linux-4.14.94-v7+-armv7l-with-debian-9.6
Sep 15 16:41:04 raspberrypi weewx[5506]: engine: Locale is 'en_US.UTF-8'
Sep 15 16:41:04 raspberrypi weewx[5506]: engine: pid file is 
/var/run/weewx.pid
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Using configuration file 
/home/weewx/weewx.conf
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Debug is 1
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Initializing engine
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading station type 
Ultimeter (weewx.drivers.ultimeter)
Sep 15 16:41:04 raspberrypi weewx[5495]: Starting weewx weather system: 
weewx.
Sep 15 16:41:04 raspberrypi systemd[1]: Started LSB: weewx weather system.
Sep 15 16:41:04 raspberrypi weewx[5510]: ultimeter: driver version is 
0.11rc3
Sep 15 16:41:04 raspberrypi weewx[5510]: ultimeter: using serial port 
/dev/ttyUSB0
Sep 15 16:41:04 raspberrypi weewx[5510]: ultimeter: polling interval is 1.0
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.engine.StdTimeSynch
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.engine.StdTimeSynch
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.engine.StdConvert
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: StdConvert target unit is 
0x1
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.engine.StdConvert
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.engine.StdCalibrate
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.engine.StdCalibrate
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.engine.StdQC
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.engine.StdQC
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.wxservices.StdWXCalculate
Sep 15 16:41:04 raspberrypi weewx[5510]: wxcalculate: The following values 
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=software, 
windrun=prefer_hardware, heatindex=prefer_hardware, 
maxSolarRad=prefer_hardware, humidex=prefer_hardware, 
pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, 
altimeter=prefer_hardware, cloudbase=prefer_hardware
Sep 15 16:41:04 raspberrypi weewx[5510]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.wxservices.StdWXCalculate
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.engine.StdArchive
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Archive will use data 
binding wx_binding
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Record generation will be 
attempted in 'hardware'
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Using archive interval of 
120 seconds (specified in weewx configuration)
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Use LOOP data in hi/low 
calculations: 1
Sep 15 16:41:04 raspberrypi weewx[5510]: manager: Daily summary version is 
2.0
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Using binding 'wx_binding' 
to database 'weewx.sdb'
Sep 15 16:41:04 raspberrypi weewx[5510]: manager: Starting backfill of 
daily summaries
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.engine.StdArchive
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.restx.StdStationRegistry
Sep 15 16:41:04 raspberrypi weewx[5510]: restx: StationRegistry: Station 
will be registered.
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.restx.StdStationRegistry
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.restx.StdWunderground
Sep 15 16:41:04 raspberrypi weewx[5510]: restx: Wunderground-RF: Data for 
station KFLBOYNT40 will be posted
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.restx.StdWunderground
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.restx.StdPWSweather
Sep 15 16:41:04 raspberrypi weewx[5510]: restx: PWSWeather: Data for 
station KFLBOYNT40 will be posted
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.restx.StdPWSweather
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Loading service 
weewx.restx.StdCWOP
Sep 15 16:41:04 raspberrypi weewx[5510]: restx: CWOP: Data for station 
FW7312 will be posted
Sep 15 16:41:04 raspberrypi weewx[5510]: engine: Finished loading service 
weewx.restx.StdCWOP
Sep 15 

Re: [weewx-user] Re: FTP failure

2022-09-15 Thread Steve2Q
Gary; as requested: here is the [RealtimeGaugeData] stanza: ( I will Follow 
with th e log with debug = 1


# Options for extension 'Rtgd'
[RealtimeGaugeData]
remote_server_url = http://photokinetics.org/Weather/post_gauge-data.php
timeout = 2
response_text = success

date_format = %Y.%m.%d %H:%M
#scroller_source = text|file|WU|DS|Zambretti
#scroller_source = DS
#[[DS]]
#api_key = X
#block = hourly
#units = us 
 scroller_source = WU
 [[WU]]
 api_key = X
 units = e
 language = en-US
 interval = 1800
 api_lockout_period = 60
 max_tries = 3
 location = pws:KFLBOYNT40
 debug = 0
 
rtgd_path = /home/weewx/public_html
[[Groups]]
group_altitude = foot
group_pressure = hPa
group_rain = mm
group_speed = km_per_hour
group_temperature = degree_C
[[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


On Thursday, September 15, 2022 at 4:26:38 PM UTC-4 Steve2Q wrote:

> Gary, Vince and myma
>
> Thank you all! First, I am going through the process to get the Steel 
> Gauges working properly. Then I will delve into using RSync. Gary; I am 
> going to start using the info you gave me, and will post logs .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/53bbe8d1-f923-4a8d-a752-291dab145fb3n%40googlegroups.com.


Re: [weewx-user] Re: FTP failure

2022-09-15 Thread Steve2Q
Gary, Vince and myma

Thank you all! First, I am going through the process to get the Steel 
Gauges working properly. Then I will delve into using RSync. Gary; I am 
going to start using the info you gave me, and will post logs .

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6dc60048-21bb-4db1-a6ad-f6f091380057n%40googlegroups.com.


Re: [weewx-user] Re: FTP failure

2022-09-15 Thread Steve2Q
Gary..I my son granted me aux user permission on DreamHost. I was then able 
to communicate directly with support. They found my IP had been blocked, 
possibly for too much activity even though I have never changed anything on 
my end (perhaps someone hacked the account?). They unblocked it and a few 
hours later the main Weewx program is working,  however my Steel gauges are 
not filling in properly (photokinetics.org/Weather). Its been so long since 
I changed anything, I don't remember if there is a setting in steel gauges 
that requires my password to DreamWorks. I did change it, and changed the 
FTP file for weewx. I am thinking of switching from FTP to Rsync for 
security reasons, but I dont know how that will effect other parts of the 
program. Anyway, maybe you know where I have to make a change within the 
rtg files and as always, I thank you for your patient help.

On Tuesday, September 13, 2022 at 6:50:43 PM UTC-4 Steve2Q wrote:

> I just called Hotwire (my ISP). They said no changes have been done on 
> their end to block any IP addresses. I spoke with a tech for quite a while, 
> and he had a suggestion; try using a VPN.
> So I started up my VPN and now I can use either terminal program to access 
> the host server, however, even with the VPN on Weewx still cannot upload 
> data. However when I took a look at the directories on the host server, 
> *some* files have been uploaded since the problem started. This all seems 
> to point to DreamHost blocking my IP (or some other problem). Since my son 
> has the DreamHost account, I will have to have him contact them and see 
> what's going on. Here is a snip from the directory on DreamHost:
> [image: image.png]
>
>
> On Tue, Sep 13, 2022 at 6:26 PM gjr80  wrote:
>
>> Not good. Not being able to SSH into the server is suggestive of 
>> something to do with your network/router or your host not WeeWX. Before you 
>> said you could ftp to your host outside of WeeWX, is that still the case?
>>
>> Gary
>> On Wednesday, 14 September 2022 at 07:14:16 UTC+10 Steve2Q wrote:
>>
>>> Gary..I dropped the http://, and also tried re-booting my router, but it 
>>>>> didn't make any difference. Now I can't even SSH into the host server. I 
>>>>> am 
>>>>> at a loss.
>>>>>
>>>>
>>> Steve
>>>  
>>>
>> -- 
>> 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/Nb_3fPRRiok/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/85671b03-fea5-4fc2-81b8-4ec5f56d3883n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/85671b03-fea5-4fc2-81b8-4ec5f56d3883n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b65e086a-48fa-4282-b30a-ae54e138d765n%40googlegroups.com.


Re: [weewx-user] FTP upload Problem

2022-09-15 Thread Steve2Q
Peter..I had the exact same problem with DreamHost. For some reason they 
blocked my IP. They unblocked it yesterday afternoon, and FTP started 
working a few hours later.


On Thursday, September 15, 2022 at 9:58:56 AM UTC-4 PeterGill wrote:

> Thanks for the quick answer. Sorry for a stupid follow up question - how 
> do I make sure the right access permissions are set?
>
>
> On Thursday, September 15, 2022 at 3:52:21 PM UTC+2 tke...@gmail.com 
> wrote:
>
>> I don't know why it would have changed, but make sure you have access 
>> permissions to whatever directory you are trying to upload to. 
>>
>> On Thu, Sep 15, 2022 at 6:39 AM PeterGill  wrote:
>>
>>> Hi,
>>>
>>> Suddenly and out of the blue my ftp upload stopped working. The html 
>>> files are generated as expected in /var/www/html/weewx and the file 
>>> "celestial.html" referenced in the log extract below certainly exist in the 
>>> library and opens correctly in Chrome.
>>>
>>> Of course reboot has been tried.
>>>
>>> Any help would be highly appreciated!
>>>
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weeutil.ftpupload: Failed 
>>> uploading /var/www/html/weewx/celestial.html to server ftp.myurl.se. 
>>> Reason: '550 Requested action not taken. File unavailable (e.g., file not 
>>> found, no access).'
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> ftpgenerator: (2): caught exception '': 550 
>>> Requested action not taken. File unavailable (e.g., file not found, no 
>>> access).
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   Traceback (most recent call last):
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> File "/usr/share/weewx/weewx/reportengine.py", line 331, in run
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   n = ftp_data.run()
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> File "/usr/share/weewx/weeutil/ftpupload.py", line 178, in run
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   ftp_server.storbinary(stor_cmd, fd)
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> File "/usr/lib/python3.7/ftplib.py", line 504, in storbinary
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   with self.transfercmd(cmd, rest) as conn:
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> File "/usr/lib/python3.7/ftplib.py", line 399, in transfercmd
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   return self.ntransfercmd(cmd, rest)[0]
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> File "/usr/lib/python3.7/ftplib.py", line 365, in ntransfercmd
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   resp = self.sendcmd(cmd)
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> File "/usr/lib/python3.7/ftplib.py", line 273, in sendcmd
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   return self.getresp()
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> File "/usr/lib/python3.7/ftplib.py", line 246, in getresp
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   raise error_perm(resp)
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>>   ftplib.error_perm: 550 Requested action not taken. File unavailable 
>>> (e.g., file not found, no access).
>>> Sep 15 14:46:14 Homeserver weewx[573] ERROR weewx.reportengine: 
>>> ftpgenerator: Upload failed
>>> Sep 15 14:46:14 Homeserver weewx[573] DEBUG weewx.reportengine: Report 
>>> 'RSYNC' not enabled. Skipping.
>>> Sep 15 14:46:16 Homeserver weewx[573] DEBUG user.MQTTSubscribe: 
>>> (Service) MessageCallbackProvider data-> incoming topic: 
>>> Jettystation/Watertemp, QOS: 0, retain: 0, payload: b'14.50'
>>> Sep 15 14:46:16 Homeserver weewx[573] DEBUG user.MQTTSubscribe: 
>>> (Service) TopicManager data-> incoming Jettystation/Watertemp: extraTemp1: 
>>> 14.5
>>>
>>>
>>>
>>> -- 
>>> 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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/ab759762-1149-47e8-bb73-911d61611c23n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
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, 

[weewx-user] Re: FTP failure

2022-09-13 Thread Steve2Q

>
> Gary..I dropped the http://, and also tried re-booting my router, but it 
>> didn't make any difference. Now I can't even SSH into the host server. I am 
>> at a loss.
>>
>
Steve
 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f6b4856c-0953-4d81-9227-fa90e7736e7cn%40googlegroups.com.


[weewx-user] Re: FTP failure

2022-09-12 Thread Steve2Q
Gary and ewhain..
Thanks for replying. I changed the password to something with less "odd" 
characters, and slightly modified the FTP entry in weewx.conf. Now I have a 
different error message which is in this snip from the log:

Sep 12 17:01:57 raspberrypi weewx[778]: restx: CWOP: Published record 
2022-09-12 17:00:00 EDT (1663016400)
Sep 12 17:02:16 raspberrypi weewx[778]: manager: Added record 2022-09-12 
17:02:00 EDT (1663016520) to database 'weewx.sdb'
Sep 12 17:02:16 raspberrypi weewx[778]: manager: Added record 2022-09-12 
17:02:00 EDT (1663016520) to daily summary in 'weewx.sdb'
Sep 12 17:02:16 raspberrypi weewx[778]: restx: PWSWeather: Published record 
2022-09-12 17:02:00 EDT (1663016520)
Sep 12 17:02:18 raspberrypi weewx[778]: cheetahgenerator: Generated 14 
files for report StandardReport in 2.00 seconds
Sep 12 17:02:19 raspberrypi weewx[778]: imagegenerator: Generated 13 images 
for StandardReport in 0.98 seconds
Sep 12 17:02:19 raspberrypi weewx[778]: copygenerator: copied 0 files to 
/home/weewx/public_html
Sep 12 17:02:19 raspberrypi weewx[778]: copygenerator: copied 0 files to 
/home/weewx/public_html/ss
Sep 12 17:02:19 raspberrypi weewx[778]: cheetahgenerator: Generated 1 files 
for report SteelSeries in 0.02 seconds
Sep 12 17:02:20 raspberrypi weewx[778]: imagegenerator: Generated 11 images 
for SteelSeries in 0.86 seconds
Sep 12 17:02:20 raspberrypi weewx[778]: ftpupload: Unable to connect or log 
into server : [Errno -3] Temporary failure in name resolution
Sep 12 17:02:20 raspberrypi weewx[778]: ftpupload: Unable to connect or log 
into server : [Errno -3] Temporary failure in name resolution
Sep 12 17:02:20 raspberrypi weewx[778]: ftpupload: Unable to connect or log 
into server : [Errno -3] Temporary failure in name resolution
Sep 12 17:02:20 raspberrypi weewx[778]: ftpupload: Attempted 3 times to 
connect to server http://photokinetics.org. Giving up.
Sep 12 17:02:20 raspberrypi weewx[778]: ftpgenerator: ftp'd 0 files in 0.49 
seconds

this is the entry under [[FTP]]; 
 server = http://.org
  path = yyy.org/Weather
  user = z
  password = 123456

I can log into the hosting server with Filezilla and see all the 
directories. The entries in Filezilla are:
host:   www.yy.org
user:   zz
PW:123456






-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/addf5f5e-d5e2-402b-9cf3-b2087de416c9n%40googlegroups.com.


[weewx-user] FTP failure

2022-09-11 Thread Steve2Q
 have been using the same host for years. While I was away, starting on 
9/4, weewx stopped uploading to the server. This is the latest syslog.
 

Sep 11 15:24:17 raspberrypi weewx[935]: manager: Added record 2022-09-11 
15:24:00 EDT (1662924240) to database 'weewx.sdb'
Sep 11 15:24:17 raspberrypi weewx[935]: manager: Added record 2022-09-11 
15:24:00 EDT (1662924240) to daily summary in 'weewx.sdb'
Sep 11 15:24:18 raspberrypi weewx[935]: restx: PWSWeather: Published record 
2022-09-11 15:24:00 EDT (1662924240)
Sep 11 15:24:19 raspberrypi weewx[935]: cheetahgenerator: Generated 14 
files for report StandardReport in 2.00 seconds
Sep 11 15:24:20 raspberrypi weewx[935]: imagegenerator: Generated 13 images 
for StandardReport in 0.97 seconds
Sep 11 15:24:20 raspberrypi weewx[935]: copygenerator: copied 0 files to 
/home/weewx/public_html
Sep 11 15:24:20 raspberrypi weewx[935]: copygenerator: copied 0 files to 
/home/weewx/public_html/ss
Sep 11 15:24:21 raspberrypi weewx[935]: cheetahgenerator: Generated 1 files 
for report SteelSeries in 0.02 seconds
Sep 11 15:24:21 raspberrypi weewx[935]: imagegenerator: Generated 11 images 
for SteelSeries in 0.86 seconds
Sep 11 15:24:41 raspberrypi weewx[935]: ftpupload: Unable to connect or log 
into server : timed out
Sep 11 15:25:01 raspberrypi weewx[935]: ftpupload: Unable to connect or log 
into server : timed out
Sep 11 15:25:21 raspberrypi weewx[935]: ftpupload: Unable to connect or log 
into server : timed out
Sep 11 15:25:21 raspberrypi weewx[935]: ftpupload: Attempted 3 times to 
connect to server xxx.xxx.org Giving up.
Sep 11 15:25:21 raspberrypi weewx[935]: ftpgenerator: ftp'd 0 files in 
60.11 seconds
 
-
PWS weather and Wunderground are showing my data correctly. I can log into 
the server using the same user name and password as is in weewx.conf, and 
the same directory structure exists on the server and within weewx.conf, 
which is:
user = abcde
password = 
server = www..org
path =xx.org/Weather

I have been at it for hours, and am totally stumped.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d0dc43bd-ee5a-49ba-94b6-f55d095a252en%40googlegroups.com.


[weewx-user] FTP stopped

2022-09-11 Thread Steve2Q
I have been using the same host for years. While I was away, starting on 
9/4, weewx stopped uploading to the server. This is the latest syslog.
 

Sep 11 15:24:17 raspberrypi weewx[935]: manager: Added record 2022-09-11 
15:24:00 EDT (1662924240) to database 'weewx.sdb'
Sep 11 15:24:17 raspberrypi weewx[935]: manager: Added record 2022-09-11 
15:24:00 EDT (1662924240) to daily summary in 'weewx.sdb'
Sep 11 15:24:18 raspberrypi weewx[935]: restx: PWSWeather: Published record 
2022-09-11 15:24:00 EDT (1662924240)
Sep 11 15:24:19 raspberrypi weewx[935]: cheetahgenerator: Generated 14 
files for report StandardReport in 2.00 seconds
Sep 11 15:24:20 raspberrypi weewx[935]: imagegenerator: Generated 13 images 
for StandardReport in 0.97 seconds
Sep 11 15:24:20 raspberrypi weewx[935]: copygenerator: copied 0 files to 
/home/weewx/public_html
Sep 11 15:24:20 raspberrypi weewx[935]: copygenerator: copied 0 files to 
/home/weewx/public_html/ss
Sep 11 15:24:21 raspberrypi weewx[935]: cheetahgenerator: Generated 1 files 
for report SteelSeries in 0.02 seconds
Sep 11 15:24:21 raspberrypi weewx[935]: imagegenerator: Generated 11 images 
for SteelSeries in 0.86 seconds
Sep 11 15:24:41 raspberrypi weewx[935]: ftpupload: Unable to connect or log 
into server : timed out
Sep 11 15:25:01 raspberrypi weewx[935]: ftpupload: Unable to connect or log 
into server : timed out
Sep 11 15:25:21 raspberrypi weewx[935]: ftpupload: Unable to connect or log 
into server : timed out
Sep 11 15:25:21 raspberrypi weewx[935]: ftpupload: Attempted 3 times to 
connect to server www.photokinetics.org. Giving up.
Sep 11 15:25:21 raspberrypi weewx[935]: ftpgenerator: ftp'd 0 files in 
60.11 seconds
 
-
PWS weather and Wunderground are showing my data correctly. I can log into 
the server using the same user name and password as is in weewx.conf, and 
the same directory structure exists on the server and within weewx.conf, 
which is:
user = abcde
password = 
server = www..org
path =xx.org/Weather

I have been at it for hours, and am totally stumped.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b663e40b-da76-4fdd-9cca-aba8a06987fbn%40googlegroups.com.


[weewx-user] Wundermap zooming question

2022-07-27 Thread Steve2Q
When I zoom out on the Wundermap to try and compare my stations reading 
with others, past a certain point my station will disappear and them 
reappear when zooming back in.

Also the "Save Preference" button does save.

Are these bugs in Wundermap, or is there a setting(s) that I am missing?

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cfb6afe6-4fa0-47c8-88c8-790f2fa495edn%40googlegroups.com.


[weewx-user] Re: Need some help changing a chart

2022-07-11 Thread Steve2Q
Hi Gary. Thanks for the good wishes. I tested negative this AM. I played 
around for a while, and decided that WindGust would show me what I wanted 
on the chart; agreement with the daily High Wind under Since Midnight. I 
also had the epiphany (at least it was for me because I did it before 
reading you message!) that I could just chart WindGust but label it Wind 
Speed. So here is a screen grab of the chart where the high wind speed 
since midnight is 11mph at 1644:



-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/828724a3-4bd8-4186-9fa6-f1fd78070788n%40googlegroups.com.


[weewx-user] Re: Need some help changing a chart

2022-07-10 Thread Steve2Q
Hi Gary. I did not get to try your suggestions until today. We went on a 3 
week cruise, but when I got home I ended up with Covid. Not a very bad 
case, but I am just now getting my act together.
Just a few comments:
1. I made your suggested change by commenting out the lines pertaining to 
wind gust, but I want to wait until I see a full days plot before making 
any other changes. One thing I do see is that the 1 Hour Average Speed is 
showing as dots rather than a continuous line as before. Does that mean the 
LineGap fraction has to be changed?
2. Regarding the windspeed v windgust differences you mention. I have a 
Peet Bros Ultimeter, so the windspeed (along with the other parameters) is 
emitted nearly constantly. My archive interval is 2 minutes, while the 
Loops are approx every 2 seconds. I noticed that when I had windgust 
included in the plot, it appeared to more accurately reflect the "High 
Wind" reading under "Since Midnight" on the Current Conditions page. Is it 
possible to have windgust plotted while having the chart label as windspeed?

I just want to say thank you for all the help you have given me over the 
past few years...it is greatly appreciated

On Monday, June 6, 2022 at 9:45:57 PM UTC-4 gjr80 wrote:

> Steve,
>
> So have you tried:
>
>  #time_length = 43200
>
>#  Changed color and data_type
>   wind_avg
> color = 'yellow'
> data_type = windSpeed
> aggregate_type = avg
> aggregate_interval = 3600# 1 Hour
> line_gap_fraction = 0.05
> label =  1 Hour Avg Speed
>#  End of addition
>windSpeed
> color = 0x00
> anti_alias = 2
>
> That will plot windSpeed (black) and the one hour average windSpeed 
> (yellow) values. Keep in mind that for your system the windSpeed value in 
> each archive record is the average of all of the loop packet windSpeed 
> values seen in that archive period. So if your station sees a windSpeed 
> of, say 20mph, in a single loop packet that value well be 'lost' when all 
> of the loop packet windSpeed values are averaged to give the windSpeed 
> value for the archive period (chances are the average will be less than the 
> maximum value) - so don't expect the max wind speeds seen by your station 
> to be appear on the modified plot. The default action by WeeWX when no 
> windGust is provided by the station/driver is to use the highest windSpeed 
> value seen during the archive period as the windGust value in the archive 
> record. Another way of looking at it is to think of the labelling of your 
> current plot as 'Gust Speed1 Hour Avg Speed5 Minute Avg Speed' 
> (assuming you have a five minute archive interval).
>
> Gary
>
> On Monday, 6 June 2022 at 10:34:13 UTC+10 Steve2Q wrote:
>
>> Hi all. I have not been on since BC (before Covid). I want to change my 
>> windspeed chart, but so far (because I forgot what my initial change was), 
>> I have not been successful. Here is what I would like to do;
>> Presently my windspeed chart looks like the attached. I thought I was 
>> being clever at the time by adding what I thought was windgust, but this 
>> was incorrect as my console (Peet Bros) only sends wind speed. I also added 
>> average windspeed. As you can see, the actual windspeed (blue) is labeled 
>> Gust Speed while the incorrect windgust (black) is labeled Wind Speed. What 
>> I want to do is get rid of the windgust completely and have the true wind 
>> speed labeled properly. I also want to keep the average windspeed as that 
>> calculation appears correct. 
>> The following snip is from my skin.conf file:
>>
>>  #time_length = 43200
>>#  Removed # on following 5/8/18 Switched order of WindSpeed and 
>> WindGust
>>   windGust
>> color = 'blue'
>> anti_alias = 2
>>#  Changed color and data_type
>>   wind_avg
>> color = 'yellow'
>> data_type = windSpeed
>> aggregate_type = avg
>> aggregate_interval = 3600# 1 Hour
>> line_gap_fraction = 0.05
>> label =  1 Hour Avg Speed
>>#  End of addition
>>windSpeed
>> color = 0x00
>> anti_alias = 2
>>
>> Thanks for any help..
>>
>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9a3c22a7-29ec-400d-b568-af1f86939d0bn%40googlegroups.com.


[weewx-user] Need some help changing a chart

2022-06-05 Thread Steve2Q
Hi all. I have not been on since BC (before Covid). I want to change my 
windspeed chart, but so far (because I forgot what my initial change was), 
I have not been successful. Here is what I would like to do;
Presently my windspeed chart looks like the attached. I thought I was being 
clever at the time by adding what I thought was windgust, but this was 
incorrect as my console (Peet Bros) only sends wind speed. I also added 
average windspeed. As you can see, the actual windspeed (blue) is labeled 
Gust Speed while the incorrect windgust (black) is labeled Wind Speed. What 
I want to do is get rid of the windgust completely and have the true wind 
speed labeled properly. I also want to keep the average windspeed as that 
calculation appears correct. 
The following snip is from my skin.conf file:

 #time_length = 43200
   #  Removed # on following 5/8/18 Switched order of WindSpeed and WindGust
  windGust
color = 'blue'
anti_alias = 2
   #  Changed color and data_type
  wind_avg
color = 'yellow'
data_type = windSpeed
aggregate_type = avg
aggregate_interval = 3600# 1 Hour
line_gap_fraction = 0.05
label =  1 Hour Avg Speed
   #  End of addition
   windSpeed
color = 0x00
anti_alias = 2

Thanks for any help..


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/42735f03-05c5-4d01-ad19-c8bfa0282121n%40googlegroups.com.


[weewx-user] Re: Trying to eliminate bad data

2021-10-22 Thread Steve2Q
Vince..thanks. I solved the problem by starting with sudo su. Haven't done 
any LInux in quite a while so I forgot about that one. Another question: I 
am thinking of adding lines to [StdQC] to eliminate any outHumidity values 
<20. By doing this, will it also take care of the calculated dewpoint and 
heat index values, or will I need separate entries for each?
Thanks.


On Friday, October 22, 2021 at 11:24:11 AM UTC-4 vince wrote:

> You're going to have to give us a transcript of what you did, and what you 
> saw.
>
> You need to do "sudo sqlite3" which I'm guessing you did not do.
>
> On Friday, October 22, 2021 at 8:14:42 AM UTC-7 Steve2Q wrote:
>
>> I did use sudo in front of the UPDATE command, but I guess this is not 
>> sufficient?
>> Steve
>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c2f13077-aea0-4f69-8b3b-79c910666a13n%40googlegroups.com.


[weewx-user] Re: Trying to eliminate bad data

2021-10-22 Thread Steve2Q
I did use sudo in front of the UPDATE command, but I guess this is not 
sufficient?
Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ea47e494-b8e9-48df-9276-70a379b8820bn%40googlegroups.com.


[weewx-user] Trying to eliminate bad data

2021-10-21 Thread Steve2Q
Hi..I followed the instructions here:  
https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data

First, I shut down Weewx and made a copy of my weewx.sdb file. When I tried 
to change the bad data (on the copy) to NULL, I received an sqlite3 error 
that I could not write to a read-only file. I thought that weewx.sdb 
allowed writing, so why would a copy turn into read-only?

Thanks.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3d2b7f15-aaa3-4e36-9fb6-7d49b9303182n%40googlegroups.com.


[weewx-user] Lost my weather cam (sort of)

2021-05-14 Thread Steve2Q

Hi...for quite a while I have had a raspberry pi based weather cam running 
on Weewx. This camera is one of several which uses MotionEye and goes over 
Wifi to another RasPi acting as a LAN based camera "server". When I connect 
to my home network, the camera shows up perfectly under Weewx. The problem 
is when I pull up Weewx on another network, the camera is not there. I am 
sure it is a port forwarding problem, but I have tried many combinations of 
IP address and ports and so far have been unsuccessful. I should add that 
it worked fine until recently. Has anyone else had similar problems and 
have any pointers?
Thanks.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7507d4cc-2d9e-430f-b666-849796343544n%40googlegroups.com.


Re: [weewx-user] Re: Peet Bros Ultimeter 2100 - Humidity Pad

2020-04-30 Thread Steve2Q
Burt: I just got an email from CWOP that I should be activated in 24 to 48 
hours. The rain and other information displayed on FindU, PWS, and 
Wunderground all agree with the Ultimeter. I will let you know about CWOP 
when it activates.

73, Steve


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/41e565b1-6601-4b24-9f05-2d227b90d3f6%40googlegroups.com.


[weewx-user] Re: Peet Bros Ultimeter 2100 - Humidity Pad

2020-04-27 Thread Steve2Q
Buer..I did register with CWOP. I am not sure what you mean by your question.

Steve 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ac9f7f54-d0fa-4dee-9532-59509762c202%40googlegroups.com.


[weewx-user] Re: Peet Bros Ultimeter 2100 - Humidity Pad

2020-04-26 Thread Steve2Q
Burt...apparently my data is being sent to CWOP, but it only shows up 
here:  http://www.findu.com/cgi-bin/wxpage.cgi?call=FW7312

If I go to the main CWOP site and try to find data from myself there, there 
is none. Perhaps I have a misunderstanding on what shows and what doesn't. 
I received the following email on Friday (which I replied to) so maybe the 
"registration" process for CWOP takes some time.??

cwop-supp...@noaa.gov 
[image: Attachments]Apr 24, 2020, 2:53 PM (2 days ago)


to leigh.k.cheatwood, me 
Our records indicate that your site is sending weather data to Findu at 
http://www.findu.com/cgi-bin/find.cgi?call=FW7312 but is not yet registered 
within CWOP. Registering with CWOP allows distribution of your weather data 
to institutions like NOAA. This is what we currently have for your site's 
location information: CWOP Call Sign/Site ID: FW7312, Latitude: 26.51400, 
Longitude: -80.15500, Elevation (meters): 4.46. Please verify this 
information is correct by replying to this email so that we may register 
your site. Thanks, CWOP-Support

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/968e5b69-c5cb-4371-9de7-e1542682f02a%40googlegroups.com.


[weewx-user] Re: Peet Bros Ultimeter 2100 - Humidity Pad

2020-04-26 Thread Steve2Q
Hi Burt..I did not have the line:  post_interval = 300I added that, but 
left off the passcode as I do not have APRS capability. I will see what 
happens now.

Thanks, Steve  N2QLQ

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/302cb03a-9337-4170-9269-93d1be0df50f%40googlegroups.com.


Re: [weewx-user] Thanks a Lot Darksky (NOT!!)

2020-04-23 Thread Steve2Q
Thanks galfert..I am going to sign up with them


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ba4a5030-69ff-4b4e-bc71-a246718e557c%40googlegroups.com.


[weewx-user] Re: Peet Bros Ultimeter 2100 - Humidity Pad

2020-04-23 Thread Steve2Q
Burt and Ralph: I enabled the CWOP lines in my weewx.conf file and it has 
been running for about 12 hours now. When I applied as an observer, I 
received the email with my ID almost immediately and included this number 
in the .conf file. I still do not see any information for my station. Does 
it take a long time for the data to start showing up?

Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/65ad5f14-0558-451f-b593-0e616b41c1fc%40googlegroups.com.


[weewx-user] Re: Peet Bros Ultimeter 2100 - Humidity Pad

2020-04-22 Thread Steve2Q
Ralph..When i purchased mine (>10 years ago) I had added the combo temp and 
humidity sensor. Although it costs $, it may be an easier solution. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/32b1bc13-5c84-4d27-82c5-7af2cc9a41ec%40googlegroups.com.


[weewx-user] Re: Peet Bros Ultimeter 2100 - Humidity Pad

2020-04-22 Thread Steve2Q
Hi Burt: I have a 2100 (for years now) and I have not experienced your 
problem. My barometric pressure and humidity are sent to my website, 
weather underground, and PWS. I just joined CWOP (as a non-ham as I am not 
set up for APRS), and I will see if I have the same problem.
Have you looked at the raw output from the 2100 to see if the data is in 
the loops?

Steve N2QLQ


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ec75f442-4db0-4a4c-8772-d2e31cfcd086%40googlegroups.com.


Re: [weewx-user] Thanks a Lot Darksky (NOT!!)

2020-04-06 Thread Steve2Q
In my initial post I plainly said I didn't want this to be a discussion of 
Android v IOs or Apple v Microsoft. I was just saying i did not like the idea 
that a piece of useful software was going uni- platform.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0396d757-06c0-40a8-95e3-d014ed0c4b30%40googlegroups.com.


Re: [weewx-user] Thanks a Lot Darksky (NOT!!)

2020-04-05 Thread Steve2Q
I don't remember what I paid, but I did pay.


On Sunday, April 5, 2020 at 12:41:36 PM UTC-4, Thomas Keffer wrote:
>
> With all respect Steve, but what did you pay for the Dark Sky API 
> services? It was certainly a nice service, but they don't owe us anything.
>
> And I, for one, am a very happy Apple customer.
>
>
>
> On Sun, Apr 5, 2020 at 9:24 AM Steve2Q > 
> wrote:
>
>> I have been using Darksky for over a year now and have an API which is 
>> linked to my SteelGuages. It has always given me quite accurate results.  
>> Today I received notice that "Darksky is now part of Apple". The app will 
>> now continue on my Android phone till July 1, 2020, and the API will 
>> function through the end of 2021.I do not now nor will I ever use anything 
>> tied to Apple..but I dont want to get into that now! I am sure the 
>> developers of Darksky walked away with a boat load of cash...so Apple and 
>> Darksky...FU!
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/b982e3e4-20a8-437f-9c6c-f74ed05fd7e5%40googlegroups.com
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1029387b-872e-45f5-93db-b0b8260782b7%40googlegroups.com.


[weewx-user] Thanks a Lot Darksky (NOT!!)

2020-04-05 Thread Steve2Q
I have been using Darksky for over a year now and have an API which is linked 
to my SteelGuages. It has always given me quite accurate results.  Today I 
received notice that "Darksky is now part of Apple". The app will now continue 
on my Android phone till July 1, 2020, and the API will function through the 
end of 2021.I do not now nor will I ever use anything tied to Apple..but I dont 
want to get into that now! I am sure the developers of Darksky walked away with 
a boat load of cash...so Apple and Darksky...FU!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b982e3e4-20a8-437f-9c6c-f74ed05fd7e5%40googlegroups.com.


[weewx-user] Re: WeeWX - Extra add-ons (and other fun stuff)

2020-03-17 Thread Steve2Q
Thanks Xant!  Good information...something to play with while hunkered down 
because of Corona..!


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bc1a2092-afc0-4e4f-b9e2-5ddfaa756178%40googlegroups.com.


[weewx-user] Re: Which weather station would you buy ?

2020-01-20 Thread Steve2Q
I am somewhat old school. I have a Peet Bros Ultimeter wired system. I have had 
it for over 15 years; originally in New Jersey then moved it to Florida. Have 
replaced the anemometer (struck by a tree limb), and the board in the rain 
guage. Extensive documentation and great customer service. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5d206511-aa8e-4142-bd34-7a1b25bd47e9%40googlegroups.com.


[weewx-user] Re: Which weather station would you buy ?

2020-01-20 Thread Steve2Q
I am somewhat old school. I have a Peet Bros Ultimeter wired system. I have had 
it for over 15 years; originally in New Jersey then moved it to Florida. Have 
replaced the anemometer (struck by a tree limb), and the board in the rain 
guage. Extensive documentation and great customer. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5177bb04-2c3b-47f6-91ae-9324cd38dced%40googlegroups.com.


[weewx-user] Re: Webcam Streaming

2020-01-04 Thread Steve2Q
Hello again. I finally figured out the problem, and it was me! I had to 
read a bit more about port forwarding, etc. and found that I assigned the 
wrong address in index.html.tmpl  . Instead of the address of the camera, I 
should have put in the WAN address of the router. Now I have the camera on 
my Weewx webpage and can view it from outside. My only question is: have I 
created some sort of security hole?

Thanks, Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7530560d-08bc-45f3-8c3d-81f51709e41e%40googlegroups.com.


[weewx-user] Re: Webcam Streaming

2019-12-30 Thread Steve2Q
Xant, Peter, and Rich. I was out of town and could not answer. Thank you 
all for getting back to me. Here is what I have now;  4 RasberryPi cameras 
with a hub (so I can view all 4 cams simultaneously) all running 
MotionEyeOS. I can access each camera and the hub separately using WiFi or 
a wired connection in my home. To enable outside access, I port forwarded 
the hub to a NoIP address. I thought, incorrectly, that if a forwarded the 
single camera I could view the stream. That is where I am right now. If you 
need more specific info, let me know and thanks again.

Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/98d0ecd2-2ece-4f5e-8e37-cdfb8d1aa091%40googlegroups.com.


[weewx-user] Webcam Streaming

2019-12-24 Thread Steve2Q
Hello (and Happy Holidays to all!) I am trying to have the image from a 
streaming webcam added to my weewx page. I have it functioning over the 
wireless network in my home, but I cannot see it from the outside world. 
The following are the settings I am using:

In skin.conf I have: 
[Extras]
# Put any extra tags here that you want to be available in the templates

# Here's an example. 
# This radar image will be available as $Extras.radar_img
radar_img = http://radar.weather.gov/ridge/lite/N0R/AMX_loop.gif
# This URL will be used as the image hyperlink:
# radar_url = 
http://radar.weather.gov/ridge/radar.php?rid=amx=N0R=1110=yes
radar_url = http://www.spaghettimodels.com/cities/westpalmbeach.htm
# URL for Blitzortung.org; added 08/23/15
 [[lightning]]
 lightning_img = http://www.blitzortung.org/Images/image_b_us.png
#lightning_url = 
http://www.blitzortung.org/Webpages/index.php?lang=en_0=32
 lightning_url = 
http://www.blitzortung.org/live_lightning_maps.php?map=32
# end of addition
 [[webcam]]
 hyperlink = http://xxx.xxx.x.xx:8081

In index.html.tmpl is: 

 #if $Extras.has_key('radar_img')

  

  Click image for expanded radar loop
  

  Click image for more Florida lightning info
  
http://xxx.xxx.x.xx:8081; alt="Webcam" />  
 
#end if

In my router, I added a port forwarding entry of xxx.xxx.x.xx:8081

Thanks for any guidance...

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3b8e4f53-a722-4567-913b-452fa9a850b0%40googlegroups.com.


[weewx-user] Re: Rasberry Pi weather station with anemometer and camera only

2019-09-18 Thread Steve2Q
Thank, Kevin 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5141e520-abaf-408f-aa75-b15ab333a058%40googlegroups.com.


[weewx-user] Re: Rasberry Pi weather station with anemometer and camera only

2019-09-16 Thread Steve2Q
Hi Kevin..Steve, N2QLQ here. I could not find the instructable you referred to 
regarding adding the web cam. Very nice and informative site. 

73 Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/600465c2-cd90-4f51-84a7-1f81ef60d009%40googlegroups.com.


[weewx-user] Re: AS3935 Lightening Detector

2019-08-24 Thread Steve2Q
Dan..do you think that this one works the same? 
https://www.ebay.com/itm/AS3935-Digital-Lightning-Sensor-Breakout-3V-5V-Arduino-RPi-compatible-/233228596198

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f5f920cb-3a90-49d4-b003-190de76a15c7%40googlegroups.com.


[weewx-user] Upgrade question

2019-08-24 Thread Steve2Q
I am thinking of changing from 3.8.2 to 3.9.2 mainly to try the seasons skin. A 
few questions..I remember seeing that I might have to change Python versions, 
but now I can't find that reference. Is this correct? Second, I have Weewx  
playing very nicely with SteelSeriesGuages after many fits and starts. Will 
upgrading break my Weewx/SS connection? I still have that old increasing memory 
problem, but have found a cludgy workaround.

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a1560018-b217-438e-be31-e6994558286f%40googlegroups.com.


Re: [weewx-user] Re: Second crash after 11 days

2019-07-18 Thread Steve2Q
A follow-up to the memory problem. At present, Weewx will run for 45 days 
before my script restarts the program at 80% memory usage (approx 1.8% 
increase/day). I am not home, but when I get back I will shut down SteelSeries 
gauges and see what effect that has. The gauges are the only extension 
currently running.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7fcdee23-32dc-449d-9582-5058aec87d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: SteelSeries Gauges and Weather Forecast?

2019-07-15 Thread Steve2Q
I have my Steel Gauges using the forecast from Darksky and it is accurate. You 
can see it here: 
 http://photokinetics.org/Weather/ss/

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2ee943fd-37c3-4812-85c0-ba7cecee57ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: AS3935 database issue

2019-07-15 Thread Steve2Q
Mikael..yes, I agree with Dan. I tried a long time ago to get my sensor 
working, but never was successful. If you could make a "cookbook" that would be 
very helpful  

Steve 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3aae97b9-da54-4a2c-8dd7-92aae877a3e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-05-27 Thread Steve2Q
Gary...I was away for the weekend, so when I checked in using the Chrome 
browser on my phone, the Steel Gauges were, and still are, working. 
However, if I pull up the guages on my desktop or tablet, they are frozen 
and "offline".  Please take a look at photokinetics.org/Weather and click 
on the Steel Gauges button at the bottom and see if you observe the same 
behavior. I tried both Chrome and Firefox on both devices. Thanks.


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f0f27dc6-7ea5-4ec8-b27f-6411907e5292%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-05-24 Thread Steve2Q
Gary..thank you! that did the trick!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/26b8e1b2-f1d0-433e-846a-c3213fc2ec43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-05-24 Thread Steve2Q
Gary, thanks for answering. My regular weewx charts update, and the steel 
gauges themselves are operating correctly on my 2 second update. Only the 
graphs on the steel gauges are "stuck" on the installation date.

He is the [StdReport] stanza from weewx.conf, followed by skin.conf for 
SteelSeries.

 [[StandardReport]]
# See the customizing guide to change the units, plot types and line
# colors, modify the fonts, display additional sensor data, and 
other
# customizations. Many of those changes can be made here by 
overriding
# parameters, or by modifying templates within the skin itself.

# The StandardReport uses the 'Standard' skin, which contains the
# images, templates and plots for the report.
skin = Standard
#[[SteelSeries]]
#HTML_ROOT = public_html/ss
#skin = ss
#[[[Units]]]
#StringFormats
#mm_per_hour = %.1f
#mile_per_hour = %.0f
#degree_compass = %.0f
#degree_C = %.1f
#inHg = %.3f
#mmHg = %.1f
#meter_per_second = %.1f
#meter = %.0f
#mile = %.1f
#uv_index = %.1f
#watt_per_meter_squared = %.0f
#percent = %.0f
#km_per_hour = %.0f
#inch = %.2f
#degree_F = %.1f
#knot = %.0f
#foot = %.0f
#hPa = %.1f
#mbar = %.1f
#inch_per_hour = %.2f
#mm = %.1f
#km = %.1f
#Groups
#group_temperature = degree_C#
#group_altitude = foo#t
#group_pressure = hPa
#group_rain = mm
#group_rainRate = mm_per_hour
#group_speed = km_per_hour




# configuration file for the steel series gauges skin for weewx
#   created by Matthew Wall
#   based on work by Mark Crossley and others
#
# This skin can be copied, modified, and distributed as long as this notice
# is included in any derivative work.

[CopyGenerator]
copy_once = css/*.css, scripts/*.js

[CheetahGenerator]
encoding = html_entities
[[ToDate]]
[[[index]]]
template = index.html.tmpl
[[[data]]]
template = gauge-data.txt.tmpl

[ImageGenerator]
image_width = 720
image_height = 196
image_background_color = 0xff
chart_background_color = 0xff
chart_gridline_color = 0xeaeaea

top_label_font_path = 
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed-Bold.ttf
top_label_font_size = 10

unit_label_font_path = 
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
unit_label_font_size = 10
unit_label_font_color = 0xaa

bottom_label_font_path = 
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
bottom_label_font_size = 10
bottom_label_font_color = 0xaa

axis_label_font_path = 
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
axis_label_font_size = 10
axis_label_font_color = 0xaa

rose_label = N
rose_label_font_path = 
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCondensed.ttf
rose_label_font_size  = 8
rose_label_font_color = 0x88
rose_color = 0xaa

chart_line_colors = 0x1e69d2, 0x8b008b, 0xa09e5f, 0x8080f0
chart_fill_colors = 0x7ec9f2, 0xeb00eb, 0xf0febf, 0xe0e0f0

line_type = 'solid'
marker_size = 2
marker_type ='none'
plot_type = line
aggregate_type = none
width = 1
yscale = None, None, None
vector_rotate = 90
line_gap_fraction = 0.01
bar_gap_fraction = 0.2
daynight_day_color = 0xff
daynight_night_color = 0xf8f0f0
daynight_edge_color = 0xafefef
bottom_label_format = %x %X
time_length = 9

[[images]]
x_label_format = %H:%M
show_daynight = true
[[[daybarometer]]]
barometer
[[[dayrain]]]
yscale = None, None, 0.02
plot_type = bar
rain
aggregate_type = sum
aggregate_interval = 3600
label = Rain (hourly total)
[[[dayrainrate]]]
rainrate
[[[daywind]]]
windSpeed
windGust
[[[daywinddir]]]
line_type = None
marker_type = 'box'
marker_size = 2
yscale = 0.0, 360.0, 45.0
windDir
[[[daywindvec]]]
windvec
plot_type = vector
windgustvec
plot_type = vector
aggregate_type = max
aggregate_interval = 3600
[[[dayouttemphum]]]

Re: [weewx-user] Re: Second crash after 11 days

2019-05-23 Thread Steve2Q
Leon and Vince; first thanks for your help and advice. My only experience 
in programming was a LONG time ago, so anything I learn is either from 
helpful people like you or what I can figure out by searching the web. I 
did come to the conclusion that the nesting order of the expressions is 
most likely why the email is not being sent properly. My next bit of 
research will be in how to properly nest if / then statements. The reason I 
picked such low values is I did not want to wait so long for the %mem to 
climb to a high value so I could see what is happening. I was careful in 
copying the original script that I found, so I can only assume it didn't 
run properly as originally written, and no one called the writer out on it. 
As for the multitude of braces, parenthesis, and who knows what else, that 
is me not knowing proper syntax. Here is where I found the script, (he uses 
free -m) if you want to see it:  
https://superuser.com/questions/419617/how-to-monitor-memory-usage-for-alarming-purpose
 
It is answer #3.

Leon, This all started when I noticed my system was crashing after running 
for a relatively short time. There are almost 8 pages (!) but back around 
Jan 38 I think I posted the results of top.

Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/11131edd-7d7a-423f-b29e-4876b715ee62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-05-23 Thread Steve2Q
Leon: thank you very much for your reply...lots of interesting things 
there. I like the top command rather than free as top would give me the % 
of memory used by weewxd. I took the command ps -C weewxd -o 
comm,size,rss,vsize,%mem (which I never saw before, thank you!) and 
shortened it to ps -C weewxd -o %mem as that is the parameter I am 
interested in tracking. I then made the following script, which has a 
problem: It does not send the email when the first "threshold" is exceeded; 
it sends an email that the second threshold is exceeded and simultaneously 
restarts weewx. Do I have something in the wrong order in the script?


---
#!/bin/bash

threshold=3
threshold2=4

usage=$(($(ps -C weewxd -o %mem |awk 'NR==2 {printf ("%.0f", $1}')))   

if [ "$usage" -gt "$threshold2" ]

then

sudo /etc/init.d/service_name restart

 if [ "$usage" -gt "$threshold" ]

 then

 echo "The memory usage has reached $usage% on $HOSTNAME." | mail -s 
"High Memory Usage Alert" someoneseamailaddress

 fi
fi
---




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6b2ec4dd-f453-4a53-9e08-2c8d81e4508f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-05-23 Thread Steve2Q
Leon: thank you very much for your reply...lots of interesting things 
there. I like the top command rather than free as top would give me the % 
of memory used by weewxd. I took the command ps -C weewxd -o 
comm,size,rss,vsize,%mem (which I never saw before, thank you!) and 
shortened it to ps -C weewxd -o %mem as that is the parameter I am 
interested in tracking. I then made the following script, which has a 
problem: It does not send the email when the first "threshold" is exceeded; 
it sends an email that the second threshold is exceeded and simultaneously 
restarts weewx. Do I have something in the wrong order in the script?


---
#!/bin/bash

threshold=3
threshold2=4

usage=$(($(ps -C weewxd -o %mem |awk 'NR==2 {printf ("%.0f", $1}')))   

if [ "$usage" -gt "$threshold2" ]

then

sudo /etc/init.d/service_name restart

 if [ "$usage" -gt "$threshold" ]

 then

 echo "The memory usage has reached $usage% on $HOSTNAME." | mail -s 
"High Memory Usage Alert" userssemailaddress

 fi
fi
---




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/722fbf07-c6b1-467b-b5a3-7ef1c9f80d81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-05-23 Thread Steve2Q

Leon: thank you very much for your reply...lots of interesting things 
there. I like the top command rather than free as top would show me the % 
of memory used by weewxd. I took the command ps -C weewxd -o 
comm,size,rss,vsize,%mem (which I never saw before, thank you!) and 
shortened it to ps -C weewxd -o %mem as that is the parameter I am 
interested in tracking. I then made the following script, which has a 
problem: It does not send the email when the first "threshold" is exceeded; 
it sends an email that the second threshold is exceeded and simultaneously 
restarts weewx. Do I have something in the wrong order in the script?


---
#!/bin/bash

threshold=3
threshold2=4

usage=$(($(ps -C weewxd -o %mem |awk 'NR==2 {printf ("%.0f", $1}')))   

if [ "$usage" -gt "$threshold2" ]

then

sudo /etc/init.d/service_name restart

 if [ "$usage" -gt "$threshold" ]

 then

 echo "The memory usage has reached $usage% on $HOSTNAME." | mail -s 
"High Memory Usage Alert" x...@mail.com


 fi
fi
---




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/198a5f4c-b558-4aec-abc7-b61cb2fdb46c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-05-22 Thread Steve2Q
A little follow up. As the memory growth is still happening, I implemented 
a script which runs the program free -m and does a little calculation to 
determine if memory use is over 80% (or any % I want to use). If mem >80% 
weewx is restarted. So at least it now will run unattended.

A new question with Steel Gauges. I did the re-installation of RTG on April 
9. I just noticed that the gauges themselves are working perfectly, the pop 
up charts are showing April 9; they have not updated. I probably have the 
wrong syntax somewhere?

Steve

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/aa2ae09d-6a65-4c1d-aff5-46332084ade7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Probably an OT Linux question, but:

2019-05-22 Thread Steve2Q
Thanks, Vince...lost an old friend this past weekend...not thinking 
straight.

Just needed to put sudo in front of the command

On Wednesday, May 22, 2019 at 1:21:08 PM UTC-4, vince wrote:
>
> On Wednesday, May 22, 2019 at 9:20:16 AM UTC-7, Steve2Q wrote:
>
>> I know this may be way OT, but I have looked and could not find an answer 
>> elsewhere.
>>
>>
>>
> Try googling for your exact message:
> "*Authentication is required to restart 'weewx.service'. Multiple 
> identities can be used for authentication:*"
>
> There are lots of descriptions in the top hits Google returns.
>
> (hint - 'always' google for an unexpected message, you'll almost never be 
> the first person who saw it)
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5f6844c8-a4ae-4fdb-aa83-384fb78d743c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Probably an OT Linux question, but:

2019-05-22 Thread Steve2Q
I SSH'd into my Pi to do a weewx restart;

I used to type /etc/init.d/weewx restart and the command just worked

Now it says the following:  

pi@raspberrypi:~ $ /etc/init.d/weewx restart
[] Restarting weewx (via systemctl): weewx.service AUTHENTICATING 
FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart 'weewx.service'.
Multiple identities can be used for authentication:
 1.  ,,, (pi)
 2.  root
Choose identity to authenticate as (1-2): 1
Password:

when I choose #1 and type my password the command  executes

This just suddenly started with no changes that I made.

I know this may be way OT, but I have looked and could not find an answer 
elsewhere.

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6a38b5b3-1296-42ba-bea8-aeaa245fd0c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Alarm email question

2019-04-03 Thread Steve2Q
Thank you, Andrew! By the way, do you know if there have been any problems 
with the Alarm and/or Steel Gauges with the newest version? I am still on 
3.8.2.

-- 
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.


[weewx-user] Alarm email question

2019-04-03 Thread Steve2Q
Hi, is there a way to suppress the body in the email sent by the Alarm 
function? I just need to see the subject. 
This is how a received email looks now:

Alarm from Weewx-Indoor temp > 75 <-- I want to keep this 
(the subject)

Alarm expression "inTemp > 74.99" evaluated True at 2019-04-03 09:30:00 EDT 
(1554298200)  )
Record: 

)-- I don't need this (the body)
{'inTemp': 
75.017999}  
  
)

Thanks

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-03-13 Thread Steve2Q
Seems like I may not be upgrading. I have to point out that even after 
switching back to 11rc3 the memory growth is still there albeit slower. I 
guess I did not notice it before as the failure occurred over a longer 
period of time than what happened when a different driver was installed 
after an update. Here are the results from top:

Version 11rc3  94 hours 7.2% Version 0.25  96 hours  9.9%

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-03-03 Thread Steve2Q
Hello;  as of today, Weewx has been running for 96 hours and Top shows 
memory to be 9.9% which is a big improvement. I don't know if you want to 
do any more tweaking, Tom. If not, I can always set a cron to stop and 
restart Weewx once a month. This would be a restart when Mem = 54%

I would like to install the newest Weewx version, so would I be safe in 
assuming that driver v 0.25 will act the same as now?  And just in case, if 
I do run into problems, would my old 11rc3 driver be compatible with the 
newest Weewx version if I have to revert?

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-03-01 Thread Steve2Q
Here are today's numbers: 48 hours at 6.6%. While it is still going up, at 
the present rate I estimate that it should hit 90% in 55 days, which is 
much better than the 11 days it started at. Maybe it will level off. I will 
continue my updates. And thank you Tom and Matt for continuing to help.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-28 Thread Steve2Q
Tom: I will let it run as is, and report back tomorrow with 48 hour stats.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-28 Thread Steve2Q
Tom; at 25 hours top shows 5.0% v  4.4% at 24 hours for 11rc3 and is still 
going up.

Also 0.25 is throwing off sporadic buffer errors as follows.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-27 Thread Steve2Q
I am going to try .25 now. Here is the result of uname -a

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-27 Thread Steve2Q
Follow up: I did not stop Weewx before unplugging/replugging the USB/serial 
adapter from the Pi. I got the following, so I had to reboot to restart 
Weewx.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-27 Thread Steve2Q
Tom: The memory usage started at 3.4% on startup of Weewx. Then 6.8% at 14 
hours and now 7.3% at 16 hours. Here is the result of dmesg | tail


-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-27 Thread Steve2Q
Tom: here are the results as of now:  the new driver (v .24) is 6.8% after 
14 hours v 4.0% after 16 hours with 11rc3. Looks like something else is 
still using increasing memory.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-26 Thread Steve2Q
Weewx has been running for 24 hours now with the 11rc3 driver. Top shows 
4.4% memory usage v 7.5% for the 0.22 driver. A previous run of 11rc3 
resulted in 4.8% after 31 hours v 9.0% for v 0.22

So obviously there is something going on with the newer drivers, but I 
cannot hazard a guess as to what.

If the memory problem cannot be solved with the newer drivers, can I use 
11rc3 with the newest version of Weewx? I have never had a problem with 
negative values..in Florida we never get below 0.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-25 Thread Steve2Q
I meant 11rc3.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-25 Thread Steve2Q
Tom..I will put 11rc2 back and let it run for at least 24 hours. Then, we will 
know for sure if there is an increase in memory usage.
I will post the results.

Steve

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-24 Thread Steve2Q
My experience so far:

With driver v 0.22, I first did a run of 44 hours with the DISABLE_ removed 
from the set time and get time portions of the driver. TOP showed 3.3% 
memory usage at startup, which climbed to 10.4% at 44 hours.

I then replaced the DISABLE_ in both lines which put the driver back to its 
original state. Again there was 3.3% usage at startup, and while I am 
writing this, I have 9.1% after 36 hours. I am going to let in run in the 
current state to see if it levels off.

Ralph, do you see the same thing happening?

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Steve2Q
I saw no errors during the run of over 30 minutes. I edited out the 
DISABLED_  under the get_time and set_time portion of the driver and 
restarted with debugs commented out. TOP show weexd at 3.3%

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Steve2Q
Tom..is 30 minutes enough time with debug and debug_serial both set to 1 ?

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Steve2Q
Ralph. Thanks for joining this discussion. A few questions:

1. What is your station URL? There are not too many of us Ultimeter users, 
but I think it is great that Tom, Matt, Andrew, Vince and so many other 
help out our small population as best they can. Having another 2100 user 
may make debugging easier (?).

2. Which version of the driver did you try? The newest one, I assume. I am 
going to try it with the debug "switches" turned on. And which version did 
you roll back to?

Steve

>
>

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Steve2Q
A follow up: According to Peet Bros web site the Ultimeter 2100 (and 
several other models) emit data in 48 byte chunks in Data Logger Mode, 
while ultimeter.py (version .20) apparently expects 52 bytes. Could this be 
the problem?. Here is a snip from their web site:


   - *Data Logger Mode**:  to manually select, press CLEAR + WIND SPEED for 
   3 seconds. ** While in this mode, records are sent out continuously at 
   up to about 120 per minute.  The total record size is 48 hex digits + 
   header, carriage return and line feed.  (All models)* 
   - *Packet Mode**:  to manually select, press CLEAR + WIND CHILL for 3 
   seconds.  While in this mode, one record is output every five minutes (at 5 
   min past the hour, 10 min past, 15 min past, etc.). The total record length 
   is 52 hex digits + header, carriage return and line feed.  (All models)*

and this:

*DATA LOGGER MODE - RECORD STRUCTURE* 

   - *Header = !!  (or || if in Multiple Output Mode) * 
   - *Data Fields * 
  - *1. Wind Speed (0.1 kph) * 
  - *2. Wind Direction (0-255) * 
  - *3. Outdoor Temp (0.1 deg F) * 
  - *4. Rain* Long Term Total (0.01 inches) * 
  - *5. Barometer (0.1 mbar) * 
  - *6. Indoor Temp (0.1 deg F) * 
  - *7. Outdoor Humidity (0.1%) * 
  - *8. Indoor Humidity (0.1%) * 
  - *9. Date (day of year) * 
  - *10. Time (minute of day) * 
  - *11. Today's Rain Total (0.01 inches)* * 
  - *12. 1 Minute Wind Speed Average (0.1kph)* *
   - *Carriage Return & Line Feed *


**Some instruments may not include field 12, some may not include 11 or 12. 
Please contact Peet Bros. if this presents any problem. Total size: 40, 44 
or 48 characters (hex digits) + header, carriage return and line feed. *

*PACKET MODE - RECORD STRUCTURE* 

   - *Header = $ULTW * 
   - *Data Fields * 
  - *1. Wind Speed Peak over last 5 min. (0.1 kph) * 
  - *2. Wind Direction of Wind Speed Peak (0-255) * 
  - *3. Current Outdoor Temp (0.1 deg F) * 
  - *4. Rain Long Term Total (0.01 in.) * 
  - *5. Current Barometer (0.1 mbar) * 
  - *6. Barometer Delta Value(0.1 mbar) * 
  - *7. Barometer Corr. Factor(LSW) * 
  - *8. Barometer Corr. Factor(MSW) * 
  - *9. Current Outdoor Humidity (0.1%) * 
  - *10. Date (day of year) * 
  - *11. Time (minute of day) * 
  - *12. Today's Rain Total (0.01 inches)** 
  - *13. 5 Minute Wind Speed Average (0.1kph)* *
   - *Carriage Return & Line Feed*



**Some instruments may not include field 13, some may not include 12 or 13. 
Please contact Peet Bros. if this presents any problem. *

*Packet Mode records are output every five minutes:  first, upon selection 
of Packet Mode; then, at every 5 minutes past the hour (12:00, 12:05, 
12:10, etc.), continuosly.*

*Total size: 44, 48 or 52 characters (hex digits) + header, carriage return 
and line feed. *


-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-21 Thread Steve2Q
Hello: I have been out of town for several days. The good news is top shows 
weexd using only 4.6% of memory. The bad news is there are now many gaps in 
the charts (see example), which apparently are caused by the "unexpected 
error byte messages" I have been getting. So the question remains should I 
drop back to the driver that worked even though it may prevent me from 
upgrading to the newest Weewx version?




-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-14 Thread Steve2Q
Matt...I have the model 2100, and it was manufactured in 2006 (I just got 
off the phone with Peet Bros.).

Just FYI,  you probably know this information, but here is the link to 
their page which shows the serial output for the different modes:   
http://www.peetbros.com/shop/custom.aspx?recid=29

I will make your recommended changes and start now.  How long should I let 
it run with the debugging on?

Steve

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-14 Thread Steve2Q

Here is an update. After running for 16 hours 40 minutes memory usage is 
5.0%, and Weewx itself is running normally. The only difference now is the 
console clock is no longer being corrected as it was with version 11rc3.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-14 Thread Steve2Q
Here is an update. After running for 16 hours 40 minutes memory usage is 
5.0%, and Weewx itself is running normally. The only difference now is the 
console clock is no longer being corrected as it was with version 11rc3.



-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-14 Thread Steve2Q
Here is an update. After running for 16 hours 40 minutes memory usage is 
5.0%, and Weewx itself is running normally. The only difference now is the 
console clock is no longer being corrected as it was with version 11rc3.

Steve

>

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-13 Thread Steve2Q
Tom. I am going to let Weewx run for another 12  hours before making the 
change. That way I can be sure memory usage has leveled off.

A general question; if it turns out that both 11rc3 and 0.20 work, is there 
any other advantage to changing to 0.20? Is it more compatible with future 
changes in Weewx or perhaps with Python 3?

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-13 Thread Steve2Q
Hi Tom: Attached is the 11rc3 version of ultimeter.py

Steve

-- 
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.
#!/usr/bin/env python
# $Id: ultimeter.py 2842 2015-01-10 16:12:02Z mwall $
# Copyright 2014 Matthew Wall
# Copyright 2014 Nate Bargmann 
# See the file LICENSE.txt for your full rights.
#
# Credit to and contributions from:
#   Jay Nugent (WB8TKL) and KRK6 for weather-2.kr6k-V2.1
# http://server1.nuge.com/~weather/
#   Steve (sesykes71) for testing the first implementations of this driver
#   Garret Power for decoding improvements and testing

"""Driver for Peet Bros Ultimeter weather stations except the Ultimeter II

This driver assumes the Ultimeter is emitting data in Peet Bros Data Logger
mode format.

Resources for the Ultimeter stations

Ultimeter Models 2100, 2000, 800, & 100 serial specifications:
  http://www.peetbros.com/shop/custom.aspx?recid=29

Ultimeter 2000 Pinouts and Parsers:
  http://www.webaugur.com/ham-radio/52-ultimeter-2000-pinouts-and-parsers.html

Ultimeter II
  not supported by this driver

All models communicate over an RS-232 compatible serial port using three
wires--RXD, TXD, and Ground (except Ultimeter II which omits TXD).  Port
parameters are 2400, 8N1, with no flow control.

The Ultimeter hardware supports several "modes" for providing station data
to the serial port.  This driver utilizes the "modem mode" to set the date
and time of the Ultimeter upon initialization and then sets it into Data
Logger mode for continuous updates.

Modem Mode commands used by the driver
>A  Set Date and Time (decimal digits  = day of year,
 = minute of day; Jan 1 = , Midnight = )

>I  Set output mode to Data Logger Mode (continuous output)

"""

from __future__ import with_statement
import serial
import syslog
import time

import weewx.drivers

DRIVER_NAME = 'Ultimeter'
DRIVER_VERSION = '0.11rc3'

INHG_PER_MBAR = 0.0295333727
METER_PER_FOOT = 0.3048
MILE_PER_KM = 0.621371

def loader(config_dict, engine):
return Ultimeter(**config_dict[DRIVER_NAME])

def confeditor_loader():
return UltimeterConfEditor()


DEFAULT_PORT = '/dev/ttyS0'
DEBUG_READ = 0

def logmsg(level, msg):
syslog.syslog(level, 'ultimeter: %s' % msg)

def logdbg(msg):
logmsg(syslog.LOG_DEBUG, msg)

def loginf(msg):
logmsg(syslog.LOG_INFO, msg)

def logerr(msg):
logmsg(syslog.LOG_ERR, msg)


class Ultimeter(weewx.drivers.AbstractDevice):
"""weewx driver that communicates with a Peet Bros Ultimeter station

model: station model, e.g., 'Ultimeter 2000' or 'Ultimeter 100'
[Optional. Default is 'Ultimeter']

port - serial port
[Required. Default is /dev/ttyS0]

polling_interval - how often to query the serial interface, seconds
[Optional. Default is 1]

max_tries - how often to retry serial communication before giving up
[Optional. Default is 5]
"""
def __init__(self, **stn_dict):
self.model = stn_dict.get('model', 'Ultimeter')
self.port = stn_dict.get('port', DEFAULT_PORT)
self.polling_interval = float(stn_dict.get('polling_interval', 1))
self.max_tries = int(stn_dict.get('max_tries', 5))
self.retry_wait = int(stn_dict.get('retry_wait', 10))
self.last_rain = None
loginf('driver version is %s' % DRIVER_VERSION)
loginf('using serial port %s' % self.port)
loginf('polling interval is %s' % str(self.polling_interval))
global DEBUG_READ
DEBUG_READ = int(stn_dict.get('debug_read', DEBUG_READ))

def genLoopPackets(self):
ntries = 0
while ntries < self.max_tries:
ntries += 1
try:
packet = {'dateTime': int(time.time() + 0.5),
  'usUnits': weewx.US}
# open a new connection to the station for each reading
with Station(self.port) as station:
readings = station.get_readings()
data = Station.parse_readings(readings)
packet.update(data)
self._augment_packet(packet)
ntries = 0
yield packet
if self.polling_interval:
time.sleep(self.polling_interval)
except (serial.serialutil.SerialException, weewx.WeeWxIOError), e:
logerr("Failed attempt %d of %d to get LOOP data: %s" %
   (ntries, self.max_tries, e))
time.sleep(self.retry_wait)
else:
msg = "Max retries (%d) exceeded for LOOP data" % self.max_tries
logerr(msg)
raise weewx.RetriesExceeded(msg)

@property
def hardware_name(self):
return self.model

def _augment_packet(self, 

Re: [weewx-user] Re: Second crash after 11 days

2019-02-13 Thread Steve2Q
Possible success??!!

Yesterday I changed only one item, the driver. I rolled back to 11rc3 which 
has had two effects. First, after running for 24 hours the memory usage is 
up to only 4.4% where before it would be around 9+%. Second,  Weewx has 
reset the time on my console to within 2 seconds of the correct time where 
under .18 it kept drifting.

There are no other apparent effects on the graphs or anything else within 
Weewx at this time. While there are very few Ultimeter users, I am going to 
see if I can get some responses as to what model Ultimeter is being used 
and which driver.

Will see how it goes over the next few days...hope springs eternal!

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-11 Thread Steve2Q
I will try substituting an older version of the driver to see if that makes any 
difference.  

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-11 Thread Steve2Q
Tom: Thanks for checking in..I was going to get back to you after a few 
more days of running. At at this point, it still appears to be acting the 
same way. It is so regular that I derived a formula for % of memory v 
time:  % = .253 (time in hours) + 3.24  

For 2 Days 6 hours 50 minutes, % = .253 (56.83) + 3.24  = 17.62   Top show 
17.0%  I know this is irrelevant, but it is interesting nonetheless.

Is there any possibility that substituting an older driver may work? The 
newest version (0.18) is quite different than the older ones.

Steve

-- 
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.


[weewx-user] Ultimeter driver question

2019-02-09 Thread Steve2Q
If anyone is using the newest version of the Ultimeter driver (0.18) with 
the model 2100, is the clock reset working for you?

Thanks, Steve

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-06 Thread Steve2Q
Tom: I upgraded pyserial and have rebooted. I will run just the regular 
instance of weewx without the simulator, and will see how that goes. Weewxd 
started at 3.4% mem usage.

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-06 Thread Steve2Q
My version is 3.2.1

-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-06 Thread Steve2Q
Here is this mornings results. No change in the simulator, but weewx itself 
is going up. I was wondering if it would help with diagnosis if I tried 
running an older driver version.


-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-05 Thread Steve2Q
Tom: Here is the screenshot of Top showing both instances running. 
Obviously, the simulator is using far less memory. I will check tomorrow AM 
and send an updated screen capture.


-- 
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.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-05 Thread Steve2Q


On Tuesday, February 5, 2019 at 10:38:36 AM UTC-5, Thomas Keffer wrote:
>
> I really only need the 'top' results for the instance running the 
> simulator: is it growing in its memory use?
>
> On Tue, Feb 5, 2019 at 7:11 AM Steve2Q > 
> wrote:
>
>> Tom: After I run my system for a few more days, let me know which file(s) 
>> you would like to see. 
>>
>> -- 
>> 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+...@googlegroups.com .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Second crash after 11 days

2019-02-05 Thread Steve2Q
Tom: After I run my system for a few more days, let me know which file(s) you 
would like to see. 

-- 
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.


  1   2   3   >