SNR Measurements allow for user variable time input [fixed in v1.813]

edited June 12 in Feature requests

Just a thought, the current default minimum SNR measurement time is 1 hour, but during solar storms and especially CME events or solar eclipses, I would like to be able to use a smaller time increment to measure the effects across the HF spectrum. So I was wondering if it would be possible to add a user-defined time increment down to 1-minute intervals, or if not possible, add fixed intervals of 1, 5 and 10-minute intervals to the current list. Thank you. 73.

Tremolat

Comments

  • edited June 1

    Here is an alternative method to trigger custom measurement intervals using cron:

    https://forum.kiwisdr.com/discussion/3309/snr-measurement-timing-enhancement-can-be-done-via-cron-snr-meas-url

  • I'd rather learn ancient Greek! Just want a simple easy way from a drop-down menu without requiring Kantian (Linux) priori knowledge. Everything on discussion list might as well be in ancient Greek to me! I can't understand a word of it!! 😉

  • But as a Kiwi owner (with admin rights) you can always force SNR measurement

    by clicking the button next to the "SNR measurement interval" settings.

    This doesn't force an immediate change on the main Kiwi search page,

    but it is visible to you and all current users.

    I use this multiple times every day when switching my antennas.

    LIN

  • Yes, I know, and if that works for you, great! But it doesn't work for me in the gathering of telemetry. The SNR data provided is very useful but it is too coarse at 60-minute increments for many events that affect the ionosphere and propagation. I need finer measurement increments, and I want the Kiwi to do this automatically without needing me to tell it when or having to know how to use Linux programming from the Kiwi console. Just need 1, 2, 5, and 10-minute increments added to the current Control list drop-down menu that currently starts at 60-minute increments.

  • I assumed it was something more sophisticated... and by the way, once John approves the changes and finds time for your problem, the SNR measurement could be done automatically every time the antenna is changed (but that's a minor thing).

    LIN

  • If your KiWi is on your local network, you can add /snr?meas to the url to force an SNR measurement.

    This was added for pretty much the scenario you desire.

    This is also what the cron job that was suggested earlier, automatically triggers at the required interval.

    It may not be desirable for KiWi users to keep on requesting an SNR measurement every minute, as this would quickly fill up the log file.

    I'm not sure how you were intending to collect the data you require, but assuming you intend to automate it in some way, it would be relatively easy to add the url command into the process.

    If you intend to do it manually, you just have to save the url string as a tab, and refresh it as required.

    Another alternative is to get your browser to snapshot the waterfall at regular intervals and time stamp them. This will give you a better indication of changes in propagation conditions and solar events, rather than hoping the SNR measurement will capture the required data.

    This previous forum discussion may help.

    https://forum.kiwisdr.com/index.php?p=/discussion/2942

    Regards,

    Martin

  • edited June 4

    Not what I want. I'd rather not use a sledgehammer to solve this "problem". But I can't see how to program the crontab file to measure SNR at 1, 2, 5 or 10-minute increments. The JSON file telemetry is what I need and I want it quick, easy and automatic.

    So I would prefer to be able to select the SNR measurement interval from the pop-down menu. Another feature would be the dBm and SNR breakdowns by bands. It would be interesting, say, to compare the LF, 160m, 80m to 10m bands during a solar eclipse for example and how and when they react depending on the amount of solar disc coverage. Then we have CMEs, SIDs, TIDs, electron precipitation, et al. Lots of radio science is possible and the Kiwi has only just scratched the surface of what I think it can do, IMHO.

    But, if anyone could tell me how to program crontab to measure SNR at less than on-hour increments, which also adds the extended telemetry data to the JSON file, that would be appreciated.

    73.

  • jksjks
    edited June 4

    In the next release I'll add a "custom" entry in the SNR measurement interval menu with a corresponding time field where you can enter the number of minutes you want.

    I think I can also add a checkbox that asks for each ham band to get a separate measurement in addition to the 0-30 and 1.8-30 MHz measurements.

    studentkranitroenginesmgF5AFY
  • edited June 4

    Great and thanks, John! The KiwiSDR can do some really serious radio science with those features, I am using the 1-hour SNR and dBm measurements to get a rough picture of what the current CME events have been doing to the HF spectrum overall, combined with my Kiwi's FT8 and WSPR data spotted to WSPRnet and PSK Reporter.

    73,

    Robert

  • Wow, that's an interesting idea, thanks John.

    Maybe this improved granularity could eventually somehow provide a more accurate measure of the overall quality of reception for a given KiWi at a given time.

    I also wonder if some known "quiet" bits of spectrum could be measured, if they have signals present, then it's likely to be either noise or interference.

    I also think the day / night variation in signal levels could be used as a measure of quality too.

    Something like BlackCat's SDR Monitor SNR Graph. The larger the variation, the more likely it is genuine reception, and not just a fixed level of noise.

    Regards,

    Martin

  • In addition to check boxes, how about a field to measure SNR across a custom range? Such as having the option to measure the SNR across 500 - 1800 to compare AM band performance of various antennas designed for AM DX. Right now, I look at the measured 0 - 1800 range, but there is often a ton of noise down below 500 that varies throughout the day.

  • smgsmg
    edited June 4

    An SNR graph into the admin page? :-D

    I have been using blackcats SNR logger, however it always clears the graph when the kiwi restart for any reason - like an update etc.

    So I tried a little Python and some AI help to write this monstrosity! :-D

    It uses a poller to collect the SNR records from the Kiwi and write them to a file. Another script then parses that to this graph using matplot libraries. It's very buggy, and not 100% what I wanted, but it's close. You can see I also have it noting the highest levels of signal on the graph



  • Yes, it's a pity that the BlackCat logger looses information when the KiWi reboots. I've also found this to be a disadvantage if you wish to keep a long term record.

    Your Python code seems to be more useful.

    I wonder if a daily (24 hour) max / min value, for each frequency range, which could then be used to calculate a difference between the two, would provide the "figure of merit" I mentioned.?

    Regards,

    Martin

  • Well if anyone knows python, they are welcome to make this good :-)

  • edited June 9

    I've been using SNR level logging, adc_ov, and the number of users for a long time. The charts are available as a web page, and it is located on the Kiwi server in the config folder as simple html file. The code was written a long time ago without using AI )) . That's why it looks ridiculous, but it works great. You can use it as a blank for your code.


    smgHB9TMCTremolatdl7awl
Sign In or Register to comment.