[weewx-user] Re: wee_import Weather Underground HTTP Error 401: Unauthorized

2020-05-05 Thread Clint Parrish
Gary,

I was able to import all of the nearly 10 years worth of records. I did six 
month intervals at a time with no issue.  Something on WU’s end was giving me 
grief.  I consider this matter to be resolved.

Thanks again and thanks to the many people who put months of work into ver 4.

Clint

-- 
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/f99a62c4-e7ac-4ba7-bac1-19c4d2688040%40googlegroups.com.


[weewx-user] Re: wee_import Weather Underground HTTP Error 401: Unauthorized

2020-05-02 Thread Clint Parrish
Gary,

I think wee_import is working as it should.  I was able to get the records to 
import successfully this morning. WU must have some kind of daily restriction 
on API or access to the data somehow.  For now I am doing monthly imports as 
suggested in the guide.  I think annual imports are too much and WU ends up 
cutting me off.

For what it’s worth, wunderfixer acts the same way so this must be a WU problem.

I will investigate further and update.

Thanks,

Clint

-- 
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/5a995564-24ca-4fa5-a1d8-c556d68724d7%40googlegroups.com.


[weewx-user] Re: wee_import Weather Underground HTTP Error 401: Unauthorized

2020-05-01 Thread Clint Parrish
Gary,

Here is the input and output from the console:
—
~ $ wee_import --import-config=/etc/weewx/wu-import.conf --from=2008-01-01 
--to=2009-01-01
Using WeeWX configuration file /etc/weewx/weewx.conf
Starting wee_import...
Observation history for Weather Underground station 'KILSULLI1' will be 
imported.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
Observations timestamped after 2008-01-01 00:00:00 CST (1199167200) and up to 
and
including 2009-01-02 00:00:00 CST (1230876000) will be imported.
Starting import ...
Records covering multiple periods have been identified for import.
Period 1 ...
Unable to open Weather Underground station KILSULLI1  or  HTTP Error 401: 
Unauthorized
 Unable to load config file.
 HTTP Error 401: Unauthorized
 Nothing done, exiting

Does WU limit API usage for PWS users?  Perhaps they have blocked me.

Thanks,

Clint

-- 
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/b3753d3e-e43f-4c4e-bded-3b121f8a2b63%40googlegroups.com.


[weewx-user] wee_import Weather Underground HTTP Error 401: Unauthorized

2020-05-01 Thread Clint Parrish
Here is the log portion for when I ran wee_import last:

May  1 19:18:35 raspberrypi wee_import[14521] INFO __main__: Starting 
wee_import...
May  1 19:18:35 raspberrypi wee_import[14521] DEBUG weewx.manager: Daily 
summary version is 2.0
May  1 19:18:35 raspberrypi wee_import[14521] INFO weeimport.wuimport: 
Observation history for Weather Underground station 'KILSULLI1' wi$
May  1 19:18:35 raspberrypi wee_import[14521] DEBUG weeimport.wuimport: The 
following options will be used:
May  1 19:18:35 raspberrypi wee_import[14521] DEBUG weeimport.wuimport:  
config=/etc/weewx/weewx.conf, import-config=/etc/weewx/wu-im$May  1 19:18:35 
raspberrypi wee_import[14521] DEBUG weeimport.wuimport:  station=KILSULLI1, 
from=2008-01-01, to=2009-01-01
May  1 19:18:35 raspberrypi wee_import[14521] DEBUG weeimport.wuimport:  
apiKey=0bdd
May  1 19:18:35 raspberrypi wee_import[14521] DEBUG weeimport.wuimport:  
dry-run=None, calc_missing=True, ignore_invalid_data=True
May  1 19:18:35 raspberrypi wee_import[14521] DEBUG weeimport.wuimport:  
tranche=1000, interval=derive, wind_direction=[0.0, 360.0]

-- 
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/3ed1821d-5612-481f-b511-eec076f1b829%40googlegroups.com.


[weewx-user] wee_import Weather Underground HTTP Error 401: Unauthorized

2020-05-01 Thread Clint Parrish
I recently upgraded to weewx 4.0 and started importing data from my Weather 
Underground database.  I have about 10 years worth of data that I want to 
import.

Everything was working last night and I started importing data one year at 
a time.  This morning, I tried wee_import again and I am getting HTTP Error 
401: Unauthorized.

I have not made any apparent changes.

Has anyone else tried wee_import after upgrading to 4.0 and gotten similar 
results?

Thanks,

Clint

-- 
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/8620560e-f837-4a9f-baeb-c55101ca46f1%40googlegroups.com.


[weewx-user] wee_import PWS station not found.

2019-08-30 Thread Clint Parrish
I got a different error.  Here is the output.  Not sure what changed.

wee_import --import-config=/var/tmp/wu.conf --from=2019-08-29 --to=2019-08-30 
--dry-run
Starting wee_import...
Observation history for Weather Underground station 'KILSULLI1' will be 
imported.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
Observations timestamped after 2019-08-29 00:00:00 CDT (1567054800) and up to 
and
including 2019-08-31 00:00:00 CDT (1567227600) will be imported.
This is a dry run, imported data will not be saved to archive.
Unable to open Weather Underground station KILSULLI1
    HTTP Error 403: Forbidden
 Unable to load config file.
 HTTP Error 403: Forbidden
 Nothing done, exiting.

-- 
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/5026f529-7ad2-483e-9922-264d6b798529%40googlegroups.com.


[weewx-user] wee_import PWS station not found.

2019-08-30 Thread Clint Parrish
I’m having a problem importing records from WU.  I have over 11 years of 
records that I want to combine into my weewx.sdb.

I have entered my nine digit PWS ID into my config file and get the following 
when I run wee_import:

wee_import --config=/etc/weewx/weewx.conf --import-config=/var/tmp/wu.conf 
--from=2019-08-29 --to=2019-08-30 --dry-run
Starting wee_import...
Observation history for Weather Underground station 'KILSULLI1' will be 
imported.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
Observations timestamped after 2019-08-29 00:00:00 CDT (1567054800) and up to 
and
including 2019-08-31 00:00:00 CDT (1567227600) will be imported.
This is a dry run, imported data will not be saved to archive.
Unable to open Weather Underground station KILSULLI1
    
 Unable to load config file.
 
 Nothing done, exiting.

Could somebody please help?  Thanks!

Clint

-- 
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/4afdb390-bbb8-4fa8-a875-4d5e962aef38%40googlegroups.com.