yeah - it's a little more complicated than just grabbing one file.
You want to download it as a package and use the extension installer.

cd
git clone https://github.com/tkeffer/weewx-twi.git weewx-twi
sudo wee_extension --install weewx-twi

then it should appear in the menu.

If 'git' is not present, then "sudo apt-get install git" will install that.

On Saturday, April 30, 2022 at 2:35:04 PM UTC-7 daleea...@gmail.com wrote:

> I downloaded the twi.py which you furnished at the above link, and copied 
> it from the pi/Downloads directory to the /usr/share/weewx/user area and 
> re-ran the wee_config --reconfigure program, but again only 12 choices were 
> shown and the TWI was not one of them.
>
> I'm sure it is my error with the trouble I had trying to move the file 
> from my download directory to the /user area.
>
> I even tried modifying Mathew's install instruction to do so too but it 
> had a run error so I guess that isn't going to work!
>
> I will try later after I rest my brain a bit, but am I correct in assuming 
> the procedure to do is to download the twi.py you provided, move it from 
> the Downloads area into the /usr/share/weewx/user area after removing the 
> previous twi.py file, and then run the wee_config again, or have I missed a 
> step?
>
> Thanks and sorry to be gumming up the works here. Dale
>
>
> On Saturday, April 30, 2022 at 3:26:25 PM UTC-5 tke...@gmail.com wrote:
>
>> I just did a quick port. There may be issues with how the driver 
>> communicates with the hardware. Give it a try. 
>>
>> You can find the port at https://github.com/tkeffer/weewx-twi
>>
>> On Sat, Apr 30, 2022 at 1:05 PM DR <daleea...@gmail.com> wrote:
>>
>>> a) thank you for the very speedy reply.
>>>
>>> b) I would have never figured that out, so thank you for sharing your 
>>> knowledge of all this
>>>
>>> c) I am happy with python 3 and the way things run and would be too 
>>> nervous about goofing something up.   I will wait patiently for the system 
>>> to work, with revisions being passed along. 
>>>
>>>
>>> Thanks for your attention, I'm anxious to try it, and will see if one of 
>>> my other stations will work. Do you know off hand if the Peet Brothers 
>>> driver (another station I have) is working with Python 3?
>>>
>>> Dale
>>>
>>>
>>>
>>> On 4/30/2022 2:54 PM, Tom Keffer wrote:
>>>
>>> The problem is that the twi driver has not been ported to Python 3. 
>>>
>>> I'll do the port and submit a PR to Matthew. Or, you can try Python 2.7.
>>>
>>>
>>>
>>> On Sat, Apr 30, 2022 at 12:22 PM D R <daleea...@gmail.com> wrote:
>>>
>>>> I did forget to mention that I found twi.py in the 
>>>> /usr/share/weewx/user directory.  It is puzzling to me that there were no 
>>>> other drivers from the list shown during the wee_configure --reconfigure 
>>>> selection shown here, unless they are stored elsewhere or 'built in' and 
>>>> not visible, and the twi.py is added on somehow.  Dale
>>>>
>>>>
>>>> On Saturday, April 30, 2022 at 2:14:50 PM UTC-5 D R wrote:
>>>>
>>>>>
>>>>> I am past testing and now want to connect my Rasp 400 to a real wx 
>>>>> station I have running, a Texas Weather Instruments.
>>>>>
>>>>> I went to github and got the driver that Matthew has furnished, 
>>>>> downloaded it and installed with the instructions given into my WeeWx 4.8.
>>>>>
>>>>> Then I did a wee_config --reconfigure and was stepping through the 
>>>>> choices until lI got to the 
>>>>> Installed Drivers choice, and in the 12) shown, there was no mention 
>>>>> of the newly installed TWI driver.
>>>>>
>>>>> Is there a way of making it show up in some way other than wee_config,?
>>>>>
>>>>> Thanks for any suggestions.  Dale
>>>>>
>>>>> -- 
>>>> 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/e84e7fdb-97df-4e1b-bf4b-d59ec0f055cen%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/e84e7fdb-97df-4e1b-bf4b-d59ec0f055cen%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+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7KPfYYG%2Bm_CA9r0G9N_CxCbeMyf%2BHv%2BjUbJGRyKK9YA%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEA7KPfYYG%2Bm_CA9r0G9N_CxCbeMyf%2BHv%2BjUbJGRyKK9YA%40mail.gmail.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+...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/cecfe9f9-50a9-b1cd-731e-30af95733ce7%40gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/cecfe9f9-50a9-b1cd-731e-30af95733ce7%40gmail.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/5f0a7ded-e64d-43ed-aaff-95dac528c956n%40googlegroups.com.

Reply via email to