abcd567
December 4, 2021, 11:52am
4
No, dont use 7.0~dev
version, it is not recommended, as it is still “work in progress” and has no advantage yet over released version 6.1. I have installed it as test.
You shoud wait till it is released officially, most likely by the end of year,
This gain control is NOT part of skyawsre. It is an add-on. Yiu can add this by running following script.
Scroll right to see and copy thid long command
sudo bash -c "$(wget -O - https://raw.githubusercontent.com/abcd567a/set-gain/master/raspios+dump-fa-6.1.sh)"
After sript finishes, it will display a set of indtructions. Follow those… These instructions are given here slso for your easy reference;
After script finishes, do following:
(1) Add entry in crontab to run setgain.sh at boot.
Give command
sudo crontab -e
Scroll down and at bottom add following line
@reboot /bin/bash /usr/local/sbin/gain/setgain.sh
(2) After completing above step, Reboot Pi to start setgain script
(3) Make a backup copy of file index.html by following commands…
cd /usr/share/skyaware/html
sudo cp index.html index.html.orig
(4) Open file index.html for editing
sudo nano /usr/share/skyaware/html/index.html
Press Ctrl+W and type buttonContainer and press Enter key
the cursor will jump to <div class="buttonContainer">
add following 3 lines of code just above line <div class="buttonContainer">
<div id="GAIN" style="text-align:center;width:175px;height:65px;">
<iframe src=gain.php style="border:0;width:175px;height:65px;"></iframe>
</div> <!----- GAIN --->
(5) After completing steps (3) and (4),
Reboot RPi
After reboot, clear browser cache (Ctrl+Shift+Delete) and Reload Browser (Ctrl+F5)
1 Like