Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Tom Keffer
That seems reasonable. Try this version On Sat, May 2, 2020 at 9:10 AM Praveen Chandrasekaran < praveen.c...@gmail.com> wrote: > Shouldnt it be taking in api_key in test mode too? Is that intentional? > > On Sat, 2 May 2020 at 20:52, Tom Keffer wrote: > >> Thanks for catching the problem with

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
Shouldnt it be taking in api_key in test mode too? Is that intentional? On Sat, 2 May 2020 at 20:52, Tom Keffer wrote: > Thanks for catching the problem with json.load(). Fixed in commit c05f76b > > > As you

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Tom Keffer
Thanks for catching the problem with json.load(). Fixed in commit c05f76b As you discovered, I think the api_key code is working properly. On Sat, May 2, 2020 at 8:04 AM Praveen Chandrasekaran <

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
I didnt attached console output because i just ran wunderfixer at shell. I was getting HTTP 401 error. printed api_key from within wunderfixer it was "None". Then edited wunderfixer with the api key locally and that fixed that issue On Sat, 2 May 2020 at 19:32, Tom Keffer wrote: > Log? Console

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
Fixed it locally at my end. api_key not getting passed is a mystery yet. Need to decode the response to utf-8 to get it working properly. Attached modified wunderfixer file (search for v4) On Sat, 2 May 2020 at 19:32, Tom Keffer wrote: > Log? Console output? > > On Sat, May 2, 2020 at 6:18 AM

Re: [weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Tom Keffer
Log? Console output? On Sat, May 2, 2020 at 6:18 AM Praveen Chandrasekaran < praveen.c...@gmail.com> wrote: > 2 issues: > > 1) API key not getting passed. Hacked wunderfixer with local api key > instead of passing > 2) After 1 I get error that JSON object must be str not bytes. > > On

[weewx-user] Re: Wunderfixer stopped working after v4 update

2020-05-02 Thread Praveen Chandrasekaran
2 issues: 1) API key not getting passed. Hacked wunderfixer with local api key instead of passing 2) After 1 I get error that JSON object must be str not bytes. On Saturday, 2 May 2020 17:56:50 UTC+5:30, Praveen Chandrasekaran wrote: > > Hi, > > My wunderfixer was working till yesterday (I