[weewx-user] Re: Webpage hosting for weewx reports

2018-02-17 Thread Markus Roth
It depends on where you live.
The server should not be too far away.
If I live in Europe, for example, the server should not necessarily be on 
another continent.
When you want a fast Webside.

I have a webhosting in Germany. https://www.domain-and-webspace.com/en/


Am Donnerstag, 15. Februar 2018 18:45:45 UTC+1 schrieb Praveen 
Chandrasekaran:
>
> Hi,
>
> This might be a dumb question but what is the best webpage hosting service 
> to host the standard reports from weewx? Currently I upload to 
> Wunderground. But I would also be able to view the StdReports on webpage 
> (like http://threefools.org/weewx/). I cannot have a computer running 24 
> by 7. I am using raspberry pi for weewx.
>
> Regards,
> Praveen
>

-- 
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] Having to Reinstall ...

2018-02-17 Thread Cycle London
Unrecoverable filesystem corruption on my Pi3.  So I need to reinstall the 
entire OS.

Fortunately, I was running regular backups of the entire contents of 
/home/weewx so I hope to be able to reinstall weewx and just 'drop' the 
$HOME back in.   

I have two issues with which I'd like some advice: 

1.  which method did I use to install?  I don't think I used apt-get, but 
is there a way to tell?  Is there a particular directory structure that 
will tell me?  Even if I use a different method, will the /home/weewx still 
be the same format? 

2.  Can someone remind me how I install the Oregon Scientific WMR300 
driver?  This was one of the first things I did, but can't remember how. 

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: ImportError: No module named 'weewx'

2018-02-17 Thread mwall
On Saturday, February 17, 2018 at 9:31:33 AM UTC-5, Stefan Gö wrote:
>
> Hi together,
>
> I want to write a new Driver for a Conrad Renkforce C8428 weather station 
> and I try now for a couple of hours to import the weewx.drivers into my 
> python scetch.
> But I get the answer:
>
> *ImportError: No module named 'weewx'*
>
> Can anybody help me* how to Import the weewx modules?*
>

first of all, you must use python2, not python3

assuming that your driver is in the 'user' directory (e.g., 
/home/weewx/bin/user), you should invoke it like this:

PYTHONPATH=/home/weewx/bin python /home/weewx/bin/renkforce3.py

this also assumes that you have a 'main' defined in your driver for easier 
testing and debugging.  

the 'main' should invoke whatever code gets data from the hardware

if you have not defined a 'main', then you can only test by invoking 
weewxd.  that requires a configuration stanza in your weewx configuration 
file such as:

[Renkforce]
driver = user.renkforce

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.


Re: [weewx-user] Re: Change archive interval for single report

2018-02-17 Thread WxManAJB
So, I’ve got data being produced, but getting that near real time 
gauge-data.txt file to my server at a rapid fire interval is proving elusive. 
I’ve tried getting the rsync skin running by producing a key pair for ssh and 
using those credentials in the skin setting of Weewx.conf, but it’s not sending 
anything and nothing is showing up in my log reflecting an attempt to do so. 

Any ideas?

Thanks again for all your help!

A.J.

-- 
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] FTP not updating to new website

2018-02-17 Thread Richard Cain
I set up weewx with no problems and wanted to integrate with a web server 
i.e. upload the data to my website. All worked fine but now I want to 
change the website I send the data to. I modified my weewx.conf file (the 
FTP section) and put the new website details in, restarted weewx but it is 
still updating the page on the old website and nothing is being sent to the 
new one.

-- 
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] FTP not updating to new website

2018-02-17 Thread Thomas Keffer
You're not giving us much to work with.

Please see the guide *Help! Posting to weewx-user
*.

-tk

On Sat, Feb 17, 2018 at 7:32 AM, Richard Cain 
wrote:

> I set up weewx with no problems and wanted to integrate with a web server
> i.e. upload the data to my website. All worked fine but now I want to
> change the website I send the data to. I modified my weewx.conf file (the
> FTP section) and put the new website details in, restarted weewx but it is
> still updating the page on the old website and nothing is being sent to the
> new one.
>
> --
> 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.
>

-- 
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] SQL request on weewx.sdb

2018-02-17 Thread Tryphon Cosinus
Hello,

I want to execute a SQL request on weewx.sdb inside a custom service engine.

For example, I want to know the pressure the last time the wind direction 
was recorded as NOT NULL. The suitable SQL request is :

SELECT windDir,pressure FROM archive WHERE windDir IS NOT null ORDER BY 
dateTime DESC LIMIT 1

Parsing the customization guide, I feel I can follow The 
database/Programming interface section. Well, I do not know how to 
implement exactly what I need:


wx_manager= db_lookup()# Get default binding
# Sample query:
wx_manager.getSql("SELECT windDir,pressure FROM %s WHERE windDir IS NOT null 
ORDER BY dateTime DESC LIMIT 1" % wx_manager.archive)



I do not know enough in Python to understand how to collect the SQL result 
i.e. the values of the fields winDir and pressure.

Any idea?

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] SQL request on weewx.sdb

2018-02-17 Thread Thomas Keffer
Almost! You just have to collect the returned value (NOT TESTED):

row = wx_manager.getSql("SELECT windDir,pressure FROM %s WHERE windDir IS
NOT null ORDER BY dateTime DESC LIMIT 1" % wx_manager.archive)

print "Wind is ", row[0], "; pressure is ", row[1]


If you expect more than one row, you should use genSql:

result_set = wx_manager.genSql("SELECT windDir,pressure FROM %s WHERE
windDir IS NOT null ORDER BY dateTime DESC LIMIT 10" % wx_manager.archive)

for (row in result_set):

  print "Wind is ", row[0], "; pressure is ", row[1]


-tk

On Sat, Feb 17, 2018 at 8:56 AM, Tryphon Cosinus 
wrote:

> Hello,
>
> I want to execute a SQL request on weewx.sdb inside a custom service
> engine.
>
> For example, I want to know the pressure the last time the wind direction
> was recorded as NOT NULL. The suitable SQL request is :
>
> SELECT windDir,pressure FROM archive WHERE windDir IS NOT null ORDER BY
> dateTime DESC LIMIT 1
>
> Parsing the customization guide, I feel I can follow The
> database/Programming interface section. Well, I do not know how to
> implement exactly what I need:
>
>
> wx_manager= db_lookup()# Get default binding
> # Sample query:
> wx_manager.getSql("SELECT windDir,pressure FROM %s WHERE windDir IS NOT null 
> ORDER BY dateTime DESC LIMIT 1" % wx_manager.archive)
>
>
>
> I do not know enough in Python to understand how to collect the SQL result
> i.e. the values of the fields winDir and pressure.
>
> Any idea?
>
> 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 weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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] FTP not updating to new website

2018-02-17 Thread Richard Cain
Sorry! I thought it would be something simple. I don't think there is 
anything in the log that helps. I'm getting: 

Feb 17 00:30:41 richard-ub1710 weewx[22158]: ftpgenerator: ftp'd 27 files 
in 23.88 seconds

So the FTP is working But it is FTPing the files to the old website. As I 
said, I've changed the website in the weewx.conf file then restarted weewx. 
I even shutdown the computer and started that again, but it is still FTPing 
to the old address. I guess something is overriding the weewx.conf file 
when it comes to FTP.

On Saturday, 17 February 2018 15:51:21 UTC, Tom Keffer wrote:
>
> You're not giving us much to work with.
>
> Please see the guide *Help! Posting to weewx-user 
> *.
>
> -tk
>
> On Sat, Feb 17, 2018 at 7:32 AM, Richard Cain  > wrote:
>
>> I set up weewx with no problems and wanted to integrate with a web server 
>> i.e. upload the data to my website. All worked fine but now I want to 
>> change the website I send the data to. I modified my weewx.conf file (the 
>> FTP section) and put the new website details in, restarted weewx but it is 
>> still updating the page on the old website and nothing is being sent to the 
>> new one.
>>
>> -- 
>> 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 .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

2018-02-17 Thread K-Lutz
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] Re: Winddir

2018-02-17 Thread Markus Roth
That is German.
I will translate it:

Hello
i have a Problem, that the Wind data are not written in the Clientraw.txt.

my station WH4000 and WH1080

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

2018-02-17 Thread mwall
markus,

when wind speed is zero, the wind direction is undefined.  is that the 
behavior you are reporting?

to see exactly what data weewx gets from the hardware, run weewx directly 
(not as a daemon).

http://www.weewx.com/docs/usersguide.htm#Running_directly

when you do this, you will see each LOOP packet and REC record.

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] Re: Klimalogg Pro, now what?

2018-02-17 Thread droidweewx
Ok, making progress here

http://www.weewx.com/docs/debian.htm tells me that "sudo /etc/init.d/weewx 
start" will start weewx, but I had to use "sudo weewxd 
/etc/weewx/weewx.conf".

And http://ip/weewx/ is not the right place to look when using the 
Klimalogg Pro, http://ip/weewx/kl/ is.

Regards


Den fredag den 16. februar 2018 kl. 23.31.00 UTC+1 skrev droid...@gmail.com:
>
> Hello all
>
> Just got my KlimaLogg Pro with a couple of sensors. Working fine.
>
> Now I want to use it with weewx, never used weewx before so please be nice 
> to me :-)
>
> I followed this guide when installing weewx on my Raspberry Pi: 
> http://www.weewx.com/docs/debian.htm
> I then followed this guide for installing the Klimalogg Pro driver: 
> https://github.com/matthewwall/weewx-klimalogg
> Installed apace on the RPI and can access the webpage: http://ip/weewx/
>
> Stopped weewx, pushed the USB-button on the console for three seconds 
> until beep and then started weewx.
>
> When running "sudo tail -f /var/log/syslog" I get  this:
>
> Feb 16 22:05:27 raspberrypi weewx[943]: cheetahgenerator: Generated 1 
> files for report kl in 5.63 seconds
> Feb 16 22:05:33 raspberrypi weewx[943]: imagegenerator: Generated 11 
> images for kl in 5.18 seconds
> Feb 16 22:08:49 raspberrypi weewx[943]: KlimaLogg: RFComm: 
> generateResponse: intercepted message from device c678 with length: 05
> Feb 16 22:08:49 raspberrypi weewx[943]: KlimaLogg: RFComm: unexpected 
> device ID (id=c678); use parameter 'serial' if more than one USB 
> transceiver present
> Feb 16 22:10:16 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: DCF: ON; 
> dateTime history record 128 differs 3584 seconds from dateTime server; 
> please check and set set the clock of your station
> Feb 16 22:10:16 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: tsPos1: 
> 1518822600, tsPos2: 1518822600
> Feb 16 22:10:22 raspberrypi weewx[943]: manager: Added record 2018-02-16 
> 22:10:00 UTC (1518819000) to database 'weewx-kl.sdb'
> Feb 16 22:10:22 raspberrypi weewx[943]: manager: Added record 2018-02-16 
> 22:10:00 UTC (1518819000) to daily summary in 'weewx-kl.sdb'
> Feb 16 22:10:25 raspberrypi weewx[943]: cheetahgenerator: Generated 1 
> files for report kl in 1.93 seconds
> Feb 16 22:10:30 raspberrypi weewx[943]: imagegenerator: Generated 11 
> images for kl in 4.58 seconds
> Feb 16 22:15:13 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: DCF: ON; 
> dateTime history record 129 differs 3587 seconds from dateTime server; 
> please check and set set the clock of your station
> Feb 16 22:15:13 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: tsPos1: 
> 1518822900, tsPos2: 1518822900
> Feb 16 22:15:25 raspberrypi weewx[943]: manager: Added record 2018-02-16 
> 22:15:00 UTC (1518819300) to database 'weewx-kl.sdb'
> Feb 16 22:15:25 raspberrypi weewx[943]: manager: Added record 2018-02-16 
> 22:15:00 UTC (1518819300) to daily summary in 'weewx-kl.sdb'
> Feb 16 22:15:28 raspberrypi weewx[943]: cheetahgenerator: Generated 1 
> files for report kl in 1.99 seconds
> Feb 16 22:15:33 raspberrypi weewx[943]: imagegenerator: Generated 11 
> images for kl in 4.57 seconds
> Feb 16 22:17:01 raspberrypi CRON[1013]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
>
> On the console, in the display. "IN", "Alarm" and another icon (don't know 
> what it shows) are flashing.
>
> Can somebody please tell me what to do now? Is my system running ok? I 
> cant find any information about what to do now.
>
> Kind Regards
> droiddk
>
>

-- 
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-17 Thread Markus Roth
Translated Answer in German from mwall:


wenn die Windgeschwindigkeit Null ist, wird die Windrichtung nicht 
definiert. ist es dass das Verhalten, das Sie berichten wollten? 

um genau zu sehen, welche Daten weewx von der Hardware bekommt, weewx 
direkt starten( nicht als Daemon). 

http://www.weewx.com/docs/usersguide.htm#Running_directly 

wenn Sie dies tun, werden Sie jedes LOOP-Paket und REC Aufzeichnung sehen.


m 


Da sie mir aber schon geschrieben haben das die Werte richtig sind. 
Brauchen sie das denke ich mal nicht mehr zu testen.

Schalten sie einfach mal ein das die Index Datei erzeugt wird. Und schauen 
ob dann die andere Datei auch erstellt wird.
Wie das für micht aussieht funktioniert die Komunikation mit der Station 
richtig. Also das ausleisen.


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] Re: Change archive interval for single report

2018-02-17 Thread Liz
On Sat, 17 Feb 2018 06:57:30 -0800 (PST)
WxManAJB  wrote:

> So, I’ve got data being produced, but getting that near real time
> gauge-data.txt file to my server at a rapid fire interval is proving
> elusive. I’ve tried getting the rsync skin running by producing a key
> pair for ssh and using those credentials in the skin setting of
> Weewx.conf, but it’s not sending anything and nothing is showing up
> in my log reflecting an attempt to do so. 
> 
> Any ideas?
> 
> Thanks again for all your help!
> 
> A.J.

have you tried rsync server and client setup?
the machines each have a file which includes the password secrets and
then rsync can copy without the credentials being in any open file.

There are some tutorials on the web
of which one example is https://everythinglinux.org/rsync/

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

2018-02-17 Thread K-Lutz
Hallo
so alles geht nun.
ich habe mal das wind rad von hand gedret, dann sind alle werte OK.
aber ist kein wind dann ist das Verhalten das die Windrichtung auch auf 
null geht. und das sollte doch nicht sein. die Windrichtung muss doch 
bleiben bis die sich ändert.
oder nicht.


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

2018-02-17 Thread K-Lutz


Am Samstag, 17. Februar 2018 23:26:54 UTC+1 schrieb Markus Roth:
>
> Translated Answer in German from mwall:
>
>
> wenn die Windgeschwindigkeit Null ist, wird die Windrichtung nicht 
> definiert. ist es dass das Verhalten, das Sie berichten wollten? 
>
 

> genau so ist das. 
>
 

> um genau zu sehen, welche Daten weewx von der Hardware bekommt, weewx 
> direkt starten( nicht als Daemon). 
>
> http://www.weewx.com/docs/usersguide.htm#Running_directly 
>
> wenn Sie dies tun, werden Sie jedes LOOP-Paket und REC Aufzeichnung sehen.
>
>
> m 
>
>
> Da sie mir aber schon geschrieben haben das die Werte richtig sind. 
> Brauchen sie das denke ich mal nicht mehr zu testen.
>
> Schalten sie einfach mal ein das die Index Datei erzeugt wird. Und schauen 
> ob dann die andere Datei auch erstellt wird.
> Wie das für micht aussieht funktioniert die Komunikation mit der Station 
> richtig. Also das ausleisen.
>
>
> 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] Re: Winddir

2018-02-17 Thread Markus Roth
Also bei mir ist es gerade zufällig auch Windstill.
Und da zeigt weewx auch an 
Wind 0,0 m/s from N/A (N/A)

Also auch keine Richtung.

Dannach ist es bei ihnen genau richtig.
Ist eigendlich auch logisch wenn kein Wind auch keine Richtung.
Natürlich steht bei mir an der Station selber noch wo zu letzt der Wind her 
kam weil halt das Teil auf dem Dach ja irgendwo stehen bleiben muss.


Am Samstag, 17. Februar 2018 23:44:46 UTC+1 schrieb k-l...@gmx.de:
>
> Hallo
> so alles geht nun.
> ich habe mal das wind rad von hand gedret, dann sind alle werte OK.
> aber ist kein wind dann ist das Verhalten das die Windrichtung auch auf 
> null geht. und das sollte doch nicht sein. die Windrichtung muss doch 
> bleiben bis die sich ändert.
> oder nicht.
>
>
> 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] Re: Winddir

2018-02-17 Thread K-Lutz


Am Sonntag, 18. Februar 2018 00:05:46 UTC+1 schrieb Markus Roth:
>
> Also bei mir ist es gerade zufällig auch Windstill.
> Und da zeigt weewx auch an 
> Wind 0,0 m/s from N/A (N/A)
>
> Also auch keine Richtung.
>
> Dannach ist es bei ihnen genau richtig.
> Ist eigendlich auch logisch wenn kein Wind auch keine Richtung.
> Natürlich steht bei mir an der Station selber noch wo zu letzt der Wind 
> her kam weil halt das Teil auf dem Dach ja irgendwo stehen bleiben muss.
>
 

> aber in der regel sollte das auch angezeigt werden , also der wert solange 
> bestehen beiben bis sich die richtung ändert , so ist es auch bei allen 
> anderen Programmen.
>
> Am Samstag, 17. Februar 2018 23:44:46 UTC+1 schrieb k-l...@gmx.de:
>>
>> Hallo
>> so alles geht nun.
>> ich habe mal das wind rad von hand gedret, dann sind alle werte OK.
>> aber ist kein wind dann ist das Verhalten das die Windrichtung auch auf 
>> null geht. und das sollte doch nicht sein. die Windrichtung muss doch 
>> bleiben bis die sich ändert.
>> oder nicht.
>>
>>
>> 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] Re: Winddir

2018-02-17 Thread Glenn McKechnie
http://weewx.com/docs/usersguide.htm#StdWXCalculate

ignore_zero_wind

Indicates whether the wind direction should be undefined when the wind
speed is zero. The default value is True: the wind direction will be
undefined when wind speed is zero.

To report the wind vane direction even when there is no wind speed,
change this to False:

[StdWXCalculate]
...
ignore_zero_wind = False



Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie


2018-02-18 10:13 GMT+11:00  :
>
>
> Am Sonntag, 18. Februar 2018 00:05:46 UTC+1 schrieb Markus Roth:
>>
>> Also bei mir ist es gerade zufällig auch Windstill.
>> Und da zeigt weewx auch an
>> Wind 0,0 m/s from N/A (N/A)
>>
>> Also auch keine Richtung.
>>
>> Dannach ist es bei ihnen genau richtig.
>> Ist eigendlich auch logisch wenn kein Wind auch keine Richtung.
>> Natürlich steht bei mir an der Station selber noch wo zu letzt der Wind
>> her kam weil halt das Teil auf dem Dach ja irgendwo stehen bleiben muss.
>
>
>>
>> aber in der regel sollte das auch angezeigt werden , also der wert solange
>> bestehen beiben bis sich die richtung ändert , so ist es auch bei allen
>> anderen Programmen.
>>
>> Am Samstag, 17. Februar 2018 23:44:46 UTC+1 schrieb k-l...@gmx.de:
>>>
>>> Hallo
>>> so alles geht nun.
>>> ich habe mal das wind rad von hand gedret, dann sind alle werte OK.
>>> aber ist kein wind dann ist das Verhalten das die Windrichtung auch auf
>>> null geht. und das sollte doch nicht sein. die Windrichtung muss doch
>>> bleiben bis die sich ändert.
>>> oder nicht.
>>>
>>>
>>> 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.

-- 
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: Having to Reinstall ...

2018-02-17 Thread gjr80
Hi,

On Saturday, 17 February 2018 22:42:54 UTC+10, Cycle London wrote:
>
> Unrecoverable filesystem corruption on my Pi3.  So I need to reinstall the 
> entire OS.
>
> Fortunately, I was running regular backups of the entire contents of 
> /home/weewx so I hope to be able to reinstall weewx and just 'drop' the 
> $HOME back in.   
>
> I have two issues with which I'd like some advice: 
>
> 1.  which method did I use to install?  I don't think I used apt-get, but 
> is there a way to tell?  Is there a particular directory structure that 
> will tell me?  Even if I use a different method, will the /home/weewx still 
> be the same format? 
>

The key is in the weeWX file locations/directory structure (aka where to 
find things) . 
If your backup has all weeWX files (binaries, data, docs etc) under 
/home/weewx then you have a setup.py install 

 
(or at some stage you did a setup.py install). Given you have a RPi, I 
expect you are using Raspbian or a Debian variant so if you did an apt-get 
install you will have weeWX spread across a number of directories as per 
the directory structure link at the start of this para. You could look in 
your apt logs (nominally in /var/log/apt) to see if you installed weeWX via 
apt, but if you don't have access to those logs any more probably not much 
help.

In terms of restoring from backup, you should have no problems just 
restoring the backed up files provided (1) you are using the same OS and 
(2) you backed up all the weeWX files. If you did not backup all of the 
weeWX files and just backed up the config and data portions then you should 
still be able to restore from backup but make sure you have weeWX installed 
first using the same method/directory structure (setup.py or apt) before 
restoring. In this regard a setup.py install is very easy to back and 
restore, you just backup everything in /home/weewx and then restore to 
/home/weewx, no need to chase file/directories across you file system.

2.  Can someone remind me how I install the Oregon Scientific WMR300 
> driver?  This was one of the first things I did, but can't remember how. 
>

Other than finding the latest WMR 300 RC (check some of the latest WMR 300 
threads) and installing as per the instructions in the repo readme or 
included as comments at the start of the driver .py file I cannot offer you 
any more help on this. Might need a  WMR 300 user or developer for further 
help.

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.


Re: [weewx-user] FTP not updating to new website

2018-02-17 Thread gjr80
Hi,

It's usually better to see numerous lines from the log leading up to event. 
In the case of errors like this (where there appears to be no explicit 
error) it is often best to provide a debug log extract from weeWX startup 
along with a copy of your weewx.conf, that way we can see what weeWX thinks 
it is supposed to do and what it actually does. To post a debug startup log:

   1. edit weewx.conf and set debug =1
   2. save weewx.conf
   3. stop/start weeWX
   4. let weeWX run for at least two times the archive interval (ie 10 
   minutes if your archive interval is 5 minutes)
   5. take a copy of the log and post here making sure you capture the log 
   from when weeWX was just started until at least those two archive interval 
   have passed, don't alter the log
   

You can post weewx.conf by posting a wee_debug 
 report. If you do 
post a wee_debug report check the report before you post it and remove any 
sensitive info (eg passwords), wee_debug does a good job at obfuscating 
sensitive info but it is not perfect.

Gary

On Sunday, 18 February 2018 03:21:13 UTC+10, Richard Cain wrote:
>
> Sorry! I thought it would be something simple. I don't think there is 
> anything in the log that helps. I'm getting: 
>
> Feb 17 00:30:41 richard-ub1710 weewx[22158]: ftpgenerator: ftp'd 27 files 
> in 23.88 seconds
>
> So the FTP is working But it is FTPing the files to the old website. As I 
> said, I've changed the website in the weewx.conf file then restarted weewx. 
> I even shutdown the computer and started that again, but it is still FTPing 
> to the old address. I guess something is overriding the weewx.conf file 
> when it comes to FTP.
>
> On Saturday, 17 February 2018 15:51:21 UTC, Tom Keffer wrote:
>>
>> You're not giving us much to work with.
>>
>> Please see the guide *Help! Posting to weewx-user 
>> *.
>>
>> -tk
>>
>> On Sat, Feb 17, 2018 at 7:32 AM, Richard Cain  
>> wrote:
>>
>>> I set up weewx with no problems and wanted to integrate with a web 
>>> server i.e. upload the data to my website. All worked fine but now I want 
>>> to change the website I send the data to. I modified my weewx.conf file 
>>> (the FTP section) and put the new website details in, restarted weewx but 
>>> it is still updating the page on the old website and nothing is being sent 
>>> to the new one.
>>>
>>> -- 
>>> 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.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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-17 Thread gjr80
Hallo,

Mein Highschool-Deutsch ist nicht sehr gut und ich denke, dass diese 
Google-Übersetzung nicht viel besser sein könnte.

In Ihrem ersten Beitrag erwähnen Sie clientraw.txt, verwenden Sie weeWX-WD, 
um clientraw.txt zu generieren? clientraw.txt ist eine formatierte Datei, 
die niemals Daten auslassen sollte oder Keine oder N / A enthält. Könnten 
Sie bitte ein Beispiel einer falschen Datei clientraw.txt posten, damit ich 
sehen kann, ob es bei weeWX-WD ein Problem gibt.

Gary
On Sunday, 18 February 2018 04:28:54 UTC+10, k-l...@gmx.de wrote:
>
> 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] Re: Change archive interval for single report

2018-02-17 Thread gjr80
Sorry this has taken a couple of days, unfortunately there is more to life 
than weeWX :)

Some background for others who stumble on this.

If you are using the SteelSeries Gauges skin to produce gauge-data.txt then 
you can use the normal weeWX FTP or Rsync reports to upload gauge-data.txt; 
gauge-data.txt is only generated once per archive interval so there is no 
need to upload it any more freuently. If you are using the Realtime 
gauge-data (RTGD) extension which can generate gauge-data.txt as often as 
once per loop period, the weeWX FTP and Rsync reports can still be used but 
they will still only upload gauge-data.txt once per archive interval. If 
your web server is the same machine as your weeWX server the issue can be 
addressed by having the RTGD extension save gauge-data.txt to an 
approparite directory accessible by the web server. If your web server is 
remote to your weeWX machine one approach is to have the RTGD extension 
transfer gauge-data.txt to your web server via HTTP POST. You could also 
conceivably have some external method of transferring the file by FTP or 
RSYNC; CRON based transfers are of limited use as CRON has a 1 minute 
'resolution'. WeeWX has no builtin mechanism for transferring files every 
loop period; it only has the report based transfer reports that work on an 
archive interval period.

To have the RTGD extension transfer gauge-data.txt to your web server via 
HTTP POST refer to the section Using HTTP POST to transfer gauge-data.txt 
to a remote server 

 
in the RTGD extension User's Guide. Bear in mind this was wrritten about 8 
months agao, I have reviewed it quickly thismorning and believe it is still 
correct, though if you find any issues please let me know.

Gary

On Sunday, 18 February 2018 00:57:30 UTC+10, WxManAJB wrote:
>
> So, I’ve got data being produced, but getting that near real time 
> gauge-data.txt file to my server at a rapid fire interval is proving 
> elusive. I’ve tried getting the rsync skin running by producing a key pair 
> for ssh and using those credentials in the skin setting of Weewx.conf, but 
> it’s not sending anything and nothing is showing up in my log reflecting an 
> attempt to do so. 
>
> Any ideas? 
>
> Thanks again for all your help! 
>
> A.J.

-- 
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: Klimalogg Pro, now what?

2018-02-17 Thread Andrew Milner
sudo /etc/init.d/weewx start should be the command to start the background 
daemon whilst sudo weewxd /etc/weewx/weewx.conf is the command to run weewx 
directly.

both versions should work.

The 'correct' place to 'look' depends upon the contents of weewx.conf file 
and the value of HTML_ROOT in particular.  Set that to the appropriate 
value and you can look wherever you want.





On Sunday, 18 February 2018 00:26:58 UTC+2, droid...@gmail.com wrote:

> Ok, making progress here
>
> http://www.weewx.com/docs/debian.htm tells me that "sudo 
> /etc/init.d/weewx start" will start weewx, but I had to use "sudo weewxd 
> /etc/weewx/weewx.conf".
>
> And http://ip/weewx/ is not the right place to look when using the 
> Klimalogg Pro, http://ip/weewx/kl/ is.
>
> Regards
>
>
> Den fredag den 16. februar 2018 kl. 23.31.00 UTC+1 skrev 
> droid...@gmail.com:
>>
>> Hello all
>>
>> Just got my KlimaLogg Pro with a couple of sensors. Working fine.
>>
>> Now I want to use it with weewx, never used weewx before so please be 
>> nice to me :-)
>>
>> I followed this guide when installing weewx on my Raspberry Pi: 
>> http://www.weewx.com/docs/debian.htm
>> I then followed this guide for installing the Klimalogg Pro driver: 
>> https://github.com/matthewwall/weewx-klimalogg
>> Installed apace on the RPI and can access the webpage: http://ip/weewx/
>>
>> Stopped weewx, pushed the USB-button on the console for three seconds 
>> until beep and then started weewx.
>>
>> When running "sudo tail -f /var/log/syslog" I get  this:
>>
>> Feb 16 22:05:27 raspberrypi weewx[943]: cheetahgenerator: Generated 1 
>> files for report kl in 5.63 seconds
>> Feb 16 22:05:33 raspberrypi weewx[943]: imagegenerator: Generated 11 
>> images for kl in 5.18 seconds
>> Feb 16 22:08:49 raspberrypi weewx[943]: KlimaLogg: RFComm: 
>> generateResponse: intercepted message from device c678 with length: 05
>> Feb 16 22:08:49 raspberrypi weewx[943]: KlimaLogg: RFComm: unexpected 
>> device ID (id=c678); use parameter 'serial' if more than one USB 
>> transceiver present
>> Feb 16 22:10:16 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: DCF: 
>> ON; dateTime history record 128 differs 3584 seconds from dateTime server; 
>> please check and set set the clock of your station
>> Feb 16 22:10:16 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: tsPos1: 
>> 1518822600, tsPos2: 1518822600
>> Feb 16 22:10:22 raspberrypi weewx[943]: manager: Added record 2018-02-16 
>> 22:10:00 UTC (1518819000) to database 'weewx-kl.sdb'
>> Feb 16 22:10:22 raspberrypi weewx[943]: manager: Added record 2018-02-16 
>> 22:10:00 UTC (1518819000) to daily summary in 'weewx-kl.sdb'
>> Feb 16 22:10:25 raspberrypi weewx[943]: cheetahgenerator: Generated 1 
>> files for report kl in 1.93 seconds
>> Feb 16 22:10:30 raspberrypi weewx[943]: imagegenerator: Generated 11 
>> images for kl in 4.58 seconds
>> Feb 16 22:15:13 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: DCF: 
>> ON; dateTime history record 129 differs 3587 seconds from dateTime server; 
>> please check and set set the clock of your station
>> Feb 16 22:15:13 raspberrypi weewx[943]: KlimaLogg: RFComm: ERROR: tsPos1: 
>> 1518822900, tsPos2: 1518822900
>> Feb 16 22:15:25 raspberrypi weewx[943]: manager: Added record 2018-02-16 
>> 22:15:00 UTC (1518819300) to database 'weewx-kl.sdb'
>> Feb 16 22:15:25 raspberrypi weewx[943]: manager: Added record 2018-02-16 
>> 22:15:00 UTC (1518819300) to daily summary in 'weewx-kl.sdb'
>> Feb 16 22:15:28 raspberrypi weewx[943]: cheetahgenerator: Generated 1 
>> files for report kl in 1.99 seconds
>> Feb 16 22:15:33 raspberrypi weewx[943]: imagegenerator: Generated 11 
>> images for kl in 4.57 seconds
>> Feb 16 22:17:01 raspberrypi CRON[1013]: (root) CMD (   cd / && run-parts 
>> --report /etc/cron.hourly)
>>
>> On the console, in the display. "IN", "Alarm" and another icon (don't 
>> know what it shows) are flashing.
>>
>> Can somebody please tell me what to do now? Is my system running ok? I 
>> cant find any information about what to do now.
>>
>> Kind Regards
>> droiddk
>>
>>

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