Latest PyRadmon.py for raspberry pi OS/ geiger not detected ?

More
2 months 3 weeks ago - 2 months 3 weeks ago #6145 by whyza
Can anyone point me to the latest PyRadmon.py ?

I want to run it on raspberry pi OS Bullseye

I can only seem to find a python 2 version .

If this is the latest version, I am having issues with data being detected.

My mightohm geiger is not detected using any of the protocols

I have confirmed the serial port is functional and receiving data via minicom as per

CPS, 1, CPM, 10, uSv/hr, 0.05, SLOW

I get these messages upon running PyRadmon.py

./PyRadmon.py
Reading configuration:
    User name configured    
    Password configured
    Serial port name configured
    Serial port speed configured
    Protocol configured   
    Device number configured  
    Protocol configured
Using myGeiger protocol for 1 => geiger 1
Gathering data started => geiger 1
No samples in queue, waiting 5 seconds => geiger 1
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "./PyRadmon.py", line 178, in run
    except serial.SerialException as e:
AttributeError: 'module' object has no attribute 'SerialException'
No samples in queue, waiting 5 seconds => geiger 1
No samples in queue, waiting 5 seconds => geiger 1

which seems related to the serial error handling code 

Any pointers appreciated.

Thanks
Last edit: 2 months 3 weeks ago by whyza.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #6153 by whyza
It looks like the best solution with the Raspberry Pi is to simply use a bash script, which didn't take long to figure out after looking at some of the examples available.

Alternatively use a Arduino ESP to upload data from.

Please Log in or Create an account to join the conversation.

Time to create page: 0.125 seconds
Powered by Kunena Forum
Solar powered Raspberry Pi 4 server stats: CPU 31% Memory 15% Swap 20% CPU temp=73.5'C Uptime 63 Days