Re: [weewx-user] Wlink driver not compatible with Python3?

2020-09-03 Thread Joel Öhman
Hello,

Is there any solution to get the Wlink working with the loop data?

Brgds: Joel

söndag 21 juni 2020 kl. 01:14:46 UTC+3 skrev tke...@gmail.com:

> Yes. It looks like this driver has not been ported to Python 3. You would 
> have to use Python 2.
>
> On Sat, Jun 20, 2020 at 10:49 AM Maarten van der Hoeven  
> wrote:
>
>> Hi,
>>
>> I tried to connect to weatherlink.com, and used the wlink driver (
>> https://github.com/weewx/weewx/wiki/wlink). I am running the latest 
>> weewx 4.1.1, Python3.
>>
>> I got this error. Does this mean the driver is not ready for Python3? I 
>> did some digging, httplib is not available, and should be replaced by 
>> http.client. 
>>
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__:   engine 
>> = weewx.engine.StdEngine(config_dict)
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__: File 
>> "/usr/share/weewx/weewx/engine.py", line 69, in __init__
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__:   
>> self.setupStation(config_dict)
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__: File 
>> "/usr/share/weewx/weewx/engine.py", line 92, in setupStation
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__:   
>> __import__(driver)
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__: File 
>> "/usr/share/weewx/user/wlink.py", line 181
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__:   
>> httplib.BadStatusLine, httplib.IncompleteRead), e:
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__: 
>> ^
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__:   
>> SyntaxError: invalid syntax
>> Jun 20 19:45:36 weewx weewx[2897] CRITICAL __main__:   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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/d6c7448f-7389-4f78-8fa8-0cd7a2a32004o%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/0b4dc92f-11ff-4bb3-9982-d57855bee0ban%40googlegroups.com.


[weewx-user] Re: wlink error with weatherlink.com V2

2020-09-02 Thread Joel Öhman
I have the Pro Version but it doesn't help. 

H: Joel

onsdag 5 augusti 2020 kl. 02:29:19 UTC+3 skrev rcst...@gmail.com:

> Gotcha, yeah, that's what I couldn't figure out. It's super unclear from 
> their tiering documentation. 
>
> On Tuesday, August 4, 2020 at 12:56:36 PM UTC-7, Rodrigo Scuissiato wrote:
>>
>> you need to buy the pro version, for $ 3.95 per month (12 months 
>> minimum), but I still don't know if you'll be able to fetch the data over 
>> an http call (as the driver does).
>> Em terça-feira, 4 de agosto de 2020 às 15:57:43 UTC-3, rcst...@gmail.com 
>> escreveu:
>>
>>> That's unfortunate. It kinda worked for a bit (it was grabbing a bunch 
>>> of data, then started throwing errors). 
>>>
>>> for what it's worth, do we know what tier of paid account is needed to 
>>> get that data?
>>>
>>>
>>> On Tuesday, August 4, 2020 at 11:14:44 AM UTC-7, Rodrigo Scuissiato 
>>> wrote:

 Davis no longer allows you to read their data without paying for it. 
 This driver is outdated and no longer works 

 Em terça-feira, 4 de agosto de 2020 às 13:28:22 UTC-3, 
 rcst...@gmail.com escreveu:

> Anyone ever figure this out? the wlink driver just doesn't seem happy. 
> Makes me think there's some API limit to wlink, but I can't find anything 
> in their docs about this... 
>
> Aug  4 09:16:39 raspi-server-misc weewx[1334] INFO weewx.manager: 
> Added record 2020-08-04 09:15:00 PDT (1596557700) to database 'weewx.sdb'
> Aug  4 09:16:39 raspi-server-misc weewx[1334] INFO weewx.manager: 
> Added record 2020-08-04 09:15:00 PDT (1596557700) to daily summary in 
> 'weewx.sdb'
> Aug  4 09:16:40 raspi-server-misc weewxd: wlink: cannot make 
> timestamp: ds=65535 ts=65535
> Aug  4 09:16:40 raspi-server-misc weewxd: wlink: skipping: 
> {'windGust': 255.0, 'readClosed': 65535, 'outHumidity': None, 
> 'highOutTemp': -0.1, 'windDir': None, 'lowOutTemp': -0.1, 'soilMoist2': 
> None, 'rainRate': 655.35, 'radiation': 65535.0, 'readOpened': 65535, 
> 'inTemp': -0.1, 'windGustDir': None, 'barometer': 65.535, 'soilTemp1': 
> None, 'soilTemp2': None, 'soilTemp3': None, 'soilTemp4': None, 'rain': 
> 655.35, 'interval': 1, 'extraHumid2': None, 'extraHumid1': None, 'ET': 
> 0.255, 'extraTemp2': None, 'usUnits': 1, 'extraTemp1': None, 'leafWet4': 
> None, 'leafWet1': None, 'leafWet2': None, 'leafWet3': None, 'UV': None, 
> 'dateTime': None, 'soilMoist3': None, 'outTemp': -0.1, 'windSpeed': None, 
> 'inHumidity': None, 'soilMoist4': None, 'soilMoist1': None}
> Aug  4 09:16:40 raspi-server-misc weewxd: wlink: cannot make 
> timestamp: ds=65535 ts=65535
> Aug  4 09:16:40 raspi-server-misc weewxd: wlink: skipping: 
> {'windGust': 255.0, 'readClosed': 65535, 'outHumidity': None, 
> 'highOutTemp': -0.1, 'windDir': None, 'lowOutTemp': -0.1, 'soilMoist2': 
> None, 'rainRate': 655.35, 'radiation': 65535.0, 'readOpened': 65535, 
> 'inTemp': -0.1, 'windGustDir': None, 'barometer': 65.535, 'soilTemp1': 
> None, 'soilTemp2': None, 'soilTemp3': None, 'soilTemp4': None, 'rain': 
> 655.35, 'interval': 1, 'extraHumid2': None, 'extraHumid1': None, 'ET': 
> 0.255, 'extraTemp2': None, 'usUnits': 1, 'extraTemp1': None, 'leafWet4': 
> None, 'leafWet1': None, 'leafWet2': None, 'leafWet3': None, 'UV': None, 
> 'dateTime': None, 'soilMoist3': None, 'outTemp': -0.1, 'windSpeed': None, 
> 'inHumidity': None, 'soilMoist4': None, 'soilMoist1': None}
> Aug  4 09:16:40 raspi-server-misc weewxd: wlink: cannot make 
> timestamp: ds=65535 ts=65535
> Aug  4 09:16:40 raspi-server-misc weewxd: wlink: skipping: 
> {'windGust': 255.0, 'readClosed': 65535, 'outHumidity': None, 
> 'highOutTemp': -0.1, 'windDir': None, 'lowOutTemp': -0.1, 'soilMoist2': 
> None, 'rainRate': 655.35, 'radiation': 65535.0, 'readOpened': 65535, 
> 'inTemp': -0.1, 'windGustDir': None, 'barometer': 65.535, 'soilTemp1': 
> None, 'soilTemp2': None, 'soilTemp3': None, 'soilTemp4': None, 'rain': 
> 655.35, 'interval': 1, 'extraHumid2': None, 'extraHumid1': None, 'ET': 
> 0.255, 'extraTemp2': None, 'usUnits': 1, 'extraTemp1': None, 'leafWet4': 
> None, 'leafWet1': None, 'leafWet2': None, 'leafWet3': None, 'UV': None, 
> 'dateTime': None, 'soilMoist3': None, 'outTemp': -0.1, 'windSpeed': None, 
> 'inHumidity': None, 'soilMoist4': None, 'soilMoist1': None}
> Aug  4 09:16:40 raspi-server-misc weewx[1334] INFO weewx.engine: 
> Launch of report thread aborted: existing report thread still running
> Aug  4 09:16:40 raspi-server-misc weewxd: wlink: download failed 
> attempt 1 of 5: HTTP Error 403: Forbidden
> Aug  4 09:16:57 raspi-server-misc weewx[1334] INFO weewx.reportengine: 
> ftpgenerator: Ftp'd 221 files in 166.05 seconds
> Aug  4 09:17:10 raspi-server-misc weewxd: wlink: download failed 
> attempt 2 of 5: HTTP Error 403: Forbidden
> Aug  4 09:17:40 r

[weewx-user] Re: Wlink HTTP Error 403: Forbidden

2020-05-11 Thread Joel Öhman


I have sorted out the time issue but i can´t get rid of this HTTP error. No 
ideas from anyone?

>
> Brgds
>
> Joel Öhman 
>

-- 
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/56570fca-ba54-4acf-b134-7f6818014cb5%40googlegroups.com.


[weewx-user] Wlink HTTP Error 403: Forbidden

2020-04-03 Thread Joel Öhman
 
of 5: HTTP Error 403: Forbidden
Apr  3 10:49:01 raspberrypi weewx[4044]: wlink: download failed attempt 3 
of 5: HTTP Error 403: Forbidden
Apr  3 10:49:31 raspberrypi weewx[4044]: wlink: download failed attempt 4 
of 5: HTTP Error 403: Forbidden
Apr  3 10:50:02 raspberrypi weewx[4044]: wlink: download failed attempt 5 
of 5: HTTP Error 403: Forbidden
Apr  3 10:50:32 raspberrypi weewx[4044]: wlink: download failed after 5 
tries
Apr  3 10:51:32 raspberrypi weewx[4044]: wlink: download failed attempt 1 
of 5: HTTP Error 403: Forbidden
Apr  3 10:52:03 raspberrypi weewx[4044]: wlink: download failed attempt 2 
of 5: HTTP Error 403: Forbidden
Apr  3 10:52:33 raspberrypi weewx[4044]: wlink: download failed attempt 3 
of 5: HTTP Error 403: Forbidden
Apr  3 10:53:03 raspberrypi weewx[4044]: wlink: download failed attempt 4 
of 5: HTTP Error 403: Forbidden
Apr  3 10:53:34 raspberrypi weewx[4044]: wlink: download failed attempt 5 
of 5: HTTP Error 403: Forbidden
Apr  3 10:54:04 raspberrypi weewx[4044]: wlink: download failed after 5 
tries
Apr  3 10:55:04 raspberrypi weewx[4044]: wlink: download failed attempt 1 
of 5: HTTP Error 403: Forbidden
Apr  3 10:55:35 raspberrypi weewx[4044]: wlink: download failed attempt 2 
of 5: HTTP Error 403: Forbidden
Apr  3 10:56:05 raspberrypi weewx[4044]: wlink: download failed attempt 3 
of 5: HTTP Error 403: Forbidden
Apr  3 10:56:36 raspberrypi weewx[4044]: wlink: download failed attempt 4 
of 5: HTTP Error 403: Forbidden
Apr  3 10:57:06 raspberrypi weewx[4044]: wlink: download failed attempt 5 
of 5: HTTP Error 403: Forbidden

can the "Station does not support reading the time" error be the cause of 
this problem?
Does anyone have any good ideas i would be grateful.

Brgds

Joel Öhman 

-- 
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/db046a6e-cf40-4cb9-97b6-e77c9691344e%40googlegroups.com.


[weewx-user] Re: wlink error with weatherlink.com V2

2020-03-16 Thread Joel Öhman
Hello!

I have the same problem with wlink. I get Error message 403: Forbidden. Any 
clue on how to fix this problem? I get an upload once an hour but no 
historical data.

Mvh: Joel

Den tisdag 21 januari 2020 kl. 04:40:29 UTC+2 skrev Rodrigo Scuissiato:
>
> Do you managed to fix this?
>
> Em sexta-feira, 28 de dezembro de 2018 07:29:59 UTC-2, Ruben Navarro Huedo 
> escreveu:
>>
>> Last days i am getting: Dec 28 10:28:20 raspi weewx[441]: wlink: download 
>> failed attempt 5 of 5: HTTP Error 403: Forbidden
>> Dec 28 10:28:50 raspi weewx[441]: wlink: download failed after 5 tries
>>
>>
>>
>>
>>

-- 
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/145b0b70-e906-447f-9311-623b5bb0911f%40googlegroups.com.