A few notes on how units work in weewx.

1. I don't know where your screenshot came from, but the units it shows are
not consistent. Some are in inches (unit system US), some are in km/h (unit
system METRIC). This may be OK, but once the SDR driver has consumed them,
it is essential that it emit LOOP packets with a consistent unit system. It
can be US, METRIC, or METRICWX, but, within a packet, it cannot be a mix.
So, what you really need to check are the LOOP packets, not what's coming
out of rtl_433. You can do this by running weewxd directly
<http://www.weewx.com/docs/usersguide.htm#Running_directly>. It will print
out the packets to the console. Make sure each packet has the values and
units you expect.

2. The windguru website demands wind in knots. The windguru uploader
does this conversion for you. So long as your database uses a consistent
unit system, the conversion will be done automatically.

3. The weewx.conf setting you showed (group_speed and group_speed2) are for
your *reports*. They have no effect on uploaders. A well-designed uploader
knows what units its target wants, and does the conversion for you.

-tk

-tk

On Fri, Jun 5, 2020 at 6:34 AM Sean Jahnig <[email protected]> wrote:

> Hi guys,
>
> I have identified that the acurite 5-in-1 and the SDR are working but the
> information coming form the sensor is km/h. This is what it looks like when
> i run rtl_433 from the console:
> https://www.dropbox.com/s/trnj0sype60w6m1/picture.png?dl=0
>
> The problem is, weewx is broadcasting the 'km/h' reading to windguru as if
> it were a 'knots' reading https://www.windguru.cz/station/2146. I have
> proven this by disabling the rtl_433 command in weewx.conf and then running
> directly from the console. I see the wind_speed is 10km/h and then i
> re-enable rtl_433 in weewx.conf and reboot... and 5 minutes later with the
> same wind conditions it is reporting 10 knots to windGuru.
>
> I have tried changing the below settings in weewx.conf to 'knots' but it
> did not fix the problem. Any ideas?
>
> group_speed = knot    # Options are 'mile_per_hour', 'km_per_hour',
> 'knot', or 'meter_per_second'
>
> group_speed2 = knot2    # Options are 'mile_per_hour2', 'km_per_hour2',
> 'knot2', or 'meter_per_second2'
>
> Thanks,
> Sean.
>
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CALeSoZnbWtvBaac7yPNRTA26XfcfGoA5SomBtKHaN%2BDbLZTCJQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CALeSoZnbWtvBaac7yPNRTA26XfcfGoA5SomBtKHaN%2BDbLZTCJQ%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDayz0THOJAbP6goRYVh6F%3DR2K0BxJRD6VAcrUTBrV%3DyA%40mail.gmail.com.

Reply via email to