PyRadmon-Reborn v2.0.0
- ThibmoRozier
- Topic Author
- Offline
- Elite Member
5 years 9 months ago - 5 years 9 months ago #4260
by ThibmoRozier
PyRadmon-Reborn v2.0.0 was created by ThibmoRozier
Hello everyone!
After a long time I've returned to make a big update to PyRadmon-Reborn.
As some of you know I moved the repository to Github, the repository can be found here: https://github.com/thibmo/PyRadmon-Reborn
The rewrite will take some time and I will update this post along the way.
PyRadmon-Reborn is being rewritten for Python 3.x. The contents of requirements.txt:
Sneak-peek:
After a long time I've returned to make a big update to PyRadmon-Reborn.
As some of you know I moved the repository to Github, the repository can be found here: https://github.com/thibmo/PyRadmon-Reborn
The rewrite will take some time and I will update this post along the way.
PyRadmon-Reborn is being rewritten for Python 3.x. The contents of requirements.txt:
cffi==1.11.5
numpy==1.16.0
pip==18.1
pycparser==2.19
pyserial==3.4
setuptools==40.6.3
SoundCard==0.2.2
Sneak-peek:
Last edit: 5 years 9 months ago by ThibmoRozier.
The following user(s) said Thank You: mw0uzo
Please Log in or Create an account to join the conversation.
5 years 9 months ago #4264
by mw0uzo
Replied by mw0uzo on topic PyRadmon-Reborn v2.0.0
Great news Thimo!! Good to see you posting again on the forum, welcome back!
The following user(s) said Thank You: ThibmoRozier
Please Log in or Create an account to join the conversation.
- ThibmoRozier
- Topic Author
- Offline
- Elite Member
5 years 9 months ago - 5 years 9 months ago #4275
by ThibmoRozier
Replied by ThibmoRozier on topic PyRadmon-Reborn v2.0.0
Right, I can now have people test the new revision.
At the moment it only supports 1 single device, not multiple devices. (Might re-add this in an improved manner in the future.)
Attached is the test revision. If there are any issues, please do tell me.
To use it as a service you need to:
At the moment it only supports 1 single device, not multiple devices. (Might re-add this in an improved manner in the future.)
Attached is the test revision. If there are any issues, please do tell me.
To use it as a service you need to:
- Install python3 and pip (if they are not installed yet): apt-get install python3-pip
- Install PySerial (if you wish to use a serial device): python3 -m pip install --upgrade pyserial
- Install SoundCard (if you wish to use an audio device): python3 -m pip install --upgrade SoundCard
- Download the script to some directory, eg /var/pyradmon/pyradmon.py
- Change the permissions of the script: chmod 755 /var/pyradmon/pyradmon.py
- Run the script one to generate the default settings, then modify the settings file: /var/pyradmon/pyradmon.py
- Login as root (su - or sudo su -)
- Download the service file to /lib/systemd/system/pyradmon.service
- Modify the service file if needed
- Change the permissions of the service file: chmod 644 /lib/systemd/system/pyradmon.service
- Reload the SystemD service daemon: systemctl daemon-reload
- Enable the PyRadmon service: systemctl enable pyradmon.service
Last edit: 5 years 9 months ago by ThibmoRozier.
The following user(s) said Thank You: mw0uzo
Please Log in or Create an account to join the conversation.
- ThibmoRozier
- Topic Author
- Offline
- Elite Member
5 years 9 months ago #4276
by ThibmoRozier
Replied by ThibmoRozier on topic PyRadmon-Reborn v2.0.0
Please Log in or Create an account to join the conversation.
5 years 9 months ago #4279
by mw0uzo
Replied by mw0uzo on topic PyRadmon-Reborn v2.0.0
Ah cool you can set it up as a service! I'll try this soon, as I need to rejig my radmon setup and get it going again. Thank you Thimo!
The following user(s) said Thank You: ThibmoRozier
Please Log in or Create an account to join the conversation.
- ThibmoRozier
- Topic Author
- Offline
- Elite Member
5 years 9 months ago - 5 years 9 months ago #4281
by ThibmoRozier
Replied by ThibmoRozier on topic PyRadmon-Reborn v2.0.0
Found I got a type error when reading from the serial bus (Bytes is not compatible with string), fixed with decode()
Here it is running on my Raspberry Pi 1 Model B+ with a RH MyGeiger rev 1.02 attached via a modded-on UART-to-USB:
Here it is running on my Raspberry Pi 1 Model B+ with a RH MyGeiger rev 1.02 attached via a modded-on UART-to-USB:
Last edit: 5 years 9 months ago by ThibmoRozier.
Please Log in or Create an account to join the conversation.
Moderators: Gamma-Man
Time to create page: 0.172 seconds