Closed v222008 closed 3 years ago
Hi, I've had the same problem, just run sudo mkdir -p /var/www/wx/iss
and change receive_iss.sh
script to this:
#!/bin/sh
datetime=$(date +"%Y%m%d-%H%M%S")
timeout 660 /usr/local/bin/rtl_fm -M fm -f 145.8M -s 48k -g $GAIN -p 55 -E wav -E deemp -F 9 - | sox -t raw -e signed -c 1 -b 16 -r 48000 - /var/www/wx/iss/iss-${datetime}.wav rate 11025
By the way, it seems that sound isn't properly recorded since every file is 44 bytes large and doesn't contain any sound data.
By the way, it seems that sound isn't properly recorded since every file is 44 bytes large and doesn't contain any sound data.
i'm just add
## import common lib
. "$HOME/.noaa.conf"
in receive_iss.sh and recoring file is ok
Hi, receive_iss still needs a bit of work.
Just as a reminder: do not run scripts with sudo, rather than that create the folders and setup the permissions for the pi user.
Try to set ppm with correct one and set gain manual. It is OK for me when I change folder and permissions. BTW I run on Intel CPU platform and different user, but this do not matter.
@v222008 there's a new branch iss_support
that handles almost everything for ISS reception and decoding
cd /home/pi/
mv raspberry-noaa raspberry-noaa-bak
git clone https://github.com/reynico/raspberry-noaa.git -b iss_support
cp raspberry-noaa-bak/sun.py raspberry-noaa/sun.py
cp raspberry-noaa-bak/panel.db raspberry-noaa/panel.db
and then run the migration
cd raspberry-noaa/migrations/
./20201292-iss.sh
give a try and let me know how it goes
Please correct line 15 of migration script /die=echo/ Thanks
fixed d946296
Guys I just merged iss_support
into master. I'll close this issue
photo