-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main.py gets killed sometimes when recording #14
Comments
Okay found logs (dmesg) [ 2781.272968] lowmem_reserve[]: 0 0 0 So i am running out of memory on my raspberry pi 3b+ |
Jan 21 17:56:10 raspberrypi python3[400]: Exception in thread Thread-1: |
Hi, |
Thank you. The configuration file is very confusing. I dont get how i can set a frequency to ignore. It is permanently recording 144.600, i want to exclude this. Also i want to reduce the gain a little bit as it is very noisy for me. But i like it, it works on my raspberry pi also! |
Support of json configuration file (like in python) will be added in future. For now you have to change this lines:
|
Can you please give me an example for this and the gain. |
Example to scan 430-440 MHz (with step 125 Hz) and 140-150 MHz (with step 250 Hz) and exclude 433-434 MHz use:
Example for gain 49.6:
Example for gain 22.9:
Disable gain:
Hope it helps you! |
It does! Thank you! |
To check check gain values supported by your scanner:
|
[2022-01-21 15:42:58.089][ DEBUG][ sdr] frequency: 145,081,420 Hz, power: -10.01 dB ________________________________________
[2022-01-21 15:42:58.090][ DEBUG][ sdr] frequency: 145,477,783 Hz, power: -10.00 dB ________________________________________
[2022-01-21 15:42:58.090][ DEBUG][ sdr] frequency: 145,535,156 Hz, power: -9.93 dB ________________________________________
[2022-01-21 15:42:58.090][ DEBUG][ sdr] frequency: 145,579,833 Hz, power: -10.03 dB ________________________________________
[2022-01-21 15:42:58.091][ DEBUG][ sdr] frequency: 145,650,146 Hz, power: -4.73 dB #####################___________________
[2022-01-21 15:42:58.091][ DEBUG][ sdr] --------------------------------------------------------------------------------
[2022-01-21 15:42:58.091][ INFO][ sdr] new recording: 145,650,146 Hz
[2022-01-21 15:43:06.536][ DEBUG][ sdr] frequency: 145,086,059 Hz, power: -9.95 dB ________________________________________
[2022-01-21 15:43:06.583][ DEBUG][ sdr] frequency: 145,524,902 Hz, power: -9.99 dB ________________________________________
[2022-01-21 15:43:06.584][ DEBUG][ sdr] frequency: 145,569,458 Hz, power: -9.99 dB ________________________________________
[2022-01-21 15:43:06.584][ DEBUG][ sdr] frequency: 145,650,146 Hz, power: -4.72 dB #####################___________________
[2022-01-21 15:43:06.584][ DEBUG][ sdr] frequency: 145,847,167 Hz, power: -9.98 dB ________________________________________
[2022-01-21 15:43:06.585][ DEBUG][ sdr] --------------------------------------------------------------------------------
[2022-01-21 15:43:06.595][ INFO][ sdr] close recording: 145,650,146 Hz, time: 0.53s, too short, removing
[2022-01-21 15:43:09.739][ DEBUG][ sdr] frequency: 145,588,134 Hz, power: -10.00 dB ________________________________________
[2022-01-21 15:43:09.740][ DEBUG][ sdr] frequency: 145,650,146 Hz, power: -4.74 dB #####################___________________
[2022-01-21 15:43:09.740][ DEBUG][ sdr] frequency: 145,716,674 Hz, power: -9.93 dB ________________________________________
[2022-01-21 15:43:09.741][ DEBUG][ sdr] frequency: 145,739,135 Hz, power: -10.01 dB ________________________________________
[2022-01-21 15:43:09.741][ DEBUG][ sdr] frequency: 145,773,437 Hz, power: -9.99 dB ________________________________________
[2022-01-21 15:43:09.741][ DEBUG][ sdr] --------------------------------------------------------------------------------
[2022-01-21 15:43:09.743][ INFO][ sdr] new recording: 145,650,146 Hz
Killed
Where are detailed logs saved?
The text was updated successfully, but these errors were encountered: