[weewx-user] Re: Looking for a starting point - driver for Lufft WS601-UMB

2018-02-19 Thread mwall
On Monday, February 19, 2018 at 2:34:34 PM UTC-5, Alan W. wrote:
>
> Is there an in-use driver that could provide a starting place for a 
> channel by channel (value by value) driver, including station configuration?
>

alan,

start simple, and make the driver as dumb as possible.

pick one protocol - after you get one working, you can consider adding 
others.

since the driver will have to poll the hardware, decide on appropriate 
polling intervals, based on the sensor refresh rates.

don't worry about all the different units - just pick one set of units and 
go with it.  prolly best if you pick a set of units that fits either US, 
METRIC, or METRICWX so you don't have to do conversions in the driver.

it looks like you'll want to do partial packets.  poll each sensor, and 
send the data for each sensor immediately - do not aggregate sensors for 
LOOP data.  you don't want to maintain any more state in the driver than 
you have to.

eventually you'll want to implement ConfEditor so that the driver is easy 
to install.

you can implement the Configurator when you're ready to let weewx configure 
the device (wee_device is the entry point for that).  see the cc3000, 
te923, vantage, or ws23xx drivers for configurator examples.  they are all 
a bit more complicated, since changing hardware settings typically requires 
some user prompting and confirmation.

for an example of multiple protocols, take a look at the driver for the 
vaisala WX5xx series:

https://github.com/matthewwall/weewx-wxt5x0

the vaisala instrument has multiple protocols, and multiple ways of polling 
the sensors.  you can query each sensor, or you can query for data from 
multiple sensors.

i typically do a class for the hardware (or for each protocol if the 
hardware supports multiple protocols).  then the driver class.  that makes 
it easy to do a 'main' function that just exercises the hardware and makes 
development much faster.

m

-- 
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] Android phone users weather app.

2018-02-19 Thread Greg from Oz
I use this android app 
https://play.google.com/store/apps/details?id=ales.veluscek.weatherstation=en

It was designed for Cumulus weather program but I create the same file 
format using weewx.

To make it work with weewx do the following:


Under [CheetahGenerator] in your skin.conf add this line:
[[[Realtime]]]
template = realtime.xml.tmpl

Place the attached file into the same directory(folder) as the skin.conf 
you just edited.

Run wee_reports and see if a realtime.xml file is produced in the root of 
the website for the weewx weather.

Download the app to your phone and put in your url for you weather website 
e.g http://yourweathersite.com.au/realtime.xml

That's about it. Hopefully it will help someone. I use this app everyday 
and I used to use cumulus on a windows pc but since swapping
to weewx I couldn't find any app that was as good.

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


realtime.xml.tmpl
Description: Binary data


[weewx-user] Re: Centos Install Questions - Davis Vantage Pro2

2018-02-19 Thread Dana Roode
Yes; I used the weewx config program and the configuration file is updated 
fine.

I found another post about this problem and made this edit to vantage.py -  
adjusting "for_loopPacket in self.genDavisLoopPackets(200)" from 200 to 2.  
I did that and it all started working now.

  Dana 



On Monday, February 19, 2018 at 6:21:08 PM UTC-8, Greg from Oz wrote:
>
> Did you edit /etc/weewx/weewx.conf as that is the file that has the 
> information about your station name etc?
>
> On Tuesday, 20 February 2018 12:05:13 UTC+11, Dana Roode wrote:
>>
>> Hello,
>>
>> Just installed Weewx on Centos 7.4 with a Davis Vantage Pro2; install 
>> seemed to go well.  Two questions:
>>
>> a) After configuration, entering wx station type, location, etc, I was 
>> expecting the web page that had been installed at /weewx/ to be updated to 
>> reflect my information rather than the initial "Hood River Oregon" 
>> simulator page.  Is there something I need to do to have the information 
>> reflected in the configuration file shown on this web page?  Perhaps its a 
>> manual thing.
>>
>> b) When I run weewx as a daemon (/etc/init.d/weewx start) I get the 
>> messages about Wunderground etc posting not enabled, then it starts the 
>> main packet loop.  It tries several times but gets an error "expected to 
>> read 99 chars; got 0 instead" and then pauses for 60 seconds.  When I run 
>> weewxd in the shell, every few seconds a long record preceded by LOOP: is 
>> displayed with all the data from my weather station.  It would seem that 
>> weewx can access the data when I run interactively but not as a daemon?  
>> Does that make sense?
>>
>> Thanks for any pointers and I will keep reading the documentation 
>> meanwhile.
>>
>>   Dana Roode
>>
>>

-- 
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: Centos Install Questions - Davis Vantage Pro2

2018-02-19 Thread Greg from Oz
Did you edit /etc/weewx/weewx.conf as that is the file that has the 
information about your station name etc?

On Tuesday, 20 February 2018 12:05:13 UTC+11, Dana Roode wrote:
>
> Hello,
>
> Just installed Weewx on Centos 7.4 with a Davis Vantage Pro2; install 
> seemed to go well.  Two questions:
>
> a) After configuration, entering wx station type, location, etc, I was 
> expecting the web page that had been installed at /weewx/ to be updated to 
> reflect my information rather than the initial "Hood River Oregon" 
> simulator page.  Is there something I need to do to have the information 
> reflected in the configuration file shown on this web page?  Perhaps its a 
> manual thing.
>
> b) When I run weewx as a daemon (/etc/init.d/weewx start) I get the 
> messages about Wunderground etc posting not enabled, then it starts the 
> main packet loop.  It tries several times but gets an error "expected to 
> read 99 chars; got 0 instead" and then pauses for 60 seconds.  When I run 
> weewxd in the shell, every few seconds a long record preceded by LOOP: is 
> displayed with all the data from my weather station.  It would seem that 
> weewx can access the data when I run interactively but not as a daemon?  
> Does that make sense?
>
> Thanks for any pointers and I will keep reading the documentation 
> meanwhile.
>
>   Dana Roode
>
>

-- 
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: phantom sensor data with VantageVue

2018-02-19 Thread T Konzl
I experienced this same issue with a Davis Vantage Vue ISS with a Davis 
data logger.  I recently noticed on Wunderground that when my wind speed 
was low enough, it would show up on the WU map with a dashed outline 
meaning that it was missing data.  After a little research here, I found 
that I needed to disable rapidfire to keep that from occurring.  After 
doing that, I found that I was experiencing this same issue with phantom 
leaf wetness, soil moisture, and soil temp values.  I followed your 
instructions to update my weewx.conf and it's now working as desired, 
without reporting these erroneous values.

I have a question or two:
1. why does using rapidfire cause a loss of wind data reported to WU?
2. why did I NOT see any phantom values until I disabled rapidfire?

Thanks,
[the other] Tom K

On Tuesday, May 24, 2016 at 10:18:12 PM UTC-5, Bill Richter wrote:
>
> This is my final configuration that is working.  
>
> set record_generation=hardware  in weewx.conf  (this is the default)
>
> set these values to make sure nothing is archived or sent out.
>
> [StdCalibrate]
>
> [[Corrections]]
> # For each type, an arbitrary calibration expression can be given.
> # It should be in the units defined in the StdConvert section.
> # Example:
> #foo = foo + 0.2
> leafWet1 = None
> soilMoist1 = None
> soilTemp1 = None
>

-- 
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: http://weewx.com/stations.html weewx map show skins used by stations as you can show by hardware type

2018-02-19 Thread Greg from Oz
I don't know what internal data would be seen.
As far as I know it just shows your web page and your lat and long and 
hardware driver you are using and that's about it.
It is good to see what others are doing out there.

On Tuesday, 20 February 2018 12:48:37 UTC+11, vk3...@gmail.com wrote:
>
> I was not aware of that map - any my station is not on it (not that I 
> really want to make it public - I would need to make 2 interfaces to keep 
> the 'internal' data private)
> Therefore it may not be a truly representative sample of what skins (or 
> anything else) is out there.
> Susan
>

-- 
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: http://weewx.com/stations.html weewx map show skins used by stations as you can show by hardware type

2018-02-19 Thread vk3anz
I was not aware of that map - any my station is not on it (not that I 
really want to make it public - I would need to make 2 interfaces to keep 
the 'internal' data private)
Therefore it may not be a truly representative sample of what skins (or 
anything else) is out there.
Susan

-- 
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] Centos Install Questions - Davis Vantage Pro2

2018-02-19 Thread Dana Roode
Hello,

Just installed Weewx on Centos 7.4 with a Davis Vantage Pro2; install 
seemed to go well.  Two questions:

a) After configuration, entering wx station type, location, etc, I was 
expecting the web page that had been installed at /weewx/ to be updated to 
reflect my information rather than the initial "Hood River Oregon" 
simulator page.  Is there something I need to do to have the information 
reflected in the configuration file shown on this web page?  Perhaps its a 
manual thing.

b) When I run weewx as a daemon (/etc/init.d/weewx start) I get the 
messages about Wunderground etc posting not enabled, then it starts the 
main packet loop.  It tries several times but gets an error "expected to 
read 99 chars; got 0 instead" and then pauses for 60 seconds.  When I run 
weewxd in the shell, every few seconds a long record preceded by LOOP: is 
displayed with all the data from my weather station.  It would seem that 
weewx can access the data when I run interactively but not as a daemon?  
Does that make sense?

Thanks for any pointers and I will keep reading the documentation meanwhile.

  Dana Roode

-- 
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: Winddir

2018-02-19 Thread gjr80
It may be technically correct to have None for wind direction when wind speed 
is zero (though I am sure you will find some who can put up a good argument for 
not doing this) unfortunately we do not live in an ideal world and often have 
other constraints. Clientraw.txt and other similar formatted data files (eg 
gauge-data.txt) are typically used as the data feed for some sort of display 
system, Weatherdisplay Live and the SteelSeries Weather gauges being a couple 
of examples. I can't speak for WDL but if you try feeding None (or the 
javascript equivalent null) in to the SteelSeries gauges the result is less 
than acceptable (from memory the wind direction gauge reverts to 0). In this 
case a much more acceptable outcome is to continue to feed (and hence display) 
the last known wind direction.

Gary

-- 
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: Winddir

2018-02-19 Thread gjr80
Hallo,

OK, wenn Sie ignore_zero_wind verwenden, hängt die angezeigte Windrichtung 
davon ab, ob Ihre Station Windrichtung erzeugt, wenn kein Wind ist. Sehen Sie, 
wie Sie gehen, wenn es immer noch Probleme gibt, lassen Sie es uns wissen und 
ich werde sehen, was mit der Clientraw-Vorlage getan werden kann.

Gary

-- 
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] Looking for a starting point - driver for Lufft WS601-UMB

2018-02-19 Thread Alan W.
I am looking to develop a driver for the Lufft WS601-UMB.  It seems most 
systems have a single, or a few different loop packets, each with multiple 
measurements/sensor output.  The Lufft does have a few buffers with 
multiple measurements, but even combining all of them does not necessarily 
provide the specific values one might want.  It can also provide individual 
values by channel, and has different channels for different units (i.e. 
there is a channel for temp in F and another for C).  It can use different 
protocols (UMB, MODBUS, etc), and as far as I can tell, will only output on 
request.  I am thinking that using the UMB protocol is desirable, as it 
provides the best ability to configure the station without the proprietary 
software (win only).

Is there an in-use driver that could provide a starting place for a channel 
by channel (value by value) driver, including station configuration?  I can 
get around in Python, but I am chemist, not a programmer.  A starting place 
would be helpful.

Some info on the Lufft, including user manual and UMB protocol (under 
resources tab towards bottom of the page):  
https://www.lufft.com/products/compact-weather-sensors-293/ws601-umb-smart-weather-sensor-1831/

Cheers,
Al

-- 
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] Guidance on developing a driver for the Lufft WS601-UMB

2018-02-19 Thread Alan W.
I am looking to develop a driver for the Lufft WS601-UMB.  It seems most 
systems have a single, or a few different loop packets, each with multiple 
measurements/sensor output.  The Lufft does have a few buffers with 
multiple measurements, but even combining all of them does not necessarily 
provide the specific values one might want.  It can also provide individual 
values by channel, and has different channels for different units (i.e. 
there is a channel for temp in F and another for C).  It can also use 
different protocols (UMB, MODBUS, etc).  I am thinking that using the UMB 
protocol is desirable, as it provides the best ability to configure the 
sensor suite without the proprietary sw (win only).

IS thee an in-use driver that could provide a starting place for a channel 
by channel (value by value) driver, including sensor config?  I can get 
around in Python, but I am chemist, not a programmer.  A starting place 
would be helpful.

some info on the Lufft, including user manual and UMP protocol (under 
resources tab towards bottom of the page):  
https://www.lufft.com/products/compact-weather-sensors-293/ws601-umb-smart-weather-sensor-1831/

Cheers,
Al


-- 
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: Metar Daten

2018-02-19 Thread Andrew Milner
As far as I know nobody has written an extension to decode or even import a 
Metar.  However - nothing stops you writing a suitable service



On Monday, 19 February 2018 17:49:30 UTC+2, k-l...@gmx.de wrote:

> hello it is possible to bind the weather text from a metar (airport)EDDL.txt.
>
> hallo ist es möglich den Wettertext von einem Metar (Flughafen )EDDL.txt ein 
> zu binden.
>
> mfg. Kalli
>
>

-- 
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: Winddir

2018-02-19 Thread Andrew Milner
I disagree - it is better to be accurate and say 'none' for direction when 
there is no wind speed.  The dir3ection of the wind vane could have been 
affected by gravity or even a bird - if there is no wind speed it is better 
to say there is no direction either.  

On Monday, 19 February 2018 17:39:40 UTC+2, k-l...@gmx.de wrote:
>
> Hallo gir80
> ich brauch die Clientraw.txt für WDLive
> ich hab erstmal ignore_Wind_zero gemacht
>
> besser ist es wenn kein wind dann sollte die Windrichtung da stehen 
> bleiben wo sie als letztes stand , und nicht einfach irgendwo.
> Also so wenn der Wind aus norden kommt, und dann kein wind mehr da ist 
> sollt er auch auf Norden stehen bleiben, bis sich die Richtung ändert.
> mfg.
>  
>
> Am Samstag, 17. Februar 2018 19:28:54 UTC+1 schrieb k-l...@gmx.de:
>>
>> Hallo
>> ich habe ein problem , das die Wind daten nicht in die Clientraw.txt 
>> geschrieben werden.
>> meine Station WH4000 und WH1080
>>
>> mfg.
>>
>

-- 
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] Metar Daten

2018-02-19 Thread K-Lutz


hello it is possible to bind the weather text from a metar (airport)EDDL.txt.

hallo ist es möglich den Wettertext von einem Metar (Flughafen )EDDL.txt ein zu 
binden.

mfg. Kalli

-- 
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: Winddir

2018-02-19 Thread K-Lutz
Hallo gir80
ich brauch die Clientraw.txt für WDLive
ich hab erstmal ignore_Wind_zero gemacht

besser ist es wenn kein wind dann sollte die Windrichtung da stehen bleiben 
wo sie als letztes stand , und nicht einfach irgendwo.
Also so wenn der Wind aus norden kommt, und dann kein wind mehr da ist 
sollt er auch auf Norden stehen bleiben, bis sich die Richtung ändert.
mfg.
 

Am Samstag, 17. Februar 2018 19:28:54 UTC+1 schrieb k-l...@gmx.de:
>
> Hallo
> ich habe ein problem , das die Wind daten nicht in die Clientraw.txt 
> geschrieben werden.
> meine Station WH4000 und WH1080
>
> mfg.
>

-- 
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] How to add literal .txt to end of variable

2018-02-19 Thread Louis De Lange
Thanks Tom,

Backslash escape character did not work but following the cheetah manual 
and enclosing the variable in brackets did.  

$monthYear

Might be useful for other people too.

On Sunday, 18 February 2018 18:35:18 UTC-8, Tom Keffer wrote:
>
> Try putting a backslash in front of any special characters. You probably 
> just need it for the dollar sign.
>
>  $monthYear
>
> The guide to Cheetah syntax is located here 
> . If you're going 
> to work with Cheetah much, it's well worth going through. There are lots of 
> goodies in there!
>
> -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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.