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

More
1 year 11 months ago - 1 year 11 months 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: 1 year 11 months ago by whyza.

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

More
1 year 10 months 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.

Moderators: Gamma-Man
Time to create page: 0.120 seconds
Powered by Kunena Forum
Everything's free. Please support us by considering a donation. Log in first!
Solar powered Raspberry Pi 4 server stats: CPU 33% Memory 12% Swap 18% CPU temp=56.9'C Uptime 50 Days