Joush, I am not certain I understand what you want to do, but I think you 
want to display current weather data in a simple way that's readable in a 
command line environment. Is that right?

If so, the simplest way is to install a command line web browser on the Pi. 
I like lynx, but several others are available. Here's what it looks like:

                                                      Boulevard 62.2°F (p1 
of 8)
62.2°F

Boulevard Neighborhood, Athens, GA

03/23/2018 03:25:00 PM

   Current Conditions
   Outside Temperature       62.2°F
   Wind Chill                62.2°F
   Heat Index                62.2°F
   Dewpoint                  37.6°F
   Humidity                  40%
   Barometer                 30.241 inHg
   Uncorrected pressure      29.458 inHg
   Barometer Trend (3 hours) -0.098 inHg
   Wind                      3 mph from 343° (NNW)
   Rain Rate                 0.00 in/hr
   Inside Temp/Humidity      71.0°F / 40%
   Rooftop T/H               62.4°F / 31%

Another thing I've done is create a new template, current.txt.tmpl in 
/etc/weewx/skins/Standard/

It consists of one line:

$current.dateTime.format("%Y-%m-%d_%H:%M")    $current.outTemp.formatted    
$current.outHumidity    $current.windchill.formatted    
$current.heatindex.formatted    $current.barometer.formatted    
$day.rain.sum    $current.windDir.ordinal_compass    $current.windGust    
$current.windSpeed

Then include this in the [CheetahGenerator] section of skin.conf:

        [[[CurrentObservation]]]
            template = current.txt.tmpl

This will generate a file named current.txt in the same directory as all 
the weewx html files. It looks like this:

2018-03-23_15:20    62.4    40%    62.4    62.4    30.249    0.00 in    NW  
  11 mph    7 mph

You could also include a header line in the template file, identifying the 
fields:

Date & Time         temp    relh   wc      htidx   barom        rain  
 wdir   wgust    wspd

I hope this is helpful!



On Thursday, March 22, 2018 at 12:45:07 PM UTC-4, Joush wrote:
>
> Hi everyone,
>
> I have a Davis vantage pro2 (firmware 1.6)
> I tried weewx and like it so much.
> I wonder if there is a way to display some of data (temperature, 
> barometer...) from Davis on Raspberry Pi's terminal or GUI using vnctight?
>
> I guess it can be done by reading data from sql, but i don't know how to 
> do it.
> Can anyone help me with it?
>
> Thank you,
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to