I have a MightyOhm Geiger Counter kit that I haven't built yet.
My bias in these situations is MQTT. It seems more complicated but it
lets you break the problem into small pieces that can be tested
separately, and then the geiger counter piece and the weewx piece are
totally decoupled. So steps would be (and this is my plan):
1. install mosquitto as a broker. If you skip TLS and auth because
it's your LAN it's easy. Doing it right is only a little harder.
2. Write python code to send the counts to a topic, using paho mqtt.
or pick your language, doesn't matter. Or even do something really
bogus like invoking mosquitto_pub as a shell command.
3. use mosquitto_sub to verify that the data is arriving
4. use the weewx mqttsubscribe extension to put the data into weewx
5. realize that you can also set up home assistant, and use the same
sensor via mqtt, and turn the heat onin your fallout shelter when
radiation levels increase, so it will be comfy when you go in. That's
obviously humor, but Home Assistant complements weewx and you will
want all weatherish data in both.
Step 2 isn't really that hard. I have code for ups-nut (not about
weewx) to monitor power status and am going to clean it up and publish
it.
Yes, you could write a weewx service to parse the mighty ohm data and
inject it, but with mqtt, you can keep that totally separate and you can
have the counter on a different machine in a different place.