I am using the SDR driver to grab stats from an RTL_433 capable devices. It 
grabs the data from the device and places in the loop packets in 
Farenheight - which is exactly what I want.

Problem is, these are custom database fields that I created for them, so 
now I need to tell WeeWx which units to use. Once I tell it which unit to 
use, WeeWx is taking it upon itself to do an unwanted conversion. It 
probably thinks I am giving it to WeeWx in C and trying to convert to F, 
when really all I want to do is take my perfect measurement and apply a 
unit to it for reports.

What am I missing? How can I apply a unit and NOT have it perform any 
conversions?

*weewx.conf*
[StdConvert]
target_unit=US

*user/extensions.py *
import weewx.units
weewx.units.obs_group_dict['BasementTemp'] = 'group_temperature'
weewx.units.obs_group_dict['CrawlSpaceTemp'] = 'group_temperature'


Oct 6 15:48:13 weewx weewx[23355] WARNING weewx.qc: 2020-10-06 15:48:03 EDT 
(1602013683) LOOP value 'BasementTemp' 166.06400000000002 outside limits 
(10.0, 120.0)
Oct 6 15:48:13 weewx weewx[23355] WARNING weewx.qc: 2020-10-06 15:48:09 EDT 
(1602013689) LOOP value 'CrawlSpaceTemp' 155.696 outside limits (10.0, 
120.0)
Oct 6 15:48:24 weewx weewx[23355] WARNING weewx.qc: 2020-10-06 15:48:19 EDT 
(1602013699) LOOP value 'BasementTemp' 166.06400000000002 outside limits 
(10.0, 120.0)
Oct 6 15:48:30 weewx weewx[23355] WARNING weewx.qc: 2020-10-06 15:48:25 EDT 
(1602013705) LOOP value 'CrawlSpaceTemp' 155.696 outside limits (10.0, 
120.0)

-- 
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/f59a35ce-041c-4203-987a-bb25b74a042an%40googlegroups.com.

Reply via email to