Thanks again for the help and a great program.

 

Tom

 

From: weewx-user@googlegroups.com <weewx-user@googlegroups.com> On Behalf Of 
Thomas Keffer
Sent: Sunday, December 30, 2018 9:16 AM
To: weewx-user <weewx-user@googlegroups.com>
Subject: Re: [weewx-user] ExtraTemp1

 

Glad to hear all is well.

 

-tk

 

On Sun, Dec 30, 2018 at 4:59 AM Tom <nineb...@gmail.com 
<mailto:nineb...@gmail.com> > wrote:

Thanks.  I just copied the indoor temp graphs (day, week, month, year) in 
skin.conf to new sections and renamed to extraTemp1 and added the png files to 
the a new src line in the various html templates.

 

The more I use this program the more I am appreciating its flexibility and I am 
far from being a programmer. 

 

Linux from the command line, like reading the database file, is one of the 
hardest challenges for me.

 

It is interesting that I used two different Sqlite programs, one on Windows and 
one on Mac, and they both showed missing data where the Linux command line 
query showed the data.  I thought it would be easier to just copy the database 
file to Windows or Mac and use a GUI program to look at the database instead of 
figuring out the Linux commands. 

 

Tom

 

From: weewx-user@googlegroups.com <mailto:weewx-user@googlegroups.com>  
<weewx-user@googlegroups.com <mailto:weewx-user@googlegroups.com> > On Behalf 
Of Andrew Milner
Sent: Sunday, December 30, 2018 3:02 AM
To: weewx-user <weewx-user@googlegroups.com 
<mailto:weewx-user@googlegroups.com> >
Subject: Re: [weewx-user] ExtraTemp1

 

just include extratemp1 to either an existing graph or to a new one.

 

change generic labels to add extratmp1 = my new label for the label on the graph

 

 


On Sunday, 30 December 2018 05:21:58 UTC+2, nine...@gmail.com 
<mailto:nine...@gmail.com>  wrote:

Here is what sqlite3 shows.

 

sqlite> select datetime(dateTime, 'unixepoch', 'localtime'), inTemp, 
inHumidity, extraTemp1, windSpeed, windGust from archive order by dateTime desc 
limit 10;

2018-12-29 20:13:00|75.3|47.0|53.0|0.0|1.0

2018-12-29 20:12:00|75.3|47.0|53.0|0.0|1.0

2018-12-29 20:11:00|75.3|47.0|53.0|1.0|2.0

2018-12-29 20:10:00|75.3|47.0|53.0|1.0|2.0

2018-12-29 20:09:00|75.3|47.0|53.0|0.0|1.0

2018-12-29 20:08:00|75.3|47.0|53.0|0.0|1.0

2018-12-29 20:07:00|75.3|47.0|53.0|0.0|1.0

2018-12-29 20:06:00|75.3|47.0|53.0|0.0|1.0

2018-12-29 20:05:00|75.3|47.0|53.0|0.0|0.0

2018-12-29 20:04:00|75.3|47.0|53.0|0.0|0.0

 

So if I’m reading this right the data is being recorded. Interesting I also 
used a program on my Mac and got the same results of the data not showing.

 

I modified the standard html templates and have the extraTemp1 data showing in 
the reports.  Now I need to figure out how to modify skin.conf to get the 
extraTemp1 data to show up on the graphs produced by weewx.

 

Thanks a lot for all the help.

 

Tom

 

 

From: weewx...@googlegroups.com <mailto:weewx...@googlegroups.com>  
<weewx...@googlegroups.com <mailto:weewx...@googlegroups.com> > On Behalf Of 
Thomas Keffer
Sent: Saturday, December 29, 2018 8:12 PM
To: weewx-user <weewx...@googlegroups.com <mailto:weewx...@googlegroups.com> >
Subject: Re: [weewx-user] ExtraTemp1

 

That all looks normal.

 

Is there any reason you can't check the database on the machine which is 
running WeeWX? I would not trust a file transfer to Windows. Use the utility 
sqlite3:

 

You may need to install it first:

 

sudo apt-get install sqlite3

 

Then do

 

sqlite3 /var/lib/weewx/weewx.sdb

select datetime(dateTime, 'unixepoch', 'localtime'), inTemp, inHumidity, 
extraTemp1, windSpeed, windGust from archive order by dateTime desc limit 10;

 

 

-tk

 

On Sat, Dec 29, 2018 at 5:53 PM <nine...@gmail.com <mailto:nine...@gmail.com> > 
wrote:

As requested.  Looking at the database I also see that windGustDir, inTemp, and 
inHumidity are NULL.

                                                

 

Tom

 

From: weewx...@googlegroups.com <mailto:weewx...@googlegroups.com>  
<weewx...@googlegroups.com <mailto:weewx...@googlegroups.com> > On Behalf Of 
Thomas Keffer
Sent: Saturday, December 29, 2018 7:22 PM
To: weewx-user <weewx...@googlegroups.com <mailto:weewx...@googlegroups.com> >
Subject: Re: [weewx-user] ExtraTemp1

 

So, the value is not making it to the database. 

 

At this point, we need to see the log. See the Wiki entry  
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fweewx%2Fweewx%2Fwiki%2FHelp!-Posting-to-weewx-user&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734286928&sdata=ba2EuvxSSFBN20DnZYUzHfrsk2O92m1MyOMyFzihmvY%3D&reserved=0>
 Help! Posting to weewx-user for how to get a good log.

 

-tk

 

On Sat, Dec 29, 2018 at 5:17 PM Tom Robertson <nine...@gmail.com 
<mailto:nine...@gmail.com> > wrote:

Thanks for the fast reply.  I downloaded the database to my windows machine and 
then used SQLiteStudio to look at it.  extraTemp1 shows null. Other fields are 
populated except for inTemp and inHumidity.  I must have turned them off 
somewhere?

 

I ran the –info and got this:

 

CONSOLE TYPE:                   Vantage Pro2

    

    CONSOLE FIRMWARE:

      Date:                         May  8 2012

      Version:                      3.00

    

    CONSOLE SETTINGS:

      Archive interval:             60 (seconds)

      Altitude:                     1089 (foot)

      Wind cup type:                large

      Rain bucket type:             0.01 inches

      Rain year start:              1

      Onboard time:                 2018-12-29 18:55:44

      

    CONSOLE DISPLAY UNITS:

      Barometer:                    inHg

      Temperature:                  degree_F

      Rain:                         inch

      Wind:                         mile_per_hour

      

    CONSOLE STATION INFO:

      Latitude (onboard):           +34.2°

      Longitude (onboard):          -86.2°

      Use manual or auto DST?       AUTO

      DST setting:                  N/A

      Use GMT offset or zone code?  ZONE_CODE

      Time zone code:               6

      GMT offset:                   N/A

      Temperature logging:          LAST

      Retransmit channel:           ON (255)

        

    TRANSMITTERS: 

      Channel   Receive   Repeater  Type

         1      active      none    iss 

         2      active      none    temp (as extra temperature 1)

         3      active      none    wind 

         4      inactive    none    (N/A) 

         5      inactive    none    (N/A) 

         6      inactive    none    (N/A) 

         7      inactive    none    (N/A) 

         8      inactive    none    (N/A) 

 

    RECEPTION STATS:

      Total packets received:       25957

      Total packets missed:         636

      Number of resynchronizations: 0

      Longest good stretch:         327

      Number of CRC errors:         98

      

    BAROMETER CALIBRATION DATA:

      Current barometer reading:    30.295 inHg

      Altitude:                     1089 feet

      Dew point:                    44 F

      Virtual temperature:          46 F

      Humidity correction factor:   2.0

      Correction ratio:             1.041

      Correction constant:          +0.000 inHg

      Gain:                         0.000

      Offset:                       -50.000

      

    OFFSETS:

      Wind direction:               +0 deg

      Inside Temperature:           +0.0 F

      Inside Humidity:              +0 %

      Outside Temperature:          +0.0 F

      Outside Humidity:             +0 %

      Extra Temperature 1:          +0.0 F

 

I ran the program direct and it showed extraTemp1: 54.0.

 

Tom

 

 

From: weewx...@googlegroups.com <mailto:weewx...@googlegroups.com>  
<weewx...@googlegroups.com <mailto:weewx...@googlegroups.com> > On Behalf Of 
Thomas Keffer
Sent: Saturday, December 29, 2018 6:52 PM
To: weewx-user <weewx...@googlegroups.com <mailto:weewx...@googlegroups.com> >
Subject: Re: [weewx-user] ExtraTemp1

 

Hello, Tom

 

How did you check for values in the database? Could you be more specific?

 

Couple things to try:

 

1. Try using the  
<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fweewx.com%2Fdocs%2Fhardware.htm%23vantage_info44&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734286928&sdata=9Us8GCpSzxu%2BhxzLGv166kAA63mjs89BHa9pNUvml0o%3D&reserved=0>
 wee_device command with the --info option. You will have to stop WeeWX first. 
This will confirm whether the console is aware of the extra sensor.

 

2. Try running WeeWX  
<https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fweewx.com%2Fdocs%2Fusersguide.htm%23Running_directly&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734286928&sdata=24ekSkfVXAaKRIYH1SO8aYo8z1notfKlXijY7yXAxfk%3D&reserved=0>
 directly from the command line and watch what it prints out. What values do 
you see for extraTemp1?

 

-tk

 

 

On Sat, Dec 29, 2018 at 4:39 PM Tom Robertson <nine...@gmail.com 
<mailto:nine...@gmail.com> > wrote:

I have a Davis Vantage 2 with the extra sensor.  I am running weewx on a RPI.  
I see the extra temp sensor value show up in my Meteotemplate web page so I 
know it is being sent.  When I look at the weex DB I see the field for the 
ExtraTemp1 sensor but it is not being populated.

 

I would like to be able to see this value in the weewx standard reports.

 

Any help please?

 

Tom

-- 
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 <mailto:weewx-user+...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734286928&sdata=xYCkmqA6uthfqtAdBDlawknmPA5kUqHskVPc1lp8SnU%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+...@googlegroups.com <mailto:weewx-user+...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734286928&sdata=xYCkmqA6uthfqtAdBDlawknmPA5kUqHskVPc1lp8SnU%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+...@googlegroups.com <mailto:weewx-user+...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734286928&sdata=xYCkmqA6uthfqtAdBDlawknmPA5kUqHskVPc1lp8SnU%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+...@googlegroups.com <mailto:weewx-user+...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734443181&sdata=j6glgiKIE1cQWEznig3P8CYxgvngw4wK2HP7ps9SAb8%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+...@googlegroups.com <mailto:weewx-user+...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734443181&sdata=j6glgiKIE1cQWEznig3P8CYxgvngw4wK2HP7ps9SAb8%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+...@googlegroups.com <mailto:weewx-user+...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734443181&sdata=j6glgiKIE1cQWEznig3P8CYxgvngw4wK2HP7ps9SAb8%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com 
<mailto:weewx-user+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734443181&sdata=j6glgiKIE1cQWEznig3P8CYxgvngw4wK2HP7ps9SAb8%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com 
<mailto:weewx-user+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734443181&sdata=j6glgiKIE1cQWEznig3P8CYxgvngw4wK2HP7ps9SAb8%3D&reserved=0>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com 
<mailto:weewx-user+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout 
<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7C%7C35bc9323c5ba4276c3a008d66e69bc2a%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817797734443181&sdata=j6glgiKIE1cQWEznig3P8CYxgvngw4wK2HP7ps9SAb8%3D&reserved=0>
 .

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

Reply via email to