Vince - yea, my way of apologizing for running down some rabbit hole i didn't need to. Thanks for the guidance, I'll map it out and see if it works. I'll try to get a decent mapping setup and forward to you for comment. My next attempt is to install and use Belchertown skins.
On Wednesday, March 3, 2021 at 8:31:12 AM UTC-8 vince wrote: > 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/755c6aa7-0b16-44bc-988c-20a70bfb5701n%40googlegroups.com.
