**** 6/7/2024 UPDATE..... I completely spaced out and forgot to add the links for the dependencies needed by this. FFMPEG PIP and gTTS. The first time you run the install script it will check for those dependencies and if they are not in the system it will download and install them.
I am not liable for whatever happens to your NODE. It will not work on Allstar installations. You can try but don't blame me if you break your system. Tested on a Raspberry Pi 3B+ Running GMRSLive v2.1.3 image.
When you run the install script it will look for PIP, FFMPEG, and gTTS if they are not on your system and most likely they are not, they will be downloaded and installed on your system.
- PIP is a package manager for Python packages, or modules if you like.
- FFMPEG is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter, and play pretty much anything that humans and machines have created.
- gTTS (Google Text-to-Speech) library is a powerful tool for converting text to speech in Python, allowing you to create audio files from any text.
Why do you need them? You need PIP because you need to install FFMPEG and the regular package manager on the Pi right now (Pacman) can't download it. FFMPEG like the explanation says has all the encoders and decoders for your system to play and in this case encode sound files. And finally, gTTS is needed well because it's what will convert your text into a sound file with the help of FFMPEG.
Some of these scripts already have a version of them in the GMRSlive image, they are not that easy to use and all are command line. For a newbie who doesn't know his way around the BASH Shell or command prompt, I hope I made it a bit easier.
- menu.sh----This is the menu like when you first sign into the Pi.
- global.sh----Changes information on the global.inc to change the text on the top part of the supermon page.
- cronJ.sh----To make CRON jobs easier instead of using crontab -e Please be careful with this if you don't know how to use it leave it ALONE.
- gsmbi.py----To convert Text into a sound file that Asterisk can use.
- supermon.setup.sh----To set up the supermon page.
- *astdb.php----To update the database. Helpful when your Supermon page only says NODE not in database
- *cpu_stats.sh----Status of the CPU of the Pi.
- *reboot.sh----Reboot the system
- *firsttime.sh---- The same script you used the first time you set up your node.
- The scripts with a * are already on the Pi. I am just making it easier to use.
TYPE
CD and enter
Follow these steps to install the scripts:
-
Clone the repository. Type this and hit enter to download the repository.
git clone https://github.com/WROG208/extras-menu.git
-
Change to the repository directory:
cd extras-menu
-
Make the install script executable:
chmod +x install_script.sh
-
Run the install script:
./install_script.sh
-
If the line above didn't work type this:
install_script.sh
The scripts
menu.sh
,gsmbi.py
, andcronJ.sh
will be installed to/usr/local/sbin
and made executable. The installation script and the repository directory will be removed after installation. -
It should be installed now. Type
CD Enter To go back to the ROOT menu.
-
To get the menu open type
menu.sh
Hit enter, the menu should be open. The new menu should look like this.