Bresser 6in1

971 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Sebastien ROVERCH

ungelesen,
24.10.2019, 02:30:2024.10.19
an weewx-user

Hello,


I bought this weather station:

https://www.bresser.de/en/Weather-Time/Weather-Center/BRESSER-PC-Weather-station-with-6-in-1-outdoor-sensor.html


What is the driver Weewx for the weather station ?


Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher


on windows, with the sotware weather-tool, we manage to read the information 


the proof : 



soft.jpg


Thanks


Sebastien


Sebastien ROVERCH

ungelesen,
24.10.2019, 02:34:4724.10.19
an weewx-user
with the original cable and configuration

[FineOffsetUSB]
    # This section is for the Fine Offset series of weather stations.

    # The station model, e.g., WH1080, WS1090, WS2080, WH3081
    model = WH3081


 #How often to poll the station for data, in seconds
    polling_interval = 60

    # The driver to use:
    driver = weewx.drivers.fousb



error message : 


pi@stationmeteo:~ $ Oct 24 08:30:27 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:33 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:35 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:37 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:43 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:45 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:47 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:53 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:55 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:30:57 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:31:03 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:31:05 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:31:07 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:31:09 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:31:11 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable
pi@stationmeteo:~ $ Oct 24 08:31:13 stationmeteo weewx[611]: fousb: unstable read: blocks differ for                                                                                                                                                                                                                                              ptr 0x000000
-bash: Oct : commande introuvable

Andrew Milner

ungelesen,
24.10.2019, 03:33:4424.10.19
an weewx-user
try model = 1080 instead of 3080

Sebastien ROVERCH

ungelesen,
24.10.2019, 03:51:4424.10.19
an weewx-user
with "WH1080" I always have the same error message

thanks

Andrew Milner

ungelesen,
24.10.2019, 05:58:3224.10.19
an weewx-user
posting the log from startup until after two archive intervals would help to identify what is happening.

have you set the station's archive interval to 5 minutes - instead of the standard 30 minutes - using wee_device?  Otherwise you will be waiting for 30 minutes to see anything!!

Sebastien ROVERCH

ungelesen,
24.10.2019, 08:27:1224.10.19
an weewx-user

either I have a driver problem

either my weather station is not compatible with xxxx

can not edit:

/home/weewx/wee_device --set-interval=5

When

/home/weewx/bin/wee_device --info

I have this message and nothing happens.

Using configuration file /home/weewx/weewx.conf
Using FineOffsetUSB driver version 1.10 (weewx.drivers.fousb)
Querying the station...




mwall

ungelesen,
24.10.2019, 08:48:1424.10.19
an weewx-user


On Thursday, October 24, 2019 at 8:27:12 AM UTC-4, Sebastien ROVERCH wrote:

either I have a driver problem

either my weather station is not compatible with xxxx

can not edit:

/home/weewx/wee_device --set-interval=5

When

/home/weewx/bin/wee_device --info

I have this message and nothing happens.

Using configuration file /home/weewx/weewx.conf
Using FineOffsetUSB driver version 1.10 (weewx.drivers.fousb)
Querying the station...

sebastian,

please look in the log file while wee_device is running.  that should tell you what is happening.  to get even more information, set debug=1 in the weewx configuration file before you run wee_device

you will probably have to preface the command with sudo:

sudo /home/weewx/bin/wee_device --info

the log messages that you saw about 'unstable read' are often benign - it is not unusual to see only one or two periodically.  however, since you see many, and the value is always 0x0, that indicates a possible problem with the physical usb connection.  how is the station connected to the computer, and what kind of computer is it?

Sebastien ROVERCH

ungelesen,
24.10.2019, 08:48:2224.10.19
an weewx-user

Sebastien ROVERCH

ungelesen,
24.10.2019, 08:55:5024.10.19
an weewx-user
I use a raspberry pi as a computer.

My weather station is connected to the raspberry



lsusb -v -d 1941:8021

Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1941 Dream Link
  idProduct          0x8021 WH1080 Weather Station / USB Missile Launcher
  bcdDevice            0.00
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0022
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      36
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1



Sebastien ROVERCH

ungelesen,
24.10.2019, 09:05:5024.10.19
an weewx-user
I waited 1 minute for it to come out after sudo /home/weewx/bin/wee_device --info


Fine Offset station settings:
                    local time: 2019.10.24 14:55:52 CEST
                  polling mode: ADAPTIVE

                  abs_pressure: 0
                   current_pos: 0
                  data_changed: 0
                    data_count: 0
                     date_time: 2000-00-00 00:00
                 hum_in_offset: 0
                hum_out_offset: 0
                            id: 0
                 lux_wm2_coeff: 0
                       magic_1: 0xfa
                       magic_2: 0x 3
                         model: 0
                     rain_coef: 0
                   read_period: 0
                  rel_pressure: 101.8
                temp_in_offset: 0
               temp_out_offset: 0
                      timezone: 0
                    unknown_01: 0
                    unknown_18: 3
                       version: 0
                     wind_coef: 0
                     wind_mult: 0

         max.abs_pressure.date: 2000-00-00 00:00
          max.abs_pressure.val: 0
             max.dewpoint.date: 2000-160-03 00:00
              max.dewpoint.val: 0
               max.hum_in.date: 2000-00-00 00:00
                max.hum_in.val: 0
              max.hum_out.date: 2000-00-00 00:00
               max.hum_out.val: 0
           max.illuminance.val: 1638400.0
             max.rain.day.date: 2000-00-00 00:00
              max.rain.day.val: 0
            max.rain.hour.date: 2000-00-00 00:00
             max.rain.hour.val: 0
           max.rain.month.date: 2000-00-00 00:00
            max.rain.month.val: 0
           max.rain.total.date: 2000-00-00 00:00
            max.rain.total.val: 0
            max.rain.week.date: 2000-00-00 00:00
             max.rain.week.val: 0
         max.rel_pressure.date: 2000-00-00 00:00
          max.rel_pressure.val: 0
              max.temp_in.date: 2003-00-00 00:00
               max.temp_in.val: 0
             max.temp_out.date: 2000-00-00 00:00
              max.temp_out.val: 0
                    max.uv.val: 0
             max.wind_ave.date: 2000-00-00 160:03
              max.wind_ave.val: 0
            max.wind_gust.date: 2000-00-00 00:00
             max.wind_gust.val: 101.8
            max.windchill.date: 2000-00-00 00:00
             max.windchill.val: 0
         min.abs_pressure.date: 2000-00-00 00:00
          min.abs_pressure.val: 0
             min.dewpoint.date: 2000-00-00 00:00
              min.dewpoint.val: 0
               min.hum_in.date: 2000-00-00 00:00
                min.hum_in.val: 0
              min.hum_out.date: 2000-00-00 00:160
               min.hum_out.val: 0
         min.rel_pressure.date: 2000-00-00 00:00
          min.rel_pressure.val: 0
              min.temp_in.date: 2000-00-00 00:00
               min.temp_in.val: 0
             min.temp_out.date: 2000-00-00 00:00
              min.temp_out.val: 0
            min.windchill.date: 2000-00-00 00:00
             min.windchill.val: 0

      settings_1.pressure_inHg: False
       settings_1.pressure_hPa: False
         settings_1.temp_out_F: False
      settings_1.pressure_mmHg: False
            settings_1.rain_in: False
          settings_1.temp_in_F: False
               settings_1.bit4: False
               settings_1.bit3: False
           settings_2.wind_bft: False
           settings_2.wind_mps: False
          settings_2.wind_knot: False
               settings_2.bit7: False
               settings_2.bit6: False
               settings_2.bit5: False
          settings_2.wind_kmph: False
           settings_2.wind_mph: False

           display_1.wind_gust: False
       display_1.show_day_name: False
           display_1.show_year: False
       display_1.time_scale_24: False
        display_1.pressure_rel: False
          display_1.alarm_time: False
            display_1.date_mdy: False
          display_1.clock_12hr: False
       display_2.temp_out_temp: False
           display_2.rain_hour: False
          display_2.rain_month: False
           display_2.rain_week: False
      display_2.temp_out_chill: False
            display_2.rain_day: False
        display_2.temp_out_dew: False
          display_2.rain_total: False
      display_3.illuminance_fc: False
                display_3.bit7: False
                display_3.bit6: False
                display_3.bit5: False
                display_3.bit4: False
                display_3.bit3: False
                display_3.bit2: False
                display_3.bit1: False

         alarm.abs_pressure.hi: 0
         alarm.abs_pressure.lo: 0
             alarm.dewpoint.hi: 101.8
             alarm.dewpoint.lo: 0
               alarm.hum_in.hi: 0
               alarm.hum_in.lo: 0
              alarm.hum_out.hi: 0
              alarm.hum_out.lo: 0
             alarm.illuminance: 0
                alarm.rain.day: 0
               alarm.rain.hour: 0
         alarm.rel_pressure.hi: 0
         alarm.rel_pressure.lo: 0
              alarm.temp_in.hi: 0
              alarm.temp_in.lo: 0
             alarm.temp_out.hi: 0
             alarm.temp_out.lo: 0
                    alarm.time: 00:00
                      alarm.uv: 0
            alarm.wind_ave.bft: 0
             alarm.wind_ave.ms: 0
                alarm.wind_dir: 0
           alarm.wind_gust.bft: 0
            alarm.wind_gust.ms: 0
            alarm.windchill.hi: 0
            alarm.windchill.lo: 0
            alarm_1.hum_out_hi: False
             alarm_1.hum_in_lo: False
             alarm_1.hum_in_hi: False
            alarm_1.hum_out_lo: False
                  alarm_1.time: False
                  alarm_1.bit3: False
              alarm_1.wind_dir: False
                  alarm_1.bit0: False
              alarm_2.wind_ave: False
             alarm_2.wind_gust: False
             alarm_2.rain_hour: False
       alarm_2.pressure_rel_lo: False
       alarm_2.pressure_abs_hi: False
              alarm_2.rain_day: False
       alarm_2.pressure_rel_hi: False
       alarm_2.pressure_abs_lo: False
           alarm_3.temp_out_hi: False
         alarm_3.wind_chill_lo: False
          alarm_3.dew_point_lo: False
            alarm_3.temp_in_lo: False
         alarm_3.wind_chill_hi: False
            alarm_3.temp_in_hi: False
           alarm_3.temp_out_lo: False
          alarm_3.dew_point_hi: False

Sebastien ROVERCH

ungelesen,
24.10.2019, 10:02:3324.10.19
an weewx-user
pi@stationmeteo:~ $ sudo /home/weewx/bin/wee_device /home/weewx/weewx.conf --set                                                                                                                                                                                                                                             -interval=5
Using configuration file /home/weewx/weewx.conf
Using FineOffsetUSB driver version 1.10 (weewx.drivers.fousb)
Interval is 0
Set interval to 5 minutes (y/n)? y
Traceback (most recent call last):
  File "/home/weewx/bin/wee_device", line 66, in <module>
    main()
  File "/home/weewx/bin/wee_device", line 62, in main
    device.configure(config_dict)
  File "/home/weewx/bin/weewx/drivers/__init__.py", line 69, in configure
    self.do_options(options, parser, config_dict, prompt)
  File "/home/weewx/bin/weewx/drivers/fousb.py", line 396, in do_options
    self.set_interval(options.interval, prompt)
  File "/home/weewx/bin/weewx/drivers/fousb.py", line 543, in set_interval
    self.station.set_read_period(interval)
  File "/home/weewx/bin/weewx/drivers/fousb.py", line 1257, in set_read_period
    self.write_data(data)
  File "/home/weewx/bin/weewx/drivers/fousb.py", line 1738, in write_data
    self._write_byte(ptr, value)
  File "/home/weewx/bin/weewx/drivers/fousb.py", line 1731, in _write_byte
    raise weewx.WeeWxIOError('Write to USB failed')
weewx.WeeWxIOError: Write to USB failed

mwall

ungelesen,
25.10.2019, 17:47:1425.10.19
an weewx-user
what other devices are connected to the rpi?

it looks like you are having usb connection problems.  you should try the following:

- connect the weather station to a powered usb hub instead of directly to the pi
- do not connect any other device to the pi other than the weather station
- be sure to use a quality usb cable to connect the weather station
- try different operating system versions/releases on the rpi

also, be sure to use PERIODIC mode, not ADAPTIVE mode in your configuration.  see the weewx guide for more details:


finally, i'm not certain that the console that comes with a bresser 6in1 is a fine-offset 1080 device.  the vendor:product code for 1080 and 3080 devices is 1941:8021, and i see that in the lsusb output that you posted.  but the pictures i've seen for bresser 6in1 have two different consoles, and neither one looks like a 1080/2080/3080 device.  so i am a bit confused.

could you post a picture of the console of your console?

m

Sebastien ROVERCH

ungelesen,
26.10.2019, 08:32:2626.10.19
an weewx-user


there is only the weather station that is connected to the raspberry.


it's the cable of the original weather station that I use


I will test with a USB HUB

I will try different operating system versions / releases on the rpi

thanks



image0.jpegimage1.jpeg

 

m

Sean Jahnig

ungelesen,
26.10.2019, 09:26:5726.10.19
an weewx...@googlegroups.com
I have acurite 5-in-1 but i was also having connection issues.

I installed a USB hub and i also used an active USB cable to connect the display to the device which was 6 or 7 meters away. This combination seems to have fixed the problem.


--
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/e3f50cc6-17b2-4324-80c1-86a7d56f1675%40googlegroups.com.

Sebastien ROVERCH

ungelesen,
27.10.2019, 13:45:3127.10.19
an weewx-user

thank you for the answer.

Do you have a brand to come out for the cable and for the USB HUB?

Thanks

Remy Lavabre

ungelesen,
01.05.2020, 12:27:3301.05.20
an weewx-user
Hello Sebastien,

I have exactly the same problem as you... Connecting a Raspberry with my 6-1 Bresser via USB
Do you have solve your problem ?
Thank-you Sebastian !

Bob Atchley

ungelesen,
05.05.2020, 17:09:1605.05.20
an weewx-user
Hi Remy and Sebastien

I have a Youshiko YC9388 Weather station that I believe is identical to the Bresser 6 in 1 with usb connection to a PC.

I found it was incompatible with the existing weewx weather station drivers.  However I have been able to reverse engineer the usb protocol and have written a driver that should work.

I have uploaded the new driver for the 6 in 1 weather stations with PC connected consoles:
Youshiko YC9388
Bresser PC 6 in 1
Garni 935PC
Ventus W835
If you go to the weewx wiki and search for the ws6in1 driver and follow the link hopefully the readme.txt will give you enough information to get going.

Good luck

Bob

Remy Lavabre

ungelesen,
16.05.2020, 09:00:5516.05.20
an weewx-user
Hello Bob,

Indeed you have done a very good job !!!
I have a Bresser 6-1 station and everything works perfectly with my Raspberry Pi Zero W !!!
That's great ! I can only thank you!

Without wanting to abuse, I would however have three small things to ask you:

A/ My weather station is equipped with 3 additional sensors (thermometers and hygrometers).
The three temperature information (with history) appears on the html page xxx.xxx.xxx.xxx/weewx/
in the form of three curves in a single table (Temperature1Temperature2Tempreature3)
The humidity 1,2 and 3 of the three additional probes does not appear anywhere, however...
Is this information retrieved by your pilot and if so, how to display it as for the temperature?

B/ I use the SteelSeries-Weather-Gauges which correspond exactly to what I want (https://github.com/mcrossley/SteelSeries-Weather-Gauges).
Everything is displayed correctly and perfectly except ... the temperatures 1,2,3 and the humidity 1,2 and 3 of my three additional probes!
Could you tell me what to add (and where) to bring up an additional temperature gauge (with 3 pushbuttons 1,2 and 3) as well as an additional
humidity gauge (with if possible again 3 push buttons) to display this additional data on the html page?

C/ My Bresser weather station records the data every 30 minutes. Is it possible with Weewx and
your driver to recover this data in a file in "CSV" format as does Windows software which
connects via the USB port? And if yes, how ?

Here bob, know that you have done a lot for me with your pilot and that the solution to the
three questions that remain would fulfill all my hopes !!!!!

And thank you again for this great pilot !!!!
Signed a great admirer of your work!  ;-)))))

sc.lep...@gmail.com

ungelesen,
23.09.2020, 16:08:2623.09.20
an weewx-user
Hello all, 
I want to buy a bresser station but I dont know which model to choose. ( I want to user it with weewx software on rpi2) 

It seems with some bresser station I will connect to weewx on rpi2 .
( the first url from this post doesnt work well ;-( ....) 
Can someone help ? 

Actually I user WMR200 from oregon  but rain is out of service and I want to change all my station but continue to use weewx .
https://meteo-pontscorff.fr/

Thanks a lot / best regards

Stéphane 

Bob Atchley

ungelesen,
24.09.2020, 02:45:3124.09.20
an weewx-user
Hi Stéphane

The following are identical:
Youshiko YC9388
Bresser PC 6 in 1
Garni 935PC
Ventus W835

I think the Bresser model is the Bresser 7002570 - it should specifically mention the PC data connection.  The WiFi version is not compatible as the USB connection provides power only (no data).

Hope this helps

Bob

Peter Hurn

ungelesen,
04.11.2020, 06:07:3804.11.20
an weewx-user
Hi Bob, 

Really appreciate your help building this driver.

I have the Bresser 7002570 and have  just reinstalled my Pi but have run into an issue.

I followed the instruction using Python 3 and pip3, so "pip3 install crcmod"

After I enter "sudo wee_config --reconfigure" I complete the station information then see the station options as follows:

Installed drivers include:
0) ? (user.ws6in1) No module named 'crcmod'

  1. AcuRite (weewx.drivers.acurite)

....

After selecting 0 and entering the station information I receive the following:

Traceback (most recent call last):

File "/usr/share/weewx/wee_config", line 123, in
main()
File "/usr/share/weewx/wee_config", line 117, in main
config_mgr.run(args, options)
File "/usr/share/weewx/weecfg/config.py", line 114, in run
stn_info = self.get_stn_info(config_dict, options)
File "/usr/share/weewx/weecfg/config.py", line 155, in get_stn_info
stn_info.update(weecfg.prompt_for_driver_settings(driver, config_dict))
File "/usr/share/weewx/weecfg/init.py", line 1685, in prompt_for_driver_settings
import(driver)
File "/usr/share/weewx/user/ws6in1.py", line 369, in
import crcmod
ModuleNotFoundError: No module named 'crcmod'

Any help gratefully received.

Peter.


Bob Atchley

ungelesen,
04.11.2020, 13:38:3004.11.20
an weewx-user
Hi Peter,

I recently reinstalled weewx and the WS6in1 driver on a RaspberryPi 4 (previously on a rPi 2) and hit the same problem
I solved it by installing the crcmod library via the apt command:

$ sudo apt install python3-crcmod

Not sure why the pip3 command didn't provide the needed files, this wasn't needed originally.

I am in the process of updating the readme.txt to add this and focus on python3 installation.
As the driver seems stable I'm also going to up it to version 1.0 (but no code changes from 0.9 other than changing the version number)

Hope this helps

Bob

Peter Hurn

ungelesen,
08.11.2020, 09:26:1908.11.20
an weewx-user
Thanks Bob, that worked.

Paul Eaton

ungelesen,
22.11.2020, 12:24:2722.11.20
an weewx-user
Hi Bob,
Just thought you might like to know your ws6in1 driver works just as well for the Bresser PC 5 in 1 station (Model No. 7002571). It uses the same console as the PC 6 in 1 station but a simpler sensor rig (no UV). I've had it running successfully on Lubuntu 18.04 and now on a Raspberry Pi 4b.
Regards, Paul

Bob Atchley

ungelesen,
22.11.2020, 13:29:0522.11.20
an weewx-user
Thats a new one !  Thanks Paul.  Maybe I need to rename the driver, WS6in1 doesn't quite fit any more.  Garni, Ventus and Youshiko (and probably others) will probably be selling similar 5 in 1 weather stations

Regards

Bob

Arend

ungelesen,
22.11.2020, 15:33:2722.11.20
an weewx-user
Hi Bob,

I found another brand that sells a 5-in-1 clone. But I think CCL Electronics is the original developer/manufacturer. They had the 6-in-1 on their website in the past, but can't find it anymore. I guess end of life production for our 6-in-1 model.



Regards, Arend

Op zondag 22 november 2020 om 19:29:05 UTC+1 schreef Bob Atchley:

Paul Eaton

ungelesen,
23.11.2020, 09:19:3823.11.20
an weewx-user
Hi Bob,

I think I agree with Arend about CCL Electronics. My Bresser 5 in 1 looks identical to their Pro Weather C8488B / C3113A. So, best of luck choosing another name for the driver to cover all options - I think I'd stick with WS6in1 ! A better bet might be to add to the list of models in your GitHub readme.txt

As a follow on though, is it possible to change the name WeeWX shows for "Hardware" in "About this weather station" - at the moment it shows WS6in1. I've tried editing the station_type and [WS6in1] just above driver = user.ws6in1 and restarting WeeWX but no joy, WeeWX fails to run.

Regards, Paul

Bob Atchley

ungelesen,
23.11.2020, 12:37:4523.11.20
an weewx-user
Hi Paul,

Yes, I wish I had known about CCL Electronics before, almost definitely the manufacturer.  I'll stick with the current name but update the Readme.

As for 'About this weather station', the 'model' parameter is optionally supported, I have mine set to "model = Youshiko YC9388 (WS6in1)"

Regards

Bob

Paul Eaton

ungelesen,
24.11.2020, 05:54:1524.11.20
an weewx-user
Hi Bob,

Thanks for the reply regarding the "model" parameter but it's got me a bit confused (easily done!) I've been trying to edit the weewx.conf file where there is a line "station_type = WS6in1" but as I said that doesn't seem to work. You have referred to "model = " as the line to edit to but I can't see that in weewx.conf so I'm assuming it's in a different file but I'm not sure where to look.

Regards, Paul

Bob Atchley

ungelesen,
24.11.2020, 12:23:5924.11.20
an weewx-user
Hi Paul,

Within the weewx.conf file In the WS6in1 driver section simply add "model = abc" as an additional parameter, replacing abc with whatever you want to call it.
So mine reads:
[WS6in1]
    # This section is for the 6in1 series of weather stations.
    # model - this is optional
    model = Youshiko YC9388 (WS6in1)
    
    # The driver to use:
    driver = user.ws6in1

Hope this helps

Regards

Bob

Paul Eaton

ungelesen,
24.11.2020, 15:11:3524.11.20
an weewx-user
Many thanks Bob, that did the trick.

Just set up on Weathercloud. ID = d0878973678 if you're interested.

Have a nice evening.

Regards, Paul

Paul Eaton

ungelesen,
26.11.2020, 12:13:3426.11.20
an weewx-user
Not sure if I should ask this here or start a new conversation but I've got a question about how WeeWX deals with reporting UV Index.

The console that comes with these 5in1 and 6in1 stations has the capability of reporting UV Index as required by the 6in1 station with a UV sensor. With the 5in1 station, which doesn't have a UV sensor, it is outputting a value of zero. This gets picked up by WeeWX and is reported as 0.0.

My question is can I "turn off" WeeWX reporting this erroneous UV Index?

Paul

Bob Atchley

ungelesen,
26.11.2020, 12:54:1826.11.20
an weewx-user
Hi Paul,

I'm not sure if this will work, but in another thread Gary let us know that if you are using weewx 4.2 it is possible to add corrections:
[StdCalibrate]
    [[Corrections]]
        UV = None

It might not work, but a simple solution if it does (may be it should be UV = Null, not sure)

Regards

Bob

Paul Eaton

ungelesen,
26.11.2020, 15:52:2226.11.20
an weewx-user
Many thanks again Bob, UV = None worked a treat.

In a bit more detail, after adding UV = None the "UV Index" entry in WeeWX "Current Conditions" changed to read N/A although in the "High/Low" section it still read 0/0.

The blank UV Index graphs were still there as there were still data (albeit zeroes) associated with them, so I deleted the weewx.sdb database file. Now, after the database reset, there is no mention at all of UV Index in Current Conditions or High/Low and no UV Index graphs.

On Weathercloud the UV Index sensor is now dimmed. The UV Index graph is still there as I guess it retains some data but that's not a problem (it might disappear after the current month is up!).

So I'm happy!

Regards, Paul

Tom Keffer

ungelesen,
26.11.2020, 20:00:4726.11.20
an weewx-user
As Bob suggested, setting UV to None is the simplest solution. But, normally, None means a bad value.

Really, the driver should not emit anything at all if the sensor does not exist.

-tk

--
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.

Graham Eddy

ungelesen,
26.11.2020, 23:48:4026.11.20
an weewx...@googlegroups.com
maybe introduce a [[Filter]] section to complement [[Corrections]] section? would be good to clean the packet from ‘noisy’ drivers and services

Paul Eaton

ungelesen,
27.11.2020, 14:29:1727.11.20
an weewx-user
Hi Tom and Graham

Good of you to contribute to the discussion but for my part I'll have to stand on the sidelines. My programming skills don't get much further than "Hello, World!"

It's by good fortune I stumbled on Bob's WS6in1 driver after I bought my weather station. Without it I wouldn't have been able to enjoy its full potential. I've really enjoyed getting to grips with WeeWX but I've still got a lot to learn.

Regards, Paul

Bob Atchley

ungelesen,
28.11.2020, 09:59:2928.11.20
an weewx-user
Hi Paul,

I agree with Tom.  Using the 'Correction' field is a good work around, but not really the best long term solution.
So I have released 1.02 of the WS6in1 driver.  Apart from updating the readme.txt giving updated details of the additional supported weather stations the only other change is introducing an optional wsType driver parameter.  If this is set to "WS5in1" the UV packet is suppressed from being sent to the weewx engine.

Regards
Bob

Paul Eaton

ungelesen,
28.11.2020, 14:50:4828.11.20
an weewx-user
Sorry Bob, could you just walk me through updating the driver to 1.02

Thanks, Paul

Bob Atchley

ungelesen,
28.11.2020, 15:15:2928.11.20
an weewx-user
Hi Paul
In your case you need to 
1) Either follow steps 2 and 3 of the installation in the readme.txt or if you know where the ws6in1.py is located simply replace it with the updated one from github (location is dependent on how you did the original weewx installation)
2) Update your weewx.conf file to add the line:
wsType = WS5in1

(add it immediately after or before the 'model = ...'  line you have already added)
3) Restart weewx

Regards

Bob

Paul Eaton

ungelesen,
28.11.2020, 17:01:5528.11.20
an weewx-user
Hi Bob

All sorted. Downloaded and installed the new driver, added wsType = WS5in1, deleted the UV = None from StdCalibrate/Corrections and restarted weewx. All running as hoped for, no UV output.

Have also done the change to "software" for heatindex, rainRate and windchill.

Many thanks to all concerned.

Regards, Paul

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten