[weewx-user] weewx stopped working

2021-11-19 Thread Jim W.
 

I recently moved and my had a bit of difficulty with my new ISP Provider. 
(is that redundant?) Anyway after updating my operating system weewx 
stopped working. I'm hoping someone can have a quick look at my log and see 
what's going on.


I'm running weewx (version 3.9.2) on a RPi B+ using a Davis Vantage VUE


Nov 19 10:55:15 TESTBED weewx[569]: vantage: Getting archive packets since 
2021-11-02 19:05:00 PDT (1635905100)

Nov 19 10:55:15 TESTBED weewx[569]: vantage: Gentle wake up of console 
successful

Nov 19 10:55:17 TESTBED weewx[569]: vantage: Retrieving 513 page(s); 
starting index= 3

Nov 19 10:55:17 TESTBED weewx[569]: vantage: DMPAFT complete: page 
timestamp 2021-05-24 06:40:00 PDT (1621863600) less than final timestamp 
2021-11-02 19:05:00 PDT (1635905100)

Nov 19 10:55:17 TESTBED weewx[569]: vantage: Catch up complete.

Nov 19 10:55:17 TESTBED weewx[569]: reportengine: Running reports for 
latest time in the database.

Nov 19 10:55:17 TESTBED weewx[569]: reportengine: Running report 
'SeasonsReport'

Nov 19 10:55:17 TESTBED weewx[569]: vantage: Requesting 200 LOOP packets.

Nov 19 10:55:17 TESTBED weewx[569]: reportengine: Found configuration file 
/etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'

Nov 19 10:55:17 TESTBED weewx[569]: vantage: Gentle wake up of console 
successful

Nov 19 10:55:17 TESTBED weewx[569]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']

Nov 19 10:55:17 TESTBED weewx[569]: manager: Daily summary version is 2.0

Nov 19 10:55:19 TESTBED weewx[569]: cheetahgenerator: Generated 9 files for 
report SeasonsReport in 1.83 seconds

Nov 19 10:55:19 TESTBED weewx[569]: manager: Daily summary version is 2.0

Nov 19 10:55:20 TESTBED weewx[569]: imagegenerator: Generated 14 images for 
SeasonsReport in 1.05 seconds

Nov 19 10:55:20 TESTBED weewx[569]: copygenerator: copied 0 files to 
/var/www/html/weewx

Nov 19 10:55:20 TESTBED weewx[569]: reportengine: Report 'SmartphoneReport' 
not enabled. Skipping.

Nov 19 10:55:20 TESTBED weewx[569]: reportengine: Report 'MobileReport' not 
enabled. Skipping.

Nov 19 10:55:20 TESTBED weewx[569]: reportengine: Report 'StandardReport' 
not enabled. Skipping.

Nov 19 10:55:20 TESTBED weewx[569]: reportengine: Report 'FTP' not enabled. 
Skipping.

Nov 19 10:55:20 TESTBED weewx[569]: reportengine: Report 'RSYNC' not 
enabled. Skipping.


-- 
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/a3e28dab-d9e0-42f0-b81c-9fe51812d551n%40googlegroups.com.


[weewx-user] Data transfer from weewx

2019-11-23 Thread Jim W.


I am trying to get some weather data out of weewx. In the past I have used 
this scheme:


Created a new template called temp.txt.tmpl in the etc/weewx/skins/Standard 
directory. It's only content is: $current.outTemp


In the skin.conf file under [CheetahGenerator] tucked in under [[ToDate]]  I 
added:


   [[[temp.txt]]]

# Report that makes current outTemp available to other program

encoding = strict_ascii

template = temp.txt.tmpl


>From that I expected to see the data in /var/www/html/weewx/temp.txt 


In the past this has worked... but not now?


I recently replaced my weather station with a Vantage and fresh install of 
Buster, weewx on a Rbpi3+ It all work well right out of the box! Except for 
the above mentioned issue. 


Thanks for any insight!!!

-- 
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/47ea1165-c1dc-456c-bfc9-cfa513002d1e%40googlegroups.com.


[weewx-user] Re: WH1080 replacement?

2019-08-18 Thread Jim W.
I'm kind of in the same boat... My  WH1080 which worked great for about 5 
years finally died.  I'm looking for something to use as a direct 
replacement. I'm NOT A PROGRAMER and only got weeWx/Rpi3 to communicate 
with the console  through the gracious and patient help of a weewx group 
contributor (THANKS Vince!). The thought of trying to get a sniffer working 
is just to much to ask of anyone! Does anyone have a recommendation? 

On Sunday, August 18, 2019 at 4:54:29 AM UTC-4, Kike .Asekas wrote:
>
> I think this is a great deal. Have UV and solar, wifi, works with alexa, 
> google assistant, emits directly to weather underground and it's cheap. I 
> have a FW1080 like you and this will be my next station
> https://www.ambientweather.com/amws2902.html
>
> El viernes, 16 de agosto de 2019, 22:39:02 (UTC+2), PJO escribió:
>>
>> I've been running WeeWX on a Raspberry Pi with a Fine Offset WH1080 more 
>> or less trouble free (apart from random USB port lockups every few months) 
>> for about 5 years. Lately I've been having issues more frequently and am 
>> thinking about a replacement. Am interested to hear from others who 
>> replaced a WH1080 with something else (other than a Davis system):
>>
>> What did you choose?
>> Why?
>> Happy with the result?
>>
>> The only thing I'm committed to is running WeeWX, preferably on a 
>> Raspberry Pi. 
>>
>> 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/ec510ba2-78cb-4977-a09c-04ea73afe2b4%40googlegroups.com.


[weewx-user] Re: help with error message?

2017-11-01 Thread Jim W.
Thanks... I was thinking maybe driver issue... but looks like cable issue.

On Wednesday, November 1, 2017 at 2:59:14 PM UTC-4, vince wrote:
>
> On Wednesday, November 1, 2017 at 7:38:28 AM UTC-7, Jim W. wrote:
>>
>> Weewx seems to have stopped working? Is this a problem with the USB 
>> connection to the weather station console?
>>
>  
>
>> Nov  1 10:24:34 WXraspberrypi weewx[32745]: fousb: Cannot find USB device 
>> with Vendor=0x1941 ProdID=0x8021 Device=None
>> Nov  1 10:24:34 WXraspberrypi weewx[32745]: engine: Unable to load 
>> driver: Unable to find USB device
>> Nov  1 10:24:34 WXraspberrypi weewx[32745]:   Exiting...
>>
>>
> I don't know how the message could be any clearer.so yes I guess.
>
> Try 'lsusb' perhaps to see if the os sees a device ?
>  
>

-- 
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] help with error message?

2017-11-01 Thread Jim W.
Weewx seems to have stopped working? Is this a problem with the USB 
connection to the weather station console?
Thanks for any insight!
I'm not a programmer... Mostly just a hack!



Rpi3b
VERSION="8 (jessie)"
weewx version 3.5.0
Ambient Weather Fineoffset




Nov  1 10:24:28 WXraspberrypi weewx[32680]: Stopping weewx weather system: 
weewx not running
Nov  1 10:24:28 WXraspberrypi systemd[1]: Stopped LSB: weewx weather system.
Nov  1 10:24:33 WXraspberrypi systemd[1]: Starting LSB: weewx weather 
system...
Nov  1 10:24:34 WXraspberrypi weewx[32741]: engine: Initializing weewx 
version 3.5.0
Nov  1 10:24:34 WXraspberrypi weewx[32741]: engine: Using Python 2.7.9 
(default, Mar  8 2015, 00:52:26) #012[GCC 4.9.2]
Nov  1 10:24:34 WXraspberrypi weewx[32741]: engine: Platform 
Linux-4.4.13-v7+-armv7l-with-debian-8.0
Nov  1 10:24:34 WXraspberrypi weewx[32741]: engine: pid file is 
/var/run/weewx.pid
Nov  1 10:24:34 WXraspberrypi weewx[32745]: engine: Using configuration 
file /etc/weewx/weewx.conf
Nov  1 10:24:34 WXraspberrypi weewx[32745]: engine: Initializing engine
Nov  1 10:24:34 WXraspberrypi weewx[32745]: engine: Loading station type 
FineOffsetUSB (weewx.drivers.fousb)
Nov  1 10:24:34 WXraspberrypi weewx[32730]: Starting weewx weather system: 
weewx.
Nov  1 10:24:34 WXraspberrypi systemd[1]: Started LSB: weewx weather system.
Nov  1 10:24:34 WXraspberrypi rsyslogd-2007: action 'action 17' suspended, 
next retry is Wed Nov  1 10:25:04 2017 [try http://www.rsyslog.com/e/2007 ]
Nov  1 10:24:34 WXraspberrypi weewx[32745]: fousb: driver version is 1.8
Nov  1 10:24:34 WXraspberrypi weewx[32745]: fousb: polling mode is PERIODIC
Nov  1 10:24:34 WXraspberrypi weewx[32745]: fousb: polling interval is 60
Nov  1 10:24:34 WXraspberrypi weewx[32745]: fousb: Cannot find USB device 
with Vendor=0x1941 ProdID=0x8021 Device=None
Nov  1 10:24:34 WXraspberrypi weewx[32745]: engine: Unable to load driver: 
Unable to find USB device
Nov  1 10:24:34 WXraspberrypi weewx[32745]:   Exiting...

-- 
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] weewx error

2016-12-01 Thread Jim W.
Thank you Sir...

On Thursday, December 1, 2016 at 11:02:07 AM UTC-5, Tom Keffer wrote:
>
> This is a problem with your weather hardware, not the database.
>
> I'm not an expert with the Fine Offset hardware, but I would try power 
> cycling.
>
> -tk
>
> On Thu, Dec 1, 2016 at 7:54 AM, Jim W. <wolff@gmail.com > 
> wrote:
>
>> I'm running weewx (V 3.5.0) on a Rpi3b. For months it's been running 
>> fine. The other day I had a data spike and attempted to read the weewx.sdb 
>> file as per the weewx guide instructions. ( Spikes in the graph) A few 
>> hours later I noticed It was not working...
>> from looking at the system log I'm wondering if I somehow messed up the 
>> sdb file?
>>
>> I'm getting the following system log report:
>>
>>
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Initializing engine
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Loading station type 
>> FineOffsetUSB (weewx.drivers.fousb)
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: fousb: driver version is 1.8
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: fousb: polling mode is PERIODIC
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: fousb: polling interval is 60
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: fousb: found station on USB 
>> bus=001 device=007
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Loading service 
>> weewx.engine.StdTimeSynch
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Finished loading 
>> service weewx.engine.StdTimeSynch
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Loading service 
>> weewx.engine.StdConvert
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: StdConvert target unit 
>> is 0x1
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Finished loading 
>> service weewx.engine.StdConvert
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Loading service 
>> weewx.engine.StdCalibrate
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Finished loading 
>> service weewx.engine.StdCalibrate
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Loading service 
>> weewx.engine.StdQC
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Finished loading 
>> service weewx.engine.StdQC
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Loading service 
>> weewx.wxservices.StdWXCalculate
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: wxcalculate: The following 
>> values will be calculated: 
>> barometer=prefer_hardware,windchill=prefer_hardware,dewpoint=prefer_hardware,appTemp=prefer_hardware,rainRate=prefer_hardware,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
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: wxcalculate: The following 
>> algorithms will be used for calculations: altimeter=aaNOAA,maxSolarRad=RS
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Finished loading 
>> service weewx.wxservices.StdWXCalculate
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Loading service 
>> weewx.engine.StdArchive
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Archive will use data 
>> binding wx_binding
>> Dec  1 10:47:53 WXraspberrypi weewx[3120]: engine: Record generation will 
>> be attempted in 'software'
>> Dec  1 10:48:01 WXraspberrypi motion: [1] [NTC] [ALL] motion_loop: End of 
>> event 18
>> Dec  1 10:48:08 WXraspberrypi weewx[3120]: fousb: get archive interval 
>> failed attempt 1 of 3: could not detach kernel driver from interface 0: No 
>> data available
>> Dec  1 10:48:23 WXraspberrypi weewx[3120]: fousb: get archive interval 
>> failed attempt 2 of 3: could not detach kernel driver from interface 0: No 
>> data available
>> Dec  1 10:48:27 WXraspberrypi motion: [1] [NTC] [EVT] event_new_video FPS 
>> 5
>> Dec  1 10:48:27 WXraspberrypi motion: [1] [NTC] [ALL] motion_detected: 
>> Motion detected - starting event 19
>> Dec  1 10:48:38 WXraspberrypi weewx[3120]: fousb: get archive interval 
>> failed attempt 3 of 3: could not detach kernel driver from interface 0: No 
>> data available
>> Dec  1 10:48:38 WXraspberrypi weewx[3120]: engine: Caught WeeWxIOError: 
>> Unable to read archive interval after 3 tries
>> Dec  1 10:48:38 WXraspberrypi weewx[3120]:   Waiting 60 seconds 
>> then retrying...
>>
>>
>> Any ideas? 
>>
>>
>> -- 
>> 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.


[weewx-user] Re: degree symbol not showing?

2016-11-24 Thread Jim W.
Gary,
Thanks for the response! When I installed weewx (DEB package) I never set 
up an archive. Maybe that's the problem? 
As you may surmise... I'm mostly just a hack... no programing experience! 
But I'm learning... albeit SLOWLY. 
I guess I'll look into setting up an archive.
Thanks again for your suggestion!
Happy Thanksgiving!

On Thursday, November 24, 2016 at 6:15:26 PM UTC-5, gjr80 wrote:
>
> Hi,
>
> Have you looked in your archive to see what data is in the rain field? 
> Assuming you are using SQLite something like:
>
> $ sqlite3 /home/weewx/archive/weewx.sdb
>
> will open your database so you can query it. There are any number of 
> queries you could use to investigate the situation, but lets' start by 
> summing the rain over the last 24 hours:
>
> sqlite> SELECT sum(rain) FROM archive WHERE dateTime > strftime('%s','now'
> )-86400;
>
> what does that show? If it shows nothing then we do have aproblem. If it 
> gives you the obviously wrong result you can look further at the individual 
> records to see which are wrong:
>
> sqlite> SELECT dateTime, rain FROM archive WHERE dateTime > strftime('%s',
> 'now')-86400 AND rain > 0;
>
> depending on what you find will determine how to fix it.
>
> Gary
>
> On Friday, 25 November 2016 08:39:52 UTC+10, Jim W. wrote:
>>
>>
>> Now if I could figure out why   $span($day_delta=1).rain.sumproduces 
>>  384.19 in  ???   Seems a bit high for 24 hours... especially considering 
>> we're in a drought! :-) 
>>
>>

-- 
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] Re: degree symbol not showing?

2016-11-24 Thread Jim W.
Thanks Robin
Yeah... I'm kind of doing the same thing... My attempt! 
<https://www.wunderground.com/webcams/JW2030/3/show.html>

Now if I could figure out why   $span($day_delta=1).rain.sumproduces 
 384.19 in  ???   Seems a bit high for 24 hours... especially considering 
we're in a drought! :-) 


On Wednesday, November 23, 2016 at 2:49:53 AM UTC-5, Robin wrote:
>
> Hi Jim,
>
> I had the same problem. I solved it by creating a template with a single 
> line
>  
>
> $current.outTemp.string
>
>
> Then adding
>
>[[[Temperature]]]
>   encoding = utf8
>   template = temperature.txt.tmpl
>
> to the standard skin.conf file.
>
> I can now read the text file and add it to my webcam capture as seen here 
> *Molyvos 
> Weather Camera <http://www.weather.molyvos.eu/image.jpg>*
>
>
>
> On Wednesday, 23 November 2016 00:30:08 UTC+2, Jim W. wrote:
>>
>> At the risk of inciting the fury of AM...  I have a question regarding 
>> the degree symbol. I'm using the tag $current.outTemp and 
>> $current.outTemp.format("%.1f")  and both produce the expected result 
>> EXCEPT without the little degree symbol? I have read, re-read... and 
>> re-re-read the Customization guide but can't figure it out?
>> Thanks for any insight!
>>
>> Ps... If this question causes an apoplectic reaction please hit the 
>> delete key... take a deep breath and think of butterflies! 
>>
>

-- 
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] degree symbol not showing?

2016-11-22 Thread Jim W.
Sorry.. Rpi3b running latest Raspbian. Installed from DEB package. I have 
modified the Standard skin.conf file with:


[[[temp.txt]]]
# Report that makes current outTemp available to other program
encoding = strict_ascii
template = temp.txt.tmpl

and the temp.txt.tmpl file looks like:

$current.dateTime
$current.outTemp.format("%.1f")
$trend.outTemp
 
and the txt file generated looks like:


11/22/2016 06:30:00 PM
37.6F
-4.2F

Thanks for any insight!

 




On Tuesday, November 22, 2016 at 5:40:47 PM UTC-5, Tom Keffer wrote:
>
> We're going to need a little more information. Is this a stock weewx 
> installation? Or, have you made modifications to the skins or to skin.conf?
>
> What is the platform?
>
> -tk
>
>
>
>
>
> On Tue, Nov 22, 2016 at 2:30 PM, Jim W. <wolff@gmail.com 
> > wrote:
>
>> At the risk of inciting the fury of AM...  I have a question regarding 
>> the degree symbol. I'm using the tag $current.outTemp and 
>> $current.outTemp.format("%.1f")  and both produce the expected result 
>> EXCEPT without the little degree symbol? I have read, re-read... and 
>> re-re-read the Customization guide but can't figure it out?
>> Thanks for any insight!
>>
>> Ps... If this question causes an apoplectic reaction please hit the 
>> delete key... take a deep breath and think of butterflies! 
>>
>> -- 
>> 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.


[weewx-user] degree symbol not showing?

2016-11-22 Thread Jim W.
At the risk of inciting the fury of AM...  I have a question regarding the 
degree symbol. I'm using the tag $current.outTemp and 
$current.outTemp.format("%.1f")  and both produce the expected result 
EXCEPT without the little degree symbol? I have read, re-read... and 
re-re-read the Customization guide but can't figure it out?
Thanks for any insight!

Ps... If this question causes an apoplectic reaction please hit the delete 
key... take a deep breath and think of butterflies! 

-- 
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] Noob question... where to find the actual data (temp) within weewx?

2016-11-07 Thread Jim W.
Gary, Thanks! and yes I did read the entire weewx/docs guide... however it 
was very early into trying to implement weewx and before I had much 
understanding of how weewx worked. I should (and will) re-read the 
documentation now that I have a little better understanding of how things 
work.

On Sunday, November 6, 2016 at 10:01:52 PM UTC-5, gjr80 wrote:
>
> Hi,
>
> I think you will get nothing other than an error message. 
> $windDir.ordinal_compass will give you an ordinal compass direction for the 
> latest wind direction. Have a read about wind ordinals in the Customization 
> Guide http://weewx.com/docs/customizing.htm#unit_conversion_options
>
> Gary
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Noob question... where to find the actual data (temp) within weewx?

2016-11-06 Thread Jim W.
Moving on:

If I add  $ordnates.windDir to the .tmpl file should I get a Cardinal or 
Ordinal return?
Thanks again.


 

On Thursday, November 3, 2016 at 9:09:39 PM UTC-4, Jim W. wrote:
>
> THANK YOU THANK YOU THANK YOU!!! 
> and thanks for your patience!
>
> On Thursday, November 3, 2016 at 8:21:29 PM UTC-4, Tom Keffer wrote:
>>
>> The weewx report generator processes temp.txt.tmpl to produce a file 
>> temp.txt, which will contain the current temperature as a string.
>>
>> It has nothing to do with the shell.
>>
>> Take a look in /var/www/html/weewx/temp.txt
>>
>> -tk
>>
>>
>> On Thu, Nov 3, 2016 at 4:35 PM, Jim W. <wolff@gmail.com> wrote:
>>
>>> As I understand it, $current.outTemp represents a string variable the 
>>> value of which should be the outside temperature.  When I try to view the 
>>> value (echo $current.outTemp )  I dose't work. I've tried a few other 
>>> schemes as well, like making a shell script that does this: 
>>> #!/bin/bash
>>> current_outTemp=$current.outTemp
>>> echo $current_outTemp
>>>
>>>
>>> Can you give me an idea of how to accomplish this?
>>>
>>>
>>>
>>>
>>> On Thursday, November 3, 2016 at 5:45:26 PM UTC-4, Tom Keffer wrote:
>>>>
>>>> On Thu, Nov 3, 2016 at 2:35 PM, Jim W. <wolff@gmail.com> wrote:
>>>>
>>>>>
>>>>> Does the temp.txt.tmpl file require special formatting? Right now this 
>>>>> is what it contains: 
>>>>> $current.outTemp
>>>>>
>>>>>
>>>> ​It should contain just text. Why do you ask?
>>>>
>>>> -tk​
>>>>  
>>>>
>>> -- 
>>> 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] Noob question... where to find the actual data (temp) within weewx?

2016-11-03 Thread Jim W.
THANK YOU THANK YOU THANK YOU!!! 
and thanks for your patience!

On Thursday, November 3, 2016 at 8:21:29 PM UTC-4, Tom Keffer wrote:
>
> The weewx report generator processes temp.txt.tmpl to produce a file 
> temp.txt, which will contain the current temperature as a string.
>
> It has nothing to do with the shell.
>
> Take a look in /var/www/html/weewx/temp.txt
>
> -tk
>
>
> On Thu, Nov 3, 2016 at 4:35 PM, Jim W. <wolff@gmail.com > 
> wrote:
>
>> As I understand it, $current.outTemp represents a string variable the 
>> value of which should be the outside temperature.  When I try to view the 
>> value (echo $current.outTemp )  I dose't work. I've tried a few other 
>> schemes as well, like making a shell script that does this: 
>> #!/bin/bash
>> current_outTemp=$current.outTemp
>> echo $current_outTemp
>>
>>
>> Can you give me an idea of how to accomplish this?
>>
>>
>>
>>
>> On Thursday, November 3, 2016 at 5:45:26 PM UTC-4, Tom Keffer wrote:
>>>
>>> On Thu, Nov 3, 2016 at 2:35 PM, Jim W. <wolff@gmail.com> wrote:
>>>
>>>>
>>>> Does the temp.txt.tmpl file require special formatting? Right now this 
>>>> is what it contains: 
>>>> $current.outTemp
>>>>
>>>>
>>> ​It should contain just text. Why do you ask?
>>>
>>> -tk​
>>>  
>>>
>> -- 
>> 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] Noob question... where to find the actual data (temp) within weewx?

2016-11-03 Thread Jim W.
As I understand it, $current.outTemp represents a string variable the value 
of which should be the outside temperature.  When I try to view the value 
(echo $current.outTemp )  I dose't work. I've tried a few other schemes as 
well, like making a shell script that does this: 
#!/bin/bash
current_outTemp=$current.outTemp
echo $current_outTemp


Can you give me an idea of how to accomplish this?




On Thursday, November 3, 2016 at 5:45:26 PM UTC-4, Tom Keffer wrote:
>
> On Thu, Nov 3, 2016 at 2:35 PM, Jim W. <wolff@gmail.com > 
> wrote:
>
>>
>> Does the temp.txt.tmpl file require special formatting? Right now this is 
>> what it contains: 
>> $current.outTemp
>>
>>
> ​It should contain just text. Why do you ask?
>
> -tk​
>  
>

-- 
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] Noob question... where to find the actual data (temp) within weewx?

2016-11-03 Thread Jim W.
This is what I have added to skin.config


  [[ToDate]]
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
[[[day]]]
template = index.html.tmpl


[[[temp.txt]]]
# Report that makes current outTemp availibal to other program
encoding = strict_ascii
template = temp.txt.tmpl


[[[week]]]
template = week.html.tmpl

[[[month]]]
template = month.html.tmpl

[[[year]]]
template = year.html.tmpl


Does the temp.txt.tmpl file require special formatting? Right now this is 
what it contains: 
$current.outTemp

THANKS!!!



On Wednesday, November 2, 2016 at 8:07:49 PM UTC-4, Tom Keffer wrote:
>
> Close.
>
> For a simple report like this, you want "ToDate" generation (as opposed to 
> summaries by month or year, like the NOAA reports). So, you need to tuck 
> your addition under [[ToDate]] and add one more set of brackets. It will 
> look like:
>
> [[ToDate]]
>
> ... (other templates)
>
> [[[temp.txt]]]
> # Report that makes current outTemp available to other program
> encoding = strict_ascii
> template = temp.txt.tmpl
>
> -tk  
>
> On Wed, Nov 2, 2016 at 4:04 PM, Jim W. <wolff@gmail.com > 
> wrote:
>
>> Tom and Andrew,
>> I have created a new template called temp.txt.tmpl in the 
>> etc/weewx/skins/Standard directory. It's only content is: $current.outTemp
>>
>> In the skin.conf file under [CheetahGenerator] I added:
>>
>>[[temp.txt]]
>> # Report that makes current outTemp available to other program
>> encoding = strict_ascii
>>     template = temp.txt.tmpl
>>
>> Am I on the right track? Thanks for your patience!
>>
>>
>>
>>
>>
>> On Monday, October 31, 2016 at 9:23:13 AM UTC-4, Jim W. wrote:
>>>
>>> THANKS ALL... now i'm heading in the right direction!!!
>>>
>>>  
>>>
>>> On Sunday, October 30, 2016 at 9:31:54 PM UTC-4, Tom Keffer wrote:
>>>>
>>>> Jim,
>>>>
>>>> Did you check the Customizing Guide 
>>>> <http://weewx.com/docs/customizing.htm>? It has an abundance of 
>>>> information about how to access the data. As Andrew suggests, the easiest 
>>>> is to specify that the report generator create another (tiny) file, with 
>>>> just a single tag $current.outTemp. On every reporting cycle the tag will 
>>>> be replaced with the current temperature.
>>>>
>>>> -tk
>>>>
>>>> On Sat, Oct 29, 2016 at 1:50 PM, Jim W. <wolff@gmail.com> wrote:
>>>>
>>>>> I have very little Linux (or other programming) experience...  Decades 
>>>>> ago I did a little Visual Basic programming but that is a dim memory. I 
>>>>> have managed (with the generous help of this forum) to setup and run 
>>>>> weewx 
>>>>> on a Rpi3b. WS2080 WU and Motion sending images to WU.
>>>>>
>>>>> My next project is to add overlays of temperature and wind speed and 
>>>>> direction to the images I'm sending to WU. Most of it I have figured out 
>>>>> but what I don't know is where to find the actual data (temp) within 
>>>>> weewx?
>>>>>
>>>>> 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+...@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+...@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] Noob question... where to find the actual data (temp) within weewx?

2016-11-02 Thread Jim W.
Tom and Andrew,
I have created a new template called temp.txt.tmpl in the 
etc/weewx/skins/Standard directory. It's only content is: $current.outTemp

In the skin.conf file under [CheetahGenerator] I added:

   [[temp.txt]]
# Report that makes current outTemp available to other program
encoding = strict_ascii
template = temp.txt.tmpl

Am I on the right track? Thanks for your patience!





On Monday, October 31, 2016 at 9:23:13 AM UTC-4, Jim W. wrote:
>
> THANKS ALL... now i'm heading in the right direction!!!
>
>  
>
> On Sunday, October 30, 2016 at 9:31:54 PM UTC-4, Tom Keffer wrote:
>>
>> Jim,
>>
>> Did you check the Customizing Guide 
>> <http://weewx.com/docs/customizing.htm>? It has an abundance of 
>> information about how to access the data. As Andrew suggests, the easiest 
>> is to specify that the report generator create another (tiny) file, with 
>> just a single tag $current.outTemp. On every reporting cycle the tag will 
>> be replaced with the current temperature.
>>
>> -tk
>>
>> On Sat, Oct 29, 2016 at 1:50 PM, Jim W. <wolff@gmail.com> wrote:
>>
>>> I have very little Linux (or other programming) experience...  Decades 
>>> ago I did a little Visual Basic programming but that is a dim memory. I 
>>> have managed (with the generous help of this forum) to setup and run weewx 
>>> on a Rpi3b. WS2080 WU and Motion sending images to WU.
>>>
>>> My next project is to add overlays of temperature and wind speed and 
>>> direction to the images I'm sending to WU. Most of it I have figured out 
>>> but what I don't know is where to find the actual data (temp) within weewx?
>>>
>>> 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+...@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.


[weewx-user] Re: Noob question... where to find the actual data (temp) within weewx?

2016-10-30 Thread Jim W.
Ok... Maybe if I ask the question in a more clear form... Can someone 
explain how I can pass the current outdoor temp to a variable so I can us 
it in another program?




On Saturday, October 29, 2016 at 4:50:59 PM UTC-4, Jim W. wrote:
>
> I have very little Linux (or other programming) experience...  Decades ago 
> I did a little Visual Basic programming but that is a dim memory. I have 
> managed (with the generous help of this forum) to setup and run weewx on a 
> Rpi3b. WS2080 WU and Motion sending images to WU.
>
> My next project is to add overlays of temperature and wind speed and 
> direction to the images I'm sending to WU. Most of it I have figured out 
> but what I don't know is where to find the actual data (temp) within weewx?
>
> 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] BASIC question regarding config file

2016-09-08 Thread Jim W.
Yep! That's it. THANKS! I installed it using the DEB package. Later I was 
warned away from it but I had already got it running so I never 
re-installed it via the setup.py  

On Thursday, September 8, 2016 at 10:40:35 AM UTC-4, Macha wrote:
>
> I think it depends on the way you installed it. With my Pi, it shows it 
> running as a python task. I always do ..
>
> ps aux | grep wee
>
> .. and it shows the command launching weewx, something like ...
>
> root  4193 13.9  5.4  78352 48232 ?Sl   Sep06 398:00 python 
> ./bin/weewxd weewx.conf
>
> I use it in a Cron job to reboot the Pi on the odd occasion I get a USB 
> lockup and weewx bombs out. Weewx is launched from a @reboot script.
>
>
>
>
> On Thursday, September 8, 2016 at 2:00:31 PM UTC+2, Jim W. wrote:
>>
>> This is what I get with the ps -a command. For some reason the weewx 
>> process does not show up?  
>>
>> pi@WXraspberrypi:/ $ ps -a
>>   PID TTY  TIME CMD
>>   933 tty1 00:00:00 bash
>>  3310 pts/200:00:00 ps
>> 20632 pts/000:00:00 sudo
>> 20636 pts/000:00:00 tail
>>
>> On Thursday, September 8, 2016 at 12:12:48 AM UTC-4, Andrew Milner wrote:
>>>
>>> Or you can force a .conf reload with a hup 
>>> "
>>>
>>> You can tell a running instance of weewx to reread its configuration 
>>> file by sending it the HUP signal. First run ps to find out the Process 
>>> ID (PID) number of the instance, then send it the HUP signal: 
>>>
>>> ps -a  # Note the PID of the weewxd processkill -HUP *pid*  # Send 
>>> it a HUP signal
>>>
>>> Note that this *only* rereads the configuration file. It will not 
>>> reload any code.
>>> "
>>>
>>>
>>> On Thursday, 8 September 2016 06:16:25 UTC+3, Dave Webb wrote:
>>>
>>>> You need to stop and restart weewx for it to pick up the changes in 
>>>> weewx.conf
>>>>
>>>> Dave-KB1PVH
>>>>
>>>> Sent from my Galaxy S7
>>>>
>>>> On Sep 7, 2016 11:15 PM, "Jim W." <wolff@gmail.com> wrote:
>>>>
>>>>> Does the config file get read once during start up or is it poled 
>>>>> continuously? If I make a change in the config file do I have to stop and 
>>>>> start weewx? 
>>>>> 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+...@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] BASIC question regarding config file

2016-09-08 Thread Jim W.
THANK YOU!

On Wednesday, September 7, 2016 at 11:16:25 PM UTC-4, Dave Webb wrote:
>
> You need to stop and restart weewx for it to pick up the changes in 
> weewx.conf
>
> Dave-KB1PVH
>
> Sent from my Galaxy S7
>
> On Sep 7, 2016 11:15 PM, "Jim W." <wolff@gmail.com > 
> wrote:
>
>> Does the config file get read once during start up or is it poled 
>> continuously? If I make a change in the config file do I have to stop and 
>> start weewx? 
>> 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+...@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.


[weewx-user] BASIC question regarding config file

2016-09-07 Thread Jim W.
Does the config file get read once during start up or is it poled 
continuously? If I make a change in the config file do I have to stop and 
start weewx? 
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.