Hi there,
I'm a bit confused.

I downloaded the last files here: 
https://github.com/matthewwall/weewx-windy  10 minutes ago.
I installed with "wee_extension" (as in readme file)

I notice there is now a "station" field in weewx.conf in addition to 
api_key (windy section)

api_key is filled by the key I get from https://stations.windy.com/stations
it's a very long key ( ~124 characters)

For the station field, I though it was the station id from windy 
(f06ea883)...but this raise en error 


Apr 18 18:09:02 localhost weewx[27255]: engine: Caught unrecoverable 
exception in engine:
Apr 18 18:09:02 localhost weewx[27255]:     ****  invalid literal for int() 
with base 10: 'f06ea883'
Apr 18 18:09:02 localhost weewx[27255]:     ****  Traceback (most recent 
call last):
Apr 18 18:09:02 localhost weewx[27255]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 884, in main
Apr 18 18:09:02 localhost weewx[27255]:     ****      engine = engine_class(
config_dict)
Apr 18 18:09:02 localhost weewx[27255]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 78, in __init__
Apr 18 18:09:02 localhost weewx[27255]:     ****      self.loadServices(
config_dict)
Apr 18 18:09:02 localhost weewx[27255]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 142, in loadServices
Apr 18 18:09:02 localhost weewx[27255]:     ****      self.service_obj.
append(weeutil.weeutil._get_object(svc)(self, config_dict))
Apr 18 18:09:02 localhost weewx[27255]:     ****    File 
"/usr/share/weewx/user/windy.py", line 84, in __init__
Apr 18 18:09:02 localhost weewx[27255]:     ****      **site_dict)
Apr 18 18:09:02 localhost weewx[27255]:     ****    File 
"/usr/share/weewx/user/windy.py", line 116, in __init__
Apr 18 18:09:02 localhost weewx[27255]:     ****      self.station = int(
station)
Apr 18 18:09:02 localhost weewx[27255]:     ****  ValueError: invalid 
literal for int() with base 10: 'f06ea883'
Apr 18 18:09:02 localhost weewx[27255]:     ****  Exiting.


[StdRESTful]

    [[Windy]]
        api_key = <very long key from windy>
        station = f06ea883


Is it an other ID I should fill here ?




Le jeudi 18 avril 2019 15:42:53 UTC+2, Tom Keffer a écrit :
>
> Here's a better link: 
> https://www.windy.com/station/pws-f0776a1a?45.671,-121.539,5
>
>
> On Thu, Apr 18, 2019 at 6:40 AM Thomas Keffer <[email protected] 
> <javascript:>> wrote:
>
>> It's working for me: https://www.windy.com/station?45.687,-121.570,8
>>
>> -tk
>>
>> On Wed, Apr 17, 2019 at 5:25 AM Hartmut Schweidler <[email protected] 
>> <javascript:>> wrote:
>>
>>> Hallo 
>>>
>>> windy.py
>>>
>>> Apr 17 14:15:37 wetter OWFS[22140]: restx: Windy: Failed to publish 
>>> record 2019-04-17 14:15:00 CEST (1555503300): Failed upload after 3 tries
>>>
>>> api-key  was generated by windy "D....4rKBpgJE0" 32  letter and numbers
>>>
>>> Hartmut
>>>
>>

Reply via email to