I'll try again, it appears my first message failed to get through.
---------- Forwarded message ---------- [...] Cc: weewx-development <[email protected]> Hi Clay, The original UradMon A3 (https://www.uradmonitor.com/) had, along with various other environment sensors, a gieger counter that registered in cpm. I've recently updated that driver (https://github.com/glennmckechnie/weewx-uradmon) for it to return microSieverts/hour rather than its default of cpm. Rather than use the inbuilt group_radiation which defaults to W/m2 (as you note); I created group_ion_radiation (ionizing) and set cpm, micro_sievert_hour as its units. That gave the flexibilty to enforce its unusual, but default, cpm value; convert to micro_sievert_hour and keep it all self contained (for the driver only). It also uses other units which are now in weewx, but weren't when the driver was written. I've kept them for backwards compatability. Link to the code follows. https://github.com/glennmckechnie/weewx-uradmon/blob/master/bin/user/uradmon.py On Wednesday, 16 March 2022 at 3:33:32 pm UTC+11 [email protected] wrote: > Here's one a bit "off the wall" - I happen to live near Hanford, WA (2nd > largest radiation cleanup site in the world, behind Chernobyl) and I'm also > interested in "Space Weather". So, when mightyohm (www.mightyohm.com) > put their Geiger counter on sale last year, I snapped one up. I have it > connected to a pi and reporting microSieverts/hour to MQTT and on the > weewx. > > Right now, I'm using signal1 as the "bucket" to hold the data; but, I got > to thinking about adding it as a data type with units. Looks pretty > straightforward and I'll certainly share. I was wondering if anyone else > has thought about this, or perhaps has already done it. > > One "interesting side effect" is that right now there's already a database > field named "Radiation", which might be more accurately named > "Insolation". Not sure yet what I'm going to do about that. > > Anyone have any thoughts/suggestions? > > > -- 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/e888c0f5-6660-4974-8a5b-1c9cf6b4ed1bn%40googlegroups.com.
