Hi, I've built my own air quality meter and I'm hooking it up to Weewx. I'm abusing the leafTemp1 and leafTemp2 fields to store PM2.5 and PM10 values. I've customized the Acurite driver to put these into the database. I have several other non-standard sensors that I added years ago to this driver and I'm planning on forking the driver as soon as I've done this particular customization. That's not the problem.
The problem I'm having is that there's a conversion going on between degC and degF for my data that's not a temperature. I can't find where the fields declare what unit group they are part of. I can't find it in the documentation or through a quick look in the codebase. I suppose what I should do is use the new tools to add 2 new fields and remove the 2 leafTemp fields that I don't think I'd ever use, but I think it would be easiest to just re-use the leafTemp fields if I change the unit group. Worst come to worst, I have a super klugy solution of doing a degF to degC conversion in the driver before I save the data, but that's too much a hack even for me. -- 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/2f35f149-717f-4788-a2b5-c36834123a8en%40googlegroups.com.
