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)

My question: Everything seems to work fine according to the output of 
weewxd and the system log (see below). Just that windchill and heat index 
seem to be ignored by weewx (see weewxd output) and are not displayed on 
the website. In the driver file it says that wh23xx does handle windchill / 
heatindex though. Both winchill and heat index show up on the indoor module 
of the weather station.

Being a python illiterate myself, I hope anyone of you can help.

Thanks a lot!

Cheers,
Holger

Excerpt from /var/log/messages:

[…]
Jan 24 00:00:49 raspberrypi weewx[2884] INFO weewx.manager: Added record 
2021-01-24 00:00:30 CET (1611442830) to database 'weewx.sdb'
Jan 24 00:00:49 raspberrypi weewx[2884] INFO weewx.manager: Added record 
2021-01-24 00:00:30 CET (1611442830) to daily summary in 'weewx.sdb'
Jan 24 00:00:49 raspberrypi weewx[2884] INFO weewx.engine: Launch of report 
thread aborted: existing report thread still running
Jan 24 00:00:53 raspberrypi weewx[2884] INFO weewx.imagegenerator: 
Generated 12 images for report neowx in 17.12 seconds
Jan 24 00:00:53 raspberrypi weewx[2884] INFO weewx.reportengine: Copied 17 
files to /var/www/html/weewx/neowx
Jan 24 00:01:20 raspberrypi weewx[2884] INFO weewx.manager: Added record 
2021-01-24 00:01:00 CET (1611442860) to database 'weewx.sdb'
Jan 24 00:01:20 raspberrypi weewx[2884] INFO weewx.manager: Added record 
2021-01-24 00:01:00 CET (1611442860) to daily summary in 'weewx.sdb'
Jan 24 00:01:22 raspberrypi weewx[2884] INFO weewx.cheetahgenerator: 
Generated 8 files for report SeasonsReport in 1.83 seconds
Jan 24 00:01:23 raspberrypi weewx[2884] INFO weewx.imagegenerator: 
Generated 15 images for report SeasonsReport in 1.13 seconds
[…]

And this is what weewxd does:

[…]
LOOP:   2021-01-24 15:45:17 CET (1611499517) altimeter: 29.565615792454597, 
appTemp: 29.635380944252738, barometer: 29.618809179080866, cloudbase: 
4088.77292306068, dateTime: 1611499517, dewpoint: 22.763848540151056, 
humidex: 35.239999999999995, inDewpoint: 46.640638253351156, inHumidity: 
41, inTemp: 71.6, luminosity: 6649.0, maxSolarRad: None, outHumidity: 60, 
outTemp: 35.239999999999995, pressure: 28.24543304375, radiation: 
52.527100000000004, rain: None, usUnits: 1, UV: 0, uv_raw: 0, windDir: 225, 
windGust: 3.8028011482968176, windSpeed: 1.565859296357513
LOOP:   2021-01-24 15:45:32 CET (1611499532) altimeter: 29.565615792454597, 
appTemp: 29.216091261848526, barometer: 29.618809179080866, cloudbase: 
4179.279711534722, dateTime: 1611499532, dewpoint: 22.365618670865274, 
humidex: 35.239999999999995, inDewpoint: 46.640638253351156, inHumidity: 
41, inTemp: 71.6, luminosity: 6649.0, maxSolarRad: None, outHumidity: 59, 
outTemp: 35.239999999999995, pressure: 28.24543304375, radiation: 
52.527100000000004, rain: 0.0, usUnits: 1, UV: 0, uv_raw: 0, windDir: 225, 
windGust: 3.8028011482968176, windSpeed: 2.2369418519393043
[…]


Bogdan schrieb am Sonntag, 14. Juni 2020 um 11:01:54 UTC+2:

> Thank you, Roland! I included your fix into drivers code. Also added 
> overlogging fix. So, now seems it is possible to use this driver further.
>
> суббота, 13 июня 2020 г., 20:53:20 UTC+2 пользователь Roland Lang написал:
>
>> Hi,
>> I have just updated my weewx installation from python2 to python3, but 
>> Edwin's fork of this driver is not working for me. The error is in the file 
>> /usr/share/weewx/user/wh23xx.py. Line 259 is missing the keyword "import" 
>> (already wrong in Bogdans fork).
>> The line is:
>>    from weeutil.log log_traceback
>> but it sould be
>>    from weeutil.log import log_traceback
>>
>> After that change it's working now with python3
>>
>> Roland
>>
>

-- 
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/b9236de9-2d79-4682-b0d7-47a5e6c9ed5en%40googlegroups.com.

Reply via email to