Günther?

On Mon, Apr 1, 2024 at 9:19 AM Tom Keffer <tkef...@gmail.com> wrote:

> Two things:
>
> 1. You are still using the original version of the driver. You want my
> patched version at  https://github.com/tkeffer/weewx-wh23xx
> 2. What version of weewx are you using? Early beta versions of v5.0 could
> not recognize a zip file, but current releases do.
>
> *    weectl --version*
>
>
> On Mon, Apr 1, 2024 at 8:48 AM Günther Wrana <kawagi...@gmail.com> wrote:
>
>> Hello, this is the message when I install the driver and try to select
>> when reconfiguring
>>
>> Thanks Günther
>>
>> Hallo das ist die Meldung wenn ich den Treiber installiere und versuche
>> bei der Rekonfiguration auszuwählen
>>
>> Danke Günther
>>
>>
>>
>> 64GB@64GB:~/Downloads $ wget -O weewx-wh23xx.zip
>> https://github.com/matthewwall/weewx-wh23xx/archive/master.zip
>> --2024-04-01 17:27:53--
>> https://github.com/matthewwall/weewx-wh23xx/archive/master.zip
>> Resolving github.com (github.com)... 140.82.121.3
>> Connecting to github.com (github.com)|140.82.121.3|:443... connected.
>> HTTP request sent, awaiting response... 302 Found
>> Location:
>> https://codeload.github.com/matthewwall/weewx-wh23xx/zip/refs/heads/master
>> [following]
>> --2024-04-01 17:27:53--
>> https://codeload.github.com/matthewwall/weewx-wh23xx/zip/refs/heads/master
>> Resolving codeload.github.com (codeload.github.com)... 140.82.121.9
>> Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443...
>> connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: unspecified [application/zip]
>> Saving to: ‘weewx-wh23xx.zip’
>>
>> weewx-wh23xx.zip        [ <=>                ]  23.64K  --.-KB/s    in
>> 0.03s
>>
>> 2024-04-01 17:27:54 (837 KB/s) - ‘weewx-wh23xx.zip’ saved [24210]
>>
>> 64GB@64GB:~/Downloads $ weectl extension install weewx-wh23xx-master.zip
>> Using configuration file /etc/weewx/weewx.conf
>> Install extension 'weewx-wh23xx-master.zip' (y/n)? y
>> Traceback (most recent call last):
>>   File "/usr/share/weewx/weectl.py", line 74, in <module>
>>     main()
>>   File "/usr/share/weewx/weectl.py", line 66, in main
>>     namespace.func(namespace)
>>   File "/usr/share/weewx/weectllib/__init__.py", line 121, in dispatch
>>     namespace.action_func(config_dict, namespace)
>>   File "/usr/share/weewx/weectllib/extension_cmd.py", line 116, in
>> install_extension
>>     ext.install_extension(namespace.source, no_confirm=namespace.yes)
>>   File "/usr/share/weewx/weecfg/extension.py", line 143, in
>> install_extension
>>     raise InstallError(f"Unrecognized type for {extension_path}")
>> weecfg.extension.InstallError: Unrecognized type for
>> weewx-wh23xx-master.zip
>> 64GB@64GB:~/Downloads $ weectl station reconfigure
>> Using configuration file /etc/weewx/weewx.conf
>> Processing configuration file /etc/weewx/weewx.conf
>>
>> Give a description of the station. This will be used for the title of
>> reports.
>> description [2243 Matzen,Österreich Niederösterreich ]:
>>
>> Specify altitude, with units 'foot' or 'meter'.  For example:
>>   35, foot
>>   12, meter
>> altitude [199, meter]:
>>
>> Specify latitude in decimal degrees, negative for south.
>> latitude [48.401826]:
>> Specify longitude in decimal degrees, negative for west.
>> longitude [16.686539]:
>>
>> Choose a unit system for the reports. Later, you can modify
>> your choice, or choose a combination of units. Unit systems
>> include:
>>   us         (ºF, inHg, in, mph)
>>   metricwx   (ºC, mbar, mm, m/s)
>>   metric     (ºC, mbar, cm, km/h)
>> unit system [metricwx]:
>>
>> Choose a driver. Installed drivers include:
>>   0) ?               (user.wh23xx)             invalid syntax (wh23xx.py,
>> line 427)
>>   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)
>> driver [4]:
>>
>> Tom Keffer schrieb am Sonntag, 31. März 2024 um 17:48:37 UTC+2:
>>
>>> I did a quick port of the driver. It has *not* been tested!
>>>
>>> Find it here: https://github.com/tkeffer/weewx-wh23xx
>>>
>>> If it works for you, I'll ask Matthew to incorporate the changes.
>>>
>>> -tk
>>>
>>> On Sun, Mar 31, 2024 at 2:12 AM Tom Keffer <tke...@gmail.com> wrote:
>>>
>>>> It appears that the wh23xx driver has not been ported to Python 2.
>>>>
>>>> On Sun, Mar 31, 2024 at 1:33 AM Günther Wrana <kawa...@gmail.com>
>>>> wrote:
>>>>
>>>>> Ladies and Gentlemen
>>>>>
>>>>> Once again I need your help, how is it possible to use the weather
>>>>> station I use with weewx version 5.0.
>>>>> I managed to install the new version of weewx and also the driver. It
>>>>> only shows an error message during reconfiguration.
>>>>> With this command I installed the driver
>>>>> weektl extension install weewx-wh23xx-master.zip
>>>>>
>>>>>
>>>>> What have I done wrong again?
>>>>>
>>>>> Thanks for the help and have a nice Easter holidays!
>>>>>
>>>>> [image: Bildschirmfoto von 2024-03-31 10-27-33.png]
>>>>>
>>>>> Sehr geehrte Damen und Herren
>>>>>
>>>>> Wieder einmal brauche ich eure Hilfe, wie ist es möglich die von mir
>>>>> verwendete Wetterstation mit weewx Version 5.0 zu verwenden.
>>>>> Ich habe es geschaft die neue Version von weewx zu installieren und
>>>>> auch den Treiber. Nur bei der Rekonfiguration zeigt es eine Fehlermeldung
>>>>> an.
>>>>>
>>>>> Mit diesem Befehl habe ich den Treiber installiert.
>>>>> weectl extension install weewx-wh23xx-master.zip
>>>>>
>>>>> Was habe ich wieder einmal falsch gemacht.
>>>>>
>>>>> Danke für die Hilfe und noch schöne Osterfeiertage!
>>>>>
>>>>> Holger DL7HMX schrieb am Freitag, 29. Januar 2021 um 18:00:12 UTC+1:
>>>>>
>>>>>> OK, I set "windchill" and "heatindex" in weewx.conf to "software"
>>>>>> (default was "hardware"). Now I've got values in weewx's output.
>>>>>>
>>>>>> Cheers,
>>>>>> Holger
>>>>>>
>>>>>> Holger DL7HMX schrieb am Montag, 25. Januar 2021 um 23:33:24 UTC+1:
>>>>>>
>>>>>>> Thank you, Gary. I wasn't aware of that. And indeed, the log during
>>>>>>> startup says that weewx uses python 3.7, although I wasn't aware of
>>>>>>> installing it. I just flashed the whole OS from an image "as is" and 
>>>>>>> never
>>>>>>> updated python. At least that's what I thought.
>>>>>>>
>>>>>>> So, what does that mean now? I'm confused...
>>>>>>>
>>>>>>> Grateful for any clues.
>>>>>>> Holger
>>>>>>>
>>>>>>> The relevant bit from the log:
>>>>>>>
>>>>>>> Jan 25 23:00:10 raspberrypi weewx[23489] INFO __main__: Initializing
>>>>>>> weewx version 4.3.0
>>>>>>> Jan 25 23:00:10 raspberrypi weewx[23489] INFO __main__: Using Python
>>>>>>> 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
>>>>>>> Jan 25 23:00:10 raspberrypi weewx[23489] INFO __main__: Platform
>>>>>>> Linux-5.4.79-v7+-armv7l-with-debian-10.7
>>>>>>> Jan 25 23:00:10 raspberrypi weewx[23489] INFO __main__: Locale is
>>>>>>> 'de_DE.UTF-8'
>>>>>>> Jan 25 23:00:10 raspberrypi weewx[23489] INFO __main__: Using
>>>>>>> configuration file /etc/weewx/weewx.conf
>>>>>>> Jan 25 23:00:10 raspberrypi weewx[23489] INFO __main__: Debug is 1
>>>>>>> Jan 25 23:00:10 raspberrypi weewx[23489] INFO weewx.engine: Loading
>>>>>>> station type WH23xx (user.wh23xx)
>>>>>>> Jan 25 23:00:10 raspberrypi /weewxd: wh23xx: driver version is 0.14
>>>>>>> Jan 25 23:00:10 raspberrypi /weewxd: wh23xx: usb info:
>>>>>>> pyusb_version=1.0.2
>>>>>>> Jan 25 23:00:10 raspberrypi /weewxd: wh23xx: poll interval is 15
>>>>>>> Jan 25 23:00:10 raspberrypi /weewxd: wh23xx: Found device on USB
>>>>>>> bus= device=
>>>>>>> Jan 25 23:00:10 raspberrypi kernel: [179275.088804] usb 1-1.4: reset
>>>>>>> full-speed USB device number 5 using dwc_otg
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.engine:
>>>>>>> StdConvert target unit is 0x1
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.engine: Archive
>>>>>>> will use data binding wx_binding
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.engine: Record
>>>>>>> generation will be attempted in 'software'
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.engine: Using
>>>>>>> archive interval of 30 seconds (software record generation)
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] WARNING weewx.engine:
>>>>>>> Archive delay (15) is unusually long
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.restx:
>>>>>>> StationRegistry: Registration not requested.
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.restx:
>>>>>>> Wunderground: Posting not enabled.
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.restx:
>>>>>>> PWSweather: Posting not enabled.
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.restx: CWOP:
>>>>>>> Posting not enabled.
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.restx: WOW:
>>>>>>> Posting not enabled.
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.restx: AWEKAS:
>>>>>>> Posting not enabled.
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO __main__: Starting up
>>>>>>> weewx version 4.3.0
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.engine: Using
>>>>>>> binding 'wx_binding' to database 'weewx.sdb'
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.manager:
>>>>>>> Starting backfill of daily summaries
>>>>>>> Jan 25 23:00:11 raspberrypi weewx[23489] INFO weewx.engine: Starting
>>>>>>> main packet loop.
>>>>>>> Jan 25 23:00:42 raspberrypi weewx[23489] INFO weewx.engine: Main
>>>>>>> loop exiting. Shutting engine down.
>>>>>>>
>>>>>>> gjr80 schrieb am Sonntag, 24. Januar 2021 um 23:22:38 UTC+1:
>>>>>>>
>>>>>>>> On Monday, 25 January 2021 at 07:19:16 UTC+10 Holger DL7HMX wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I've been following your discussion with interest and I've just
>>>>>>>>> set up my own station:
>>>>>>>>>
>>>>>>>>>    - WH2315 (Renkforce
>>>>>>>>>    
>>>>>>>>> <https://www.conrad.de/de/p/renkforce-rf-4406812-funk-wetterstation-vorhersage-fuer-12-bis-24-stunden-2203406.html>
>>>>>>>>>    from Conrad)
>>>>>>>>>    - Raspberry Pi 3B
>>>>>>>>>    - weewx 4.3.0
>>>>>>>>>    - driver is wh23xx (I think it's the one that has Edwin's and
>>>>>>>>>    Bogdan's fixes, as it says in the file's preamble "Updated to 
>>>>>>>>> Python 3
>>>>>>>>>    support, tested with Renkforce 2315")
>>>>>>>>>    - Python 2.7.16 (according to python -V)
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Just one point of clarification, python -V will display the python
>>>>>>>> version used when the python is invoked from the command line, that is 
>>>>>>>> not
>>>>>>>> necessarily the version of python used by WeeWX. To find the version of
>>>>>>>> python used by WeeWX you need to look at the WeeWX log during startup, 
>>>>>>>> it
>>>>>>>> will list the python version being used by WeeWX.
>>>>>>>>
>>>>>>>> Gary
>>>>>>>>
>>>>>>> --
>>>>> 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/e9c1c148-9dfa-4c33-a698-8344376997f0n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/e9c1c148-9dfa-4c33-a698-8344376997f0n%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/13a9d7c5-0b03-4f78-815e-f2ac71569729n%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/13a9d7c5-0b03-4f78-815e-f2ac71569729n%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/CAPq0zECaJ%2BcLtWrOcFF5nCSqVxc%2B8nR49zomzhSbo8k4X_97_w%40mail.gmail.com.

Reply via email to