On the RPi the wxctl receiver control script should be saved to /usr/local/bin/wxctl. The listing below shows the wxctl script used to control the RTL-SDR receiver. The script only uses the satellite name and then passes hard-coded commands to a command pipe /tmp/record_noaa_cmd where they can be picked up by another program (further details below). ![]() # Replace spaces with - in the satellite name to allow it to be passedĮcho $(date -u +"%Y%^b%d-%H%M%S%Z")": Recording "$1" on "$2 > $logfileĮcho $(date -u +"%Y%^b%d-%H%M%S%Z")": Stopping" > $logfile # Place receiver control commands in this fifo (command pipe)Įcho "ERROR: Command fifo not found" > $logfile The command pipe isolates WXToImg from the receiver implementation and supports alternative system configurations and testing.Ĭurrently the script only supports the three active NOAA POES satellites.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |