pyradmon feature request
- ThibmoRozier
- Offline
- Elite Member
9 years 10 months ago #508
by ThibmoRozier
Replied by ThibmoRozier on topic pyradmon feature request
Indeed, and it is under the development section due to testing phase.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #509
by Juzzie
Owner and operator of "southofhobart" monitoring stations.
Replied by Juzzie on topic pyradmon feature request
got it.
Owner and operator of "southofhobart" monitoring stations.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #514
by Frank
Replied by Frank on topic pyradmon feature request
Interesting, got it, thanks
Please Log in or Create an account to join the conversation.
9 years 8 months ago #921
by Marc
Marc PC1MH
Replied by Marc on topic pyradmon feature request
I plug out my Geiger counter and plug it in. Its now on USB1 instead of USB0 and pyradmon stops working.
Need to fix this.
Create a file called geiger.rules in /etc/udev/rules.d
Add the line SUBSYSTEM=="tty", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="geiger"
to the file if its a GQ electronics GMC 320 but other data if its another counter. (There are ways to get the data.)
After reboot a device called @geiger will be created in /dev
Edit the pyradmon config.txt and set the serial port to /dev/geiger
Now pyradmon will always connect to the counter whatever USB port it is on.
Now this is a feature request, remember?
Need to fix this.
Create a file called geiger.rules in /etc/udev/rules.d
Add the line SUBSYSTEM=="tty", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", SYMLINK+="geiger"
to the file if its a GQ electronics GMC 320 but other data if its another counter. (There are ways to get the data.)
After reboot a device called @geiger will be created in /dev
Edit the pyradmon config.txt and set the serial port to /dev/geiger
Now pyradmon will always connect to the counter whatever USB port it is on.
Now this is a feature request, remember?
Marc PC1MH
Please Log in or Create an account to join the conversation.
9 years 6 months ago #1167
by dolphin
Replied by dolphin on topic pyradmon feature request
Thank you, Marc! I just added it to my computer, works like a charm, fixes the problem of more than one ttyUSB device attached (so they go up on different numbers after reboots).
Easy to get by doing a dmesg command in a command line, after attaching a new USB device. Device's IDs will be shown there.
ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303",
(There are ways to get the data.)
Easy to get by doing a dmesg command in a command line, after attaching a new USB device. Device's IDs will be shown there.
Please Log in or Create an account to join the conversation.
- ThibmoRozier
- Offline
- Elite Member
9 years 5 months ago - 9 years 5 months ago #1191
by ThibmoRozier
Replied by ThibmoRozier on topic pyradmon feature request
Will look into it asap.
First, *Good news everybody~!*
The code has gotten a little cosmetic make-over and now has logging.
The log will be in the same directory as the code and the config file.
For now it is only "PyRadmon with audio", the others will follow after a short moment of testing.
At this moment your first running log should look along the lines of:
First, *Good news everybody~!*
The code has gotten a little cosmetic make-over and now has logging.
The log will be in the same directory as the code and the config file.
For now it is only "PyRadmon with audio", the others will follow after a short moment of testing.
At this moment your first running log should look along the lines of:
22/05/2015 20:47:50 PM - PyRadmon (Audio) - INFO - --------------------------------------- EOL ---------------------------------------
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Reading configuration
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - User name configured
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Password configured
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Serial port name configured
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Serial port speed configured
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Protocol configured
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Device number configured
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Protocol configured
22/05/2015 20:47:53 PM - PyRadmon (Audio) - INFO - Using DEMO protocol for 1 => geiger 1
22/05/2015 20:48:03 PM - PyRadmon (Audio) - INFO - Connecting to server => geiger 1
22/05/2015 20:48:04 PM - PyRadmon (Audio) - INFO - Server response => geiger 1: HTTP/1.1 200 OK
22/05/2015 20:48:34 PM - PyRadmon (Audio) - INFO - Connecting to server => geiger 1
22/05/2015 20:48:35 PM - PyRadmon (Audio) - INFO - Server response => geiger 1: HTTP/1.1 200 OK
22/05/2015 20:48:37 PM - PyRadmon (Audio) - ERROR - CTRL+C pressed, exiting program:
Traceback (most recent call last):
File "C:\Users\Thimo\Desktop\python\Source\pyradmon-reborn-code\PyRadmon\PyRadmon.py", line 758, in main
time.sleep(0.5)
KeyboardInterrupt
22/05/2015 20:48:37 PM - PyRadmon (Audio) - WARNING - Waiting and reap threads
22/05/2015 20:48:38 PM - PyRadmon (Audio) - INFO - Stopping alive thread: baseGeigerCommunication
22/05/2015 20:48:39 PM - PyRadmon (Audio) - INFO - Shutting down application *Bye-bye*
22/05/2015 20:48:39 PM - PyRadmon (Audio) - INFO - --------------------------------------- EOL ---------------------------------------
Last edit: 9 years 5 months ago by ThibmoRozier.
Please Log in or Create an account to join the conversation.
Moderators: Gamma-Man
Time to create page: 0.187 seconds