Hi, 

I work to implement a second data source with Netatmo Station and let the 
driver to the Davis Vantage Pro 2.

But the new StdService can't convert US unit to my database unit (Database 
is set to Metric). 
I've set this on the top of my py file but the conversion doesn't work : 

import weewx.units
from weewx.engine import StdService

weewx.units.obs_group_dict['windSpeedNetatmo'] = 'group_speed'
weewx.units.obs_group_dict['windGustNetatmo'] = 'group_speed'
weewx.units.obs_group_dict['rainNetatmo'] = 'group_rain'
weewx.units.obs_group_dict['windGustDirNetatmo'] = 'group_direction'
weewx.units.obs_group_dict['windDirNetatmo'] = 'group_direction'
weewx.units.obs_group_dict['barometerNetatmo'] = 'group_pressure'
weewx.units.obs_group_dict['outTempNetatmo'] = 'group_temperature'
weewx.units.obs_group_dict['datetimeNetatmo'] = 'group_time'

The StdService can convert unit or not ?

Thank's a lot. 


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/18d0423d-2722-46f3-a834-9516e3a008d0n%40googlegroups.com.

Reply via email to