Data transfer from weewx

79 views
Skip to first unread message

Jim W.

unread,
Nov 23, 2019, 2:38:46 PM11/23/19
to weewx-user

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

Thomas Keffer

unread,
Nov 23, 2019, 6:25:52 PM11/23/19
to weewx-user
Hard to say without seeing the log. See the Wiki article Help! Posting to weewx-user.

-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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/47ea1165-c1dc-456c-bfc9-cfa513002d1e%40googlegroups.com.

JW2000

unread,
Nov 24, 2019, 11:35:02 AM11/24/19
to weewx-user
Thanks for the reply Tom. Here is some log data... 


Nov 24 11:15:22 TESTBED weewx[16146]: reportengine: Report 'RSYNC' not enabled. Skipping.
Nov 24 11:17:01 TESTBED CRON[16189]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Nov 24 11:20:16 TESTBED weewx[16146]: vantage: Getting archive packets since 2019-11-24 11:15:00 EST (1574612100)
Nov 24 11:20:16 TESTBED weewx[16146]: vantage: Gentle wake up of console successful
Nov 24 11:20:16 TESTBED weewx[16146]: vantage: Retrieving 1 page(s); starting index= 3
Nov 24 11:20:16 TESTBED weewx[16146]: manager: Added record 2019-11-24 11:20:00 EST (1574612400) to database 'weewx.sdb'
Nov 24 11:20:16 TESTBED weewx[16146]: manager: Added record 2019-11-24 11:20:00 EST (1574612400) to daily summary in 'weewx.sdb'
Nov 24 11:20:16 TESTBED weewx[16146]: vantage: Empty record page 0; index 4
Nov 24 11:20:16 TESTBED weewx[16146]: reportengine: Running reports for latest time in the database.
Nov 24 11:20:16 TESTBED weewx[16146]: vantage: Requesting 200 LOOP packets.
Nov 24 11:20:16 TESTBED weewx[16146]: reportengine: Running report 'SeasonsReport'
Nov 24 11:20:16 TESTBED weewx[16146]: vantage: Gentle wake up of console successful
Nov 24 11:20:16 TESTBED weewx[16146]: reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Nov 24 11:20:16 TESTBED weewx[16146]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Nov 24 11:20:16 TESTBED weewx[16146]: manager: Daily summary version is 2.0
Nov 24 11:20:17 TESTBED weewx[16146]: restx: PWSWeather: Published record 2019-11-24 11:20:00 EST (1574612400)
Nov 24 11:20:17 TESTBED weewx[16146]: restx: Wunderground-PWS: Published record 2019-11-24 11:20:00 EST (1574612400)
Nov 24 11:20:18 TESTBED weewx[16146]: cheetahgenerator: Generated 8 files for report SeasonsReport in 1.46 seconds
Nov 24 11:20:18 TESTBED weewx[16146]: manager: Daily summary version is 2.0
Nov 24 11:20:19 TESTBED weewx[16146]: imagegenerator: Generated 14 images for SeasonsReport in 1.19 seconds
Nov 24 11:20:19 TESTBED weewx[16146]: copygenerator: copied 0 files to /var/www/html/weewx
Nov 24 11:20:19 TESTBED weewx[16146]: reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Nov 24 11:20:19 TESTBED weewx[16146]: reportengine: Report 'MobileReport' not enabled. Skipping.
Nov 24 11:20:19 TESTBED weewx[16146]: reportengine: Report 'StandardReport' not enabled. Skipping.
Nov 24 11:20:19 TESTBED weewx[16146]: reportengine: Report 'FTP' not enabled. Skipping.
Nov 24 11:20:19 TESTBED weewx[16146]: reportengine: Report 'RSYNC' not enabled. Skipping.
Nov 24 11:25:16 TESTBED weewx[16146]: vantage: Getting archive packets since 2019-11-24 11:20:00 EST (1574612400)
Nov 24 11:25:16 TESTBED weewx[16146]: vantage: Gentle wake up of console successful
Nov 24 11:25:16 TESTBED weewx[16146]: vantage: Retrieving 1 page(s); starting index= 4
Nov 24 11:25:16 TESTBED weewx[16146]: manager: Added record 2019-11-24 11:25:00 EST (1574612700) to database 'weewx.sdb'
Nov 24 11:25:16 TESTBED weewx[16146]: manager: Added record 2019-11-24 11:25:00 EST (1574612700) to daily summary in 'weewx.sdb'
Nov 24 11:25:16 TESTBED weewx[16146]: reportengine: Running reports for latest time in the database.
Nov 24 11:25:16 TESTBED weewx[16146]: vantage: Requesting 200 LOOP packets.
Nov 24 11:25:16 TESTBED weewx[16146]: reportengine: Running report 'SeasonsReport'
Nov 24 11:25:16 TESTBED weewx[16146]: vantage: Gentle wake up of console successful
Nov 24 11:25:16 TESTBED weewx[16146]: reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Nov 24 11:25:16 TESTBED weewx[16146]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Nov 24 11:25:16 TESTBED weewx[16146]: manager: Daily summary version is 2.0
Nov 24 11:25:17 TESTBED weewx[16146]: restx: PWSWeather: Published record 2019-11-24 11:25:00 EST (1574612700)
Nov 24 11:25:17 TESTBED weewx[16146]: restx: Wunderground-PWS: Published record 2019-11-24 11:25:00 EST (1574612700)
Nov 24 11:25:18 TESTBED weewx[16146]: cheetahgenerator: Generated 8 files for report SeasonsReport in 1.47 seconds
Nov 24 11:25:18 TESTBED weewx[16146]: manager: Daily summary version is 2.0
Nov 24 11:25:19 TESTBED weewx[16146]: imagegenerator: Generated 14 images for SeasonsReport in 1.17 seconds
Nov 24 11:25:19 TESTBED weewx[16146]: copygenerator: copied 0 files to /var/www/html/weewx
Nov 24 11:25:19 TESTBED weewx[16146]: reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Nov 24 11:25:19 TESTBED weewx[16146]: reportengine: Report 'MobileReport' not enabled. Skipping.
Nov 24 11:25:19 TESTBED weewx[16146]: reportengine: Report 'StandardReport' not enabled. Skipping.
Nov 24 11:25:19 TESTBED weewx[16146]: reportengine: Report 'FTP' not enabled. Skipping.
Nov 24 11:25:19 TESTBED weewx[16146]: reportengine: Report 'RSYNC' not enabled. Skipping.


On Saturday, November 23, 2019 at 6:25:52 PM UTC-5, Thomas Keffer wrote:
Hard to say without seeing the log. See the Wiki article Help! Posting to weewx-user.

-tk

On Sat, Nov 23, 2019 at 11:38 AM Jim W. <wolff....@gmail.com> wrote:

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...@googlegroups.com.

Thomas Keffer

unread,
Nov 24, 2019, 11:54:05 AM11/24/19
to weewx-user
You are running the Seasons skin, but putting the [[[temp.txt]]] entry under the Standard skin.

-tk


To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c685db23-bf2f-459f-8cd6-021167397a29%40googlegroups.com.

JW2000

unread,
Nov 24, 2019, 2:48:37 PM11/24/19
to weewx-user
THANKS Tom!
Reply all
Reply to author
Forward
0 new messages