User Tools

Site Tools


fmlist_scanner:operation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fmlist_scanner:operation [2025/10/30] – created hayatifmlist_scanner:operation [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 +{{indexmenu>.#1| nojs navbar nocookie msort }}
 +{{indexmenu_n>700}}
 +
 +====== 7. Operation ======
 +
 +===== Operation through SSH =====
 +
 +connect via SSH - adjust the port number and possibly also the user ''scanner''
 +<code>
 +ssh -p 9001 scanner@hayguen.hopto.org
 +</code>
 +
 +in case you are already connected to the host - as different user
 +<code>
 +sudo su -l scanner
 +</code>
 +
 +
 +start the scanner (as scan user)
 +<code>
 +startBgScanLoop.sh
 +</code>
 +
 +stop the scanner (as scan user)
 +<code>
 +stopBgScanLoop.sh
 +</code>
 +
 +check results while scanning - before having uploaded (as scan user)
 +<code>
 +scanEvalFMcmpPS.sh
 +scanEvalFMcmpPI.sh
 +scanEvalDABens.sh
 +scanEvalDABensTii.sh
 +scanEvalDABprogs.sh
 +</code>
 +
 +upload all results (as scan user)
 +<code>
 +stopBgScanLoop.sh wait
 +prepareScanResultsForUpload.sh all
 +uploadScanResults.sh
 +</code>
 +
 +probably, you want to edit the upload comment ''FMLIST_UP_COMMENT'' - before uploading (as scan user)
 +<code>
 +cd ~/.config/fmlist_scan
 +nano fmscan.inc
 +</code>
 +
 +and after the upload, you might want to restart the scanner (as scan user)
 +<code>
 +startBgScanLoop.sh
 +</code>
 +
 +and probably also restart monitoring
 +<code>
 +monitorBgScanLoop.sh 
 +</code>
 +
 +
 +===== Operation through Webserver =====
 +
 +all operations can be done through the webserver
 +
 +see [[fmlist_scanner:setup_scanner_software#setup_control_webserver|'Setup control webserver' in setup_scanner_software]]
 +
 +
 +===== Buzzer status tones =====
 +
 +The scanner reports its status primarily via the piezo-buzzer. The detection of Broadcast-FM and DAB stations is reported with tone sequences on each scan. See configuration entry ''FMLIST_SCAN_PWM_FEEDBACK''
 +
 +^ Event                               ^ Tone sequence                ^
 +| //Welcome// at startup              | short short short long short |
 +| FM success (at least 1 transmitter) | short short, short           |
 +| FM failure                          | short short, long            |
 +| DAB success (at least 1 station)    | short long, short            |
 +| DAB failure                         | short long, long             |
 +| Write error for result              | 3 x (long long long)         |
 +
 +In addition to these operating results, there are other tone sequences to sign
 +
 +  * Start the scanner
 +  * Error status, e.g. no RTL dongle found
 +  * Scan results saved
 +
 +Test / listen with ''scanToneFeedback.sh'' or the webserver
 +
 +The individual LED colors have no dedicated meaning. They are switched over for each recognized station. There is no changeover if the next station is detected within/below one second - in order to limit the changes.