Re: [weewx-user] Re: AcuRite bridge and DNS setup

2018-03-08 Thread RobbH
"Supported" makes sense. Thanks for making that distinction, as well as 
explaining the change.

On Thursday, March 8, 2018 at 11:04:32 AM UTC-5, vince wrote:
>
> On Thursday, March 8, 2018 at 6:39:27 AM UTC-8, RobbH wrote:
>>
>> Is dpkg still recommended? I came to my conclusion after reading the docs.
>>
>> The latest revision of the installation guide for Debian-based 
>> distributions doesn't even mention dpkg.
>> http://www.weewx.com/docs/debian.htm
>>
>>
>>
> Perhaps 'supported' would be a better term.
>
> The docs were updated to reflect the apt-get method of 
> downloading+installing the package in an easier way.   You can always 
> download it yourself and install it via dpkg or apt as well, and 
> alternately download the tarball and use the original setup.py method.  All 
> work fine.
>

-- 
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] Re: AcuRite bridge and DNS setup

2018-03-08 Thread vince
On Thursday, March 8, 2018 at 6:39:27 AM UTC-8, RobbH wrote:
>
> Is dpkg still recommended? I came to my conclusion after reading the docs.
>
> The latest revision of the installation guide for Debian-based 
> distributions doesn't even mention dpkg.
> http://www.weewx.com/docs/debian.htm
>
>
>
Perhaps 'supported' would be a better term.

The docs were updated to reflect the apt-get method of 
downloading+installing the package in an easier way.   You can always 
download it yourself and install it via dpkg or apt as well, and 
alternately download the tarball and use the original setup.py method.  All 
work fine.

-- 
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: WeeWX-WD - clientraw.txt change format

2018-03-08 Thread Arild M. Halvorsen
Thank you!

I followed your advice. Work like a charm ;-) 
https://monsegaard.no/site/daglige-data/

torsdag 8. mars 2018 12.16.43 UTC+1 skrev gjr80 følgende:
>
> Hi,
>
> Yes making a change to that line and adding a $useThisFormat parameter as 
> follows would do what you want:
>
> #*WD|006*#$current.barometer.hPa.toString($addLabel=False, 
> $useThisFormat='%.0f', $localize=False) #slurp
>
> but I would strongly advise against this. The reason being that any 
> changes made to the template files would be overwritten should you upgrade 
> weeWX-WD in the future. A far bettter, and upgrade safe, approach is to 
> override the hPa formatting from weewx.conf. In weewx.conf under 
> [StdReport] amend the [[wdClientraw]] stanza to look something like:
>
> [[wdClientraw]]
> HTML_ROOT = public_html/WD
> skin = Clientraw
> [[[Units]]]
> StringFormats
> hPa = %.0f
>
> This has the benefit of being upgrade safe, though now all hPa pressures 
> will have no places after the decimal point. If you particularly want to 
> change just the current barometric pressure then you would need to make the 
> change to clientraw.txt.tmpl but you will then have to manually handle 
> any future weeWX-WD upgrades.
>
> Gary
>
> On Thursday, 8 March 2018 18:26:29 UTC+10, Arild M. Halvorsen wrote:
>>
>> I want to change the format for the barometer pressure value. I want no 
>> desimal values.
>>
>> The clientraw.txt field 6 gives barometer pressure with one desimal e.g. 
>> 998.3 I want only 998 for better design 
>> https://monsegaard.no/site/daglige-data/ 
>>
>> In /etc/weewx/skins/Clientraw/clientraw.txt.tmpl I found this line: 
>>
>> #*WD|006*#$current.barometer.hPa.toString($addLabel=False, 
>> $localize=False) #slurp
>>
>> *Maybe can change format here?*
>>
>

-- 
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] Re: AcuRite bridge and DNS setup

2018-03-08 Thread RobbH
Is dpkg still recommended? I came to my conclusion after reading the docs.

The latest revision of the installation guide for Debian-based 
distributions doesn't even mention dpkg.

http://www.weewx.com/docs/debian.htm

It is still one of the recommended ways to upgrade an existing 
installation, though.


On Thursday, March 8, 2018 at 4:00:13 AM UTC-5, Liz wrote:
>
> On Wed, 7 Mar 2018 19:58:44 -0800 (PST) 
> RobbH  wrote: 
>
> > This is on Debian, with Weewx installed using dpkg. (I see now that 
> > that's no longer a recommended way to install.) 
>
> Of course it's a recommended way to install - I'm not sure how you came 
> to that conclusion. 
>
> Liz 
>

-- 
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: WeeWX-WD - clientraw.txt change format

2018-03-08 Thread gjr80
Hi,

Yes making a change to that line and adding a $useThisFormat parameter as 
follows would do what you want:

#*WD|006*#$current.barometer.hPa.toString($addLabel=False, 
$useThisFormat='%.0f', $localize=False) #slurp

but I would strongly advise against this. The reason being that any changes 
made to the template files would be overwritten should you upgrade weeWX-WD 
in the future. A far bettter, and upgrade safe, approach is to override the 
hPa formatting from weewx.conf. In weewx.conf under [StdReport] amend the 
[[wdClientraw]] stanza to look something like:

[[wdClientraw]]
HTML_ROOT = public_html/WD
skin = Clientraw
[[[Units]]]
StringFormats
hPa = %.0f

This has the benefit of being upgrade safe, though now all hPa pressures 
will have no places after the decimal point. If you particularly want to 
change just the current barometric pressure then you would need to make the 
change to clientraw.txt.tmpl but you will then have to manually handle any 
future weeWX-WD upgrades.

Gary

On Thursday, 8 March 2018 18:26:29 UTC+10, Arild M. Halvorsen wrote:
>
> I want to change the format for the barometer pressure value. I want no 
> desimal values.
>
> The clientraw.txt field 6 gives barometer pressure with one desimal e.g. 
> 998.3 I want only 998 for better design 
> https://monsegaard.no/site/daglige-data/ 
>
> In /etc/weewx/skins/Clientraw/clientraw.txt.tmpl I found this line: 
>
> #*WD|006*#$current.barometer.hPa.toString($addLabel=False, 
> $localize=False) #slurp
>
> *Maybe can change format here?*
>

-- 
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] Re: AcuRite bridge and DNS setup

2018-03-08 Thread Liz
On Wed, 7 Mar 2018 19:58:44 -0800 (PST)
RobbH  wrote:

> This is on Debian, with Weewx installed using dpkg. (I see now that
> that's no longer a recommended way to install.) 

Of course it's a recommended way to install - I'm not sure how you came
to that conclusion.

Liz

-- 
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] WeeWX-WD - clientraw.txt change format

2018-03-08 Thread Arild Halvorsen
I want to change the format for the barometer pressure value. I want no 
desimal values.

The clientraw.txt field 6 gives barometer pressure with one desimal e.g. 
998.3 I want only 998 for better 
design https://monsegaard.no/site/daglige-data/ 

In /etc/weewx/skins/Clientraw/clientraw.txt.tmpl I found this line: 

#*WD|006*#$current.barometer.hPa.toString($addLabel=False, $localize=False) 
#slurp

*Maybe can change format here?*

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