Got it running by setting Python 3.5 to default this way:

https://raspberry-valley.azurewebsites.net/Python-Default-Version/

Matthias


Am Freitag, 24. Juli 2020 16:55:23 UTC+2 schrieb NanoG5Kite:
>
> Yet not working for me...:
>
>
> root@DietPi:~# sudo /home/weewx/bin/wee_extension 
> --install=/var/tmp/gw1000-0.1.0b5.tar.gz
> Request to install '/var/tmp/gw1000-0.1.0b5.tar.gz'
> Extracting from tar archive /var/tmp/gw1000-0.1.0b5.tar.gz
> Saving installer file to /home/weewx/bin/user/installer/GW1000
> Saved configuration dictionary. Backup copy at 
> /home/weewx/weewx.conf.20200724165212
> Finished installing extension '/var/tmp/gw1000-0.1.0b5.tar.gz'
> root@DietPi:~# PYTHONPATH=/home/weewx/bin python -m user.gw1000 
> --test-driver
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "/home/weewx/bin/user/gw1000.py", line 267, in <module>
>     import weecfg
>   File "/home/weewx/bin/weecfg/__init__.py", line 22, in <module>
>     import configobj
> ImportError: No module named configobj
> root@DietPi:~# 
>
>
>
>
>
> Am Freitag, 24. Juli 2020 15:44:57 UTC+2 schrieb gjr80:
>>
>> My apologies all round Bill, a few typos and a wrong assumption about 
>> package installs - have rewritten and simplfied the GitHub readmes this 
>> afternoon. They should be correct now. Perhaps a bit late now but to run 
>> the driver directly the following should work:
>>
>> $ PYTHONPATH=/usr/share/weewx python -m user.gw1000 --help
>>
>> When you used wee_config --reconfigure to reconfigure WeeWX to use the 
>> driver it should have prompted you for the IP address, unfortunately I 
>> included --no-prompt in the wee_config command and that left you with no 
>> IP address set (in which case the driver uses the first GW1000 that 
>> replies). You can run the following command and step through the prompts 
>> until you are asked for an IP address and then enter the IP address of the 
>> GW1000 you wish to use:
>>
>> $ wee_config --reconfigure --driver=user.gw1000
>>
>> Alternatively you can just edit weewx.conf and add a line ip_address 
>> under [GW1000]:
>>
>> [GW1000]
>>     ....
>>     ip_address = 1.2.3.4
>>
>> Either way you will need to restart once you have set the IP address.
>>
>> Gary
>>
>> On Friday, 24 July 2020 13:02:17 UTC+10, Bill Arthur wrote:
>>>
>>> I couldn't get it to run from the command line.
>>> When I  did   python -m user.gw1000 --help
>>> I get   /usr/bin/python: No module named user.gw1000
>>>
>>> But I have it up and running, everything looks good on my Seasons page.
>>> I'll give the data a closer look tomorrow.
>>>
>>> But I'm scratching my head trying to find how to specify the IP address 
>>> in weewx.conf
>>> I have three GW1000s here, I have no idea which one is being used  
>>> On Thursday, July 23, 2020 at 9:06:47 PM UTC-5 Bill Arthur wrote:
>>>
>>>> This link works: 
>>>> https://github.com/gjr80/weewx-gw1000/releases/download/v0.1.0b4/gw1000-0.1.0b4.tar.gz
>>>>
>>>> On Thursday, July 23, 2020 at 8:57:49 PM UTC-5 Bill Arthur wrote:
>>>>
>>>>> FYI:
>>>>> wget -P /var/tmp 
>>>>> https://github.com/gjr80/weewx-gw1000/releases/download/v0.1.0b4/weewx-gw1000-0.1.0b4.tar.gz
>>>>>  
>>>>> gives me an Error 404 
>>>>>
>>>>> On Thursday, July 23, 2020 at 3:22:07 PM UTC-5 galfert wrote:
>>>>>
>>>>>> There is a thread in the developer section where some questions were 
>>>>>> asked that were not directly related to development. This thread is 
>>>>>> good. 
>>>>>> I'm just inviting people to ask their questions here in this thread 
>>>>>> rather 
>>>>>> than in the developer section.
>>>>>>
>>>>>>
>>>>>> On Thursday, July 23, 2020 at 2:56:51 PM UTC-4, steeple ian wrote:
>>>>>>
>>>>>>> ???
>>>>>>>
>>>>>>> On Thu, 23 Jul 2020 at 19:39, galfert <gal...@gmail.com> wrote:
>>>>>>>
>>>>>> For anyone discussing this new GW1000 API driver in the WeeWX 
>>>>>>>> development section STOP. Use this user section instead to discuss its 
>>>>>>>> use.
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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/91d513a8-cf9a-4cf2-8e16-261a02b67bebo%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/91d513a8-cf9a-4cf2-8e16-261a02b67bebo%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>>

-- 
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/1fdb9549-5cdc-4516-8a25-ce42931ebd2do%40googlegroups.com.

Reply via email to