PyRadmon install and set up on Raspberry Pi (Wheezy Raspbian)

More
8 years 6 months ago #1387 by jnissen
Looks like we have a winner! So far nearly a week of solid reporting! Way to go.

The only change I had to make for the BeagleBone Black was to change the default timeout for the serial port from the 1 second to 4 seconds. I also added a 0.1s delay after the CPM request is sent to the unit. I think those are mainly due to the interaction with the GMC Geiger Counter I have and the Beagle Bone. The GMC is terrible about having a variable response time once it gets the CPM command. The GMC firmware is not something that can be fixed - I asked many moons ago. Anyway bottom line is I am very happy with the performance of late.

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

More
8 years 6 months ago #1388 by ThibmoRozier
Amazing to hear that. :D
GMC firmware can surely be fixed if the programmers just open their eyes and look at the reviews that their customers give them about their products. ;)
Or if they give their firmware to others (me or Dan or anyone else knowing how to program in C and how to compile using GCC).
But that's just something I won't see happening any time soon. :P

I will see what I can do on PyRadmon's side. :)

Thanks again for testing, it's awesome that you are willing to do so :)

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

More
8 years 6 months ago - 8 years 3 months ago #1393 by jnissen
Yes now over a week and it would have died at least one or more times by now. I think you nailed it. Fantastic support!

Update - Now over two weeks straight and I have done nothing to it. Running rock solid! Very good fix.
Update 2 - This ran for three months solid without touching it!
Last edit: 8 years 3 months ago by jnissen.
The following user(s) said Thank You: ThibmoRozier

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

More
8 years 2 months ago #1732 by matthieu
Hi,
I can't seem to get this to work with my radbox-20. The only difference is that I am running Jessie for obious reasons (Wheezy is going to LTE-maintenance in February, I would like to start with Jessie right away to avoid the update later on).

Here are the exact steps I took:
- burned a fresh raspbian jessie lite (dated 2015-11-21) to the sd card
- booted the raspberry pi 1st gen, connected via SSH
- sudo apt-get update && sudo apt-get upgrade
- sudo apt-get install python python-dev python-serial
- sudo apt-get install python-pyaudio
- Get pyradmon, run it to generate config
- run alsamixer to make sure the external card shows up
- run pyradmon again. Here is the output:
Warning: Spoiler!


By the way: I had to convert the pyradmon using dos2unix because weirdly all files were Windows-ended.

Best Regards,
Matthieu

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

More
8 years 2 months ago #1733 by matthieu
alsamixer output:
Warning: Spoiler!

(Hope the ascii-art is readable after posting it ;)

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

More
8 years 2 months ago #1734 by ThibmoRozier
That's weird because my RPi runs it without an issue.

I have a few questions now:
1> If you look at the config file it will tell you all available devices and how to configure them.
2> Does the compiled version work? PyRadmon.pyc

About the error:
It seems that PyAudio lib has some issues surpressing enummeration attempt errors.
This is a PyAudio issue that's rather well known.

What I will surely do now:
1> Update a few things in the source to try and get a better enummeration of devices.
2> Update port opening to new standards.

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

Moderators: Gamma-Man
Time to create page: 0.237 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 35% Memory 12% Swap 12% CPU temp=52.1'C Uptime 19 Days