[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread Andrew Milner
right - so we can forget setup 1 then since that is working with a 
radiation field provided.

so for setup 2 you are storing a temperature in extraTemp1 in the database 
- correct?
is that being populated as expected?

where is the calculation being performed?  If in a template can you post 
the template.

try dT= extraTemp1.raw - outTemp.raw

On Friday, 26 July 2019 08:05:34 UTC+3, peter wrote:
>
> Apologies for confusion. Longer explanation:
> Setup 1 (WF station with solar sensor): read 'radiation' from WF station, 
> compare it to maxSolarRad. Based on the ratio, I decide whether the sky is 
> sunny (radiation/maxSolarRad =~1), partly cloudy (radiation/maxSolarRad 
> =~0.5), cloudy (radiation/maxSolarRad =~0.1), etc.
> Setup 2 (Vantage Vue with *no* solar sensor): I read temperature from a 
> jar (store it as 'extraTemp1') and compare it to outTemp. My result is 
> dT=extraTemp1-outTemp. On a sunny day at noon, the expected difference is 
> ~15 degC. I want to compare the dT against the current maxSolarRad value in 
> order to get approximate 'radiation' value. From approximate 'radiation', I 
> will then compare it against maxSolarRad to get sky conditions (same as in 
> Setup1). Please note: I'm looking for *approximate* values, no absolute 
> accuracy.
>
> The issue is in Setup2 which doesn't want to give me the maxSolarRad.
>
>

-- 
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/81f4955a-641c-4b9c-a906-de6a3e18210e%40googlegroups.com.


[weewx-user] Re: WU Wind graphs

2019-07-25 Thread Praveen Chandrasekaran
Related wxforum post:

https://www.wxforum.net/index.php?topic=36611.msg386071#msg386071


On Friday, 26 July 2019 10:45:52 UTC+5:30, Praveen Chandrasekaran wrote:
>
> Hi,
>
> I am seeing that on stations with rapdifire, WU is not differentiating 
> wind speed and wind gust in graph correctly. However in stations without 
> rapidfire it is fine.
>
> Example my station with rapidfire:
>
> https://www.wunderground.com/dashboard/pws/IBANGALO9
>
> Another station without rapidfire:
>
> https://www.wunderground.com/dashboard/pws/IMUMBAI16
>
> Is this issue arising from weewx by any chance?
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d22abe3e-e67a-42d3-b682-19695fb05cf9%40googlegroups.com.


[weewx-user] WU Wind graphs

2019-07-25 Thread Praveen Chandrasekaran
Hi,

I am seeing that on stations with rapdifire, WU is not differentiating wind 
speed and wind gust in graph correctly. However in stations without 
rapidfire it is fine.

Example my station with rapidfire:

https://www.wunderground.com/dashboard/pws/IBANGALO9

Another station without rapidfire:

https://www.wunderground.com/dashboard/pws/IMUMBAI16

Is this issue arising from weewx by any chance?

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d7818279-df4a-4fce-954c-cbe61e367ea7%40googlegroups.com.


[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread peter
Apologies for confusion. Longer explanation:
Setup 1 (WF station with solar sensor): read 'radiation' from WF station, 
compare it to maxSolarRad. Based on the ratio, I decide whether the sky is 
sunny (radiation/maxSolarRad =~1), partly cloudy (radiation/maxSolarRad 
=~0.5), cloudy (radiation/maxSolarRad =~0.1), etc.
Setup 2 (Vantage Vue with *no* solar sensor): I read temperature from a jar 
(store it as 'extraTemp1') and compare it to outTemp. My result is 
dT=extraTemp1-outTemp. On a sunny day at noon, the expected difference is 
~15 degC. I want to compare the dT against the current maxSolarRad value in 
order to get approximate 'radiation' value. From approximate 'radiation', I 
will then compare it against maxSolarRad to get sky conditions (same as in 
Setup1). Please note: I'm looking for *approximate* values, no absolute 
accuracy.

The issue is in Setup2 which doesn't want to give me the maxSolarRad.

-- 
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/e6d7ece9-4bbf-410d-9228-882277fff5c7%40googlegroups.com.


[weewx-user] Re: Customised logwatch

2019-07-25 Thread Andrew Milner
Hope the tuit surfaces soon!!!  You summarised the issue perfectly.



On Thursday, 25 July 2019 21:49:39 UTC+3, gjr80 wrote:
>
> The logwatch script needs to be modularised so that users can easily 
> extend the basic logwatch script functionality to cater for extensions and 
> other customisations the user may have installed. The current top to bottom 
> ‘if..elif..else’ structure does not lend itself to being easily extended in 
> a manner that survives upgrades etc. 
>
> We are aware of the issue but it will probably take until we find the 
> roundtoit before we get around to it. 
>  
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/51c4cc72-8b3c-479b-b582-ddfb5b7d9a22%40googlegroups.com.


[weewx-user] Re: Can't Upload to Weather Underground - Please Help

2019-07-25 Thread vince
On Thursday, July 25, 2019 at 12:15:25 PM UTC-7, Thomas D. wrote:
>
> I just turned weewx debugging on, and this is failing due to SSL 
> certificate verification:
>
> Jul 25 12:09:53 NAS user.err weewx[12469]: restx: Wunderground-RF: Failed 
> to publish record 2019-07-25 12:09:47 PDT (1564081787): Failed upload after 
> 1 tries
> Jul 25 12:09:53 NAS user.debug weewx[12469]: restx: Wunderground-RF: 
> Failed upload attempt 1:  certificate verify failed (_ssl.c:661)>
>
> Is there any way to turn of this verification?
>


ok that helps a lot - this is an old one we've seen before I 
think...something to do with the python version you're running if I 
remember correctly.   My recollection is there was a python version that 
changed how ssl stuff worked.

Do a google search for "SSL: CERTIFICATE_VERIFY_FAILED] certificate verify 
failed" and also I guess search this group's archives for the error message.


 

-- 
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/dbe755b7-e821-4457-94c2-0b0034703c98%40googlegroups.com.


[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread vince
On Thursday, July 25, 2019 at 12:19:52 PM UTC-7, Peter Leban wrote:
>
> I confirm the maxSolarRad is "None". How shall I proceed? Is this because 
> Vantage Vue doesn't have a solar sensor and weeWX doesn't want to calculate 
> any solar-related parameter? 
>
 
>

I'm still a bit confused about what you're doing.

Are you generating the data for the new field you added and 'you' are 
making the data getting into the database ?

Or are you adding a field and expecting weewx to magically populate that 
field in your database (how would it know what to do) ?
 

-- 
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/9e2945d3-4457-42bf-8abd-add00f2c3042%40googlegroups.com.


Re: [weewx-user] Re: RAM disc for web server data

2019-07-25 Thread vince
On Wednesday, July 24, 2019 at 11:16:48 AM UTC-7, Thomas Keffer wrote:
>
> Weewx generates any missing NOAA files on every reporting cycle.
>
>
>
I did a little test (admittedly a bit contrived) in which I deleted the 
NOAA file for a month from earlier this year and weewx did 'not' generate 
the missing intermediate month file. 

-- 
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/814fceb1-81a2-4507-ab2b-2121c557866f%40googlegroups.com.


[weewx-user] Re: Godaddy FTP problem

2019-07-25 Thread Andy
log in to godaddy, go to hosting, then ftp users. Make sure your FTP user 
is there and maybe reset the password.

try ftp from the command line and post the results.

Or better yet use rsync 
!

Andy

-- 
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/b55405a3-4a0c-4de8-9c8e-9c059bfabfac%40googlegroups.com.


[weewx-user] Godaddy FTP problem

2019-07-25 Thread Bob Grattan
Hello,

I have seen this discussed some but am not sure I understand exactly what 
is going on. I have used Godaddy for at least 10 years with no weewx FTP 
problems, until now. My weewx.conf contains

[[FTP]]
skin = Ftp
secure_ftp = True
#HTML_ROOT = public_html
port = 21
passive = 1
# If you wish to use FTP, uncomment and fill out the next four 
lines.
user = bgrattan
password = 
server = grattans.org
path = /weewx

They informed me that I need to move to their new hosting system so I have 
created "new.grattans.org" to move weewx data into before deleting the old 
and renaming the new one present grattans.org.

By changing the weewx.conf data above to new.grattans.org I am unable to 
upload from the weewx FTP function. I wonder if anyone can spot what is 
happening. I am able to use filezilla to move files into the new site but 
the weewx function no longer works. Not being an expert in this, I'm sure 
I'm doing something stupid but I don't know what.

Thanks for any help. I'm running Ubuntu 18 and weewx 3.9.1

Bob

http://grattans.org/wx  (working)

http://new.grattans.org/weewx  (FTP not working)

-- 
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/c4d6de73-9abd-438d-be3b-52c592427bc6%40googlegroups.com.


Re: [weewx-user] Weewx issues

2019-07-25 Thread Allan Tyson
I’ve gone to a 120GB mini SSD drive as well. Cheaper than a 16GB SLC micro SD 
card by far.

-- 
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/3836fb45-2622-46dc-802f-c41ea79f3bb8%40googlegroups.com.


[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread Peter Leban
And the ephem plugin doesn't return any error. I checked and I have python 
2.7 and 3 installed. Is this a problem?

Dne četrtek, 25. julij 2019 21.19.52 UTC+2 je oseba Peter Leban napisala:
>
> I confirm the maxSolarRad is "None". How shall I proceed? Is this because 
> Vantage Vue doesn't have a solar sensor and weeWX doesn't want to calculate 
> any solar-related parameter?
>
>
> Dne četrtek, 25. julij 2019 20.30.00 UTC+2 je oseba gjr80 napisala:
>>
>> I suggest you run WeeWX directly (
>> http://weewx.com/docs/usersguide.htm#Running_directly) and check the 
>> loop packets and archive records displayed on screen for maxSolarRad. If 
>> maxSolarRad is None then there is a fundamental problem that has nothing to 
>> do with the database. maxSolarRad only pre-requisites are pyephem and 
>> station lat, long and altitude. I suspect you have station last, long and 
>> altitude set correctly in weewx.conf so I would be double checking pyephem 
>> is properly installed. At the command prompt type the following sequence of 
>> commands:
>>
>> $ python
>> Python 2.7.13 (default, Sep 26 2018, 18:42:22) 
>> [GCC 6.3.0 20170516] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import ephem
>> >>> quit()
>>
>> If no errors where thrown by python pyephem is installed fine.
>>
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f35a91ad-1f3b-4e93-8d36-fe253b64a23e%40googlegroups.com.


[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread Peter Leban
I confirm the maxSolarRad is "None". How shall I proceed? Is this because 
Vantage Vue doesn't have a solar sensor and weeWX doesn't want to calculate 
any solar-related parameter?


Dne četrtek, 25. julij 2019 20.30.00 UTC+2 je oseba gjr80 napisala:
>
> I suggest you run WeeWX directly (
> http://weewx.com/docs/usersguide.htm#Running_directly) and check the loop 
> packets and archive records displayed on screen for maxSolarRad. If 
> maxSolarRad is None then there is a fundamental problem that has nothing to 
> do with the database. maxSolarRad only pre-requisites are pyephem and 
> station lat, long and altitude. I suspect you have station last, long and 
> altitude set correctly in weewx.conf so I would be double checking pyephem 
> is properly installed. At the command prompt type the following sequence of 
> commands:
>
> $ python
> Python 2.7.13 (default, Sep 26 2018, 18:42:22) 
> [GCC 6.3.0 20170516] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import ephem
> >>> quit()
>
> If no errors where thrown by python pyephem is installed fine.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3eac385a-0cdf-4e22-875b-439e0f6e%40googlegroups.com.


[weewx-user] Re: Database - Data not archived correctly

2019-07-25 Thread gjr80
genLoopPackets() assigns the variable ‘humidity’ to the ‘outHumidity’ field in 
the loop packet (line 341) but when genLoopPackets() is iterating continuously 
it calls the sampleAndDisplay() method to (presumably) obtain updated sensor 
values. As far as I can tell variable ‘humidity’ is not set by 
sampleAndDisplay(). ‘humidity’ is only set at line 254 when the driver module 
is first loaded. This probably explains why the value is only correct/updated 
when WeeWX is started/restarted.

I think you need to revise you driver to ensure that that variable ‘humidity’ 
is in fact updated on a regular basis.

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3cb12d15-ae45-48da-85ac-ae5b184f1c4a%40googlegroups.com.


[weewx-user] Re: Can't Upload to Weather Underground - Please Help

2019-07-25 Thread Thomas D.
I just turned weewx debugging on, and this is failing due to SSL 
certificate verification:

Jul 25 12:09:53 NAS user.err weewx[12469]: restx: Wunderground-RF: Failed 
to publish record 2019-07-25 12:09:47 PDT (1564081787): Failed upload after 
1 tries
Jul 25 12:09:53 NAS user.debug weewx[12469]: restx: Wunderground-RF: Failed 
upload attempt 1: 

Is there any way to turn of this verification?

Thanks,
Thomas

On Thursday, July 25, 2019 at 11:23:27 AM UTC-7, Thomas D. wrote:
>
> Thanks for the reply Vince. I appreciate it. 
>
> This app has served me well. I have almost 4 years of weather data, and 
> Weewx has reliably posted this data to the web for just as long. 
>
> I have already changed the WU password in weewx.conf and surrounded it in 
> quotes. Same issue. It seems other python apps on my NAS can access the 
> internet and use FTP, so it's really strange that Weewx can't, especially 
> since I had it working before the reinstall.
>
> Is there a way of getting a verbose log report that might give me more 
> info than "Failed to publish record"
>
> Thanks,
> Thomas
>
>
>
> On Thursday, July 25, 2019 at 11:09:04 AM UTC-7, vince wrote:
>>
>> On Thursday, July 25, 2019 at 7:41:57 AM UTC-7, Thomas D. wrote:
>>
>>> Can anyone help me figure out why Weewx can't upload? I don't remember 
>>> ever having to create a weewx user or change anything other than write 
>>> permissions for the Weex folder.
>>>
>>>
>>>
>> WU is historically a bit of a mess, and seems to be getting more and more 
>> unstable from the various reports folks are posting.   Personally I'd shop 
>> elsewhere.
>>
>> Anything you need to configure re: WU is in that section of your 
>> weewx.conf file.  If you changed your WU password, you probably need to 
>> edit weewx.conf to put in the new password there, then restart weewx.
>>
>

-- 
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/7732f1a1-fb01-4349-9485-ed82d7373d0d%40googlegroups.com.


[weewx-user] Re: Customised logwatch

2019-07-25 Thread gjr80
The logwatch script needs to be modularised so that users can easily extend the 
basic logwatch script functionality to cater for extensions and other 
customisations the user may have installed. The current top to bottom 
‘if..elif..else’ structure does not lend itself to being easily extended in a 
manner that survives upgrades etc.

We are aware of the issue but it will probably take until we find the roundtoit 
before we get around to it.

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/99093fab-14af-4c1e-adf9-6d79599f460f%40googlegroups.com.


Re: [weewx-user] Weewx issues

2019-07-25 Thread Robert Lorenzini

I went to SSD. They are so cheap now at the size we use. That SD card
will bite you and it is painful.

Bob - wd6dod

On 7/25/2019 11:02 AM, Allan Tyson wrote:

If you’re using an RPi and do not have it configured to minimize disk IO ( or 
even if you do and have been running on the same micro SD card for a long time 
) your micro SD card may be starting to fail. Copy your micro SD card image to 
your computer and then copy it back onto a new micro SD card. Use a very high 
quality card or even better, use an SLC memory type micro SD card. They’re very 
expensive but will last much longer.



--
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/ddf467a9-8870-623c-fe1e-f51468eeda7b%40llorenzini.com.


[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread gjr80
I suggest you run WeeWX directly 
(http://weewx.com/docs/usersguide.htm#Running_directly) and check the loop 
packets and archive records displayed on screen for maxSolarRad. If maxSolarRad 
is None then there is a fundamental problem that has nothing to do with the 
database. maxSolarRad only pre-requisites are pyephem and station lat, long and 
altitude. I suspect you have station last, long and altitude set correctly in 
weewx.conf so I would be double checking pyephem is properly installed. At the 
command prompt type the following sequence of commands:

$ python
Python 2.7.13 (default, Sep 26 2018, 18:42:22) 
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ephem
>>> quit()

If no errors where thrown by python pyephem is installed fine.

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/79dfb28f-9338-4b14-a89e-aaa9043d659b%40googlegroups.com.


[weewx-user] Re: Can't Upload to Weather Underground - Please Help

2019-07-25 Thread Thomas D.
Thanks for the reply Vince. I appreciate it. 

This app has served me well. I have almost 4 years of weather data, and 
Weewx has reliably posted this data to the web for just as long. 

I have already changed the WU password in weewx.conf and surrounded it in 
quotes. Same issue. It seems other python apps on my NAS can access the 
internet and use FTP, so it's really strange that Weewx can't, especially 
since I had it working before the reinstall.

Is there a way of getting a verbose log report that might give me more info 
than "Failed to publish record"

Thanks,
Thomas



On Thursday, July 25, 2019 at 11:09:04 AM UTC-7, vince wrote:
>
> On Thursday, July 25, 2019 at 7:41:57 AM UTC-7, Thomas D. wrote:
>
>> Can anyone help me figure out why Weewx can't upload? I don't remember 
>> ever having to create a weewx user or change anything other than write 
>> permissions for the Weex folder.
>>
>>
>>
> WU is historically a bit of a mess, and seems to be getting more and more 
> unstable from the various reports folks are posting.   Personally I'd shop 
> elsewhere.
>
> Anything you need to configure re: WU is in that section of your 
> weewx.conf file.  If you changed your WU password, you probably need to 
> edit weewx.conf to put in the new password there, then restart weewx.
>

-- 
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/52960519-cd4c-431f-befc-28680e3cdb25%40googlegroups.com.


[weewx-user] Re: SQL Hosted on Synology NAS

2019-07-25 Thread MikeQ
In your original post, I missed you are using MariaDB 10 so the default 
port for it is 3307 instead of 3306 used by Maria DB 5.

I also should have mentioned a way to test your connection from remote.  
Are you running WeeWX on a Raspberry PI?  If so, you can install just the 
MariaDB client using: sudo apt-get install mariadb-client-10.1

Once the client is installed, you can run this command to test your 
connection to the Synology (my Synology is at 192.168.71.4):

$ mysql -usaimail -p -h 192.168.71.4
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.5.62-MariaDB Source distribution

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.

mysql> 

-- 
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/822cafd7-4400-4836-844e-d9e695c58aa5%40googlegroups.com.


[weewx-user] Re: Customised logwatch

2019-07-25 Thread vince
On Thursday, July 25, 2019 at 6:10:20 AM UTC-7, Andrew Milner wrote:
>
> Just a bump  any other suggestions/ideas or is it possible for other 
> wiki based drivers and extensions to be included in the default weewx 
> logwatch ignore list somehow??  maybe some form of customisation file which 
> could be actioned/included - but how??
>
>
Uncertain what you're asking here.   There are limitations on how much 
weewx should touch optional other stuff you can hook it up to.   For 
example, do you run syslog, rsyslog, syslog-ng, or multiples ?   At some 
point the admin has to do the steps to admin their box to get the result 
'they' want it to have.  The admin gets the last word, but that means 
sometimes they need to do a little more work too.

-- 
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/97840a07-38f9-4fce-a8f0-20fac6486818%40googlegroups.com.


[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread Peter Leban
I have a custom html template that contains sunrise, sunset times and 
maxSolarRad and radiation.
With WF setup, all values are populated.
With Vantage Vue, there is no value in radiation, N/A for maxSolarRad and 
normal data for sun rise/set.
Same template for both setups.

-- 
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/e6011477-a034-4cce-b6b6-6ff67805e1ce%40googlegroups.com.


[weewx-user] Re: Can't Upload to Weather Underground - Please Help

2019-07-25 Thread vince
On Thursday, July 25, 2019 at 7:41:57 AM UTC-7, Thomas D. wrote:

> Can anyone help me figure out why Weewx can't upload? I don't remember 
> ever having to create a weewx user or change anything other than write 
> permissions for the Weex folder.
>
>
>
WU is historically a bit of a mess, and seems to be getting more and more 
unstable from the various reports folks are posting.   Personally I'd shop 
elsewhere.

Anything you need to configure re: WU is in that section of your weewx.conf 
file.  If you changed your WU password, you probably need to edit 
weewx.conf to put in the new password there, then restart weewx.

-- 
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/0d6b409c-1dd3-46c6-9024-c3190ba08c93%40googlegroups.com.


[weewx-user] Re: Weewx issues

2019-07-25 Thread vince
On Thursday, July 25, 2019 at 10:52:35 AM UTC-7, Hector Valenzuela wrote:
>
> My weather station does not report and when I check weewx I constantly 
> have the result indicated in yellow. I clean the data using the commands 
> that I indicate in pink /home/weewx/bin ./wee_device --clear and it works 
> but then days later it repeats. What could be happening?
>

I'm not understanding why the stuff you have in yellow is resolved by 
clearing device memory, but you didn't provide a lot of context for us to 
dig too deep to try to help.   I've run a VP2 for 10+ years and have 
'never' had to clear device memory, FWIW.

-- 
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/6a93946b-7ad3-4ba8-b9c4-c6b3295cf760%40googlegroups.com.


[weewx-user] Re: maxSolarRad not available

2019-07-25 Thread vince
On Thursday, July 25, 2019 at 10:26:51 AM UTC-7, Peter Leban wrote:
>
> I have 2 weather stations using weewx (3.9.2): weatherflow and vantage 
> vue. I've installed pyephem and added maxSolarRad database field in both 
> setups.
> However, the maxSolarRad is not working in setup with vantage vue (shows 
> N/A). This station does not provide solar radiation value but I tend to 
> calculate it from the jar temperature. But I need a maxSolarRad. Is the 
> maxSolarRad provided only with stations that have the solar sensor, or?
>


You added a field to your db.  Do you have data in that field in your 
archive records ?

Try something like "select dateTime,maxSolarRad from archive;" or the like 
(untested) to verify you have actual data to report.  It's possible your 
skin only reports data if there are elements in the db that are other than 
null

-- 
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/4fb1800c-1bc2-4463-966b-af15723a2bbc%40googlegroups.com.


[weewx-user] Weewx issues

2019-07-25 Thread Allan Tyson
If you’re using an RPi and do not have it configured to minimize disk IO ( or 
even if you do and have been running on the same micro SD card for a long time 
) your micro SD card may be starting to fail. Copy your micro SD card image to 
your computer and then copy it back onto a new micro SD card. Use a very high 
quality card or even better, use an SLC memory type micro SD card. They’re very 
expensive but will last much longer.

-- 
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/e8fe7461-7da3-45bd-ba83-d0ca33e9df72%40googlegroups.com.


Re: [weewx-user] Sunshine Time

2019-07-25 Thread gjr80
Unfortunately you cannot explicitly set the width of the bars plotted by the 
imagegenerator, the width is set automatically based on the aggregate interval 
being used in the plot

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c28055b4-e8cb-40ac-883f-e7356ff0e28e%40googlegroups.com.


[weewx-user] Re: SQL Hosted on Synology NAS

2019-07-25 Thread MikeQ
The Synology does not have any remote user accounts enabled by default.  I 
assume you are running phpMyAdmin on the Synology.  Did you login to the 
Synology using SSH and create a remote account?

You can check if you have a remote account configured by doing this:

1.  Verify you have SSH enabled on the Synology using Control Panel | 
Terminal & SNMP | Enable SSH service
2.  Connect to the Synology using SSH. Login with admin and your admin 
password
3.  Change to the directory: /volume1/@appstore/MariaDB/usr/bin
4.  Run the command ./mysql -u root -p and enter your MariaDB root password 
when prompted
5.  Run this mysql command which will list your users:  SELECT User, Host 
FROM mysql.user;
6.  You must have at least one user who is allowed to connect remotely and 
that user must be used in the WeeWX config.  In the info below, 
'saimail@192.168.71.6' is my remote account that is allowed to connect 
remotely.  I actually have phpMyAdmin on a Linux Server and use that 
install to manage MariaDB on my Synology using this remote account:

Also, I think the Synology MariaDB listens on port 3306 by default for 
remote connections, but you have :3307 listed above.  You can check your 
Synology by going to the Main Menu and clicking on MariaDB 5 .
+-+-+
| User| Host |
+-+-+
| root| 127.0.0.1  |
| saimail  | 192.168.71.6  |
| root| ::1   |
|| localhost |
| php4dvd | localhost |
| root| localhost |
|| synology-216  |
| root| synology-216  |
+-++
8 rows in set (0.06 sec)

-- 
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/9066e7fb-b780-4977-8459-273e970f69b7%40googlegroups.com.


[weewx-user] Weewx issues

2019-07-25 Thread Hector Valenzuela
My weather station does not report and when I check weewx I constantly have 
the result indicated in yellow. I clean the data using the commands that I 
indicate in pink /home/weewx/bin ./wee_device --clear and it works but then 
days later it repeats. What could be happening?

[image: hanka.jpg]

-- 
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/5ddcea59-5bfa-400c-976f-2c8ef33bbf2b%40googlegroups.com.


[weewx-user] Re: OWFS install instructions

2019-07-25 Thread gjr80
Hi,

The error message is your friend. Try looking at line 589 in weewx.conf; you 
already have a section name of that name and duplicates are not allowed (at the 
same level). Section names are enclosed in one or more pairs of square brackets 
[].

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5c46ee6e-4524-4bfc-a583-d34547e59fa7%40googlegroups.com.


[weewx-user] Re: Acurite Access + RaspberryPi --> WU DNS hijacking (DD-WRT) - howto

2019-07-25 Thread Xant

UPDATE

*1) WU DNS forwarding by DD-WRT router*

Although DNSmasq strategy "partially" works, but ALL updates or attempt 
connections to 'rtupdate.wunderground.com' are redirected in local loop. 
That is, able to read from Acurite Access, but WeeWX not able to update to 
WU.

BETTER Strategy (pls, ignore the DNSmasq):

Apply some firewall rules:


   - From within the dd-wrt web interface go to the Administration menu > 
   Commands sub menu. Enter the following into the box and click Save Firewall 
   (editing IPs to match your setup):


iptables -t nat -A PREROUTING -s X.X.X.X -p tcp --dport 80 -j DNAT 
--to-destination Y.Y.Y.Y:80
iptables -t nat -A POSTROUTING -j MASQUERADE




   - Where X.X.X.X with is the IP of your Acurite Access, and Y.Y.Y.Y:80 
   the IP of your RaspberryPi/WeeWX.



   - Reboot DD-WRT router.
   

-- 
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/5c3d819a-56be-4308-a55b-1e96e8fe9aaf%40googlegroups.com.


[weewx-user] maxSolarRad not available

2019-07-25 Thread Peter Leban
I have 2 weather stations using weewx (3.9.2): weatherflow and vantage vue. 
I've installed pyephem and added maxSolarRad database field in both setups.
However, the maxSolarRad is not working in setup with vantage vue (shows 
N/A). This station does not provide solar radiation value but I tend to 
calculate it from the jar temperature. But I need a maxSolarRad. Is the 
maxSolarRad provided only with stations that have the solar sensor, or?

-- 
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/f58d89d3-a925-49b2-96b9-47ed3f2c080e%40googlegroups.com.


[weewx-user] Re: OWFS install instructions

2019-07-25 Thread Bret Craytor


Ok, now I have OWFS seeing the sensors, and have followed instructions to 
install OWFS to WeeWX, but no joy.

here is a copy of trying to run the program.  installed using config.py:

Traceback (most recent call last):
  File "./bin/weewxd", line 64, in 
weewx.engine.main(options, args)
  File "/home/weewx/bin/weewx/engine.py", line 869, in main
config_dict = getConfiguration(config_path)
  File "/home/weewx/bin/weewx/engine.py", line 981, in getConfiguration
config_dict = configobj.ConfigObj(config_path, file_error=True)
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 1229, in 
__init__
self._load(infile, configspec)
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 1318, in _load
raise error
configobj.DuplicateError: Duplicate section name at line 589.


Can anyone help me now?

Bret

-- 
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/7e9a2093-95dc-45f6-8b10-9b6f999c83b6%40googlegroups.com.


Re: [weewx-user] Clearing Archive Memory on Davis Westher Envoy

2019-07-25 Thread Allan Tyson
Tom,
 My bad. I wasn’t stopping weewx before trying the wee_device commands. With 
weewx stopped it works perfectly.
 Thanks,
 Allan

> On Jul 25, 2019, at 8:09 AM, Thomas Keffer  wrote:
> 
> It does. In fact, that's what I use. 
> 
> It's not, by chance, an Envoy 8x? If so, we do not support it.
> 
> If it is a regular Envoy, we'll have to see the log. It may have a few useful 
> clues.
> 
> 
> 
>> On Thu, Jul 25, 2019 at 10:27 AM Allan Tyson  wrote:
>> I tried that. I get an unrecognized hardware error and it doesn’t complete. 
>> Same if I try the wee_device —info
>> Does the Vantage driver not support the Weather Envoy ?.
>> 
>>> On Jul 25, 2019, at 4:20 AM, Thomas Keffer  wrote:
>>> 
>> 
>> 
>>> Use wee_device with the --clear-memory option. Be sure to stop weewx first.
>>> 
>>> -tk
>>> 
 On Thu, Jul 25, 2019 at 2:48 AM Allan Tyson  wrote:
 I have a Davis USB Westher Envoy connected to an RPi running weewx. It was 
 running fine but I stopped weewx on the RPi and disconnected the Weather 
 Envoy USB cable from the RPi to connect it to another RPi I was using to 
 install Raspbian Buster with weewx on a smaller micro SD card so I could 
 save it’s image to a smaller backup image file  having originally 
 installed it on an internal 120GB SSD drive.
  The new installation worked just great but when I reconnected the Weather 
 Envoy to the original RPi I discovered that the USB loggers’s memory was 
 somehow corrupted so that weewx would no longer update Nginx. I cleared 
 the memory by connecting the Logger to my Mac laptop & used WeatherLink to 
 clear the archive memory.
  There was a Post by Tom in 2012 saying you could change the configuration 
 of a weather envoy using the config utility in weewx as well as using the 
 WeatherLink software. I did see the instructions for using wee_device to 
 change the parameters of the Davis driver but when running it I get an 
 unrecognized hardware error and the Weather Envoy isn’t listed as being 
 supported hardware in the list of supported hardware. Only the  Vantsge 
 Vue and Vantsge Pro2 Consoles are listed though in the pictorial list of 
 supported hardware the Weather Envoy is shown.
  Is there a way of clearing the Weather Envoy archive memory from the 
 command line of the RPi so I can clear it without having to stop the RPI, 
 disconnect the Envoy USB cable and connect it to my laptop to use the 
 WeatherLink software to perform the clearing and then have to reconnect it 
 to my RPi ?.
 
 Allan
 
 -- 
 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/e122fd87-079c-4c63-83ff-44ca9bb88cc4%40googlegroups.com.
>>> 
>>> -- 
>>> 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/CAPq0zEBnKYkf3XttDegi%2BCP_jFeGYdoV-D34y-8p4aVJPLBVJw%40mail.gmail.com.
>> 
>> -- 
>> 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/0DABB0BE-FA73-439B-B274-C6DA0E06DEE8%40gmail.com.
> -- 
> -tk
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBVSFsjDgBxVgOz6xh2rQVXNCfr78GGnSpBKnccCCwmTg%40mail.gmail.com.

-- 
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/E09B5E0C-0C84-4118-B540-4DD5054FCD50%40gmail.com.


Re: [weewx-user] Clearing Archive Memory on Davis Westher Envoy

2019-07-25 Thread Thomas Keffer
It does. In fact, that's what I use.

It's not, by chance, an Envoy 8x? If so, we do not support it.

If it is a regular Envoy, we'll have to see the log. It may have a few
useful clues.



On Thu, Jul 25, 2019 at 10:27 AM Allan Tyson  wrote:

> I tried that. I get an unrecognized hardware error and it doesn’t
> complete. Same if I try the wee_device —info
> Does the Vantage driver not support the Weather Envoy ?.
>
> On Jul 25, 2019, at 4:20 AM, Thomas Keffer  wrote:
>
> Use wee_device with the --clear-memory
>  option. Be
> sure to stop weewx first.
>
> -tk
>
> On Thu, Jul 25, 2019 at 2:48 AM Allan Tyson  wrote:
>
>> I have a Davis USB Westher Envoy connected to an RPi running weewx. It
>> was running fine but I stopped weewx on the RPi and disconnected the
>> Weather Envoy USB cable from the RPi to connect it to another RPi I was
>> using to install Raspbian Buster with weewx on a smaller micro SD card so I
>> could save it’s image to a smaller backup image file  having originally
>> installed it on an internal 120GB SSD drive.
>>  The new installation worked just great but when I reconnected the
>> Weather Envoy to the original RPi I discovered that the USB loggers’s
>> memory was somehow corrupted so that weewx would no longer update Nginx. I
>> cleared the memory by connecting the Logger to my Mac laptop & used
>> WeatherLink to clear the archive memory.
>>  There was a Post by Tom in 2012 saying you could change the
>> configuration of a weather envoy using the config utility in weewx as well
>> as using the WeatherLink software. I did see the instructions for using
>> wee_device to change the parameters of the Davis driver but when running it
>> I get an unrecognized hardware error and the Weather Envoy isn’t listed as
>> being supported hardware in the list of supported hardware. Only the
>> Vantsge Vue and Vantsge Pro2 Consoles are listed though in the pictorial
>> list of supported hardware the Weather Envoy is shown.
>>  Is there a way of clearing the Weather Envoy archive memory from the
>> command line of the RPi so I can clear it without having to stop the RPI,
>> disconnect the Envoy USB cable and connect it to my laptop to use the
>> WeatherLink software to perform the clearing and then have to reconnect it
>> to my RPi ?.
>>
>> Allan
>>
>> --
>> 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/e122fd87-079c-4c63-83ff-44ca9bb88cc4%40googlegroups.com
>> .
>>
> --
> 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/CAPq0zEBnKYkf3XttDegi%2BCP_jFeGYdoV-D34y-8p4aVJPLBVJw%40mail.gmail.com
> 
> .
>
> --
> 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/0DABB0BE-FA73-439B-B274-C6DA0E06DEE8%40gmail.com
> 
> .
>
-- 
-tk

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBVSFsjDgBxVgOz6xh2rQVXNCfr78GGnSpBKnccCCwmTg%40mail.gmail.com.


[weewx-user] Can't Upload to Weather Underground - Please Help

2019-07-25 Thread Thomas D.
Hi all,

I've been using Weewx for years, and never had any problems. Great 
application!

I recently performed an upgrade to my NAS where I had to completely 
reinstall Weewx, and now I'm getting the following in my logs:

Jul 25 15:34:13 NAS user.err weewx[23663]: restx: Wunderground-RF: Failed 
to publish record 2019-07-25 15:34:06 PDT (1564094046): Failed upload after 
1 tries

I tried logging into the Weather Underground site, and there was a message 
that the site had been changed/updated, and if you had any problems logging 
in to change your password. I tried that and still have the issue.

Can anyone help me figure out why Weewx can't upload? I don't remember ever 
having to create a weewx user or change anything other than write 
permissions for the Weex folder.

Any ideas would be greatly appreciated.

Thanks,
Thomas

-- 
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/1c4279e4-0f51-4c0b-a354-cbc80b32fa04%40googlegroups.com.


Re: [weewx-user] Clearing Archive Memory on Davis Westher Envoy

2019-07-25 Thread Allan Tyson
I tried that. I get an unrecognized hardware error and it doesn’t complete. 
Same if I try the wee_device —info
Does the Vantage driver not support the Weather Envoy ?.

> On Jul 25, 2019, at 4:20 AM, Thomas Keffer  wrote:
> 
> Use wee_device with the --clear-memory option. Be sure to stop weewx first.
> 
> -tk
> 
>> On Thu, Jul 25, 2019 at 2:48 AM Allan Tyson  wrote:
>> I have a Davis USB Westher Envoy connected to an RPi running weewx. It was 
>> running fine but I stopped weewx on the RPi and disconnected the Weather 
>> Envoy USB cable from the RPi to connect it to another RPi I was using to 
>> install Raspbian Buster with weewx on a smaller micro SD card so I could 
>> save it’s image to a smaller backup image file  having originally installed 
>> it on an internal 120GB SSD drive.
>>  The new installation worked just great but when I reconnected the Weather 
>> Envoy to the original RPi I discovered that the USB loggers’s memory was 
>> somehow corrupted so that weewx would no longer update Nginx. I cleared the 
>> memory by connecting the Logger to my Mac laptop & used WeatherLink to clear 
>> the archive memory.
>>  There was a Post by Tom in 2012 saying you could change the configuration 
>> of a weather envoy using the config utility in weewx as well as using the 
>> WeatherLink software. I did see the instructions for using wee_device to 
>> change the parameters of the Davis driver but when running it I get an 
>> unrecognized hardware error and the Weather Envoy isn’t listed as being 
>> supported hardware in the list of supported hardware. Only the  Vantsge Vue 
>> and Vantsge Pro2 Consoles are listed though in the pictorial list of 
>> supported hardware the Weather Envoy is shown.
>>  Is there a way of clearing the Weather Envoy archive memory from the 
>> command line of the RPi so I can clear it without having to stop the RPI, 
>> disconnect the Envoy USB cable and connect it to my laptop to use the 
>> WeatherLink software to perform the clearing and then have to reconnect it 
>> to my RPi ?.
>> 
>> Allan
>> 
>> -- 
>> 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/e122fd87-079c-4c63-83ff-44ca9bb88cc4%40googlegroups.com.
> 
> -- 
> 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/CAPq0zEBnKYkf3XttDegi%2BCP_jFeGYdoV-D34y-8p4aVJPLBVJw%40mail.gmail.com.

-- 
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/0DABB0BE-FA73-439B-B274-C6DA0E06DEE8%40gmail.com.


Re: [weewx-user] Errno 32 Pipe error

2019-07-25 Thread Allan Tyson
I am running it as a daemon.

> On Jul 25, 2019, at 4:28 AM, Thomas Keffer  wrote:
> 
> How are you running weewx?
> 
> By running it directly? You can get a "pipe error" by starting up weewx in a 
> console window, then closing it.
> 
> Or, are you running it as a daemon?
> 
> -tk
> 
>> On Wed, Jul 24, 2019 at 1:35 AM Craig Courey  wrote:
>> Hoping to get some help with my setup. Have been trying to get this working 
>> for a week or so. Did a reinstall and finally got it to start reporting to 
>> Weather Underground. That's all I really want to achieve is consistent 
>> reliable updates to Weather underground, but I am very much a novice at 
>> this. Keep getting the same error ( Errno 32 pipe error ). Weewx will seem 
>> to work fine for a couple hours then error out. If I reboot the pi it 
>> usually starts working again but get the same result. Any help is much 
>> appreciated. I believe the debug file attached is a day or two old and might 
>> not reflect the current config but should be very close. Mylog and conf 
>> files were from this evening.
>> -- 
>> 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/462e792b-68da-45dd-bcbe-a3d4ddc0586c%40googlegroups.com.
> 
> -- 
> 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/CAPq0zEBwK-q2NuHM2QDJrJQPnLEzz2rCcL0bfEDx2F3sZBUrKw%40mail.gmail.com.

-- 
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/2BA43E2B-81C4-460C-9FE6-C75566112043%40gmail.com.


[weewx-user] Re: OWFS install instructions

2019-07-25 Thread Bret Craytor
It is the original Dallas Semiconductor 1-wire weather station from 2001 or 
so.  I originally wanted to set it up back then, but stopped as I didn't 
have a computer which I could leave it attatched and running.  Well 
recently, I was cleaning my shop and found it and the Raspberry pi just 
seems too tempting, so I am getting it running.  I could not find my 
original serial to 1-wire adapter, so I went the i2c to 1-wire route.  Thus 
my new system!  I just need to get the software working

I messed up my WeeWX config file so I thought I would just do a fresh 
install.  Now I am having troubles with OWFS to see the darn sensors 
again.  Ugh.

Bret


-- 
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/e5c7e4c8-c511-4569-8b94-2794a12cb84f%40googlegroups.com.


[weewx-user] Re: Customised logwatch

2019-07-25 Thread Andrew Milner
Just a bump  any other suggestions/ideas or is it possible for other 
wiki based drivers and extensions to be included in the default weewx 
logwatch ignore list somehow??  maybe some form of customisation file which 
could be actioned/included - but how??

On Monday, 22 July 2019 12:31:13 UTC+3, Rick Hewett wrote:
>
> I think I was confusing logwatch and logcheck; logcheck has directories 
> for various categories of messages including "ignore" of which I make 
> much use, while logwatch has scripts it runs for each service, which 
> means it can do rather more with the messages, but makes it a bit less 
> easily tailored... 
>
> On Mon 22 Jul Andrew Milner wrote: 
> > that was my problem Rick - having to edit the weewx logwatch script to 
> not 
> > include the weewx extensions - raw, historygenerator and for some reason 
> > ftpgenerator (not sure where that one came from anyway!!), so that my 
> daily 
> > weewx logwatch file from the weewx standard package is not filled with 
> > these additional weewx messages.  Or are you saying that I should 
> prevent 
> > the additional messages going into the log in the first place??  No, I 
> want 
> > the log to be complete so they need to be in there I just dont want 
> > logwatch spitting them out again!! 
>
> -- 
> 73, Rick, M0LEP 
>
>

-- 
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/107c8ac3-bc2f-4ff9-9fbe-d3b38eb6ccdb%40googlegroups.com.


Re: [weewx-user] Re: OWFS install instructions

2019-07-25 Thread Gazza

>From my test system when I was playing with the Dallas/AAG weather station 
on a DIY DS2482-100 I2C adapter on a Pi.

station_type = OWFS


[OWFS]
interface = /dev/i2c-1
driver = user.owfs
[[sensor_map]]
intemp =  /uncached/28.70CF4004/temperature   # test DS18B20
outTemp = /uncached/10.3E5A09000800/temperature   # AAG TAI8515
windDir = /uncached/20.9D2D0100   # volt.ALL # AAG 
TAI8515
windSpeed = /uncached/1D.0E610100 # counters.A # 
AAG TAI8515
rain = /1D.57620F00   # counters.B # 
Hobby boards counter V3

[[sensor_type]]
windDir = aag_windvane
windSpeed = aag_windspeed
rain = rainwise_bucket# rain = 1 point/
tip

I never did get the Hobby Boards counter working with my rain guage.

I have also tested a system that has an SDR station and an extra DS18B20 
temperature sensor running as a service using the same I2C adapter but 
can't find the config files for that at the moment.



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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/dd14fea7-725f-4cff-adce-3dc34bddb891%40googlegroups.com.


Re: [weewx-user] Errno 32 Pipe error

2019-07-25 Thread Thomas Keffer
How are you running weewx?

By running it directly
? You can get a
"pipe error" by starting up weewx in a console window, then closing it.

Or, are you running it as a daemon
?

-tk

On Wed, Jul 24, 2019 at 1:35 AM Craig Courey  wrote:

> Hoping to get some help with my setup. Have been trying to get this
> working for a week or so. Did a reinstall and finally got it to start
> reporting to Weather Underground. That's all I really want to achieve is
> consistent reliable updates to Weather underground, but I am very much a
> novice at this. Keep getting the same error ( Errno 32 pipe error ). Weewx
> will seem to work fine for a couple hours then error out. If I reboot the
> pi it usually starts working again but get the same result. Any help is
> much appreciated. I believe the debug file attached is a day or two old and
> might not reflect the current config but should be very close. Mylog and
> conf files were from this evening.
>
> --
> 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/462e792b-68da-45dd-bcbe-a3d4ddc0586c%40googlegroups.com
> 
> .
>

-- 
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/CAPq0zEBwK-q2NuHM2QDJrJQPnLEzz2rCcL0bfEDx2F3sZBUrKw%40mail.gmail.com.


Re: [weewx-user] Clearing Archive Memory on Davis Westher Envoy

2019-07-25 Thread Thomas Keffer
Use wee_device with the --clear-memory
 option. Be sure
to stop weewx first.

-tk

On Thu, Jul 25, 2019 at 2:48 AM Allan Tyson  wrote:

> I have a Davis USB Westher Envoy connected to an RPi running weewx. It was
> running fine but I stopped weewx on the RPi and disconnected the Weather
> Envoy USB cable from the RPi to connect it to another RPi I was using to
> install Raspbian Buster with weewx on a smaller micro SD card so I could
> save it’s image to a smaller backup image file  having originally installed
> it on an internal 120GB SSD drive.
>  The new installation worked just great but when I reconnected the Weather
> Envoy to the original RPi I discovered that the USB loggers’s memory was
> somehow corrupted so that weewx would no longer update Nginx. I cleared the
> memory by connecting the Logger to my Mac laptop & used WeatherLink to
> clear the archive memory.
>  There was a Post by Tom in 2012 saying you could change the configuration
> of a weather envoy using the config utility in weewx as well as using the
> WeatherLink software. I did see the instructions for using wee_device to
> change the parameters of the Davis driver but when running it I get an
> unrecognized hardware error and the Weather Envoy isn’t listed as being
> supported hardware in the list of supported hardware. Only the  Vantsge Vue
> and Vantsge Pro2 Consoles are listed though in the pictorial list of
> supported hardware the Weather Envoy is shown.
>  Is there a way of clearing the Weather Envoy archive memory from the
> command line of the RPi so I can clear it without having to stop the RPI,
> disconnect the Envoy USB cable and connect it to my laptop to use the
> WeatherLink software to perform the clearing and then have to reconnect it
> to my RPi ?.
>
> Allan
>
> --
> 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/e122fd87-079c-4c63-83ff-44ca9bb88cc4%40googlegroups.com
> .
>

-- 
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/CAPq0zEBnKYkf3XttDegi%2BCP_jFeGYdoV-D34y-8p4aVJPLBVJw%40mail.gmail.com.


Re: [weewx-user] Sunshine Time

2019-07-25 Thread Stefan
Good Morning.

The hours of sunshine work well. Now I wanted to ask if I can change the 
width of the bars? Every attempt so far failed.

[image: daysun.png]

Likewise, the link above is now the name of the Wm / 2. Is it possible to 
change or suppress this? Here is my code:

[[[daysun]]]
# Make sure the y-axis increment is at least 0.02 for the sun 
plot
yscale = 0.0, 1.0, 0.1
plot_type = bar
sunshine_hours
aggregate_type = sum
aggregate_interval = 3600
label = Sonnenschein in Stunden (Stundentotal)

Thanks for Help

Am Dienstag, 23. Juli 2019 21:05:35 UTC+2 schrieb Stefan:
>
> Hello Andrew.
>
> Yes you are right. Of course it is true:
>
> #set hours = int ($ day.sunshine_hours.sum.raw)
> #set minutes = int (($ day.sunshine_hours.sum.raw - $ hours) * 60 + 0.5)
> 
>
> That's how it works perfectly. Now I will try to show it as a graphic.
>
> Thank you diligent helpers
>
> Am Dienstag, 23. Juli 2019 14:18:15 UTC+2 schrieb Andrew Milner:
>>
>> Stefan
>> You need to forget $current.sunshine_hours.raw as that will only give you 
>> the sunshine in the interval which will always be either 0 or 5 in your 
>> case.
>>
>> For the daily total you need to use $day.sunshine_hours.sum in order to 
>> get the total sunshine hours for the day from midnight up to the current 
>> time.
>>
>>
>>
>>
>>
>> On Tuesday, 23 July 2019 15:09:06 UTC+3, Stefan wrote:
>>>
>>> Hello Thomas.
>>>
>>> I found the mistake. When we create the new table, we use the name 
>>> weewx.sdb_new instead of the weewx.sdb. Have this now adjusted in the 
>>> weewx.conf and lo and behold, num works it. The rest I had done, but 
>>> unfortunately not this detail. Many thanks to all helpers. Class like 
>>> that works.
>>>
>>> Your code also works great:
>>>  #set hours = int ($ current.sunshine_hours.raw)
>>>  #set minutes = int (($ current.sunshine_hours.raw - $ hours) * 60 
>>> + 0.5)
>>>  
>>>
>>> Many Thanks
>>>
>>> Am Dienstag, 23. Juli 2019 13:09:25 UTC+2 schrieb Thomas Keffer:

 The type "sunshine_hours" is not in your database. It will work with 
 "$current" because you have a current record, so weewx is using that. But, 
 because it is not in your database, weewx cannot sum over the day.

 See the section *Adding a new type to the database 
 * in the 
 Customizing Guide for how to do this.

 -tk


 On Tue, Jul 23, 2019 at 4:00 AM Stefan  wrote:

> This is with $current.sunshine_hours.raw. It works!
>
> 
> 
> 
> 
> 
> 
>
> But with $day.sunshine_hours.raw or $day.sunshine_hours.sum.raw or 
> $day.sunshine_hours.raw.sum
> The Problem always turns up when replacing $current by $day.
>
>
>
> Am Dienstag, 23. Juli 2019 08:35:37 UTC+2 schrieb gjr80:
>>
>> The answer is in the error message. You are using 
>> $day.sunshine_hours.raw, you should be using $day.sunshine_hours.sum or 
>> perhaps $day.sunshine_hours.sum.raw
>>
>> 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...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/5ddf5a22-a565-4e12-9093-5c69d187e420%40googlegroups.com
>  
> 
> .
>


-- 
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/b2ed1a86-18d0-4851-86b4-6f61c224868c%40googlegroups.com.


[weewx-user] Re: Database - Data not archived correctly

2019-07-25 Thread Danie Cillie
The driver I am currently using has the code added for the Adafruit SHT31D 
humidity sensor which connects to the I2C bus at address 0x44.

I can not use the official Adafruit driver as it needs python3 to run.

The code I added for the SHT31 is from line 233 to 262 and then from line 
478 to 487.

The driver code is attached.

Thank you 

On Wednesday, 24 July 2019 15:26:37 UTC+2, gjr80 wrote:
>
> Agree it is almost certainly the driver. Can you post the driver code you 
> are using, or a link to the code, so we can have a look. As long as the 
> driver is consistently emitting loop packets WeeWX should take care of the 
> rest.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5f1cd8f5-ae3c-44be-b989-65835bb9a1b1%40googlegroups.com.
#
#
# GroveWeatherPi Solar Powered Weather Station
# Version 2.3 October 3, 2016 
#
# SwitchDoc Labs
# www.switchdoc.com
#
# extended by luksm...@gmail.com - no warranties.

# imports

import sys
import time
from datetime import datetime
import random 
import re
import math
import os

sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/SDL_Adafruit_ADS1x15')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_SSD1306')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/Adafruit_Python_SSD1306')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/RTC_SDL_DS3231')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/Adafruit_Python_BMP')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/Adafruit_Python_GPIO')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_WeatherRack')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_FRAM')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/RaspberryPi-AS3935/RPi_AS3935')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_INA3221')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_TCA9545')
sys.path.append('/home/pi/SDL_Pi_GroveWeatherPi/graphs')
sys.path.append('/usr/share/weewx')

import subprocess
import RPi.GPIO as GPIO

import smbus

import struct

# Check for user imports
try:
	import conflocal as config
except ImportError:
	import config

# if (config.enable_MySQL_Logging == True):
#	import MySQLdb as mdb

import weewx.drivers
DRIVER_NAME = 'GrovePi'


# Device Present State Variables
###

config.TCA9545_I2CMux_Present = False
config.SunAirPlus_Present = False
config.AS3935_Present = False
config.DS3231_Present = False
config.BMP280_Present = False
config.FRAM_Present = False
config.HTU21DF_Present = False
config.AM2315_Present = False
config.ADS1015_Present = False
config.ADS1115_Present = False
config.OLED_Present = False
config.WXLink_Present = False


import SDL_Pi_INA3221
import SDL_DS3231
import Adafruit_BMP.BMP280 as BMP280
import SDL_Pi_WeatherRack as SDL_Pi_WeatherRack

import SDL_Pi_FRAM
from RPi_AS3935 import RPi_AS3935

import SDL_Pi_TCA9545

import Adafruit_SSD1306

import Scroll_SSD1306


def loader(config_dict, engine):
return GrovePiDriver(**config_dict[DRIVER_NAME])

def returnStatusLine(device, state):

returnString = device
if (state == True):
returnString = returnString + ":   \t\tPresent"
else:
returnString = returnString + ":   \t\tNot Present"
return returnString


# TCA9545 I2C Mux 

#/*=
#I2C ADDRESS/BITS
#---*/
TCA9545_ADDRESS = (0x73)# 1110011 (A0+A1=VDD)
#/*=*/

#/*=
#CONFIG REGISTER (R/W)
#---*/
TCA9545_REG_CONFIG=  (0x00)
#/*-*/

TCA9545_CONFIG_BUS0  =(0x01)  # 1 = enable, 0 = disable 
TCA9545_CONFIG_BUS1  =(0x02)  # 1 = enable, 0 = disable 
TCA9545_CONFIG_BUS2  =(0x04)  # 1 = enable, 0 = disable 
TCA9545_CONFIG_BUS3  =(0x08)  # 1 = enable, 0 = disable 

#/*=*/

# I2C Mux TCA9545 Detection
try:
	tca9545 = SDL_Pi_TCA9545.SDL_Pi_TCA9545(addr=TCA9545_ADDRESS, bus_enable = TCA9545_CONFIG_BUS0)


	# turn I2CBus 1 on
	tca9545.write_control_register(TCA9545_CONFIG_BUS2)
	config.TCA9545_I2CMux_Present = True
except:
	print ">>><<<"
	print "TCA9545 I2C Mux Not Present" 
	print ">>><<<"
	config.TCA9545_I2CMux_Present = False



[weewx-user] Clearing Archive Memory on Davis Westher Envoy

2019-07-25 Thread Allan Tyson
I have a Davis USB Westher Envoy connected to an RPi running weewx. It was 
running fine but I stopped weewx on the RPi and disconnected the Weather Envoy 
USB cable from the RPi to connect it to another RPi I was using to install 
Raspbian Buster with weewx on a smaller micro SD card so I could save it’s 
image to a smaller backup image file  having originally installed it on an 
internal 120GB SSD drive.
 The new installation worked just great but when I reconnected the Weather 
Envoy to the original RPi I discovered that the USB loggers’s memory was 
somehow corrupted so that weewx would no longer update Nginx. I cleared the 
memory by connecting the Logger to my Mac laptop & used WeatherLink to clear 
the archive memory.
 There was a Post by Tom in 2012 saying you could change the configuration of a 
weather envoy using the config utility in weewx as well as using the 
WeatherLink software. I did see the instructions for using wee_device to change 
the parameters of the Davis driver but when running it I get an unrecognized 
hardware error and the Weather Envoy isn’t listed as being supported hardware 
in the list of supported hardware. Only the  Vantsge Vue and Vantsge Pro2 
Consoles are listed though in the pictorial list of supported hardware the 
Weather Envoy is shown.
 Is there a way of clearing the Weather Envoy archive memory from the command 
line of the RPi so I can clear it without having to stop the RPI, disconnect 
the Envoy USB cable and connect it to my laptop to use the WeatherLink software 
to perform the clearing and then have to reconnect it to my RPi ?.

Allan

-- 
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/e122fd87-079c-4c63-83ff-44ca9bb88cc4%40googlegroups.com.


[weewx-user] Acurite Access + RaspberryPi --> WU DNS hijacking (DD-WRT) - howto

2019-07-25 Thread Xant


The following is a note response by Matthew in GitHub blog regarding 
Acurite Access:


*weewx does work with the access, but the access must send data in wu 
format. configure the access to send wu data. ideally you would configure 
it to send to the computer running weewx (use dns hijacking for this). then 
configure interceptor to listen (not sniff), and it will simply receive the 
wu data.*

*if you prefer to send to wu, then you must configure the interceptor to 
sniff the traffic (not listen).*

*please post on the weewx user group for further help on this.*

*i am sorry there is not yet a guide specifically for intercepter and 
access*




*1) WU DNS forwarding by DD-WRT router*


Setup>Forced DNS Redirection [On]

Services>ServicesTab>DNSmasq>Additional DNSmasq Options
address=/rtupdate.wunderground.com/Y.Y.Y.Y (where Y.Y.Y.Y is RaspberryPi IP)



*2) Directly test Interceptor* (should receive packages)


# PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py 
--device=wu-client --mode=listen --port=80



*3) WeeWX Config*


[Interceptor]
# This section is for the network traffic interceptor driver.
driver = user.interceptor
device_type = wu-client
mode = listen
port = 80


If all works, html file generated at /var/www/html/weewx/index.html


PS: repost, with minor tweek

-- 
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/b57d0980-afd2-4ab1-a0e8-5ff284ec11dc%40googlegroups.com.