Re: [weewx-user] Re: Need help with change to SFTP

2023-12-30 Thread Steve Meltz
Gary..thank you for the reply
 I think I have it sorted out. In my old version of Weewx, I made a few
changes in weewx.conf which seems to have worked, and as you said, the
Steel Guages are not affected.

On Sat, Dec 30, 2023, 12:31 AM gjr80  wrote:

> Steve,
>
> Sorry I cannot help with SFTP, but if you are using the realtime gauge
> data extension to drive your Steel Series gauges and use the HTTP POST or
> rsync to transfer gauge-data.txt to you server, the change to SFTP will
> have no impact on your gauges. The HTTP POST and rsync capabilities used by
> the realtime gauge data extension is completely independent of any
> transfers performed by the StdReport service.
>
> Gary
>
> On Thursday 28 December 2023 at 09:07:30 UTC+10 Steve2Q wrote:
>
>> 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/raoMHaewaOY/unsubscribe.
> To unsubscribe from this group and all its topics, 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/3fa2d55b-6062-4916-9eb4-631f4b887fd9n%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/CAH0o-any6uTKNo%2BO_Af7_RjNDjW-4hE%2BzKtKTmGAUMgg4MvjAw%40mail.gmail.com.


Re: [weewx-user] Re: FTP failure

2022-09-21 Thread Steve Meltz
Thanks Gary...no worries. I just wanted to update you with my findings. I
certainly don't expect real time responses!
Steve
ps..I removed the old gauge-data.txt files from the server, and they are
not being generated (or the server isn't allowing them to upload).


On Wed, Sep 21, 2022 at 8:33 PM gjr80  wrote:

> Steve,
>
> Apologies, have been tied up the last two days. I don't think there is any
> need to re-installl anything, everything is there it's just a case of
> working out why the php script is not accepting and saving gauge-data.txt and
> perhaps tweaking a SteelSeries Gauges setting or two. I also glimpsed a
> javascript error the other night. I have a few things I want to try today,
> let me work through them and I will get back to you.
>
> Gary
> On Thursday, 22 September 2022 at 01:32:16 UTC+10 Steve2Q wrote:
>
>> 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 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/6d79fe05-b536-4234-a70c-5a74ebe4abf7n%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/CAH0o-anKrHgZ0rMM9C6mXEZvkdxrHrJqxfokccXby49r_ut-YQ%40mail.gmail.com.


Re: [weewx-user] Re: FTP failure

2022-09-19 Thread Steve Meltz
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/CAH0o-ak0%3D-9-hLGMpBwASTuTWQonXn-WJw97oTE%2Bq-9MXLm5XA%40mail.gmail.com.


Re: [weewx-user] Re: FTP failure

2022-09-18 Thread Steve Meltz
Gary..I will check for the .php file later today...thanks
Vince..I intend on changing to Rsync once I get the gauges working again.
I'm sure I will have some problems when I do it,  and don't want to try and
fix 2 problems at the same time.

On Sat, Sep 17, 2022, 10:13 PM vince  wrote:

> You really should consider switching to rsync as your uploader.   It will
> go through all those files in a second or two total if you have any kind of
> reasonable internet bandwidth.   All you need to do is some relatively
> simple ssh setup so you can do a password-less ssh to your internet site.
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/b9f21a2a-6a77-4cdf-bce9-d009f6623b8an%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/CAH0o-akG%3Df6K4suRMWCYYP98rYfiRQJFt2c7EsJu_Ch5eubcBw%40mail.gmail.com.


Re: [weewx-user] Re: alarm module - multiple alarms

2020-09-19 Thread Steve Meltz
Thats why I did not do the upgrade. 3.8.2 does everything I want, plus I
did not want my Steel Guages to be broken.

On Sat, Sep 19, 2020, 3:57 AM pligg...@gmail.com 
wrote:

>
> Tried this again today but it doesn't send email. I see the expression
> true in the logs. Has anyone got some idea why the old alarm.py works fine
> but not the "new" alarm_multi.py?
> First tried on weewx 3.9.1 and now on 4.0.0 but still the same result.
> //Mikael
> tisdag 12 mars 2019 kl. 09:06:50 UTC+1 skrev pligg...@gmail.com:
>
>> Hi!
>>
>> Does anyone got this to work on weewx 3.9.1?
>>
>> I had the original alarm.py working, but this one doesn't send email. I
>> get the alarm expression true in the log but it never sends an email.
>> I double checked the credentials and the smtp settings.
>>
>> /Mikael
>>
>>
>> Den onsdag 1 maj 2013 kl. 19:06:00 UTC+2 skrev William Phelps:
>>>
>>> I modified the example "alarm.py" to support multiple alarms.  The
>>> entries in weewx.conf now look like this:
>>>
>>> [Alarm]
>>>   time_wait = 3600
>>>   smtp_host = smtp.mymailserver.com
>>>   smtp_user = myusername
>>>   smtp_password = mypassword
>>>   mailto = au...@adomain.com, anoth...@someplace.com
>>>   from = m...@mydomain.com
>>>
>>>   count = 2
>>>   expression.0 = "outTemp < 40.0"
>>>   subject.0 = "Alarm message from weewx - Low temperature!"
>>>   expression.1 = "outTemp > 90.0"
>>>   subject.1 = "Alarm message from weewx- High temperature!"
>>>
>>> I've attached a zip of alarm.py
>>>
>>> It's still "static" - to change the alarms, you have to restart weewx
>>> after editing weewx.conf.  I thought about having alarm.py re-fetch the
>>> config data but that seems like it might be a performance hit since the
>>> code is attached to the NEW_ARCHIVE_RECORD event.  Maybe attach another
>>> event to re-read the config data?
>>>
>>> William
>>>
>> --
> 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/-IGQC3CpXAE/unsubscribe.
> To unsubscribe from this group and all its topics, 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/a17bef02-59e7-4429-a38c-064ae7379ea8n%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/CAH0o-a%3DX_HRLJ8fZ9Z0OWmWBn0qBB0%2BA2Yrh75RbRXd7H7XXow%40mail.gmail.com.


Re: [weewx-user] Webcam Streaming

2019-12-25 Thread Steve Meltz
Still no luck..I am continuing my research.

On Tue, Dec 24, 2019, 11:17 AM p q  wrote:

> can you get to the webcam URL from outside the firewall?
>
> On Tue, Dec 24, 2019 at 6:37 AM Steve2Q  wrote:
>
>> 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
>> 
>> .
>>
>
>
> --
> Peter Quinn
> (415)794-2264
>
> --
> 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/oNqNUgwdIR0/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAA1SM21415y_xeFCrxrsj%3DMEGUTFkTABoZO3bTQtJr9Dtr%3DdRg%40mail.gmail.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/CAH0o-akrpTyvBPbQm1OdQLUTRQVZKD2u6_BQDTxiCZi9iVG3pA%40mail.gmail.com.


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

2019-07-18 Thread Steve Meltz
Gary..yes..I believe you are correct, but there is something kind of
nagging at me, so I am going to do a controlled test (ie writing down what
I do) rather than trying to remember the steps I go through.

On Thu, Jul 18, 2019, 11:40 AM gjr80  wrote:

> Hi Steve,
>
> Haven’t we been round this buoy before? I thought you had previously
> disabled all things SteelSeries and it had more or less no effect on the
> problem. I thought the issue/leak had been nailed down to the driver(can’t
> link to a post on this device but on 6 Feb Tom said):
>
> Well, that's pretty definitive: the problem is in the driver, or its
> underlying libraries.
> Can you check what version of pyserial you are using:
> python -c "import serial; print serial.VERSION"
> I get "3.4"
>
> -tk
>
> Disabling all things SteelSeries will certainly save some memory (all
> extensions will use some) but I don’t see it having any great effect on
> your system, you are still going to run out of memory albeit a little while
> (minutes, hours, day) later.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, 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/44c48951-8b76-40e8-aa90-cf814edcc82a%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAH0o-amMX5KOs5wv9Kmb6O72RyTNAQx4dUieANrKERSXQx_K2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-07-18 Thread Steve Meltz
Peter..yes, Weewx is running when I backup.  I have it scheduled to run on
an odd minute once/day.  Archiving runs on the even minute.

-- 
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/CAH0o-akSQPUid1NVx97PUskKyS0puj%2BVhDZ3VXoWRdE96i9iPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-05-28 Thread Steve Meltz
Thanks Gary...as usual, your fix was spot on!

Steve

On Mon, May 27, 2019 at 11:19 PM gjr80  wrote:

> Steve,
>
> When I look at your gauges just now they are not working, the clue is in
> the scroller message - 'error: Not Found'. This means the gauges.js
> script cannot find gauge-data.txt. I suppose it is possible that when we
> uncommented the SteelSeries skin a few days ago to get your plots back that
> caused your web server gauges.js to be overwritten with the default
> gauges.js (or a version that is not up to date with your latest setup).
> Though if this were the case/cause I would have expected the gauges to stop
> straight away and I remember seeing them working properly after your plots
> came back. No matter, this is clearly a case of gauges.js not finding
> gauge-data.txt. I can see that gauge-data.txt is being updated on your
> web server every few seconds so rtgd is doing its job. The file is located
> in photokinetics.org/Weather/. To fix it, on your WeeWX machine, edit
> skins/SteelSeries/scripts/gauges.js and find the realTimeUrlWeewx setting
> at about line 74, it probably looks like:
>
> realTimeUrlWeewx : 'gauge-data.txt', // *** WeeWX Users: 
> Change to your location of the gauge data file **
>
>
> Try changing the setting to '../gauge-data.txt'. Save the file and the
> restart WeeWX. The next report cycle should seethe modified gauges.js
> uploaded to your server and hopefully the gauges will come on line.
>
> Gary
>
> On Tuesday, 28 May 2019 10:25:26 UTC+10, Steve2Q wrote:
>>
>> 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 a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, 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/4b1de92a-fc25-4050-b692-d9dfb54033b2%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAH0o-anu2iS_WCtstwhAq%2BUFDNBPWN1PyWDWH0s-eDxCc0VbQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Re: [weewx-user] Steel Guages and driver update question

2019-04-10 Thread Steve Meltz
Tom..Thank you! I am not sure why my 1st attempt at using my new API didn't
work. Maybe because I used my lat/long instead of my PWS ID? Anyway, you
are correct that WU is much more detailed than DS. Now to change back the
HTML file so the bottom left attributes are correct.

Steve

On Wed, Apr 10, 2019 at 1:05 PM Tom Robertson  wrote:

> Steve,
> I assume you are using the latest RTGD version 0.3.7 released 7 days ago.
> I found the WU forecast to be more detailed than the DarkSky forecast.
>
> This is what my weewx.conf looks like under the [RealtimeGaugeData]
> [[WU]].  It is slightly different from before.  I believe my API key is
> around 32 characters now.  Gary told me to use the PWS name instead of the
> coordinates for the location.
>
> [[WU]]
> api_key =
> units = e
> language = en-US
> interval = 1800
> api_lockout_period = 60
> max_tries = 3
> location = pws:KALALBER13
> debug = 0
>
> -
> Tom
>
> On Apr 10, 2019, at 10:14 AM, Steve Meltz  wrote:
>
> Hi Tom. When I saw that the key I had was no longer working, I went
> through the steps as stated in your email to generate a new key (I have
> been registered with WU as a PWS for several years). When I plugged this
> new key into the rtgd configuration,  I still had no info in the scroller.
> Maybe I had to wait longer? For now, DarkSky is working and I will see how
> accurate it is. I may go back to giving WU a try.
>
> Thans, Steve
>
> On Wed, Apr 10, 2019, 10:55 AM Tom Robertson  wrote:
>
>> Hi Steve,
>> If you supply data to WU then you can get a new API from them. Gary has
>> update RTGD to use the new API and properly display the forecast on the LED
>> ticker.  Here are the instructions for getting a new key:
>>
>> First, if you are not logged into Weather Underground, you will need to
>> do so.  You must log in using the same email address as the PWS.  To do
>> that, go to wunderground.com, click on “my profile”, click on “member
>> settings”, and log in if you are not already.
>>
>> Then navigate on the screen to My Profile => Member Settings => API Keys.
>>
>>
>> If you have a PWS registered, you will see a blank box below “Your API
>> keys”.  Agree to the new Terms and Conditions by clicking in the small box
>> next to “I agree”, click on the blue “GENERATE” box, and your new key will
>> be created.
>>
>> The key will be masked on the screen, but you can use the “Show” link
>> below the box to see it.  There is also another blue box, which, when
>> clicked, copies the key to your clipboard.  Also on this page is a link to
>> the documentation.
>>
>> If you do not have a PWS registered to your email address, you will not
>> be able to get a key.
>>
>>
>>
>> -
>> Tom
>>
>> On Apr 10, 2019, at 9:39 AM, Steve Meltz  wrote:
>>
>> G'day Gary! Its been a while. As you know I was having a memory leak
>> problem which seems to be coming from the driver used with my Ultimeter.
>> Although the memory still increases, it is much less using an old version
>> rather than the one included with the Weewx update. Anyway, in trying to
>> track things down, I uninstalled Steel Gauges and RTGD. I spent several
>> hours yesterday getting them to work, but I found the help included in the
>> rtgd.py file very useful, so thank you. I think you may have to remove
>> the ability to use the Wundeground API, however. Mine no longer works, and
>> the WU website states that they no longer support personal weather station
>> API's (which I think is a terrible corporate decision..we supply a lot of
>> their data). I signed up for DarkSky and they allow free use of an API as
>> long as no more than 1000 requests/day are made. I am now watching memory
>> growth, and my next experiment may be (I saw how to do this somewhere on
>> the net) to put in some code which will stop/start Weewx when the memory
>> use exceeds some user defined level. More fun!
>>
>> Oh, as part of the re installation of the Gauges, I commented out the
>> Steel Gauges section in weewx.conf, and everything seems to be working just
>> fine. Any reason to un-comment it?
>>
>> Cheers, Steve
>>
>> On Wed, May 23, 2018 at 7:20 PM gjr80  wrote:
>> On Thursday, 24 May 2018 08:37:50 UTC+10, Steve2Q wrote:
>> Gary..its working now!! Thank you. I plugged in my zipcode,
>>
>> That's good to hear, ended up taking a bit longer than we thought but got
>> there in the end. I need to make sure I capture all of this in the rtgd
>> wiki.
>>
>> and also added units = us as it appears to default to metric.
>>

Re: [weewx-user] Re: Steel Guages and driver update question

2019-04-10 Thread Steve Meltz
Hi Tom. When I saw that the key I had was no longer working, I went through
the steps as stated in your email to generate a new key (I have been
registered with WU as a PWS for several years). When I plugged this new key
into the rtgd configuration,  I still had no info in the scroller. Maybe I
had to wait longer? For now, DarkSky is working and I will see how accurate
it is. I may go back to giving WU a try.

Thans, Steve

On Wed, Apr 10, 2019, 10:55 AM Tom Robertson  wrote:

> Hi Steve,
> If you supply data to WU then you can get a new API from them. Gary has
> update RTGD to use the new API and properly display the forecast on the LED
> ticker.  Here are the instructions for getting a new key:
>
> First, if you are not logged into Weather Underground, you will need to do
> so.  You must log in using the same email address as the PWS.  To do
> that, go to wunderground.com, click on “my profile”, click on “member
> settings”, and log in if you are not already.
>
> Then navigate on the screen to My Profile => Member Settings => API Keys.
>
> If you have a PWS registered, you will see a blank box below “Your API
> keys”.  Agree to the new Terms and Conditions by clicking in the small box
> next to “I agree”, click on the blue “GENERATE” box, and your new key will
> be created.
>
> The key will be masked on the screen, but you can use the “Show” link
> below the box to see it.  There is also another blue box, which, when
> clicked, copies the key to your clipboard.  Also on this page is a link to
> the documentation.
>
> If you do not have a PWS registered to your email address, you will not be
> able to get a key.
>
>
>
> -
> Tom
>
> On Apr 10, 2019, at 9:39 AM, Steve Meltz  wrote:
>
> G'day Gary! Its been a while. As you know I was having a memory leak
> problem which seems to be coming from the driver used with my Ultimeter.
> Although the memory still increases, it is much less using an old version
> rather than the one included with the Weewx update. Anyway, in trying to
> track things down, I uninstalled Steel Gauges and RTGD. I spent several
> hours yesterday getting them to work, but I found the help included in the
> rtgd.py file very useful, so thank you. I think you may have to remove
> the ability to use the Wundeground API, however. Mine no longer works, and
> the WU website states that they no longer support personal weather station
> API's (which I think is a terrible corporate decision..we supply a lot of
> their data). I signed up for DarkSky and they allow free use of an API as
> long as no more than 1000 requests/day are made. I am now watching memory
> growth, and my next experiment may be (I saw how to do this somewhere on
> the net) to put in some code which will stop/start Weewx when the memory
> use exceeds some user defined level. More fun!
>
> Oh, as part of the re installation of the Gauges, I commented out the
> Steel Gauges section in weewx.conf, and everything seems to be working just
> fine. Any reason to un-comment it?
>
> Cheers, Steve
>
> On Wed, May 23, 2018 at 7:20 PM gjr80  wrote:
> On Thursday, 24 May 2018 08:37:50 UTC+10, Steve2Q wrote:
> Gary..its working now!! Thank you. I plugged in my zipcode,
>
> That's good to hear, ended up taking a bit longer than we thought but got
> there in the end. I need to make sure I capture all of this in the rtgd
> wiki.
>
> and also added units = us as it appears to default to metric.
>
> Sorry, the price you pay I guess for someone from Australia writing the
> code :)
>
> Now let see how long WU keeps sending out the data!
>
> Yes, will be interesting to see. I have already started work on sourcing
> the forecast text from elsewhere. Would ideally like to support our own
> Bureau of Meteorology (not much use for those outside of Australia though)
> but unfortunately BoM has very restrictive copyright terms. Plenty of other
> free sources available though.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/reHbE13IoyU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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.
>
>
> --
> You received this message because you are subscri

Re: [weewx-user] Re: Steel Guages and driver update question

2019-04-10 Thread Steve Meltz
G'day Gary! Its been a while. As you know I was having a memory leak
problem which seems to be coming from the driver used with my Ultimeter.
Although the memory still increases, it is much less using an old version
rather than the one included with the Weewx update. Anyway, in trying to
track things down, I uninstalled Steel Gauges and RTGD. I spent several
hours yesterday getting them to work, but I found the help included in the
rtgd.py file very useful, so thank you. I think you may have to remove the
ability to use the Wundeground API, however. Mine no longer works, and the
WU website states that they no longer support personal weather station
API's (which I think is a terrible corporate decision..we supply a lot of
their data). I signed up for DarkSky and they allow free use of an API as
long as no more than 1000 requests/day are made. I am now watching memory
growth, and my next experiment may be (I saw how to do this somewhere on
the net) to put in some code which will stop/start Weewx when the memory
use exceeds some user defined level. More fun!

Oh, as part of the re installation of the Gauges, I commented out the Steel
Gauges section in weewx.conf, and everything seems to be working just fine.
Any reason to un-comment it?

Cheers, Steve

On Wed, May 23, 2018 at 7:20 PM gjr80  wrote:

> On Thursday, 24 May 2018 08:37:50 UTC+10, Steve2Q wrote:
>>
>> Gary..its working now!! Thank you. I plugged in my zipcode,
>>
>
> That's good to hear, ended up taking a bit longer than we thought but got
> there in the end. I need to make sure I capture all of this in the rtgd
> wiki.
>
>
>> and also added units = us as it appears to default to metric.
>>
>
> Sorry, the price you pay I guess for someone from Australia writing the
> code :)
>
>
>> Now let see how long WU keeps sending out the data!
>>
>
> Yes, will be interesting to see. I have already started work on sourcing
> the forecast text from elsewhere. Would ideally like to support our own
> Bureau of Meteorology (not much use for those outside of Australia though)
> but unfortunately BoM has very restrictive copyright terms. Plenty of other
> free sources available though.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/reHbE13IoyU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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-04 Thread Steve Meltz
Kevin..thats what I am doing now until a resolution is found.

On Sun, Feb 3, 2019 at 9:01 AM Kevin Hedgepeth  wrote:

> I ran into a problem with my pi randomly shutting down. I set CRON to
> restart my pi every night and have not had a problem since.  The only
> adverse effect is that the bragging comment about how long ur station has
> been up gets reset.
>
> --
> 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/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Steel Gauges question

2018-10-25 Thread Steve Meltz
No worries! Have a pleasant journey wherever you are heading. I'll be in
and out all weekend..I'm busier now that i am retired than when I was
working.

On Thu, Oct 25, 2018, 11:26 PM gjr80  wrote:

> Thinking just now I suspect this is because we disabled the SteelSeries
> Gauges extension. Am out for the rest of the day so going to have to leave
> this for now. Have a long train ride so plenty of time to give it some more
> thought and post a solution, probably a tomorrow job for you though :)
>
> Gary
>
> On Friday, 26 October 2018 13:20:18 UTC+10, Steve2Q wrote:
>>
>> The timeUTC is changing so the loops are working. Now to find why the
>> background graphs stopped. Is that a problem in the line
>>
>>  imgPathURL : '',  // *** Change this to the relative
>> path for your 'Trend' graph images
>>
>> should '', be changed to '/ss/',  or something like that? And now I
>> understand why my changes to gauges.js weren't' sticking.
>>
>>
>> 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/BNTMCfeC30E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Steel Gauges question

2018-10-25 Thread Steve Meltz
I uploaded the .php file to the web server. Since this afternoon, it now
appears that the background images stopped uploading to the web server at
2:15 pm..and I thought it was corrected. I can only find .png files that
were uploaded to that time. I will wait till tomorrow morning to see if
adding the .php file has worked for the loops..then try to find where the
images are.

Steve

On Thu, Oct 25, 2018, 9:35 PM gjr80  wrote:

> Yep, those 3 lines are necessary for http post to work. You don't seem to
> to have the file post_gauge-data.php on your web server - this file
> accepts the http post and saves the loop based gauge-data.txt to your web
> server. You can download it from the rtgd releases page
> . It should
> be a simple case of copying it to the Weather directory on your web
> server.
>
> Gary
>
> On Friday, 26 October 2018 11:02:44 UTC+10, Steve2Q wrote:
>>
>> Gary..here is the [RealTimeGaugeData] Stanza from an old weewx.conf file:
>> I will add that the first three lines were not in my present weewx.conf, so
>> I added them but it still is not doing the loop updates.
>>
>> [RealtimeGaugeData]
>> remote_server_url =
>> http://photokinetics.org/Weather/post_gauge-data.php
>> timeout = 2
>> response_text = success
>> date_format = %Y.%m.%d %H:%M
>> rtgd_path = /home/weewx/public_html
>>[[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
>> [[WU]]
>> api_key = xx
>> enable = true
>> location =xx
>> units = us
>> [[Groups]]
>> group_altitude = foot
>> group_pressure = hPa
>> group_rain = mm
>> group_speed = km_per_hour
>> group_temperature = degree_C
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/BNTMCfeC30E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Steel Gauges question

2018-10-25 Thread Steve Meltz
I just checked the weeWX machine, and gauge-data.txt is updating every 2
seconds. As for the windchill and heat index, The windchill used to read 0
when either calculation was not met. It now reads 32 F as you said. I think
(and this is from a previous post from you) the behavior may be different
now as I made the change to wxformulas before installing the gauges.
Previouslys, I may have made that change after the installation, but who
remembers? It is fine the way it is. Just have to get the 2 second loops
working again.

Steve

On Thu, Oct 25, 2018 at 5:46 PM gjr80  wrote:

> Steve,
>
> A few thoughts on some of your remaining gauges issues:
>
> 1. Gauges are only updating at my archive interval of 2 minutes instead of
>> my 2 second loop interval,
>>
>
> This could be a case of gauge-data.txt being generated every loop packet
> but only being uploaded to your web server every archive period. You can
> tell what is happening by observing gauge-data.txt on your weeWX machine
> (not the web server). If it is being generated every 2 seconds then the
> issue is one of uploading to the web server, if the file is only generated
> every archive period then the issue is within rtgd. I'm inclined to think
> it is the former.
>
> 2. The windchill and heat index buttons aren't' working the way they did
>> before (but this is not very important), and
>>
>
> Can you elaborate on this? Do you mean the value displayed on the gauges
> when windchill or heatindex is None? If so the gauges will display 0 in the
> corresponding METRIC units for the observation shown on the gauge, ie 0C
> for anything that is a 'temperature'. So when displaying F this will be 32.
> This has been the behaviours since v0.1.2 in January 2017. Of course if you
> mean something else
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/BNTMCfeC30E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Steel Gauges question

2018-10-23 Thread Steve Meltz
Thank you Gary..this should not be at the top of your to do list...

On Tue, Oct 23, 2018 at 9:50 PM gjr80  wrote:

> Ok, I can see the same problem still exists so it would seem it is with
> the extension and not rtgd. I can access your gauge-data.txt and gauges.js
> so I should be able to track down the failure mechanism and hopefully the
> root cause. Will get back to you tomorrow your time.
>
> Gary
>
> On Wednesday, 24 October 2018 11:39:22 UTC+10, Steve2Q wrote:
>>
>> Hi Gary. Here is what I did. Uninstalled rtgd using wee_extension. Then
>> did the same with steelseries-2.6.3. Stopped/start Weewx.  I then went
>> through /weewx looking for any folders; I found and removed weewx/skins/ss
>> and weewx/public_html/ss. I also removed any directories from my web
>> server. I then reinstalled steelseries-2.6.3, and that is where I am right
>> now...no changes made to any files at this point. One thing is the two /ss
>> folders; one under /skins and the other under /public_html. There is only
>> on gauge-data.txt file and that is in /public_html/ss
>>
>> Awaiting further instructions!!
>>
>> 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/BNTMCfeC30E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Steel Gauges question

2018-10-20 Thread Steve Meltz
Gary..if you switch to Fahrenheit, look at the scale on the gauges:


[image: image.png]

On Sat, Oct 20, 2018 at 10:01 PM gjr80  wrote:

> Steve,
>
> Your post highlights two issues; the temperature gauge and windchill. When
> I look at your site just now the temperature gauge is displaying 27.1C for
> both inside and outside temperature. Other than both obs being the same
> value I see nothing unusual. Changing between inside and outside works
> fine. If I look at your gauge-data.txt temp and intemp are both 27.1. The
> mouse over plots look ok and appear consistent with the gauge displays at
> the moment. Have I missed something obvious, or is the a different meaning
> to 'wonky' over your way :)
>
> Wind chill wise your gauge-data.txt is showing N/A for windchill and the
> gauges are displaying that as -20C. So the issue is with the windchill
> value in gauge-data.txt. The use of .raw or .formatted is of no
> consequence, .raw will display windchill with a whole lot of decimal
> places, .formatted will format windchill as per skin.conf/weewx.conf
> (typically 1 decimal place) without a unit label. If I look at your main
> page I see windchill is 'Undefined: T>50 F or V<=3 mph' (would seem to tie
> in with N/A in gauge-data.txt) so I suspect the SteelSeries Gauges
> extension is not the issue. I am guessing the narrative about T and V is
> just some formatting you have added to index.html.tmpl or is there
> something else you have changed re windchill?
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/BNTMCfeC30E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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] Second crash after 11 days

2018-10-04 Thread Steve Meltz
Gary..attached is my weewx.conf file (called weewxa.conf just to keep it
separated in my backup folder)

On Thu, Oct 4, 2018 at 9:44 PM gjr80  wrote:

> I really don't think this is an issue with any cron jobs, certainly not a
> backup script that runs independently of WeeWX at 2359 daily. I guess we
> have tried winding back the services being run so that it was easier to
> re-enable them later but the issue has remained. I think the next step will
> be to go back to a plain vanilla install and work our way up from a known
> good install.
>
> But first, I don't seem to be able to find a weewx.conf anywhere from you
> Steve. Could you post a sanitised weewx,conf, with disabled services is
> fine?
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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.


weewxa.conf
Description: Binary data


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

2018-10-04 Thread Steve Meltz
Vince..this is the output of sudo ls -la /var/spool/cron/crontabs

total 16
drwx-wx--T 2 root crontab 4096 Oct  4 16:52 .
drwxr-xr-x 3 root root4096 Dec 31  1969 ..
-rw--- 1 pi   crontab 1151 Sep  5 09:35 pi
-rw--- 1 root crontab 1090 May 14  2015 root

This is the output of crontab -e

# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#

I am following your suggestion of editing the weeewxbackup process and I
will let you know what happens.

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] Second crash after 11 days

2018-10-04 Thread Steve Meltz
Gary and Vince After sending my previous post, I started reading some more
about memory leaks. It appears that cron jobs (if poorly coded) can
sometimes be the cause. With that in mind, I am attaching both the cron,
and the process it  starts so maybe you can pick up something. I am also
having a problem with the crontab; if I issue the command crontab -l  I get
the following at the end:

The cron:
# m h  dom mon dow   command
MAILTO=x...@gmail.com
59 23 * * * /home/bin/./weewxbackup

I want to edit this crontab to stop running the following process, but when
I issue crontab -e I get a generic crontab, not the one I wish to edit.


The process (weewxbackup in /home/bin)
#!/bin/bash
#This script zips and backs up to web site
#Following line added to prevent "TERM invronment variable not set" error
export TERM=${TERM:-dumb}
clear

echo "Backing up weewx.sdb"

cd /home/weewx/archive
sudo cp weewx.sdb weewxpi2.cpy
sudo gzip weewxpi2.cpy
sudo lftp -e 'put /home/weewx/archive/weewxpi2.cpy.gz; bye' -u x,
xxxftp.xxxabcd.org
sudo rm weewxpi2.cpy.gz

echo "Done - weewxpi2.sdb zipped and uploaded to xxxabcd.org"

-- 
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] Second crash after 11 days

2018-10-04 Thread Steve Meltz
Thanks Gary. Is it possible that a small cron i have set up could do this?
Every day at 0001 i have the archive.sdb zipped and uploaded to a folder on
my web site. Other than that is there any tools available that i can use to
track down the leak?
Steve

On Thu, Oct 4, 2018, 9:23 AM gjr80  wrote:

> Steve,
>
> Looks to me like you are still going to crash, just a bit later than
> previous. In fact if you were able to look at your previous plots when you
> had a crash at 11 days xx hours, you could probably make a pretty good
> guesstimate as to when your system will crash; it will be when memory usage
> hits that magic value. I think you need to keep looking, those memory plots
> should be near a flat line in a matter of hours after WeeWX startup. There
> is not much point adding things back until you get that flat line.
>
> Gary
>
> On Thursday, 4 October 2018 00:58:46 UTC+10, Steve2Q wrote:
>>
>> Following up on this problem. I removed these two items from [Engine]
>> [Services] report services:  user.alarm.MyAlarm   and
>> user.rtgd.RealtimeGaugeData
>>
>> Weewx has now been running for 13 days 20 hours with the Pi running for
>> 19 days 13 hours. Before I removed the two items Weewx was crashing at 11
>> days xx hours consistently.
>>
>> It does appear that that memory usage is still going up, but slower (I
>> don't know how to interpret the numbers from pmon,however). Attached are
>> the latest charts from pmon. Does it look like the system is going to go
>> down again, just at a later date, or is this normal behavior? I am planning
>> on adding the removed report services one at a time to see if either is the
>> culprit in accelerating the memory usage, but I want to wait until the
>> experts weigh in.
>>
>> Thanks, 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/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Extension uninstall says "unable to find extension"

2018-09-19 Thread Steve Meltz
i meant usr/share/weewx directory


On Wed, Sep 19, 2018 at 1:29 PM Steve Meltz  wrote:

> There is no /usr/weewx directory
>
>
> On Wed, Sep 19, 2018 at 1:26 PM mwall  wrote:
>
>> On Wednesday, September 19, 2018 at 12:53:03 PM UTC-4, Steve2Q wrote:
>>>
>>>
>>> Where should I look for any "remnants"??
>>>
>>
>> please do this:
>>
>> ls -lR /usr/share/weewx/user/installer
>>
>> (i made some assumptions in my previous posting, but it would be better
>> to see exactly what is happening on your system before jumping to my
>> conclusions)
>>
>>
>> --
>> 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/NAGTH__q39I/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> weewx-user+unsubscr...@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: Extension uninstall says "unable to find extension"

2018-09-19 Thread Steve Meltz
There is no /usr/weewx directory


On Wed, Sep 19, 2018 at 1:26 PM mwall  wrote:

> On Wednesday, September 19, 2018 at 12:53:03 PM UTC-4, Steve2Q wrote:
>>
>>
>> Where should I look for any "remnants"??
>>
>
> please do this:
>
> ls -lR /usr/share/weewx/user/installer
>
> (i made some assumptions in my previous posting, but it would be better to
> see exactly what is happening on your system before jumping to my
> conclusions)
>
>
> --
> 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/NAGTH__q39I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Extension uninstall says "unable to find extension"

2018-09-19 Thread Steve Meltz
Thank you, Matthew! That did the trick.

Steve

On Wed, Sep 19, 2018 at 1:23 PM mwall  wrote:

>
>
> On Wednesday, September 19, 2018 at 12:53:03 PM UTC-4, Steve2Q wrote:
>>
>>
>> Where should I look for any "remnants"??
>>
>
> wee_extension does its housekeeping in the directory 'installer' in the
> weewx user directory.
>
> at some point you must have removed some of the housekeeping files that
> wee_extension installed.  to fix it, remove the rest of the housekeeping
> files.
>
> wee_extension will create the following in the weewx user directory
> (typically /home/weewx/bin/user or /usr/share/weewx/user, depending on how
> weewx itself was installed).
>
> user/installer/
> user/installer/EXTENSION_NAME/
> user/installer/EXTENSION_NAME/install.py
>
> you probably deleted user/installer/as3935/install.py but did not delete
> the directory user/installer/as3935
>
> m
>
> --
> 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/NAGTH__q39I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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] Second crash after 11 days

2018-09-12 Thread Steve Meltz
Gary, I was thinking the same thing. None of the actions directly related
to Weewx ever became erratic, so there must be something else involved.

Steve

On Tue, Sep 11, 2018 at 10:41 PM gjr80  wrote:

> 2 second update should not be too much for a RPi2, though of course it
> depends on what other system load there is. If it were a problem I would
> expect you would be seeing other symptoms (high CPU load, SteelSeries
> gauges updates being missed/erratic, long execution times for reports)
> rather than just memory usage ramping up.
>
> Gary
>
> On Wednesday, 12 September 2018 04:34:24 UTC+10, vince wrote:
>>
>> On Tuesday, September 11, 2018 at 11:25:20 AM UTC-7, Steve2Q wrote:
>>>
>>> Not sure if it is relevant but I should add that my archive interval is
>>> 2 minutes, and when I have Steel Gauges running my update time is 2 seconds
>>> (the loop time from my Ultimeter).
>>>
>>>
>>>
>> Hmmm..I guess I'd suggest a 2-sec update time isn't going to be too
>> easy on the pi, those things aren't particularly fast to say the least
>>
>> Leave things as-is and get a baseline of how it behaves as-is.
>>
>>
>>
> --
> 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/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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] Second crash after 11 days

2018-09-09 Thread Steve Meltz
Ok..sounds like a project for the weekend..or after the incoming bad
weather..I dont want to miss anything!

On Sun, Sep 9, 2018, 4:35 PM vince  wrote:

> On Sunday, September 9, 2018 at 12:09:32 PM UTC-7, Steve2Q wrote:
>>
>> Vince: here are the extensions that are running (ignore as3935..I removed
>> it a long time ago but for some reason wee_extension --list keeps showing
>> it there).
>>
>
> Again - if you have an unstable system, the best way to get it to 'be'
> stable is to run it as minimally as possible first.  Then gradually add
> things.
>
> Turn everything off other than the raspi os and the most minimal weewx
> possible.  All your cron jobs.  All the software you added that you run at
> boot. Everything.  Run the bare minimum to get things baselined as stable.
>
>
> --
> 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/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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] Second crash after 11 days

2018-09-05 Thread Steve Meltz
Ended up being a syntax error. Thanks again, Vince

On Wed, Sep 5, 2018, 12:56 PM vince  wrote:

> On Wednesday, September 5, 2018 at 9:51:02 AM UTC-7, Steve2Q wrote:
>>
>> Thanks, Vince. I am going to do the manual install as I could not get the
>> extension installer to work. Maybe syntax error or my just not
>> understanding how it works in this case..I have used the installer
>> successfully in the past.
>>
>>>
>>>
> Then edit away and restart weewx.  Make sure you have debug=1 (at least
> initially) just in case you typo something.
>
> --
> 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/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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] Second crash after 11 days

2018-09-05 Thread Steve Meltz
Thanks, Vince. I am going to do the manual install as I could not get the
extension installer to work. Maybe syntax error or my just not
understanding how it works in this case..I have used the installer
successfully in the past.

On Wed, Sep 5, 2018, 12:46 PM vince  wrote:

> On Wednesday, September 5, 2018 at 8:31:30 AM UTC-7, Steve2Q wrote:
>>
>> 1. I am running Weewx 3.8.0. In /examples/pmon the changelog says the
>> included version is 0.4 date 24 April 2016. Is this the most up to date
>> version?
>>
>>
> The git repo says the last change was in May this year.  So yes.
>
>
>> 2. Following the manual install instructions at
>> https://github.com/weewx/weewx/tree/master/examples/pmon
>> 
>> I have copied pmon.py and the /skins to the recommended locations. The next
>> step is adding [ProcessMonitor], Is there a specific place that I should
>> add this stanza in weewx.conf?
>>
>
> It's an extension.  The extension installer should add a template stanza
> for you.
>
> If you want to work hard and do it manually then you need to follow the
> many multiple steps in the docs there.  No, there's no place special in
> weewx.conf - some folks put it at the bottom to be able to find it, others
> don't.  Weewx doesn't care.
>
>
>
>> 3. Is pmon a process that can run all the time? If it does indeed find a
>> memory problem and I correct it, is there a way to turn off pmon.
>>
>>
> It's an extension.  If you want to turn it off use the extension installer
> to uninstall it.
>
> If you manually install it, then you need to manually remove stuff similar
> to how you added it.
>
>
> --
> 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/VehicK_KNso/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Steel Guages and driver update question

2018-05-18 Thread Steve Meltz
Well, some of the problem may have been typos on my end. I know just enough
about Linux to be dangerous. While i have no problem with weewx and have
nothing but kudos for you, Tom, Andrew, Vince and others that spend so much
time helping, I always thought it would be nice if there was some
"cookbook" descriptions on how to do certain things. Weewx was never meant
to be plug-and-play, but sometimes a "do A, then B, then C" approach is
useful. Just MHO.

Again..thanks..i will try to implement the WU portion later. Kind of sucks
that they take our data and then turn around and ask use to pay to use it.


Steve

On Fri, May 18, 2018, 3:46 PM gjr80  wrote:

> Yes, appears to be working. Whilst upgrading the SteelSeries Gauges
> themselves threw the spanner in the works this time, upgrading the Gauges
> and rtgd should haven far easier than it was, will look at that. Re WU, if
> you have an API key  it will work, for the time being, if you don't have an
> API key it appears you can no longer get one hence no WU sourced forecast
> data. I will look at supporting other forecast sources in rtgd in the
> future.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/reHbE13IoyU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Steel Guages and driver update question

2018-05-14 Thread Steve Meltz
Gary..thanks. I will try tomorrow (almost midnight here). I may have left
off the = sign.  I didn't know about the "--dry run" switch..I'll give that
a go first.

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: Steel Guages and driver update question

2018-05-14 Thread Steve Meltz
No problem, Gary. Once we, or should I say you, get this fixed..I'll be a
bit apprehensive about updating Weewx itself. But, I'll probably do it.

On Mon, May 14, 2018, 8:12 PM gjr80  wrote:

> Just looked at the file myself and it is valid JSON so am not sure what
> the gauges are choking on. Am out at the moment and need to get on my
> desktop rather than this iPad. Give us an hour or two and I will be home.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/reHbE13IoyU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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: Graphs not always visible, skips archive interval, no data loss

2018-03-07 Thread Steve Meltz
There was a community wide internet problem today; that may have been the
problem. Each time I checked this afternoon it has been ok.

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: Problem displaying forecasts

2017-06-30 Thread Steve Meltz
Thanks Gary. I  will start  making the changes you suggest.
As for the other two issues, the gauges 'appear' to be working, but if you
have found some underlying issue, I would like to sort it and the WU RF out.
I'll be getting back to you.

Steve


On Jun 30, 2017 3:06 AM, "gjr80"  wrote:

Yes, it appears that the WU API key you are using with the forecast
extension is not being accepted. I guess the first thing to do is to log
back into WU and check the validity of that key. I see you are also posting
to WU RF, you could always check using that key. By default the WU forecast
is downloaded every 3 hours (10800 seconds), so unless you change the
default you will need to wait 3 hours between downloads, can make debugging
a little time consuming. You may wish to change the WU forecast download
interval to something much shorter by setting the interval config option
under [[WU]] in weewx.conf, interval = 120 should download the WU forecast
every archive period. If you do drop it to something like 120, make sure
you increase it or go back to default or you risk making too many API calls
and that would be bad.

I note you also seem to have a couple of gauge-data.txt issues as well as
the odd WU RF issue, but let's get forecast issue sorted first.

Gary

--
You received this message because you are subscribed to a topic in the
Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/weewx-user/uvjIUED6rs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
weewx-user+unsubscr...@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: Outdoor Wireless Webcam Integration

2017-01-12 Thread Steve Meltz
Vince, thanks for that. Now that I think of it, those Chinese cams (and
DVRs) were used as bots during a recent DOS attack. The newer ones are
supposed to be better, but who knows for sure?

Steve

On Thu, Jan 12, 2017 at 10:42 AM, vince  wrote:

> On Wednesday, January 11, 2017 at 8:57:04 PM UTC-8, Steve2Q wrote:
>>
>> I know that there are commercial security cams that have their own
>> software which enable one to log onto them from anywhere, but I assume they
>> are more secure that just opening a port on the router.
>>
>
> That would be a bad assumption. Many/most phone home to the vendor
> (typically, China) if you let them talk to Internet outbound.
>
> My wifi camera (a knockoff Foscam) tries 3000 times/day to do DNS lookups
> of a variety of sites including some in China in order to connect to the
> vendor's site.  This can not be turned off by the user.   I block the DNS
> from resolving, and also block the camera from being able to route
> 'anything' off the LAN.  Be very very careful you know what you're exposing
> to potential bad guys when you let anything like a camera through either
> direction.
>
> --
> 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/c1pH5r6Q37I/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@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.