That's a lot of words, but I still think you're possibly overthinking. Anyway, I'm pretty lost re: what you're actually trying to do.
- There is a sample mapping of Tempest UDP elements to Weewx database elements both in the driver code and in the docs on the github site for the driver. - There are a couple forks of the original driver, but they all have an example looking like (this map) <https://github.com/jjvdgeer/weatherflow-udp/blob/master/sample_Tempest_sensor_map> So using outside temperature as an example, you'll see a mapping that looks like: - outTemp = air_temperature.ST-00000025.obs_st Which means: - map the driver's air_temperature element - for sensor ST-00000025 - from the obs_st observation type emitted by the WF gear - to weewx's outTemp database element The driver's terminology is in the code around line 211 of the driver (here) <https://github.com/jjvdgeer/weatherflow-udp/blob/master/bin/user/weatherflowudp.py>. So why is it different ? Because the driver references the WF UDP API (here) <https://weatherflow.github.io/Tempest/api/udp/v143/> which uses the description 'air temperature' in the obs_st (tempest observation) type. The driver is written to reconcile versus the vendor's public API. The mapping reconciles that to weewx-speak. So what units does outTemp use and how do you figure THAT out ? - it's set in your weewx.conf or skin.conf for the item group_temperature - which is documented in the Customization Guide <http://weewx.com/docs/customizing.htm#units> appendix detailing the units weewx uses for each thing in the database So if you want to see the mapping of any database element to units, just reference the Customization Guide appendix. This stuff really is documented in excruciating detail, but it is a bit of a trail of things to follow to put all the pieces together notionally. -- 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/aacbce2b-4436-43d9-a85a-d0ed0699366bn%40googlegroups.com.
