[weewx-user] Re: Weewx crashing with error associated with ScalarStats.addHiLo

2019-05-08 Thread Redanman
OK, that's done and I've checked that the cmon parameters are being written 
to the syslog.  Let's see what happens.
Mike

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bd737b0c-6f4f-40f9-8294-b81e16022adf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Davis vantage pro 2 info

2019-05-08 Thread rich T
Have a Davis Vantage Pro 2 communicating with two Raspberry Pi 3B+.  One is 
communicating via the USB port of the console.  Second is communicating 
with the ISS via a SDR Dongle.  

On Wednesday, May 8, 2019 at 1:26:18 PM UTC-4, Federico wrote:
>
> hi all,
> we are thinking to use weewx for a davis vantage pro 2. Anyone has this 
> station working with weewx ? any suggestion or best practices ?
>
> thank you in advance
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/51b3023a-bd1b-4125-89ee-4ae954478671%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Attempting to switch to non-root user for rsync

2019-05-08 Thread Steve Chiz
Looks like the forecast.sdb database is generated by the the [forecast] 
report, and has the same issue with non-root /var writing. I created a 
/home/weewx/db folder, much like I did with for the PID earlier with 
home/weewx/run to get past the first error, and edited the wseewx.config 
accordingly. As I had mentioned previously I was writing the archive to 
mariadb, and was unaware that the forecast has its own database. For others 
who might be stuck, find it here: " SQLITE_ROOT = /" in the [Database 
types].

Finally running as non-root! And at the bottom of the log I was happy to 
see that my rsync worked straight away.

May  8 15:16:33 WeeWx1 weewx[1402]: rsyncupload: rsync'd 258 files 
(1,190,946 bytes) in 2.39 seconds


On Wednesday, May 8, 2019 at 7:59:55 AM UTC-4, Steve Chiz wrote:
>
> Well that added some confusion, but sort of helped as I figured out what 
> you meant. I can't run Step#3, as I had removed the rc script based on the 
> systemd wiki page "its almost certainly a bad idea to have both the rc 
> script and a weeex.service file installed." 
>
> That did prompt me to edit the weewx.service file and move the location- 
> pidfile=home/weewx/run instead of var/run. As you noted, var/run would be 
> difficult for non-root writes. Makes perfect sense to move it out of there. 
> The systemd wiki page says 'make sure the paths match', but offers no info 
> as to what they should look like, if not the default.  Maybe home/weewx/run 
> should be the default.
>
> The wiki also says to make sure that there are permissions to the weewx 
> database, but I'm using mariadb and those credentials did not change. Now 
> however, I see that there are other databases involved- that are not 
> mentioned. The weewx user has no permissions to forecast.sdb, for example, 
> which I find no reference to in either wiki page. Again, the read only 
> error makes perfect sense and must come up every time someone tries to move 
> from the root user, but I found no mention of it. Are there other internal 
> databases that weewx creates/uses that I need to be aware of? The error log 
> also reflects issues with items in usr/share/weewx/user and lack of write 
> access. 
>
> Am I the only one who has tried to hammer this out with such difficulty? 
> I'm no noob, but I'm feeling pretty ignorant after struggling with this for 
> so long. 
>
> On Tuesday, May 7, 2019 at 8:35:05 PM UTC-4, Thomas Keffer wrote:
>>
>> Rather than put the PID file in /var/run (which could have permission 
>> problems), put it somewhere else where your user has write permissions. See 
>> steps #3 and #4 in *Run as a non-root user 
>> *. In that 
>> example, /home/weewx/run is used as a writable directory for user 'weewx'.
>>
>> -tk
>>
>> On Tue, May 7, 2019 at 5:25 PM Steve Chiz  wrote:
>>
>>> I've tried a dozen things since then, all to no avail. I found an old 
>>> post from Tom regarding commenting out the username lines to run as root 
>>> again, and that is what I did to get the weewx.service to start. 
>>>
>>> Running the chown returned a file not found, so I assume one or more 
>>> hard reboots (shutdown -r) deleted that file. I removed the commenting on 
>>> the user name and this is the result. Oh, for a troubleshooting guide...
>>>
>>> I did not make any database owner changes as I use mariadb.
>>>
>>> May  7 20:18:47 WeeWx1 weewx[773]: engine: Locale is 'en_GB.UTF-8'
>>> May  7 20:18:47 WeeWx1 weewx[773]: engine: pid file is /var/run/weewx.pid
>>> May  7 20:18:47 WeeWx1 weewxd[773]: Traceback (most recent call last):
>>> May  7 20:18:47 WeeWx1 weewxd[773]:   File "/usr/bin/weewxd", line 64, 
>>> in 
>>> May  7 20:18:47 WeeWx1 weewxd[773]: weewx.engine.main(options, args)
>>> May  7 20:18:47 WeeWx1 weewxd[773]:   File 
>>> "/usr/share/weewx/weewx/engine.py", line 841, in main
>>> May  7 20:18:47 WeeWx1 weewxd[773]: 
>>> daemon.daemonize(pidfile=options.pidfile)
>>> May  7 20:18:47 WeeWx1 weewxd[773]:   File "/usr/share/weewx/daemon.py", 
>>> line 77, in daemonize
>>> May  7 20:18:47 WeeWx1 weewxd[773]: if pidfile: 
>>> file(pidfile,'w+').write("%s\n" % pid)
>>> May  7 20:18:47 WeeWx1 weewxd[773]: IOError: [Errno 13] Permission 
>>> denied: '/var/run/weewx.pid'
>>>
>>> I am changing permissions back to root/ftp and calling it a day. Thanks 
>>> for your help.
>>>
>>> On Tuesday, May 7, 2019 at 6:46:51 PM UTC-4, Leon Shaner wrote:

 Steve,

 Probably a leftover.
 I expect this should do it:

 $ sudo chown weewx /var/run/weewx.pid

 I would expect that file to be deleted on host reboot, except of course 
 it is pronounced reboot, but spelled:

 $ sudo shutdown -r now

 If you use actual "reboot" then it skips shutdown scripts, so it's a 
 big no-no.

 What about the other files, did you change their owner, too, such as 
 for the DB?

 Regards,
 \Leon
 --
 Leon Shaner :: Dearb

[weewx-user] Re: Solution to bypass wee_database utility prompt

2019-05-08 Thread Christophe CAVALLIÉ
Thanks "echo y | ...' works fine
Christophe Cavallié

Le mercredi 8 mai 2019 14:54:01 UTC+2, Christophe CAVALLIÉ a écrit :
>
> Here is the query I execute to correct the errors:
> update weewx.archive set windGust='0' where windGust 
>  in 
> ('183.600456336138','183.960914462966','137.880685399835','91.9804572314828','91.8004563367049');
>
> The values in question are very frequent and are systematically for a 
> winDir=315
>
>
> Le mercredi 8 mai 2019 13:18:24 UTC+2, Andrew Milner a écrit :
>>
>> 30 errors per day seems to be excessive.  Do you have something causing 
>> the errors?  What kind of errors are you correcting? Recalculating the 
>> daily data from the archive data is, I would have thought, likely to create 
>> more 'errors', and possibly lose max gust data which may have been in a 
>> loop packet for example.  How do you know the recorded data is wrong, and 
>> how do you know what the correct value should be??  All seems to not make 
>> much sense on the face of it.  Maybe your best option is to create your own 
>> special version of wee_database which does not issue the prompt request so 
>> that you can run it via cron (although running wee_database via cron seems 
>> a wrong thing to have to do anyway!)  Surely though you only need to do the 
>> recalculation after editing the data - so why not just include the call to 
>> wee_database within the script you invoke when you decide to edit the 
>> data.  I assume the actual edit is a manual process.  Maybe understanding 
>> what your problem is caused by would shed some light on how to correct it - 
>> at the moment I feel somewhat lost.
>>
>>
>>
>> On Wednesday, 8 May 2019 12:53:21 UTC+3, Christophe CAVALLIÉ wrote:
>>>
>>> I make the corrections myself via a mysql command executed by bash shell 
>>> script and I must therefore perform a frequent recalculation of the daily 
>>> data because I have up to 30 errors on the wind speed and wind gust data 
>>> per day.
>>>
>>> Le mercredi 8 mai 2019 11:43:48 UTC+2, Andrew Milner a écrit :

 what kind of errors are you correcting with the utility??  If you are 
 using checkstrings/fixstrings this should not need to be run on a regular 
 basis via cron since it is really finding and correcting errors introduced 
 by a database editor.

 If you have a database editor that introduces null strings rather than 
 null values when deleting values then I would suggest either changing the 
 editor to solve the problem completely or just getting into the habit or 
 running wee_database to check for null strings after running the editor.





 On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:
>
> Hello,
> I use Weewx for my station WS2300 in France I have to correcting lot 
> of measure errors.
> I want to automatize this with crontab command but I can't with the 
> prompt "Proceed (y/n)".
> Have you a solution to bypass this prompt?
> Thanks for your response
> Christophe Cavallié
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f13356cc-092f-45ab-9d8c-1bb0108d8ad9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Lufft Ws600 UMB und ähnliche

2019-05-08 Thread Stefan Schnidrig


Hi Guys.
Can someone tell me whether the weewx system also supports the weather stations 
of the company LUFFT (www.lufft.com)? These are supplied with a Modbus and 
RS485 readout. I prefer the RS485, as it is easier. If this works, what do you 
need to set in weewx to be able to read the data? The picture of the sensor you 
see above in my post.

Many Thanks
Stefan


Am Donnerstag, 25. April 2019 13:35:00 UTC+2 schrieb Stefan Schnidrig:
>
> Hallo zusammen.
>
> Kann mir jemand sagen, ob die Wetterstation der Firma LUFFT mit der RS485 
> Schnittstelle funktioniert mit Weewx?
>
> Vielen Dank
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2c54b1e2-a3bf-4cab-b819-860079ddafa7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Davis vantage pro 2 info

2019-05-08 Thread Federico
hi all,
we are thinking to use weewx for a davis vantage pro 2. Anyone has this station 
working with weewx ? any suggestion or best practices ?

thank you in advance

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e5395bfb-0f6c-4887-ae0f-6f80eff86eed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Chris P
Thanks anyway Andrew again.  I figured it out, it was uploading 
forecast_compact.css instead of the iconic.css.  All works now!

On Wednesday, May 8, 2019 at 9:11:34 AM UTC-5, Andrew Milner wrote:
>
> Someone else will have to answer - I do not use the forecasting extension 
> - far too much messing around for me!!
>
> I suspect it depends on exactly what you included, where on the page it 
> was included, and how the css is being used.  Too messy for me I'm afraid.
>
>
>
>
> On Wednesday, 8 May 2019 16:38:28 UTC+3, Chris P wrote:
>>
>> Alright, i have another question, the icons uploaded but now they display 
>> really large on my website.  How do i get the icons so they are small?
>>
>> On Wednesday, May 8, 2019 at 7:58:38 AM UTC-5, Chris P wrote:
>>>
>>> Thank you Andrew for pointing me in the direction you did.  I see i did 
>>> not do the copy generator part!  Thanks again for the help!
>>>
>>> On Wednesday, May 8, 2019 at 7:48:04 AM UTC-5, Chris P wrote:

 Just checked my website and it appears the icons are not uploading 
 through the weewx program, guess ill have to go back and check this copy 
 generator section part.

 http://personalpages.tds.net/~cmplant/icons/  It looks like it tried 
 though, i didnt make the icons folder manually...


 On Wednesday, May 8, 2019 at 7:36:04 AM UTC-5, Chris P wrote:
>
> A) Yes, i in fact copied the exact lines in the instructions from the 
> github website and pasted them in my console.  B) Pretty sure i did, im 
> wondering if that is the issue, ill have to check my website to make sure 
> those files are even uploading...  If they aren't uploading, do you know 
> if 
> i can just FTP the files to my website rather than letting the conf file 
> do 
> it?  Do they end up in the root folder after uploading or do they go in 
> their own folder on the website?  Thanks!
>
> On Wednesday, May 8, 2019 at 6:29:44 AM UTC-5, Andrew Milner wrote:
>>
>> did you a) copy the icons to the skin you are using and b) change the 
>> copy once in the copy generator section of weewx.conf - as specified in 
>> the 
>> instructions - to get the .png files copied to your site?
>>
>>
>>
>> On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:
>>>
>>> Not understanding why the icons arent showing on my website.  
>>> http://personalpages.tds.net/~cmplant  
>>> pretty sure i followed the 
>>> directions to the "t".  Is there a setting somewhere that i have to 
>>> point 
>>> something to the icon folder in weewx.conf or something?
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4e14cc45-92b0-4f3c-a7ed-79f8afb33800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Solution to bypass wee_database utility prompt

2019-05-08 Thread Leon Shaner
Hey, Christophe,

Sounds like you have been clever enough to write some code to find and correct 
those values.  Seems like you should be able to take the same logic and adapt 
it for use as python expressions and use the weewx built-in calibration 
features.

I wrote a post a while back, which may give you some ideas:

https://groups.google.com/forum/m/#!topic/weewx-user/veofTPb5adE

The first post there shows how I used python to test the eval statements, which 
I later put right into weewx.conf.  I did find out that you can't re-use the 
same weewx variable twice, which is owing to a weewx/python implementation 
detail in how weewx stores the calibration statements.  But there is a 
workaround mentioned in the second post.

Never mind that I ended up abandoning the idea.  What I show there is a sound 
approach to using a standalone python script to get the expressions working 
correctly, and then you copy/paste the exact same expressions into weewx.conf 
calibration section.

Meanwhile, if all else fails, have you tried piping "y" in your script?

$ echo y | whatever_comand_has_a_yn_prompt ...

There is also the "yes" command which just endlessly echo's y's forever:

$ yes | whatever_comand_has_a_yn_prompt ...

Regards,
\Leon
--
Leon Shaner :: Dearborn, Michigan (iPad Pro)

> On May 8, 2019, at 8:54 AM, Christophe CAVALLIÉ <5870c...@gmail.com> wrote:
> 
> Here is the query I execute to correct the errors:
> update weewx.archive set windGust='0' where windGust 
>  in 
> ('183.600456336138','183.960914462966','137.880685399835','91.9804572314828','91.8004563367049');
> 
> The values in question are very frequent and are systematically for a 
> winDir=315
> 
> 
> Le mercredi 8 mai 2019 13:18:24 UTC+2, Andrew Milner a écrit :
>> 
>> 30 errors per day seems to be excessive.  Do you have something causing the 
>> errors?  What kind of errors are you correcting? Recalculating the daily 
>> data from the archive data is, I would have thought, likely to create more 
>> 'errors', and possibly lose max gust data which may have been in a loop 
>> packet for example.  How do you know the recorded data is wrong, and how do 
>> you know what the correct value should be??  All seems to not make much 
>> sense on the face of it.  Maybe your best option is to create your own 
>> special version of wee_database which does not issue the prompt request so 
>> that you can run it via cron (although running wee_database via cron seems a 
>> wrong thing to have to do anyway!)  Surely though you only need to do the 
>> recalculation after editing the data - so why not just include the call to 
>> wee_database within the script you invoke when you decide to edit the data.  
>> I assume the actual edit is a manual process.  Maybe understanding what your 
>> problem is caused by would shed some light on how to correct it - at the 
>> moment I feel somewhat lost.
>> 
>> 
>> 
>>> On Wednesday, 8 May 2019 12:53:21 UTC+3, Christophe CAVALLIÉ wrote:
>>> I make the corrections myself via a mysql command executed by bash shell 
>>> script and I must therefore perform a frequent recalculation of the daily 
>>> data because I have up to 30 errors on the wind speed and wind gust data 
>>> per day.
>>> 
>>> Le mercredi 8 mai 2019 11:43:48 UTC+2, Andrew Milner a écrit :
 
 what kind of errors are you correcting with the utility??  If you are 
 using checkstrings/fixstrings this should not need to be run on a regular 
 basis via cron since it is really finding and correcting errors introduced 
 by a database editor.
 
 If you have a database editor that introduces null strings rather than 
 null values when deleting values then I would suggest either changing the 
 editor to solve the problem completely or just getting into the habit or 
 running wee_database to check for null strings after running the editor.
 
 
 
 
 
> On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:
> Hello,
> I use Weewx for my station WS2300 in France I have to correcting lot of 
> measure errors.
> I want to automatize this with crontab command but I can't with the 
> prompt "Proceed (y/n)".
> Have you a solution to bypass this prompt?
> Thanks for your response
> Christophe Cavallié
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/d7f93914-f767-4e91-a9e2-d12c3e57457b%40googlegroups.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.
To vie

[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Chris P
I figured it out, i was using my own forecast.inc file as opposed to the 
forecast_iconic.inc file.  Thanks again!

On Wednesday, May 8, 2019 at 8:38:28 AM UTC-5, Chris P wrote:
>
> Alright, i have another question, the icons uploaded but now they display 
> really large on my website.  How do i get the icons so they are small?
>
> On Wednesday, May 8, 2019 at 7:58:38 AM UTC-5, Chris P wrote:
>>
>> Thank you Andrew for pointing me in the direction you did.  I see i did 
>> not do the copy generator part!  Thanks again for the help!
>>
>> On Wednesday, May 8, 2019 at 7:48:04 AM UTC-5, Chris P wrote:
>>>
>>> Just checked my website and it appears the icons are not uploading 
>>> through the weewx program, guess ill have to go back and check this copy 
>>> generator section part.
>>>
>>> http://personalpages.tds.net/~cmplant/icons/  It looks like it tried 
>>> though, i didnt make the icons folder manually...
>>>
>>>
>>> On Wednesday, May 8, 2019 at 7:36:04 AM UTC-5, Chris P wrote:

 A) Yes, i in fact copied the exact lines in the instructions from the 
 github website and pasted them in my console.  B) Pretty sure i did, im 
 wondering if that is the issue, ill have to check my website to make sure 
 those files are even uploading...  If they aren't uploading, do you know 
 if 
 i can just FTP the files to my website rather than letting the conf file 
 do 
 it?  Do they end up in the root folder after uploading or do they go in 
 their own folder on the website?  Thanks!

 On Wednesday, May 8, 2019 at 6:29:44 AM UTC-5, Andrew Milner wrote:
>
> did you a) copy the icons to the skin you are using and b) change the 
> copy once in the copy generator section of weewx.conf - as specified in 
> the 
> instructions - to get the .png files copied to your site?
>
>
>
> On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:
>>
>> Not understanding why the icons arent showing on my website.  
>> http://personalpages.tds.net/~cmplant  
>> pretty sure i followed the 
>> directions to the "t".  Is there a setting somewhere that i have to 
>> point 
>> something to the icon folder in weewx.conf or something?
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/37a4413c-0388-4383-9dc2-9f97788c00d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Andrew Milner
Someone else will have to answer - I do not use the forecasting extension - 
far too much messing around for me!!

I suspect it depends on exactly what you included, where on the page it was 
included, and how the css is being used.  Too messy for me I'm afraid.




On Wednesday, 8 May 2019 16:38:28 UTC+3, Chris P wrote:
>
> Alright, i have another question, the icons uploaded but now they display 
> really large on my website.  How do i get the icons so they are small?
>
> On Wednesday, May 8, 2019 at 7:58:38 AM UTC-5, Chris P wrote:
>>
>> Thank you Andrew for pointing me in the direction you did.  I see i did 
>> not do the copy generator part!  Thanks again for the help!
>>
>> On Wednesday, May 8, 2019 at 7:48:04 AM UTC-5, Chris P wrote:
>>>
>>> Just checked my website and it appears the icons are not uploading 
>>> through the weewx program, guess ill have to go back and check this copy 
>>> generator section part.
>>>
>>> http://personalpages.tds.net/~cmplant/icons/  It looks like it tried 
>>> though, i didnt make the icons folder manually...
>>>
>>>
>>> On Wednesday, May 8, 2019 at 7:36:04 AM UTC-5, Chris P wrote:

 A) Yes, i in fact copied the exact lines in the instructions from the 
 github website and pasted them in my console.  B) Pretty sure i did, im 
 wondering if that is the issue, ill have to check my website to make sure 
 those files are even uploading...  If they aren't uploading, do you know 
 if 
 i can just FTP the files to my website rather than letting the conf file 
 do 
 it?  Do they end up in the root folder after uploading or do they go in 
 their own folder on the website?  Thanks!

 On Wednesday, May 8, 2019 at 6:29:44 AM UTC-5, Andrew Milner wrote:
>
> did you a) copy the icons to the skin you are using and b) change the 
> copy once in the copy generator section of weewx.conf - as specified in 
> the 
> instructions - to get the .png files copied to your site?
>
>
>
> On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:
>>
>> Not understanding why the icons arent showing on my website.  
>> http://personalpages.tds.net/~cmplant  
>> pretty sure i followed the 
>> directions to the "t".  Is there a setting somewhere that i have to 
>> point 
>> something to the icon folder in weewx.conf or something?
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bf1dcdf8-1c89-4947-8ae0-68166a01aa55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Solution to bypass wee_database utility prompt

2019-05-08 Thread Andrew Milner
If it were me I would be trying to tackle where these strange windGust 
values come from when the windDir is 315!  Is it the console outputting 
incorrect data or is it the weewx driver corrupting the data as it reads 
it?  



On Wednesday, 8 May 2019 15:54:01 UTC+3, Christophe CAVALLIÉ wrote:
>
> Here is the query I execute to correct the errors:
> update weewx.archive set windGust='0' where windGust 
>  in 
> ('183.600456336138','183.960914462966','137.880685399835','91.9804572314828','91.8004563367049');
>
> The values in question are very frequent and are systematically for a 
> winDir=315
>
>
> Le mercredi 8 mai 2019 13:18:24 UTC+2, Andrew Milner a écrit :
>>
>> 30 errors per day seems to be excessive.  Do you have something causing 
>> the errors?  What kind of errors are you correcting? Recalculating the 
>> daily data from the archive data is, I would have thought, likely to create 
>> more 'errors', and possibly lose max gust data which may have been in a 
>> loop packet for example.  How do you know the recorded data is wrong, and 
>> how do you know what the correct value should be??  All seems to not make 
>> much sense on the face of it.  Maybe your best option is to create your own 
>> special version of wee_database which does not issue the prompt request so 
>> that you can run it via cron (although running wee_database via cron seems 
>> a wrong thing to have to do anyway!)  Surely though you only need to do the 
>> recalculation after editing the data - so why not just include the call to 
>> wee_database within the script you invoke when you decide to edit the 
>> data.  I assume the actual edit is a manual process.  Maybe understanding 
>> what your problem is caused by would shed some light on how to correct it - 
>> at the moment I feel somewhat lost.
>>
>>
>>
>> On Wednesday, 8 May 2019 12:53:21 UTC+3, Christophe CAVALLIÉ wrote:
>>>
>>> I make the corrections myself via a mysql command executed by bash shell 
>>> script and I must therefore perform a frequent recalculation of the daily 
>>> data because I have up to 30 errors on the wind speed and wind gust data 
>>> per day.
>>>
>>> Le mercredi 8 mai 2019 11:43:48 UTC+2, Andrew Milner a écrit :

 what kind of errors are you correcting with the utility??  If you are 
 using checkstrings/fixstrings this should not need to be run on a regular 
 basis via cron since it is really finding and correcting errors introduced 
 by a database editor.

 If you have a database editor that introduces null strings rather than 
 null values when deleting values then I would suggest either changing the 
 editor to solve the problem completely or just getting into the habit or 
 running wee_database to check for null strings after running the editor.





 On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:
>
> Hello,
> I use Weewx for my station WS2300 in France I have to correcting lot 
> of measure errors.
> I want to automatize this with crontab command but I can't with the 
> prompt "Proceed (y/n)".
> Have you a solution to bypass this prompt?
> Thanks for your response
> Christophe Cavallié
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5b2ca809-c5d1-41a7-a699-be518c82eb4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Chris P
Alright, i have another question, the icons uploaded but now they display 
really large on my website.  How do i get the icons so they are small?

On Wednesday, May 8, 2019 at 7:58:38 AM UTC-5, Chris P wrote:
>
> Thank you Andrew for pointing me in the direction you did.  I see i did 
> not do the copy generator part!  Thanks again for the help!
>
> On Wednesday, May 8, 2019 at 7:48:04 AM UTC-5, Chris P wrote:
>>
>> Just checked my website and it appears the icons are not uploading 
>> through the weewx program, guess ill have to go back and check this copy 
>> generator section part.
>>
>> http://personalpages.tds.net/~cmplant/icons/  It looks like it tried 
>> though, i didnt make the icons folder manually...
>>
>>
>> On Wednesday, May 8, 2019 at 7:36:04 AM UTC-5, Chris P wrote:
>>>
>>> A) Yes, i in fact copied the exact lines in the instructions from the 
>>> github website and pasted them in my console.  B) Pretty sure i did, im 
>>> wondering if that is the issue, ill have to check my website to make sure 
>>> those files are even uploading...  If they aren't uploading, do you know if 
>>> i can just FTP the files to my website rather than letting the conf file do 
>>> it?  Do they end up in the root folder after uploading or do they go in 
>>> their own folder on the website?  Thanks!
>>>
>>> On Wednesday, May 8, 2019 at 6:29:44 AM UTC-5, Andrew Milner wrote:

 did you a) copy the icons to the skin you are using and b) change the 
 copy once in the copy generator section of weewx.conf - as specified in 
 the 
 instructions - to get the .png files copied to your site?



 On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:
>
> Not understanding why the icons arent showing on my website.  
> http://personalpages.tds.net/~cmplant  
> pretty sure i followed the 
> directions to the "t".  Is there a setting somewhere that i have to point 
> something to the icon folder in weewx.conf or something?
>


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/aad8d179-caac-45fb-a3d9-2161b85c1acc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Chris P
Thank you Andrew for pointing me in the direction you did.  I see i did not 
do the copy generator part!  Thanks again for the help!

On Wednesday, May 8, 2019 at 7:48:04 AM UTC-5, Chris P wrote:
>
> Just checked my website and it appears the icons are not uploading through 
> the weewx program, guess ill have to go back and check this copy generator 
> section part.
>
> http://personalpages.tds.net/~cmplant/icons/  It looks like it tried 
> though, i didnt make the icons folder manually...
>
>
> On Wednesday, May 8, 2019 at 7:36:04 AM UTC-5, Chris P wrote:
>>
>> A) Yes, i in fact copied the exact lines in the instructions from the 
>> github website and pasted them in my console.  B) Pretty sure i did, im 
>> wondering if that is the issue, ill have to check my website to make sure 
>> those files are even uploading...  If they aren't uploading, do you know if 
>> i can just FTP the files to my website rather than letting the conf file do 
>> it?  Do they end up in the root folder after uploading or do they go in 
>> their own folder on the website?  Thanks!
>>
>> On Wednesday, May 8, 2019 at 6:29:44 AM UTC-5, Andrew Milner wrote:
>>>
>>> did you a) copy the icons to the skin you are using and b) change the 
>>> copy once in the copy generator section of weewx.conf - as specified in the 
>>> instructions - to get the .png files copied to your site?
>>>
>>>
>>>
>>> On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:

 Not understanding why the icons arent showing on my website.  
 http://personalpages.tds.net/~cmplant  
 pretty sure i followed the 
 directions to the "t".  Is there a setting somewhere that i have to point 
 something to the icon folder in weewx.conf or something?

>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/75428af4-a1ac-4bc6-9b1b-bde794744358%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Solution to bypass wee_database utility prompt

2019-05-08 Thread Christophe CAVALLIÉ
Here is the query I execute to correct the errors:
update weewx.archive set windGust='0' where windGust 
 in 
('183.600456336138','183.960914462966','137.880685399835','91.9804572314828','91.8004563367049');

The values in question are very frequent and are systematically for a 
winDir=315


Le mercredi 8 mai 2019 13:18:24 UTC+2, Andrew Milner a écrit :
>
> 30 errors per day seems to be excessive.  Do you have something causing 
> the errors?  What kind of errors are you correcting? Recalculating the 
> daily data from the archive data is, I would have thought, likely to create 
> more 'errors', and possibly lose max gust data which may have been in a 
> loop packet for example.  How do you know the recorded data is wrong, and 
> how do you know what the correct value should be??  All seems to not make 
> much sense on the face of it.  Maybe your best option is to create your own 
> special version of wee_database which does not issue the prompt request so 
> that you can run it via cron (although running wee_database via cron seems 
> a wrong thing to have to do anyway!)  Surely though you only need to do the 
> recalculation after editing the data - so why not just include the call to 
> wee_database within the script you invoke when you decide to edit the 
> data.  I assume the actual edit is a manual process.  Maybe understanding 
> what your problem is caused by would shed some light on how to correct it - 
> at the moment I feel somewhat lost.
>
>
>
> On Wednesday, 8 May 2019 12:53:21 UTC+3, Christophe CAVALLIÉ wrote:
>>
>> I make the corrections myself via a mysql command executed by bash shell 
>> script and I must therefore perform a frequent recalculation of the daily 
>> data because I have up to 30 errors on the wind speed and wind gust data 
>> per day.
>>
>> Le mercredi 8 mai 2019 11:43:48 UTC+2, Andrew Milner a écrit :
>>>
>>> what kind of errors are you correcting with the utility??  If you are 
>>> using checkstrings/fixstrings this should not need to be run on a regular 
>>> basis via cron since it is really finding and correcting errors introduced 
>>> by a database editor.
>>>
>>> If you have a database editor that introduces null strings rather than 
>>> null values when deleting values then I would suggest either changing the 
>>> editor to solve the problem completely or just getting into the habit or 
>>> running wee_database to check for null strings after running the editor.
>>>
>>>
>>>
>>>
>>>
>>> On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:

 Hello,
 I use Weewx for my station WS2300 in France I have to correcting lot of 
 measure errors.
 I want to automatize this with crontab command but I can't with the 
 prompt "Proceed (y/n)".
 Have you a solution to bypass this prompt?
 Thanks for your response
 Christophe Cavallié

>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d7f93914-f767-4e91-a9e2-d12c3e57457b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Chris P
Just checked my website and it appears the icons are not uploading through 
the weewx program, guess ill have to go back and check this copy generator 
section part.

http://personalpages.tds.net/~cmplant/icons/  It looks like it tried 
though, i didnt make the icons folder manually...


On Wednesday, May 8, 2019 at 7:36:04 AM UTC-5, Chris P wrote:
>
> A) Yes, i in fact copied the exact lines in the instructions from the 
> github website and pasted them in my console.  B) Pretty sure i did, im 
> wondering if that is the issue, ill have to check my website to make sure 
> those files are even uploading...  If they aren't uploading, do you know if 
> i can just FTP the files to my website rather than letting the conf file do 
> it?  Do they end up in the root folder after uploading or do they go in 
> their own folder on the website?  Thanks!
>
> On Wednesday, May 8, 2019 at 6:29:44 AM UTC-5, Andrew Milner wrote:
>>
>> did you a) copy the icons to the skin you are using and b) change the 
>> copy once in the copy generator section of weewx.conf - as specified in the 
>> instructions - to get the .png files copied to your site?
>>
>>
>>
>> On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:
>>>
>>> Not understanding why the icons arent showing on my website.  
>>> http://personalpages.tds.net/~cmplant  
>>> pretty sure i followed the 
>>> directions to the "t".  Is there a setting somewhere that i have to point 
>>> something to the icon folder in weewx.conf or something?
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/416ceb3e-96f5-4b53-b6bd-86e3ce269da1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Chris P
A) Yes, i in fact copied the exact lines in the instructions from the 
github website and pasted them in my console.  B) Pretty sure i did, im 
wondering if that is the issue, ill have to check my website to make sure 
those files are even uploading...  If they aren't uploading, do you know if 
i can just FTP the files to my website rather than letting the conf file do 
it?  Do they end up in the root folder after uploading or do they go in 
their own folder on the website?  Thanks!

On Wednesday, May 8, 2019 at 6:29:44 AM UTC-5, Andrew Milner wrote:
>
> did you a) copy the icons to the skin you are using and b) change the copy 
> once in the copy generator section of weewx.conf - as specified in the 
> instructions - to get the .png files copied to your site?
>
>
>
> On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:
>>
>> Not understanding why the icons arent showing on my website.  
>> http://personalpages.tds.net/~cmplant  
>> pretty sure i followed the 
>> directions to the "t".  Is there a setting somewhere that i have to point 
>> something to the icon folder in weewx.conf or something?
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f8a70ddf-e52b-4a04-8b92-7fa7f25b2936%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Attempting to switch to non-root user for rsync

2019-05-08 Thread Steve Chiz
Well that added some confusion, but sort of helped as I figured out what 
you meant. I can't run Step#3, as I had removed the rc script based on the 
systemd wiki page "its almost certainly a bad idea to have both the rc 
script and a weeex.service file installed." 

That did prompt me to edit the weewx.service file and move the location- 
pidfile=home/weewx/run instead of var/run. As you noted, var/run would be 
difficult for non-root writes. Makes perfect sense to move it out of there. 
The systemd wiki page says 'make sure the paths match', but offers no info 
as to what they should look like, if not the default.  Maybe home/weewx/run 
should be the default.

The wiki also says to make sure that there are permissions to the weewx 
database, but I'm using mariadb and those credentials did not change. Now 
however, I see that there are other databases involved- that are not 
mentioned. The weewx user has no permissions to forecast.sdb, for example, 
which I find no reference to in either wiki page. Again, the read only 
error makes perfect sense and must come up every time someone tries to move 
from the root user, but I found no mention of it. Are there other internal 
databases that weewx creates/uses that I need to be aware of? The error log 
also reflects issues with items in usr/share/weewx/user and lack of write 
access. 

Am I the only one who has tried to hammer this out with such difficulty? 
I'm no noob, but I'm feeling pretty ignorant after struggling with this for 
so long. 

On Tuesday, May 7, 2019 at 8:35:05 PM UTC-4, Thomas Keffer wrote:
>
> Rather than put the PID file in /var/run (which could have permission 
> problems), put it somewhere else where your user has write permissions. See 
> steps #3 and #4 in *Run as a non-root user 
> *. In that 
> example, /home/weewx/run is used as a writable directory for user 'weewx'.
>
> -tk
>
> On Tue, May 7, 2019 at 5:25 PM Steve Chiz > 
> wrote:
>
>> I've tried a dozen things since then, all to no avail. I found an old 
>> post from Tom regarding commenting out the username lines to run as root 
>> again, and that is what I did to get the weewx.service to start. 
>>
>> Running the chown returned a file not found, so I assume one or more hard 
>> reboots (shutdown -r) deleted that file. I removed the commenting on the 
>> user name and this is the result. Oh, for a troubleshooting guide...
>>
>> I did not make any database owner changes as I use mariadb.
>>
>> May  7 20:18:47 WeeWx1 weewx[773]: engine: Locale is 'en_GB.UTF-8'
>> May  7 20:18:47 WeeWx1 weewx[773]: engine: pid file is /var/run/weewx.pid
>> May  7 20:18:47 WeeWx1 weewxd[773]: Traceback (most recent call last):
>> May  7 20:18:47 WeeWx1 weewxd[773]:   File "/usr/bin/weewxd", line 64, in 
>> 
>> May  7 20:18:47 WeeWx1 weewxd[773]: weewx.engine.main(options, args)
>> May  7 20:18:47 WeeWx1 weewxd[773]:   File 
>> "/usr/share/weewx/weewx/engine.py", line 841, in main
>> May  7 20:18:47 WeeWx1 weewxd[773]: 
>> daemon.daemonize(pidfile=options.pidfile)
>> May  7 20:18:47 WeeWx1 weewxd[773]:   File "/usr/share/weewx/daemon.py", 
>> line 77, in daemonize
>> May  7 20:18:47 WeeWx1 weewxd[773]: if pidfile: 
>> file(pidfile,'w+').write("%s\n" % pid)
>> May  7 20:18:47 WeeWx1 weewxd[773]: IOError: [Errno 13] Permission 
>> denied: '/var/run/weewx.pid'
>>
>> I am changing permissions back to root/ftp and calling it a day. Thanks 
>> for your help.
>>
>> On Tuesday, May 7, 2019 at 6:46:51 PM UTC-4, Leon Shaner wrote:
>>>
>>> Steve,
>>>
>>> Probably a leftover.
>>> I expect this should do it:
>>>
>>> $ sudo chown weewx /var/run/weewx.pid
>>>
>>> I would expect that file to be deleted on host reboot, except of course 
>>> it is pronounced reboot, but spelled:
>>>
>>> $ sudo shutdown -r now
>>>
>>> If you use actual "reboot" then it skips shutdown scripts, so it's a big 
>>> no-no.
>>>
>>> What about the other files, did you change their owner, too, such as for 
>>> the DB?
>>>
>>> Regards,
>>> \Leon
>>> --
>>> Leon Shaner :: Dearborn, Michigan (iPad Pro)
>>>
>>> On May 7, 2019, at 5:42 PM, Steve Chiz  wrote:
>>>
>>> Guess I spoke too soon. After a reboot, weewx won't start. IOError: 
>>> [Errno 13] Permission denied: '/var/run/weewx.pid'
>>>
>>> On Tuesday, May 7, 2019 at 4:37:44 PM UTC-4, Steve Chiz wrote:

 Basically, it was my lack of understanding on how the .rules files 
 work. I appreciate the explanation of the granular permissions as it 
 helped 
 me understand the 'why'. I am not worried about others plugging USB 
 devices 
 into the pi, so I went ahead and edited the 99-usb.rules and added my 
 newly 
 created weewx user to the plugdev group. I am successfully running weewx 
 as 
 non-root, thanks again!  WeeWx still complains that my key verification 
 fails, but I can directly ssh successfully to my remote host as the weewx 
 user without a password, so I'm close. 
>>

[weewx-user] Re: Icons in forecast extension

2019-05-08 Thread Andrew Milner
did you a) copy the icons to the skin you are using and b) change the copy 
once in the copy generator section of weewx.conf - as specified in the 
instructions - to get the .png files copied to your site?



On Wednesday, 8 May 2019 14:18:21 UTC+3, Chris P wrote:
>
> Not understanding why the icons arent showing on my website.  
> http://personalpages.tds.net/~cmplant  
> pretty sure i followed the 
> directions to the "t".  Is there a setting somewhere that i have to point 
> something to the icon folder in weewx.conf or something?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ca60dd69-bf01-4265-a97a-fd8606679f1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Icons in forecast extension

2019-05-08 Thread Chris P
Not understanding why the icons arent showing on my website.  
http://personalpages.tds.net/~cmplant  
pretty sure i followed the 
directions to the "t".  Is there a setting somewhere that i have to point 
something to the icon folder in weewx.conf or something?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/22900fad-6ff7-4ebe-ba97-684e7fe45931%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Solution to bypass wee_database utility prompt

2019-05-08 Thread Andrew Milner
30 errors per day seems to be excessive.  Do you have something causing the 
errors?  What kind of errors are you correcting? Recalculating the daily 
data from the archive data is, I would have thought, likely to create more 
'errors', and possibly lose max gust data which may have been in a loop 
packet for example.  How do you know the recorded data is wrong, and how do 
you know what the correct value should be??  All seems to not make much 
sense on the face of it.  Maybe your best option is to create your own 
special version of wee_database which does not issue the prompt request so 
that you can run it via cron (although running wee_database via cron seems 
a wrong thing to have to do anyway!)  Surely though you only need to do the 
recalculation after editing the data - so why not just include the call to 
wee_database within the script you invoke when you decide to edit the 
data.  I assume the actual edit is a manual process.  Maybe understanding 
what your problem is caused by would shed some light on how to correct it - 
at the moment I feel somewhat lost.



On Wednesday, 8 May 2019 12:53:21 UTC+3, Christophe CAVALLIÉ wrote:
>
> I make the corrections myself via a mysql command executed by bash shell 
> script and I must therefore perform a frequent recalculation of the daily 
> data because I have up to 30 errors on the wind speed and wind gust data 
> per day.
>
> Le mercredi 8 mai 2019 11:43:48 UTC+2, Andrew Milner a écrit :
>>
>> what kind of errors are you correcting with the utility??  If you are 
>> using checkstrings/fixstrings this should not need to be run on a regular 
>> basis via cron since it is really finding and correcting errors introduced 
>> by a database editor.
>>
>> If you have a database editor that introduces null strings rather than 
>> null values when deleting values then I would suggest either changing the 
>> editor to solve the problem completely or just getting into the habit or 
>> running wee_database to check for null strings after running the editor.
>>
>>
>>
>>
>>
>> On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:
>>>
>>> Hello,
>>> I use Weewx for my station WS2300 in France I have to correcting lot of 
>>> measure errors.
>>> I want to automatize this with crontab command but I can't with the 
>>> prompt "Proceed (y/n)".
>>> Have you a solution to bypass this prompt?
>>> Thanks for your response
>>> Christophe Cavallié
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6ffa7dd6-4ada-4b60-8692-10ac8ca807c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Solution to bypass wee_database utility prompt

2019-05-08 Thread Christophe CAVALLIÉ
I make the corrections myself via a mysql command executed by bash shell 
script and I must therefore perform a frequent recalculation of the daily 
data because I have up to 30 errors on the wind speed and wind gust data 
per day.

Le mercredi 8 mai 2019 11:43:48 UTC+2, Andrew Milner a écrit :
>
> what kind of errors are you correcting with the utility??  If you are 
> using checkstrings/fixstrings this should not need to be run on a regular 
> basis via cron since it is really finding and correcting errors introduced 
> by a database editor.
>
> If you have a database editor that introduces null strings rather than 
> null values when deleting values then I would suggest either changing the 
> editor to solve the problem completely or just getting into the habit or 
> running wee_database to check for null strings after running the editor.
>
>
>
>
>
> On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:
>>
>> Hello,
>> I use Weewx for my station WS2300 in France I have to correcting lot of 
>> measure errors.
>> I want to automatize this with crontab command but I can't with the 
>> prompt "Proceed (y/n)".
>> Have you a solution to bypass this prompt?
>> Thanks for your response
>> Christophe Cavallié
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/030adf53-0215-4e2d-9703-80042b5e355e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Solution to bypass wee_database utility prompt

2019-05-08 Thread Andrew Milner
what kind of errors are you correcting with the utility??  If you are using 
checkstrings/fixstrings this should not need to be run on a regular basis 
via cron since it is really finding and correcting errors introduced by a 
database editor.

If you have a database editor that introduces null strings rather than null 
values when deleting values then I would suggest either changing the editor 
to solve the problem completely or just getting into the habit or running 
wee_database to check for null strings after running the editor.





On Wednesday, 8 May 2019 12:10:22 UTC+3, Christophe CAVALLIÉ wrote:
>
> Hello,
> I use Weewx for my station WS2300 in France I have to correcting lot of 
> measure errors.
> I want to automatize this with crontab command but I can't with the prompt 
> "Proceed (y/n)".
> Have you a solution to bypass this prompt?
> Thanks for your response
> Christophe Cavallié
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/37a2e499-5b84-41cd-9d1c-60cb844b75ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: how do I change my password at wunderground?

2019-05-08 Thread Andrew Milner
as far as i can see the api requires only an apikey  - not a password.  Are 
you sure a password is required?  I know one is specified in weewx.conf but 
is it actually used??  If one is required I would suspect it would however 
be the password as it was at the time the key was generated (suspicion says 
the apikey could well be a hash derived from station id and password).  
Further thought makes me think that maybe you have to generate a new apikey 
after changing the password in the members/station section.  Tom must 
generate the api key since it is not specified in weewx.conf - just station 
id and password it would appear.



On Wednesday, 8 May 2019 09:14:07 UTC+3, Mark Hahn wrote:
>
> I know this isn't really a weewx question but ...
>
> How do I change my password at wunderground?  I changed my password in 
> member settings at wunderground.com.  But that only changed my login to 
> the site.  Only the old login works in my weewx.conf.  Anything other than 
> the old gets me an authentication error. 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d0711605-5e0f-482e-a964-4749556629dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Solution to bypass wee_database utility prompt

2019-05-08 Thread Christophe CAVALLIÉ
Hello,
I use Weewx for my station WS2300 in France I have to correcting lot of 
measure errors.
I want to automatize this with crontab command but I can't with the prompt 
"Proceed (y/n)".
Have you a solution to bypass this prompt?
Thanks for your response
Christophe Cavallié

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6166f5df-edca-44c0-a926-82d661802d34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.