ls -l /usr/share/weewx/user total 168 -rw-rw-r-- 1 root root 142476 Apr 25 18:53 belchertown.py -rw-r--r-- 1 root root 541 Mar 1 17:19 extensions.py -rw-r--r-- 1 root root 306 Apr 21 19:32 __init__.py drwxr-xr-x 4 root root 4096 Apr 30 13:57 installer drwxr-xr-x 2 root root 4096 Apr 25 19:00 __pycache__ -rw-r--r-- 1 root root 10513 Apr 30 18:31 twi.py
then pi@raspberrypi:~ $ grep VERSION /usr/share/weewx/user/twi.py DRIVER_VERSION = '0.4' loginf('driver version is %s' % DRIVER_VERSION) print("twi driver version %s" % DRIVER_VERSION) And then: Installed drivers include: 0) TWI (user.twi) 1) AcuRite (weewx.drivers.acurite) 2) CC3000 (weewx.drivers.cc3000) 3) FineOffsetUSB (weewx.drivers.fousb) 4) Simulator (weewx.drivers.simulator) 5) TE923 (weewx.drivers.te923) 6) Ultimeter (weewx.drivers.ultimeter) 7) Vantage (weewx.drivers.vantage) 8) WMR100 (weewx.drivers.wmr100) 9) WMR300 (weewx.drivers.wmr300) 10) WMR9x8 (weewx.drivers.wmr9x8) 11) WS1 (weewx.drivers.ws1) 12) WS23xx (weewx.drivers.ws23xx) 13) WS28xx (weewx.drivers.ws28xx) I'm sure I have / had a gremlin. I am off to try it. Have to move the RP400 downstairs and make sure I can see he USBtty0 and all that Thank you for the hand holding, both of you. You can be pretty certain that the NSA doesn't have me on their radar for hacking into computers! Dale On Saturday, April 30, 2022 at 5:10:08 PM UTC-5 tke...@gmail.com wrote: > The package installer should not be necessary. All the installer does is > call the same API as wee_config. > > -tk > > On Sat, Apr 30, 2022 at 3:08 PM vince <vince...@gmail.com> wrote: > >> 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+...@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 >> >> <https://groups.google.com/d/msgid/weewx-user/5f0a7ded-e64d-43ed-aaff-95dac528c956n%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/b2b929bf-cc1e-4d3d-853c-cb8720c1a34fn%40googlegroups.com.