Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Some issues and problems

 Discussion <weewx-user@googlegroups.com>
Received: by 10.236.165.99 with SMTP id d63mr8377696yhl.7.1336143943437;
        Fri, 04 May 2012 08:05:43 -0700 (PDT)
X-BeenThere: weewx-user@googlegroups.com
Received: by 10.236.119.195 with SMTP id n43ls3478158yhh.3.gmail; Fri, 04 May
 2012 08:05:43 -0700 (PDT)
Received: by 10.236.180.33 with SMTP id i21mr8461973yhm.1.1336143943079;
        Fri, 04 May 2012 08:05:43 -0700 (PDT)
Received: by 10.236.180.33 with SMTP id i21mr8461972yhm.1.1336143943062;
        Fri, 04 May 2012 08:05:43 -0700 (PDT)
Return-Path: <tkef...@gmail.com>
Received: from mail-gy0-f178.google.com (mail-gh0-f178.google.com [209.85.160.178])
        by gmr-mx.google.com with ESMTPS id k54si9180258yhh.5.2012.05.04.08.05.43
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 04 May 2012 08:05:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of tkef...@gmail.com designates 209.85.160.178 as permitted sender) client-ip=209.85.160.178;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of tkef...@gmail.com designates 209.85.160.178 as permitted sender) smtp.mail=tkef...@gmail.com; dkim=pass header...@gmail.com
Received: by ghbf1 with SMTP id f1so2953590ghb.9
        for <weewx-user@googlegroups.com>; Fri, 04 May 2012 08:05:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        bh=e0UUjiLB73Dj8qlFYMualSYwEgrvf0SYiGE5141qqF0=;
        b=R2AkM1KMmo8VBTcqqMYFupaRSNBd6ag0xzqIUNp8+Q6UMSf8OMgvgaVja+oy9K6zY4
         rOG8RUQ632t8dVLURoC/wkwOUUAiLCtdvG4nTGPqduEmRMEtpprhzIdKcmA4IUyulh1N
         w4OlHqHxy6YGXybnVpyCaQZOK0TdGQ8NENVbNJzVxZfNaLKdkNle7ITO3Pv9kNVFT0LF
         J5gyvqCz71y+aB5+CC4eDvfPnYwq+16CsnKC+qkuHOKbjzrunaZVV4XDTqnh7p+O9ZSo
         5SSMj0g6b3e27bNX9VYYUTTHCRLTSZwHrXWBx5czFkA87jQRBk3e1Xi81zq4HR97waQH
         PzYw==
MIME-Version: 1.0
Received: by 10.50.77.136 with SMTP id s8mr3236805igw.56.1336143942786; Fri,
 04 May 2012 08:05:42 -0700 (PDT)
Received: by 10.50.171.70 with HTTP; Fri, 4 May 2012 08:05:42 -0700 (PDT)
In-Reply-To: <CABKFOzcneScSAAVpV0iznRiGco-r-ZuVoXz7b3Mvki+GccP...@mail.gmail.com>
References: <CABKFOzcneScSAAVpV0iznRiGco-r-ZuVoXz7b3Mvki+GccP...@mail.gmail.com>
Date: Fri, 4 May 2012 08:05:42 -0700
Message-ID: <CAPq0zEBxvR+XPiio33vfEezm7KGYW=7zDGAQYjn3My+TSfN...@mail.gmail.com>
Subject: Re: [weewx-user] Some issues and problems
From: Thomas Keffer <tkef...@gmail.com>
To: weewx-user@googlegroups.com
Content-Type: multipart/alternative; boundary=e89a8f3ba05b141fc504bf37413f

--e89a8f3ba05b141fc504bf37413f
Content-Type: text/plain; charset=ISO-8859-1

Hello, and welcome to the weewx users group!

1. This will be familiar to long-time users, but please set debug=1, run
again, then send the relevant log snippet! Also, when you say you are using
the utf8 option, do you mean that you replaced the line
  encoding = html_entities
with a line
  encoding = utf8

2. The dateTime column is what is called "unix epoch
time<http://en.wikipedia.org/wiki/Unix_time>".
The template conversion code in weewx should do the conversion to local
time for you. If you want to do something special, say time in a different
time zone, that gets more involved. Can you give us more detail what you
are trying to do?

3. The link to the format used by meteoclimatic is lacking some detail.
Does one fill out a file with the desired information then send it to them?
Or, is this an HTTP GET? If the former, then there it should be quite easy
--- just create a Cheetah template, just like the other templates, with the
framework they give and plug in the relevant numbers using "dot" codes. So,
it would look something like:

*VER=DATA2
*COD=
*SIG=
*UPD=$current.dateTime     # You may have to do a time conversion here!
*TMP=$current.outTemp
*WND=$current.windSpeed

...


-tk

On Fri, May 4, 2012 at 6:51 AM, eumesmamente <manxo...@gmail.com> wrote:

> Hi all.
> I am new to the group and wanted to introduce myself and ask some
> questions. I'm from Galicia in Spain and am trying to install weewx using
> a Vantage Vue in a school. I am a user with good knowledge of Linux, but
> not programming. My issues and problems are:
>
> 1 - I'm trying to translate to Galician some templates. When I use the
> translated index.html.tmpl the reports and web pages are not generated
> correctly  and an error in syslog appears about some 'ascii' can not
> encode or decode 0xXX character (I forget). I'm using utf8 option on skins.conf
> file.
>
> 2 - I can not interpret the contents of the dateTime column in the Sqlitedatabase
> . How can I convert the contents of this column on a date and time?.
>
> 3 - I wish I could send data to meteoclimatic.com station, a Spanishweather
> web. They use a data template like this:
>
> http://personal.telefonica.terra.es/web/majycman/freewxsummary10.html
> http://jordicorbella.com/meteocam/meteo/meteoclimatic.htx
>
> I may do this in some way from weewx?
> Many thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Weewx Weather Station Discussion" group.
> To post to this group, send email to weewx-user@googlegroups.com.
> To unsubscribe from this group, send email to
> weewx-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/weewx-user?hl=en.
>



-- 
Thomas Keffer

kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer

--e89a8f3ba05b141fc504bf37413f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello, and welcome to the weewx users group!<div><br></div><div>1. This wil=
l be familiar to long-time users, but please set debug=3D1, run again, then=
 send the relevant log snippet! Also, when you say you are using the utf8 o=
ption, do you mean that you replaced the line=A0</div>
<div><font face=3D"courier new, monospace">=A0 encoding =3D html_entities</=
font></div><div>with a line</div><div><font face=3D"courier new, monospace"=
>=A0 encoding =3D utf8</font></div><div><br></div><div>2. The dateTime colu=
mn is what is called &quot;<a href=3D"http://en.wikipedia.org/wiki/Unix_tim=
e">unix epoch time</a>&quot;. The template conversion code in weewx should =
do the conversion to local time for you. If you want to do something specia=
l, say time in a different time zone, that gets more involved. Can you give=
 us more detail what you are trying to do?</div>
<div><br></div><div>3. The link to the format used by meteoclimatic is lack=
ing some detail. Does one fill out a file with the desired information then=
 send it to them? Or, is this an HTTP GET? If the former, then there it sho=
uld be quite easy --- just create a Cheetah template, just like the other t=
emplates, with the framework they give and plug in the relevant numbers usi=
ng &quot;dot&quot; codes. So, it would look something like:</div>
<div><pre style=3D"word-wrap:break-word;white-space:pre-wrap">*VER=3DDATA2
*COD=3D
*SIG=3D
*UPD=3D$current.dateTime     # You may have to do a time conversion here!
*TMP=3D$current.outTemp
*WND=3D$current.windSpeed</pre><pre style=3D"word-wrap:break-word;white-spa=
ce:pre-wrap">...</pre><br>-tk</div><div><br><div class=3D"gmail_quote">On F=
ri, May 4, 2012 at 6:51 AM, eumesmamente <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:manxo...@gmail.com" target=3D"_blank">manxo...@gmail.com</a>&gt;</spa=
n> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><span lang=3D"en"><span>Hi all</span><span>.=
</span><br> <span>I am new to</span> <span>the group</span> <span>and wante=
d to</span> <span>introduce myself and</span> <span>ask some</span> <span>q=
uestions.</span> <span>I&#39;m from</span> <span>Galicia</span> <span>in Sp=
ain</span> <span>and am</span> <span>trying to install</span> <span>weewx</=
span> <span>using a</span> <span>Vantage</span> <span>Vue</span> <span>in a=
 school.</span> <span>I am</span> <span>a user</span> <span>with good knowl=
edge of</span> <span>Linux</span><span>, but not</span> <span>programming</=
span><span>.</span> <span>My issues</span> <span>and problems</span> <span>=
are:</span><br>

<br> <span>1 -</span> <span>I&#39;m trying to</span> <span>translate</span>=
 <span>to Galician</span> <span>some templates</span><span>.</span> <span>W=
hen I use</span> <span>the </span></span><span lang=3D"en"><span>translated=
</span></span><span lang=3D"en"><span></span> <span>index.html.tmpl</span> =
<span>the reports and web pages are not generated</span> <span>correctly</s=
pan>=A0<span></span> <span>and an error</span> <span>in</span> <span>syslog=
</span> <span>appears about</span> <span>some &#39;</span><span>ascii&#39;<=
/span> <span>can not</span> <span>encode</span> <span>or</span> <span>decod=
e</span> <span>0xXX</span> <span>character</span> <span>(I forget</span><sp=
an>).</span> <span>I&#39;m using</span> <span>utf8</span> option o<span>n</=
span> <span>skins.conf file.</span><br>

<br> <span>2 -</span> <span>I can not</span> <span>interpret</span> <span>t=
he contents of the</span> <span>dateTime</span> <span>column</span> <span>i=
n</span> <span>the</span></span><span lang=3D"en"> <span>Sqlite</span></spa=
n><span lang=3D"en"><span> database</span><span></span><span>.</span> <span=
>How</span><span> can</span> I <span>convert the contents of</span> <span>t=
his column</span> <span>on a date</span> <span>and time</span><span>?</span=
><span>.</span><br>

<br> <span>3 -</span> <span>I wish I could</span> <span>send data</span> <s=
pan>to</span> <span><a href=3D"http://meteoclimatic.com" target=3D"_blank">=
meteoclimatic.com</a></span> <span>station</span><span>, a</span> <span>Spa=
nish</span> weather <span>web</span><span></span><span>.</span> <span>They =
use</span> <span>a data template</span> <span>like this:<br>

<br><a href=3D"http://personal.telefonica.terra.es/web/majycman/freewxsumma=
ry10.html" target=3D"_blank">http://personal.telefonica.terra.es/web/majycm=
an/freewxsummary10.html</a><br><a href=3D"http://jordicorbella.com/meteocam=
/meteo/meteoclimatic.htx" target=3D"_blank">http://jordicorbella.com/meteoc=
am/meteo/meteoclimatic.htx</a><br>

</span><br> <span>I may</span> <span>do this</span> <span>in some way</span=
> <span>from</span> <span>weewx</span><span>?<br>Many thanks<span class=3D"=
HOEnZb"><font color=3D"#888888"><br></font></span></span></span><span class=
=3D"HOEnZb"><font color=3D"#888888">

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Weewx Weather Station Discussion&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:weewx-user@googlegro=
ups.com" target=3D"_blank">weewx-user@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:weewx-user%=
2Bunsubscribe@googlegroups.com" target=3D"_blank">weewx-user+unsubscribe@go=
oglegroups.com</a>.<br>

For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/weewx-user?hl=3Den" target=3D"_blank">http://groups.google.com/group/w=
eewx-user?hl=3Den</a>.<br>


</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r>Thomas Keffer<br><br><a href=3D"mailto:kef...@threefools.org" target=3D"_=
blank">kef...@threefools.org</a><br>+1 541-386-8891 (h)<br>+1 541-490-9507 =
(c)<div>
Skype: tkeffer<br></div><br>
</div>

--e89a8f3ba05b141fc504bf37413f--