From ab77a5ac6c9d610dbfabacc810c5463f05470f57 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 17:48:15 -0400 Subject: [PATCH 001/128] Update config add param to -K --- config | 65 ++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/config b/config index 7b69b013..58bd1fbb 100755 --- a/config +++ b/config @@ -132,6 +132,11 @@ echo # echo $2 # echo +param1=$1 +param2=$2 +param3=$3 +param4=$4 + sudo modprobe snd-aloop # if [ "$2" = "-n" ] ; then @@ -1965,46 +1970,52 @@ elif [ "$1" = "-K" ]; then echo "Editing the Doppler frequency shift setting in" echo "the configuration file for CubeSatSim" echo - + value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value - doppler="${14}" - if [ "${14}" = "sim" ] ; then - echo "Simulated Doppler frequency shift mode enabled" - elif [ "${14}" = "rig" ] ; then - echo "rigctld Doppler frequency shift mode enabled" - else - echo "Doppler frequency shift is OFF" - fi - - echo - -# $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} + if [ -z "$param2" ] ; then - echo "Do you want Doppler frequency shift ON (y/n) " - read sim - echo + doppler="${14}" - if [ "$sim" = "y" ] || [ "$sim" = "yes" ] ; then - doppler="yes" - echo "Do you want simulated Doppler shift or rigctld Doppler (sim/rig)" - read doppler - - if [ "$doppler" = "sim" ] ; then + if [ "${14}" = "sim" ] ; then echo "Simulated Doppler frequency shift mode enabled" - elif [ "$doppler" = "rig" ] ; then + elif [ "${14}" = "rig" ] ; then echo "rigctld Doppler frequency shift mode enabled" + else + echo "Doppler frequency shift is OFF" + fi + + echo + + # $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} + + echo "Do you want Doppler frequency shift ON (y/n) " + read sim + echo + + if [ "$sim" = "y" ] || [ "$sim" = "yes" ] ; then + doppler="yes" + echo "Do you want simulated Doppler shift or rigctld Doppler (sim/rig)" + read doppler + + if [ "$doppler" = "sim" ] ; then + echo "Simulated Doppler frequency shift mode enabled" + elif [ "$doppler" = "rig" ] ; then + echo "rigctld Doppler frequency shift mode enabled" + else + doppler="no" + echo "sim or rig not entered. Doppler frequency shift is OFF" + fi else doppler="no" - echo "sim or rig not entered. Doppler frequency shift is OFF" + echo " Doppler frequency shift is OFF" fi else - doppler="no" - echo " Doppler frequency shift is OFF" + doppler="$param2" fi - + # echo echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" # echo From 0188e64cebf53feee7080ce38f041e7e4f3f6414 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:00:06 -0400 Subject: [PATCH 002/128] Update config print result of -K with param --- config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config b/config index 58bd1fbb..8e336275 100755 --- a/config +++ b/config @@ -2014,6 +2014,14 @@ elif [ "$1" = "-K" ]; then fi else doppler="$param2" + if [ "$doppler" = "sim" ] ; then + echo "Simulated Doppler frequency shift mode enabled" + elif [ "$doppler" = "rig" ] ; then + echo "Radio Control Doppler frequency shift mode enabled" + else + echo "Doppler frequency shift is OFF" + doppler="no" + fi fi # echo From d16f57d9f460c20055c77218ce9184a04e23da48 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:01:31 -0400 Subject: [PATCH 003/128] Update config update print --- config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config b/config index 8e336275..3ed437b9 100755 --- a/config +++ b/config @@ -1967,8 +1967,7 @@ elif [ "$1" = "-k" ]; then elif [ "$1" = "-K" ]; then echo - echo "Editing the Doppler frequency shift setting in" - echo "the configuration file for CubeSatSim" + echo "Setting the Doppler frequency shift mode setting" echo value=`cat /home/pi/CubeSatSim/sim.cfg` From 39961166e28fe496f8a92d6879b589a861b77cfb Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:10:16 -0400 Subject: [PATCH 004/128] Update config add params to -F --- config | 52 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 19 deletions(-) diff --git a/config b/config index 3ed437b9..e6eb5b5f 100755 --- a/config +++ b/config @@ -1191,40 +1191,54 @@ elif [ "$1" = "-F" ]; then echo "Editing the tx and rx frequency in the" echo "configuration file for CubeSatSim" echo - echo "Return keeps current value." -# echo -e "Current sim.cfg configuration file:" -# echo - + value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value - echo "Current value of tx is" + echo "Current value of TX frequency (MHz) is" echo $7 echo - echo "Current value of rx is" + echo "Current value of RX frequency (MHz) is" echo $8 echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} - echo "Enter tx frequency as 4XX.XXXX: " - read tx + if [ -z "$param2" ] ; then - if [ -z $tx ] ; then + echo "Return keeps current value." + + echo "Enter TX frequency in MHz (2m or 70cm band): " + read tx + + if [ -z $tx ] ; then + + tx="$7" + echo "Keeping value of" $tx + fi + + echo "Enter RX frequency in MHz (70cm band only): " + read rx + + if [ -z $rx ] ; then + + rx="$8" + echo "Keeping RX value of" $rx + fi - tx="$7" - echo "Keeping value of" $tx + else + tx="$param2"` + echo "Changing TX frequency to (MHz)" $tx + if [ -z "$param3" ] ; then + rx="$8" + echo "Keeping RX value of" $rx + else + rx="$param3" + echo "Changing TX frequency to (MHz)" $rx + fi fi - echo "Enter rx frequency as 4XX.XXXX: " - read rx - - if [ -z $rx ] ; then - - rx="$8" - echo "Keeping value of" $rx - fi echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" echo $1 $2 $3 $4 $5 $6 $tx $rx $9 ${10} ${11} ${12} ${13} ${14} From 7574c386bc1154318ea5adecafc9197988356274 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:12:07 -0400 Subject: [PATCH 005/128] Update config stray ' --- config | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config b/config index e6eb5b5f..256fc260 100755 --- a/config +++ b/config @@ -1188,8 +1188,7 @@ elif [ "$1" = "-P" ]; then elif [ "$1" = "-F" ]; then echo - echo "Editing the tx and rx frequency in the" - echo "configuration file for CubeSatSim" + echo "Editing the RX and RX frequency" echo value=`cat /home/pi/CubeSatSim/sim.cfg` @@ -1228,7 +1227,7 @@ elif [ "$1" = "-F" ]; then fi else - tx="$param2"` + tx="$param2" echo "Changing TX frequency to (MHz)" $tx if [ -z "$param3" ] ; then rx="$8" From 61019e41ae0a8a31a971716d4519186993f416c7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:14:10 -0400 Subject: [PATCH 006/128] Update config change -F print --- config | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config b/config index 256fc260..9d4e7245 100755 --- a/config +++ b/config @@ -1195,11 +1195,9 @@ elif [ "$1" = "-F" ]; then echo "$value" > /dev/null set -- $value - echo "Current value of TX frequency (MHz) is" - echo $7 + echo "Current value of TX frequency (MHz) is" $7 echo - echo "Current value of RX frequency (MHz) is" - echo $8 + echo "Current value of RX frequency (MHz) is" $8 echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} From 24f74c6d00255f91a14d88a536afdeffbc531f56 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:15:32 -0400 Subject: [PATCH 007/128] Update config add MHz after --- config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config b/config index 9d4e7245..92f9ef53 100755 --- a/config +++ b/config @@ -1221,18 +1221,18 @@ elif [ "$1" = "-F" ]; then if [ -z $rx ] ; then rx="$8" - echo "Keeping RX value of" $rx + echo "Keeping RX value of" $rx "MHz" fi else tx="$param2" - echo "Changing TX frequency to (MHz)" $tx + echo "Changing TX frequency to " $tx "MHz" if [ -z "$param3" ] ; then rx="$8" echo "Keeping RX value of" $rx else rx="$param3" - echo "Changing TX frequency to (MHz)" $rx + echo "Changing TX frequency to" $rx "MHz" fi fi From a92c545a58d0ed96a2c4ad959768aff1a88ee4a5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:17:09 -0400 Subject: [PATCH 008/128] Update config cleanup -F prints --- config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config b/config index 92f9ef53..e4fb329d 100755 --- a/config +++ b/config @@ -1195,9 +1195,9 @@ elif [ "$1" = "-F" ]; then echo "$value" > /dev/null set -- $value - echo "Current value of TX frequency (MHz) is" $7 + echo "Current value of TX frequency is" $7 "MHz" echo - echo "Current value of RX frequency (MHz) is" $8 + echo "Current value of RX frequency is" $8"MHz" echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} @@ -1226,13 +1226,13 @@ elif [ "$1" = "-F" ]; then else tx="$param2" - echo "Changing TX frequency to " $tx "MHz" + echo "Changing TX frequency to" $tx "MHz" if [ -z "$param3" ] ; then rx="$8" echo "Keeping RX value of" $rx else rx="$param3" - echo "Changing TX frequency to" $rx "MHz" + echo "Changing RX frequency to" $rx "MHz" fi fi From 5dc16924e731a5bc7446f36b945d37e49b7989c5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:19:06 -0400 Subject: [PATCH 009/128] Update config complete -F with params --- config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config b/config index e4fb329d..bf426b65 100755 --- a/config +++ b/config @@ -1197,7 +1197,7 @@ elif [ "$1" = "-F" ]; then echo "Current value of TX frequency is" $7 "MHz" echo - echo "Current value of RX frequency is" $8"MHz" + echo "Current value of RX frequency is" $8 "MHz" echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} @@ -1212,7 +1212,7 @@ elif [ "$1" = "-F" ]; then if [ -z $tx ] ; then tx="$7" - echo "Keeping value of" $tx + echo "Keeping value of" $tx "MHz" fi echo "Enter RX frequency in MHz (70cm band only): " @@ -1229,7 +1229,7 @@ elif [ "$1" = "-F" ]; then echo "Changing TX frequency to" $tx "MHz" if [ -z "$param3" ] ; then rx="$8" - echo "Keeping RX value of" $rx + echo "Keeping RX value of" $rx "MHz" else rx="$param3" echo "Changing RX frequency to" $rx "MHz" From 4d2ed6220d15fb9a24365fc57c6b4f19faa63690 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 18:55:40 -0400 Subject: [PATCH 010/128] Update config -c with param --- config | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/config b/config index bf426b65..efbfb19c 100755 --- a/config +++ b/config @@ -599,10 +599,10 @@ elif [ "$1" = "-t" ]; then elif [ "$1" = "-c" ]; then echo - echo "Editing the CALLSIGN in the" + echo "Setting the CALLSIGN in the" echo "configuration file for CubeSatSim" echo - echo "Return keeps current value." + # echo -e "Current sim.cfg configuration file:" # echo @@ -618,11 +618,18 @@ elif [ "$1" = "-c" ]; then # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} - echo "Enter callsign in all capitals: " - read callsign + if [ -z "$param2" ] ; then - if [ -z $callsign ] ; then + echo "Return keeps current value." + + echo "Enter callsign in all capitals: " + read callsign + else + callsign="$param2" + fi + + if [ -z $callsign ] ; then callsign="$1" echo "Keeping value of" $callsign norestart=1 @@ -633,7 +640,7 @@ elif [ "$1" = "-c" ]; then echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} > /home/pi/CubeSatSim/sim.cfg fi - + if [ "$norestart" = "1" ]; then echo else From e646e618c5a348c74592b5e9ac3790e4ac26b3f9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 19:00:36 -0400 Subject: [PATCH 011/128] Update config fix -c --- config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config b/config index efbfb19c..dbbaae6e 100755 --- a/config +++ b/config @@ -139,9 +139,10 @@ param4=$4 sudo modprobe snd-aloop -# if [ "$2" = "-n" ] ; then -if [ -z "$2" ] ; then +if [ "$2" = "-n" ] ; then +# if [ -z "$2" ] ; then noreboot=0 + param2="" else if [ "$2" = "-n" ] ; then echo "Reboot disabled" @@ -599,8 +600,7 @@ elif [ "$1" = "-t" ]; then elif [ "$1" = "-c" ]; then echo - echo "Setting the CALLSIGN in the" - echo "configuration file for CubeSatSim" + echo "Setting the CALLSIGN" echo # echo -e "Current sim.cfg configuration file:" From 0509073dcbc6f402f30bbb6b192d7336b7a01f31 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 19:05:08 -0400 Subject: [PATCH 012/128] Update config -c restart --- config | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/config b/config index dbbaae6e..eb21fb9e 100755 --- a/config +++ b/config @@ -632,25 +632,13 @@ elif [ "$1" = "-c" ]; then if [ -z $callsign ] ; then callsign="$1" echo "Keeping value of" $callsign - norestart=1 else - + restart=1 echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} echo $callsign $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} > /home/pi/CubeSatSim/sim.cfg fi - - if [ "$norestart" = "1" ]; then - echo - else - echo -## echo "Rebooting CubeSatSim with new configuration file" -## echo - reboot=1 -## sudo reboot now -# sudo systemctl restart cubesatsim - fi elif [ "$1" = "-r" ]; then From 56a366ab16003b7cf4e63ab3e0d57d1a4369affb Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 19:08:00 -0400 Subject: [PATCH 013/128] Update config print is on same line --- config | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/config b/config index eb21fb9e..34d1121d 100755 --- a/config +++ b/config @@ -612,8 +612,7 @@ elif [ "$1" = "-c" ]; then oldcallsign="$1" - echo "Current value of CALLSIGN is" - echo $oldcallsign + echo "Current value of CALLSIGN is" $oldcallsign echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} @@ -655,8 +654,7 @@ elif [ "$1" = "-r" ]; then set -- $value echo - echo "Current value of Reset Count is" - echo $2 + echo "Current value of Reset Count is" $2 echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} @@ -710,8 +708,7 @@ elif [ "$1" = "-l" ]; then set -- $value echo - echo "Current value of latitude is" - echo $3 + echo "Current value of latitude is" $3 echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} @@ -734,8 +731,7 @@ elif [ "$1" = "-l" ]; then fi echo - echo "Current value of longitude is" - echo $4 + echo "Current value of longitude is" $4 echo echo -e "Enter longitude (decimal degrees, positive is east): " @@ -1064,8 +1060,7 @@ elif [ "$1" = "-q" ]; then set -- $value echo - echo "Current value of squelch is" - echo $6 + echo "Current value of squelch is" $6 echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} @@ -1121,10 +1116,8 @@ elif [ "$1" = "-P" ]; then set -- $value echo - echo "Current value of RX PL is" - echo ${10} - echo "Current value of TX PL is" - echo ${11} + echo "Current value of RX PL is" ${10} + echo "Current value of TX PL is" ${11} echo # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} From 18108d7f6d5bc8fa628f9ac4867ebf663adb4630 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 19:16:50 -0400 Subject: [PATCH 014/128] Update config -l add params --- config | 71 +++++++++++++++++++++++++++++++++------------------------- 1 file changed, 41 insertions(+), 30 deletions(-) diff --git a/config b/config index 34d1121d..41a91dda 100755 --- a/config +++ b/config @@ -699,7 +699,6 @@ elif [ "$1" = "-l" ]; then echo "configuration file for CubeSatSim" echo "(Only used for APRS telemetry)" echo - echo "Return keeps current value." # echo -e "Current sim.cfg configuration file:" # echo @@ -713,42 +712,59 @@ elif [ "$1" = "-l" ]; then # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} - echo -e "Enter latitude (decimal degrees, positive is north): " + if [ -z "$param2" ] ; then - read lat + echo "Return keeps current value." + echo + echo -e "Enter latitude (decimal degrees, positive is north): " + + read lat + + if [ -z $lat ] ; then + + lat="$3" + echo "Keeping value of" $lat + fi + + echo + echo "Current value of longitude is" $4 + echo + + echo -e "Enter longitude (decimal degrees, positive is east): " + + read long + + if [ -z $long ] ; then + + long="$4" + echo "Keeping value of" $long + fi - if [ -z $lat ] ; then - lat="$3" - echo "Keeping value of" $lat + else + lat="$param2" + echo "Changing Latitude to" $lat + if [ -z "$param3" ] ; then + lon="$3" + echo "Keeping Longitude of" $lon + else + long="$param3" + echo "Changing Longitude to" $long + fi fi - if ! [[ $lat =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then + if ! [[ $long =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then echo "Error: not a number!" - lat="$3" - echo "Keeping value of" $lat - fi - - echo - echo "Current value of longitude is" $4 - echo - - echo -e "Enter longitude (decimal degrees, positive is east): " - - read long - - if [ -z $long ] ; then - long="$4" echo "Keeping value of" $long - fi + fi - if ! [[ $long =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then + if ! [[ $lat =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then echo "Error: not a number!" - long="$4" - echo "Keeping value of" $long + lat="$3" + echo "Keeping value of" $lat fi echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" @@ -758,12 +774,7 @@ elif [ "$1" = "-l" ]; then if [ "$norestart" = "1" ]; then echo else -## echo -## echo "Rebooting CubeSatSim with new configuration file" -## echo reboot=1 -## sudo reboot now -# sudo systemctl restart cubesatsim fi elif [ "$1" = "-S" ]; then From 7886061135a8cf48f7429eb4961f79eed0244f45 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 22:36:39 -0400 Subject: [PATCH 015/128] Create config.yaml --- OliveTin/config.yaml | 77 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 OliveTin/config.yaml diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml new file mode 100644 index 00000000..24e5b35c --- /dev/null +++ b/OliveTin/config.yaml @@ -0,0 +1,77 @@ +actions: + - title: "Change Mode to APRS" + shell: /home/pi/CubeSatSim/config -a + onclick: execution-dialog + + - title: "Show Config" + shell: /home/pi/CubeSatSim/config + onclick: execution-dialog + + - title: echo a message + icon: smile + shell: echo {{ message }} + arguments: + - name: message + default: Hello World + type: ascii_sentence + onclick: execution-dialog + + - title: Save text to file + shell: echo "$CONTENT" > file.txt + arguments: + - name: content + type: ascii_sentence + onclick: execution-dialog + + - title: "Change Mode to Battery Saver" + shell: bash -c "/home/pi/CubeSatSim/config -B <<< y" + onclick: execution-dialog + + - title: "Turn Doppler Mode OFF" + shell: /home/pi/CubeSatSim/config -K no + onclick: execution-dialog + + - title: "Turn Simulated Doppler Mode ON" + shell: /home/pi/CubeSatSim/config -K sim + onclick: execution-dialog + + - title: "Turn Radio Control Dppler Mode ON" + shell: /home/pi/CubeSatSim/config -K rig + onclick: execution-dialog + + - title: "Change TX and RX Frequency" + icon: smile + shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }} + onclick: execution-dialog + arguments: + - name: tx + type: ascii_sentence + - name: rx + type: ascii_sentence + + - title: "Change Callsign" + icon: smile + shell: /home/pi/CubeSatSim/config -c {{ callsign }} + onclick: execution-dialog + arguments: + - name: callsign + type: ascii_sentence + + - title: "Change Latitude and Longitude" + icon: smile + shell: /home/pi/CubeSatSim/config -l {{ lat }} {{ lon }} + onclick: execution-dialog + arguments: + - name: lat + type: ascii_sentence + - name: lon + type: ascii_sentence + + - title: "Generic Config Command" + icon: smile + shell: /home/pi/CubeSatSim/config {{ params }} + onclick: execution-dialog + arguments: + - name: params + type: ascii_sentence + From bdfe828ceb6c8feaca044f3fb65c8b41dba20198 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 22:43:11 -0400 Subject: [PATCH 016/128] Update install OliveTin and config.yaml --- install | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/install b/install index 9dd12e3d..b84dcf38 100755 --- a/install +++ b/install @@ -741,6 +741,23 @@ else FLAG=1 fi +FILE=/etc/OliveTin/config.yaml +if [ -f "$FILE" ]; then + if [[ $(diff /home/pi/CubeSatSim/OliveTin/config.yaml /etc/OliveTin/config.yaml) ]]; then + echo "changed config.yaml" + sudo cp /home/pi/CubeSatSim/OliveTin/config.yaml /etc/OliveTin/config.yaml + else + echo "no change to config.yaml" + fi +else + echo "creating config.yaml" + cd /tmp + wget https://github.com/OliveTin/OliveTin/releases/download/3000.18.1/OliveTin_linux_armv7.deb + sudo dpkg -i OliveTin_linux_armv7.deb + sudo cp /home/pi/CubeSatSim/OliveTin/config.yaml /etc/OliveTin/config.yaml + sudo systemctl enable --now OliveTin +fi + FILE=/etc/asound.conf if [ -f "$FILE" ]; then if [[ $(diff /home/pi/CubeSatSim/asound.conf /etc/asound.conf) ]]; then From 716156911347291084c782897408a67bac7b2be2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 22:48:29 -0400 Subject: [PATCH 017/128] Update config.yaml add more buttons --- OliveTin/config.yaml | 61 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 47 insertions(+), 14 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 24e5b35c..c5e89033 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,26 +1,43 @@ actions: + + - title: "Show CubeSatSim Config" + shell: /home/pi/CubeSatSim/config + onclick: execution-dialog + - title: "Change Mode to APRS" shell: /home/pi/CubeSatSim/config -a onclick: execution-dialog - - title: "Show Config" - shell: /home/pi/CubeSatSim/config + - title: "Change Mode to FSK" + shell: /home/pi/CubeSatSim/config -f onclick: execution-dialog - - title: echo a message - icon: smile - shell: echo {{ message }} - arguments: - - name: message - default: Hello World - type: ascii_sentence + - title: "Change Mode to BPSK" + shell: /home/pi/CubeSatSim/config -b onclick: execution-dialog - - title: Save text to file - shell: echo "$CONTENT" > file.txt - arguments: - - name: content - type: ascii_sentence + - title: "Change Mode to SSTV" + shell: /home/pi/CubeSatSim/config -s + onclick: execution-dialog + + - title: "Change Mode to CW" + shell: /home/pi/CubeSatSim/config -m + onclick: execution-dialog + + - title: "Change Mode to Repeater" + shell: /home/pi/CubeSatSim/config -e + onclick: execution-dialog + + - title: "Change Mode to FUNcube" + shell: /home/pi/CubeSatSim/config -j + onclick: execution-dialog + + - title: "Change Mode to Pacsat" + shell: /home/pi/CubeSatSim/config -G + onclick: execution-dialog + + - title: "Change Mode to Pacsat Ground" + shell: /home/pi/CubeSatSim/config -I onclick: execution-dialog - title: "Change Mode to Battery Saver" @@ -75,3 +92,19 @@ actions: - name: params type: ascii_sentence + - title: "Generic Bash Command" + icon: smile + shell: {{ params }} + onclick: execution-dialog + arguments: + - name: params + type: ascii_sentence + + - title: "Generic Sudo Command" + icon: smile + shell: sudo {{ params }} + onclick: execution-dialog + arguments: + - name: params + type: ascii_sentence + From 191c75431e5688a58a439fc9d73ccbde7de73f2f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 22:52:24 -0400 Subject: [PATCH 018/128] Update log add -o for OliveTan --- log | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/log b/log index 8963b64f..ed19ccc3 100755 --- a/log +++ b/log @@ -11,6 +11,7 @@ if [ "$1" = "-h" ] ; then echo " -r frequency control" echo " -f frequency display" echo " -b pushbutton" + echo " -o OliveTin" echo "Default is the log is dumpted to the screen and written to a file." echo "If an additional r is included, the log is realtime, and exits with a Control-C" echo @@ -51,7 +52,8 @@ if [ "$REALTIME" = "1" ] ; then done elif [ "$1" = "-b" ]; then sudo journalctl -b all -af -u pushbutton # > /home/pi/CubeSatSim/logb.txt - cat /home/pi/CubeSatSim/logb.txt + elif [ "$1" = "-o" ]; then + sudo journalctl -b all -af -u OliveTin # > /home/pi/CubeSatSim/logb.txt else sudo journalctl -b all -af -u cubesatsim # > /home/pi/CubeSatSim/log.txt # cat /home/pi/CubeSatSim/log.txt @@ -83,7 +85,10 @@ else sudo journalctl -b all -a -u pushbutton > /home/pi/CubeSatSim/logb.txt cat /home/pi/CubeSatSim/logb.txt echo -e "\nPushbutton Log file also saved as /home/pi/CubeSatSim/logb.txt" - + elif [ "$1" = "-o" ]; then + sudo journalctl -b all -a -u OliveTin > /home/pi/CubeSatSim/logo.txt + cat /home/pi/CubeSatSim/logo.txt + echo -e "\nOliveTin Log file also saved as /home/pi/CubeSatSim/logo.txt" else sudo journalctl -b all -a -u cubesatsim > /home/pi/CubeSatSim/log.txt cat /home/pi/CubeSatSim/log.txt From a909a51dbdfd11948b56444ec5433cab5ff9c345 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 22:58:07 -0400 Subject: [PATCH 019/128] Update config.yaml remove extra blank line --- OliveTin/config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index c5e89033..de8d6e99 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,5 +1,4 @@ actions: - - title: "Show CubeSatSim Config" shell: /home/pi/CubeSatSim/config onclick: execution-dialog From 017afe682c67ca88b57d0148bc6e9c525bbe051c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 23:30:55 -0400 Subject: [PATCH 020/128] fix config.yml --- OliveTin/config.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index de8d6e99..7e167264 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,4 +1,9 @@ actions: + - title: Say Hello + shell: echo "Hello World!" + icon: smile + onclick: execution-dialog + - title: "Show CubeSatSim Config" shell: /home/pi/CubeSatSim/config onclick: execution-dialog @@ -91,19 +96,10 @@ actions: - name: params type: ascii_sentence - - title: "Generic Bash Command" - icon: smile - shell: {{ params }} - onclick: execution-dialog - arguments: - - name: params - type: ascii_sentence - - - title: "Generic Sudo Command" + - title: "Generic Sudo Command" icon: smile shell: sudo {{ params }} onclick: execution-dialog arguments: - name: params type: ascii_sentence - From 9b081c8a514a9f1c6481ef7c76f49cbdb9e78b1b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 23:35:32 -0400 Subject: [PATCH 021/128] Update config.yaml log --- OliveTin/config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 7e167264..9ff93f9f 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -103,3 +103,12 @@ actions: arguments: - name: params type: ascii_sentence + + - title: "Show CubeSatSim Log Realtime" + shell: /home/pi/CubeSatSim/log -c r + onclick: execution-dialog + + - title: "Show CubeSatSim Log" + shell: /home/pi/CubeSatSim/log -c + onclick: execution-dialog + From 8ef59663111d3bad9da11ab48b8f0120cb9326d0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 23:38:05 -0400 Subject: [PATCH 022/128] Update config.yaml more logs --- OliveTin/config.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 9ff93f9f..fb419a3c 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -105,10 +105,17 @@ actions: type: ascii_sentence - title: "Show CubeSatSim Log Realtime" - shell: /home/pi/CubeSatSim/log -c r + shell: /home/pi/CubeSatSim/log -d r onclick: execution-dialog - title: "Show CubeSatSim Log" - shell: /home/pi/CubeSatSim/log -c + shell: /home/pi/CubeSatSim/log -d onclick: execution-dialog + - title: "Show Command and ControlLog Realtime" + shell: /home/pi/CubeSatSim/log -c r + onclick: execution-dialog + + - title: "Show Command and Control Log" + shell: /home/pi/CubeSatSim/log -c + onclick: execution-dialog From 29852c51902b29050096c7b9e01a9572d94ce3d4 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 23:39:54 -0400 Subject: [PATCH 023/128] Update config.yaml add 60 second timeout for realtime log --- OliveTin/config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index fb419a3c..be1b5ca8 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -107,7 +107,8 @@ actions: - title: "Show CubeSatSim Log Realtime" shell: /home/pi/CubeSatSim/log -d r onclick: execution-dialog - + timeout: 60 + - title: "Show CubeSatSim Log" shell: /home/pi/CubeSatSim/log -d onclick: execution-dialog @@ -115,6 +116,7 @@ actions: - title: "Show Command and ControlLog Realtime" shell: /home/pi/CubeSatSim/log -c r onclick: execution-dialog + timeout: 60 - title: "Show Command and Control Log" shell: /home/pi/CubeSatSim/log -c From 19dfc93116c02b0463951bdcc876ba9db6083f48 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 31 Jul 2026 23:54:09 -0400 Subject: [PATCH 024/128] Update config.yaml add folders --- OliveTin/config.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index be1b5ca8..6db2da7d 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -121,3 +121,22 @@ actions: - title: "Show Command and Control Log" shell: /home/pi/CubeSatSim/log -c onclick: execution-dialog + +dashboards: + - title: CubeSatSim Dashboard + contents: + - title: Fieldset 1 + type: fieldset + contents: + - title: Mode Changes + contents: + - title: "Change Mode to APRS" + - title: "Change Mode to FSK" + + - title: Config + contents: + - title: "Change Mode to CW" + + - title: Settings + contents: + - title: "Change Mode to FUNcube" From 851dc44fa476b89601824c82ba933a436415a737 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:02:14 -0400 Subject: [PATCH 025/128] Update config.yaml add dashboard --- OliveTin/config.yaml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 6db2da7d..4f464a16 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -40,7 +40,7 @@ actions: shell: /home/pi/CubeSatSim/config -G onclick: execution-dialog - - title: "Change Mode to Pacsat Ground" + - title: "Change Mode to Pacsat Ground Station" shell: /home/pi/CubeSatSim/config -I onclick: execution-dialog @@ -125,18 +125,21 @@ actions: dashboards: - title: CubeSatSim Dashboard contents: - - title: Fieldset 1 - type: fieldset + - title: "Show CubeSatSim Config" + - title: Mode Changes contents: - - title: Mode Changes - contents: - - title: "Change Mode to APRS" - - title: "Change Mode to FSK" - - - title: Config - contents: - - title: "Change Mode to CW" - - - title: Settings - contents: - - title: "Change Mode to FUNcube" + - title: "Change Mode to APRS" + - title: "Change Mode to FSK" + - title: "Change Mode to BPSK" + - title: "Change Mode to SSTV" + - title: "Change Mode to CW" + - title: "Change Mode to FUNcube" + - title: "Change Mode to Repeater" + - title: "Change Mode to Pacsat" + - title: "Change Mode to Pacsat Ground Station" + - title: Settings + contents: + - title: "Change Mode to Battery Saver" + - title: Logs + contents: + - title: "Show Command and Control Log" From 41e3ed137a9fa735685769d8bd3f68d621034fee Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:04:22 -0400 Subject: [PATCH 026/128] Update config.yaml --- OliveTin/config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 4f464a16..17cb9452 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -125,7 +125,9 @@ actions: dashboards: - title: CubeSatSim Dashboard contents: - - title: "Show CubeSatSim Config" + - title: Show Configuration + contents: + - title: "Show CubeSatSim Config" - title: Mode Changes contents: - title: "Change Mode to APRS" From 36f7e667ca660c364261e25c982b451104ac77db Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:08:54 -0400 Subject: [PATCH 027/128] Update config.yaml --- OliveTin/config.yaml | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 17cb9452..0a0ea60c 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -88,22 +88,6 @@ actions: - name: lon type: ascii_sentence - - title: "Generic Config Command" - icon: smile - shell: /home/pi/CubeSatSim/config {{ params }} - onclick: execution-dialog - arguments: - - name: params - type: ascii_sentence - - - title: "Generic Sudo Command" - icon: smile - shell: sudo {{ params }} - onclick: execution-dialog - arguments: - - name: params - type: ascii_sentence - - title: "Show CubeSatSim Log Realtime" shell: /home/pi/CubeSatSim/log -d r onclick: execution-dialog @@ -139,9 +123,20 @@ dashboards: - title: "Change Mode to Repeater" - title: "Change Mode to Pacsat" - title: "Change Mode to Pacsat Ground Station" + - title: Settings contents: - title: "Change Mode to Battery Saver" + - title: "Turn Doppler Mode OFF" + - title: "Turn Simulated Doppler Mode ON" + - title: "Turn Radio Control Doppler Mode ON" + - title: "Change TX and RX Frequency" + - title: "Change Callsign" + - title: "Change Latitude and Longitude" + - title: Logs contents: + - title: "Show CubSatSim Log" + - title: "Show CubeSatSIm Log" - title: "Show Command and Control Log" + - title: "Show Command and Control Log Realtime" From e1e396df37d5baa1bb7fe5e5b671551862a349df Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:10:25 -0400 Subject: [PATCH 028/128] Update config.yaml --- OliveTin/config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 0a0ea60c..7f046935 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -97,7 +97,7 @@ actions: shell: /home/pi/CubeSatSim/log -d onclick: execution-dialog - - title: "Show Command and ControlLog Realtime" + - title: "Show Command and Control Log Realtime" shell: /home/pi/CubeSatSim/log -c r onclick: execution-dialog timeout: 60 @@ -136,7 +136,7 @@ dashboards: - title: Logs contents: - - title: "Show CubSatSim Log" - - title: "Show CubeSatSIm Log" + - title: "Show CubeSatSim Log" + - title: "Show CubeSatSim Log Realtime" - title: "Show Command and Control Log" - title: "Show Command and Control Log Realtime" From d86173959ec943c6f581e7e9a92c2d7812f64022 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:12:16 -0400 Subject: [PATCH 029/128] Update config.yaml --- OliveTin/config.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 7f046935..cd0ab002 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,9 +1,4 @@ actions: - - title: Say Hello - shell: echo "Hello World!" - icon: smile - onclick: execution-dialog - - title: "Show CubeSatSim Config" shell: /home/pi/CubeSatSim/config onclick: execution-dialog From 1a0402c7c03a176cfb91cb22c4e55d4ad72df5de Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:13:11 -0400 Subject: [PATCH 030/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index cd0ab002..c7864fa9 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -51,7 +51,7 @@ actions: shell: /home/pi/CubeSatSim/config -K sim onclick: execution-dialog - - title: "Turn Radio Control Dppler Mode ON" + - title: "Turn Radio Control Doppler Mode ON" shell: /home/pi/CubeSatSim/config -K rig onclick: execution-dialog From b4b0fce8e32ff375f95c662c86aeed52ee49df33 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:16:31 -0400 Subject: [PATCH 031/128] Update config.yaml --- OliveTin/config.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index c7864fa9..853416fa 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -101,6 +101,14 @@ actions: shell: /home/pi/CubeSatSim/log -c onclick: execution-dialog + - title: "Restart CubeSatSim" + shell: sudo reboot now + onclick: execution-dialog + + - title: "Shutdown CubeSatSim" + shell: sudo shutdown now + onclick: execution-dialog + dashboards: - title: CubeSatSim Dashboard contents: @@ -135,3 +143,8 @@ dashboards: - title: "Show CubeSatSim Log Realtime" - title: "Show Command and Control Log" - title: "Show Command and Control Log Realtime" + + - title: Restart and Shutdown + contents: + - title: "Restart CubeSatSim" + - title: "Shutdown CubeSatSim" From e9e42fc56720e22b1a85fe1e97f1d0f9c9931169 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:18:06 -0400 Subject: [PATCH 032/128] Update config.yaml fix indent --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 853416fa..8c75ce94 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -105,7 +105,7 @@ actions: shell: sudo reboot now onclick: execution-dialog - - title: "Shutdown CubeSatSim" + - title: "Shutdown CubeSatSim" shell: sudo shutdown now onclick: execution-dialog From f0a3771fe104aa59e53451b2a75de67fa63ca774 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 00:19:20 -0400 Subject: [PATCH 033/128] Update config.yaml add echo --- OliveTin/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 8c75ce94..33495eb1 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -102,11 +102,11 @@ actions: onclick: execution-dialog - title: "Restart CubeSatSim" - shell: sudo reboot now + shell: echo "Restarting CubeSatSim now!" && sudo reboot now onclick: execution-dialog - title: "Shutdown CubeSatSim" - shell: sudo shutdown now + shell: echo "Shutting Down CubeSatSim now!" && sudo shutdown now onclick: execution-dialog dashboards: From 51496f3a294eb2b532b05ff0b8c27b8849c53d61 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:11:25 -0400 Subject: [PATCH 034/128] Update config.yaml --- OliveTin/config.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 33495eb1..308aff5e 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -109,6 +109,18 @@ actions: shell: echo "Shutting Down CubeSatSim now!" && sudo shutdown now onclick: execution-dialog + - title: "Restart CubeSatSim Software" + shell: /home/pi/CubeSatSim/config -i + onclick: execution-dialog + + - title: "Scan I2C Bus" + shell: /home/pi/CubeSatSim/config -S + onclick: execution-dialog + + - title: "Clear Logs and Restart" + shell: /home/pi/CubeSatSim/config -C + onclick: execution-dialog + dashboards: - title: CubeSatSim Dashboard contents: @@ -143,8 +155,14 @@ dashboards: - title: "Show CubeSatSim Log Realtime" - title: "Show Command and Control Log" - title: "Show Command and Control Log Realtime" + + - title: Diagnostics + contents: + - title: "Scan I2C Bus" - title: Restart and Shutdown contents: - title: "Restart CubeSatSim" - title: "Shutdown CubeSatSim" + - title: "Restart CubeSatSim Software" + - title: "Clear Logs and Restart" From 485c221af76d2b946e2dc024af21a35c04324a94 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:22:32 -0400 Subject: [PATCH 035/128] Update config.yaml --- OliveTin/config.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 308aff5e..953925d7 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -120,6 +120,26 @@ actions: - title: "Clear Logs and Restart" shell: /home/pi/CubeSatSim/config -C onclick: execution-dialog + timeout: 60 + + - title: "Read Squelch" + shell: /home/pi/CubeSatSim/config -Q + onclick: execution-dialog + timeout: 15 + + - title: "Display Payload Sensor Data" + shell: /home/pi/CubeSatSim/config -p + onclick: execution-dialog + timeout: 15 + + - title: "Display Voltage and Current Data" + shell: /home/pi/CubeSatSim/config -p + onclick: execution-dialog + timeout: 15 + + - title: "Reset the Pacsat Configuration" + shell: /home/pi/CubeSatSim/config -k + onclick: execution-dialog dashboards: - title: CubeSatSim Dashboard @@ -148,6 +168,7 @@ dashboards: - title: "Change TX and RX Frequency" - title: "Change Callsign" - title: "Change Latitude and Longitude" + - title: "Reset the Pacsat Configuration" - title: Logs contents: @@ -159,6 +180,9 @@ dashboards: - title: Diagnostics contents: - title: "Scan I2C Bus" + - title: "Read Squelch" + - title: "Display Payload Sensor Data" + - title: "Display Voltage and Current Data" - title: Restart and Shutdown contents: From 3163533c1da1d49b6de1e4997ded79acaa4604a0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:25:01 -0400 Subject: [PATCH 036/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 953925d7..edd8dfd1 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -133,7 +133,7 @@ actions: timeout: 15 - title: "Display Voltage and Current Data" - shell: /home/pi/CubeSatSim/config -p + shell: /home/pi/CubeSatSim/config -v onclick: execution-dialog timeout: 15 From 0c9286a6cfd9de7e66dbc4fbbe76f4f796797905 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:33:31 -0400 Subject: [PATCH 037/128] Update config -t with param --- config | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/config b/config index 41a91dda..42bb9f89 100755 --- a/config +++ b/config @@ -553,28 +553,32 @@ elif [ "$1" = "-s" ]; then elif [ "$1" = "-t" ]; then echo - echo "Editing the Simulated Telemetry setting in" - echo "the configuration file for CubeSatSim" + echo "Setting the Simulated Telemetry setting" echo value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value - if [ "$5" = "yes" ] || [ "$5" = "y" ]; then - echo "Simulated Telemetry is ON" + if [ -z "$param2" ] ; then + + if [ "$5" = "yes" ] || [ "$5" = "y" ]; then + echo "Simulated Telemetry is ON" + else + echo "Simulated Telemetry is OFF" + fi + + echo + + # $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} + + echo "Do you want Simulated Telemetry ON (y/n) " + read sim + echo else - echo "Simulated Telemetry is OFF" + sim="$param2" fi - - echo - -# $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} - - echo "Do you want Simulated Telemetry ON (y/n) " - read sim - echo - + if [ "$sim" = "y" ] || [ "$sim" = "yes" ] ; then sim="yes" echo "Simulated Telemetry is ON" @@ -583,19 +587,15 @@ elif [ "$1" = "-t" ]; then echo "Simulated Telemetry is OFF" echo "-1" > /home/pi/CubeSatSim/failure_mode.txt # make sure to turn off any simulated failures fi - + # echo echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" # echo echo $1 $2 $3 $4 $sim $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} echo $1 $2 $3 $4 $sim $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} > /home/pi/CubeSatSim/sim.cfg echo -## echo "Rebooting CubeSatSim with new configuration file" -## echo reboot=1 -## sudo reboot now -# sudo restart cubesatsim elif [ "$1" = "-c" ]; then From 3184a5335038bdad7b1724f803ac33d595638380 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:35:00 -0400 Subject: [PATCH 038/128] Update config.yaml --- OliveTin/config.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index edd8dfd1..4048e000 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -116,11 +116,11 @@ actions: - title: "Scan I2C Bus" shell: /home/pi/CubeSatSim/config -S onclick: execution-dialog - + timeout: 60 + - title: "Clear Logs and Restart" shell: /home/pi/CubeSatSim/config -C onclick: execution-dialog - timeout: 60 - title: "Read Squelch" shell: /home/pi/CubeSatSim/config -Q @@ -140,6 +140,14 @@ actions: - title: "Reset the Pacsat Configuration" shell: /home/pi/CubeSatSim/config -k onclick: execution-dialog + + - title: "Turning Simulated Telemetry ON" + shell: /home/pi/CubeSatSim/config -t yes + onclick: execution-dialog + + - title: "Turning Simulated Telemetry OFF" + shell: /home/pi/CubeSatSim/config -t no + onclick: execution-dialog dashboards: - title: CubeSatSim Dashboard @@ -169,6 +177,8 @@ dashboards: - title: "Change Callsign" - title: "Change Latitude and Longitude" - title: "Reset the Pacsat Configuration" + - title: "Turning Simulated Telemetry ON" + - title: "Turning Simulated Telemetry OFF" - title: Logs contents: From 4b323d084ddb81cd22546cf0678dfd32bb11d6ba Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:42:54 -0400 Subject: [PATCH 039/128] Update config fix -M --- config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config b/config index 42bb9f89..7a8c9f2c 100755 --- a/config +++ b/config @@ -1583,10 +1583,11 @@ elif [ "$1" = "-j" ]; then elif [ "$1" = "-M" ]; then - if [ $fail ]; then - MODE=$fail - else +# if [ $fail ]; then +# MODE=$fail +# else + if [ -z "$param2" ] ; then FILE=/home/pi/CubeSatSim/failure_mode.txt if [ -f "$FILE" ]; then if [[ $(grep "\-1" $FILE) ]]; then @@ -1659,6 +1660,8 @@ elif [ "$1" = "-M" ]; then echo "Enter the failure number to set: 0 - 11" read MODE echo + else + MODE="$param2" fi if [ "$MODE" = "0" ]; then From 53735827d59b402718b305952aa19fc464164aa2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:45:39 -0400 Subject: [PATCH 040/128] Update config fix fail= --- config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config b/config index 7a8c9f2c..e0321693 100755 --- a/config +++ b/config @@ -147,10 +147,10 @@ else if [ "$2" = "-n" ] ; then echo "Reboot disabled" noreboot=1 - else - fail=$2 - fi - +# else +# fail=$2 +# fi +# fi # echo "No reboot" From ebbeed69e694d08967633b596fe96941af80358f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:48:23 -0400 Subject: [PATCH 041/128] Update config missing fi --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index e0321693..3f302a07 100755 --- a/config +++ b/config @@ -149,7 +149,7 @@ else noreboot=1 # else # fail=$2 -# fi + fi # fi From ff22275cf70ee2e8ddf3fa2b4f5030283f37a6b3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:52:53 -0400 Subject: [PATCH 042/128] Update config fix noreboot --- config | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/config b/config index 3f302a07..562cdbb8 100755 --- a/config +++ b/config @@ -141,17 +141,22 @@ sudo modprobe snd-aloop if [ "$2" = "-n" ] ; then # if [ -z "$2" ] ; then - noreboot=0 + echo "Reboot disabled" + noreboot=1 param2="" else - if [ "$2" = "-n" ] ; then - echo "Reboot disabled" - noreboot=1 + noreboot=0 +fi + +#else +# if [ "$2" = "-n" ] ; then +# echo "Reboot disabled" +# noreboot=1 # else # fail=$2 - fi +# fi # -fi +# fi # echo "No reboot" # echo $noreboot From 99c841972181150cd81659c336ae40aadb1f6bf0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 10:58:41 -0400 Subject: [PATCH 043/128] Update config -H param --- config | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/config b/config index 562cdbb8..43e49279 100755 --- a/config +++ b/config @@ -1303,28 +1303,30 @@ elif [ "$1" = "-o" ]; then elif [ "$1" = "-H" ]; then # echo - echo "Editing the Balloon mode setting in" - echo "the configuration file for CubeSatSim" + echo "Setting Balloon mode" echo value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value - if [ "$9" = "yes" ] || [ "$9" = "y" ]; then - echo "Balloon mode is ON" + if [ -z "$param2" ] ; then + if [ "$9" = "yes" ] || [ "$9" = "y" ]; then + echo "Balloon mode is ON" + else + echo "Balloon mode is OFF" + fi + + echo + + # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} + + echo "Do you want Balloon mode ON (y/n) " + read hab + echo else - echo "Balloon mode is OFF" + hab="$param2" fi - - echo - -# echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} - - echo "Do you want Balloon mode ON (y/n) " - read hab - echo - if [ "$hab" = "y" ] || [ "$hab" = "yes" ] ; then hab="yes" echo "Balloon mode is ON" From f7d3d771c2e320ca66e7b3d937d2909a85866a22 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:00:12 -0400 Subject: [PATCH 044/128] Update config.yaml --- OliveTin/config.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 4048e000..d1109490 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -147,7 +147,15 @@ actions: - title: "Turning Simulated Telemetry OFF" shell: /home/pi/CubeSatSim/config -t no - onclick: execution-dialog + onclick: execution-dialog + + - title: "Turning Balloon Mode ON" + shell: /home/pi/CubeSatSim/config -H yes + onclick: execution-dialog + + - title: "Turning Balloon Mode OFF" + shell: /home/pi/CubeSatSim/config -H no + onclick: execution-dialog dashboards: - title: CubeSatSim Dashboard @@ -179,6 +187,8 @@ dashboards: - title: "Reset the Pacsat Configuration" - title: "Turning Simulated Telemetry ON" - title: "Turning Simulated Telemetry OFF" + - title: "Turning Balloon Mode ON" + - title: "Turning Balloon Mode OFF" - title: Logs contents: From de31271eecd2394d269d778c5bc864d29a484180 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:05:36 -0400 Subject: [PATCH 045/128] Update config.yaml add timeout: 5 --- OliveTin/config.yaml | 47 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index d1109490..16a7f523 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -2,63 +2,78 @@ actions: - title: "Show CubeSatSim Config" shell: /home/pi/CubeSatSim/config onclick: execution-dialog + timeout: 5 - title: "Change Mode to APRS" shell: /home/pi/CubeSatSim/config -a onclick: execution-dialog + timeout: 5 - title: "Change Mode to FSK" shell: /home/pi/CubeSatSim/config -f onclick: execution-dialog + timeout: 5 - title: "Change Mode to BPSK" shell: /home/pi/CubeSatSim/config -b onclick: execution-dialog + timeout: 5 - title: "Change Mode to SSTV" shell: /home/pi/CubeSatSim/config -s onclick: execution-dialog + timeout: 5 - title: "Change Mode to CW" shell: /home/pi/CubeSatSim/config -m onclick: execution-dialog + timeout: 5 - title: "Change Mode to Repeater" shell: /home/pi/CubeSatSim/config -e onclick: execution-dialog + timeout: 5 - title: "Change Mode to FUNcube" shell: /home/pi/CubeSatSim/config -j onclick: execution-dialog + timeout: 5 - title: "Change Mode to Pacsat" shell: /home/pi/CubeSatSim/config -G onclick: execution-dialog + timeout: 5 - title: "Change Mode to Pacsat Ground Station" shell: /home/pi/CubeSatSim/config -I onclick: execution-dialog + timeout: 5 - title: "Change Mode to Battery Saver" shell: bash -c "/home/pi/CubeSatSim/config -B <<< y" onclick: execution-dialog + timeout: 5 - title: "Turn Doppler Mode OFF" shell: /home/pi/CubeSatSim/config -K no onclick: execution-dialog + timeout: 5 - title: "Turn Simulated Doppler Mode ON" shell: /home/pi/CubeSatSim/config -K sim onclick: execution-dialog + timeout: 5 - title: "Turn Radio Control Doppler Mode ON" shell: /home/pi/CubeSatSim/config -K rig onclick: execution-dialog + timeout: 5 - title: "Change TX and RX Frequency" icon: smile shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }} onclick: execution-dialog + timeout: 5 arguments: - name: tx type: ascii_sentence @@ -69,6 +84,7 @@ actions: icon: smile shell: /home/pi/CubeSatSim/config -c {{ callsign }} onclick: execution-dialog + timeout: 5 arguments: - name: callsign type: ascii_sentence @@ -77,6 +93,7 @@ actions: icon: smile shell: /home/pi/CubeSatSim/config -l {{ lat }} {{ lon }} onclick: execution-dialog + timeout: 5 arguments: - name: lat type: ascii_sentence @@ -86,11 +103,13 @@ actions: - title: "Show CubeSatSim Log Realtime" shell: /home/pi/CubeSatSim/log -d r onclick: execution-dialog + timeout: 5 timeout: 60 - title: "Show CubeSatSim Log" shell: /home/pi/CubeSatSim/log -d onclick: execution-dialog + timeout: 5 - title: "Show Command and Control Log Realtime" shell: /home/pi/CubeSatSim/log -c r @@ -100,18 +119,22 @@ actions: - title: "Show Command and Control Log" shell: /home/pi/CubeSatSim/log -c onclick: execution-dialog + timeout: 5 - title: "Restart CubeSatSim" shell: echo "Restarting CubeSatSim now!" && sudo reboot now - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Shutdown CubeSatSim" shell: echo "Shutting Down CubeSatSim now!" && sudo shutdown now - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Restart CubeSatSim Software" shell: /home/pi/CubeSatSim/config -i - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Scan I2C Bus" shell: /home/pi/CubeSatSim/config -S @@ -120,7 +143,8 @@ actions: - title: "Clear Logs and Restart" shell: /home/pi/CubeSatSim/config -C - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Read Squelch" shell: /home/pi/CubeSatSim/config -Q @@ -139,23 +163,28 @@ actions: - title: "Reset the Pacsat Configuration" shell: /home/pi/CubeSatSim/config -k - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Turning Simulated Telemetry ON" shell: /home/pi/CubeSatSim/config -t yes - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Turning Simulated Telemetry OFF" shell: /home/pi/CubeSatSim/config -t no - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Turning Balloon Mode ON" shell: /home/pi/CubeSatSim/config -H yes - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 - title: "Turning Balloon Mode OFF" shell: /home/pi/CubeSatSim/config -H no - onclick: execution-dialog + onclick: execution-dialog + timeout: 5 dashboards: - title: CubeSatSim Dashboard From 9ed8867bb5d62456b40ebc051db32bb673d6e6eb Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:07:01 -0400 Subject: [PATCH 046/128] Update config.yaml extra timeout --- OliveTin/config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 16a7f523..589b11ce 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -103,7 +103,6 @@ actions: - title: "Show CubeSatSim Log Realtime" shell: /home/pi/CubeSatSim/log -d r onclick: execution-dialog - timeout: 5 timeout: 60 - title: "Show CubeSatSim Log" From 58d9b4693b63864bc0e2fa404143a145153c05da Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:17:16 -0400 Subject: [PATCH 047/128] Update config -T param --- config | 123 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 76 insertions(+), 47 deletions(-) diff --git a/config b/config index 43e49279..43252bcd 100755 --- a/config +++ b/config @@ -823,62 +823,91 @@ elif [ "$1" = "-T" ]; then echo "Change command and control state" echo - FILE=/home/pi/CubeSatSim/command_control - if [ -f "$FILE" ]; then - echo "Radio command and control is ON" - echo - echo "Do you want to turn command and control to OFF (y/n) " - read reset - echo + if [ -z "$param2" ] ; then + FILE=/home/pi/CubeSatSim/command_control + if [ -f "$FILE" ]; then + echo "Radio command and control is ON" + echo + echo "Do you want to turn command and control to OFF (y/n) " + read reset + echo + + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "Turning command and control OFF" + sudo rm /home/pi/CubeSatSim/command_control > /dev/null 2>&1 + # reboot=1 + echo "restarting command and control" + sudo systemctl restart command + echo "restarting transmit" + sudo systemctl restart transmit + ## sudo reboot now + fi + + else + echo "Radio command and control is OFF" + echo + echo "Do you want to set command and control to ON (y/n) " + read reset + echo + + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + + value=`cat /home/pi/CubeSatSim/.mode` + echo "$value" > /dev/null + set -- $value + + if [ "$1" != "n" ] ; then + echo "Turning command and control ON" + + value=`cat /home/pi/CubeSatSim/sim.cfg` + echo "$value" > /dev/null + set -- $value + + echo -n "RX Frequency is: " + echo -n ${8} + echo " MHz" + echo + + sudo touch /home/pi/CubeSatSim/command_control + echo "restarting command and control" + # reboot=1 + sudo systemctl restart command + echo "restarting transmit" + sudo systemctl restart transmit + ## sudo reboot now + else + echo "Can't turn on Command and control in Transmit Commands mode." + fi + fi + + fi + else + reset="$param2" if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "Turning command and control ON" + value=`cat /home/pi/CubeSatSim/sim.cfg` + echo "$value" > /dev/null + set -- $value + + echo -n "RX Frequency is: " + echo -n ${8} + echo " MHz" + echo + + sudo touch /home/pi/CubeSatSim/command_control + echo "restarting command and control" + sudo systemctl restart command + echo "restarting transmit" + sudo systemctl restart transmit + else echo "Turning command and control OFF" sudo rm /home/pi/CubeSatSim/command_control > /dev/null 2>&1 -# reboot=1 echo "restarting command and control" sudo systemctl restart command echo "restarting transmit" sudo systemctl restart transmit -## sudo reboot now fi - - else - echo "Radio command and control is OFF" - echo - echo "Do you want to set command and control to ON (y/n) " - read reset - echo - - if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then - - value=`cat /home/pi/CubeSatSim/.mode` - echo "$value" > /dev/null - set -- $value - - if [ "$1" != "n" ] ; then - echo "Turning command and control ON" - - value=`cat /home/pi/CubeSatSim/sim.cfg` - echo "$value" > /dev/null - set -- $value - - echo -n "RX Frequency is: " - echo -n ${8} - echo " MHz" - echo - - sudo touch /home/pi/CubeSatSim/command_control - echo "restarting command and control" -# reboot=1 - sudo systemctl restart command - echo "restarting transmit" - sudo systemctl restart transmit -## sudo reboot now - else - echo "Can't turn on Command and control in Transmit Commands mode." - fi - fi - fi elif [ "$1" = "-d" ]; then From cb27f3079af2690a6fc00b55bd0b51345da90a3c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:18:02 -0400 Subject: [PATCH 048/128] Update config.yaml --- OliveTin/config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 589b11ce..2d092ef5 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -184,6 +184,16 @@ actions: shell: /home/pi/CubeSatSim/config -H no onclick: execution-dialog timeout: 5 + + - title: "Turning Command and Control ON" + shell: /home/pi/CubeSatSim/config -T yes + onclick: execution-dialog + timeout: 5 + + - title: "Turning BCommand and Control OFF" + shell: /home/pi/CubeSatSim/config -T no + onclick: execution-dialog + timeout: 5 dashboards: - title: CubeSatSim Dashboard From b0de709f3c80fe35847db3d61e627f7f8c380246 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:20:34 -0400 Subject: [PATCH 049/128] Update config.yaml --- OliveTin/config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 2d092ef5..ad109695 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -190,7 +190,7 @@ actions: onclick: execution-dialog timeout: 5 - - title: "Turning BCommand and Control OFF" + - title: "Turning Command and Control OFF" shell: /home/pi/CubeSatSim/config -T no onclick: execution-dialog timeout: 5 @@ -227,6 +227,8 @@ dashboards: - title: "Turning Simulated Telemetry OFF" - title: "Turning Balloon Mode ON" - title: "Turning Balloon Mode OFF" + - title: "Turning Command and Control ON" + - title: "Turning Command and Control OFF" - title: Logs contents: From 73ce51696ff2482f055875cda494296e56eae87b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:26:21 -0400 Subject: [PATCH 050/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index ad109695..f11e7edf 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -70,7 +70,7 @@ actions: timeout: 5 - title: "Change TX and RX Frequency" - icon: smile + icon: ToggleOffIcon shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }} onclick: execution-dialog timeout: 5 From b7bbb0c54fe8436b95d4fbde1a665805a986bf05 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:27:33 -0400 Subject: [PATCH 051/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index f11e7edf..2545040a 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -70,7 +70,7 @@ actions: timeout: 5 - title: "Change TX and RX Frequency" - icon: ToggleOffIcon + icon: ugeicons:ToggleOffIcon shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }} onclick: execution-dialog timeout: 5 From 6e63474ffca49159a7a0597207c3d8876705f954 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:28:20 -0400 Subject: [PATCH 052/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 2545040a..f8b61f5a 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -70,7 +70,7 @@ actions: timeout: 5 - title: "Change TX and RX Frequency" - icon: ugeicons:ToggleOffIcon + icon: hugeicons:ToggleOffIcon shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }} onclick: execution-dialog timeout: 5 From 359042e3f5c8e994c0d74a7623f66b268c9c50d9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:39:07 -0400 Subject: [PATCH 053/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index f8b61f5a..75de10c3 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -70,7 +70,7 @@ actions: timeout: 5 - title: "Change TX and RX Frequency" - icon: hugeicons:ToggleOffIcon + icon: "⭕" shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }} onclick: execution-dialog timeout: 5 From df169c080042ea04e4fe0f3fe3d047cde08a7cbd Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:42:12 -0400 Subject: [PATCH 054/128] Update config.yaml --- OliveTin/config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 75de10c3..ffe92339 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -56,11 +56,13 @@ actions: - title: "Turn Doppler Mode OFF" shell: /home/pi/CubeSatSim/config -K no + icon: "❌" onclick: execution-dialog timeout: 5 - title: "Turn Simulated Doppler Mode ON" - shell: /home/pi/CubeSatSim/config -K sim + shell: /home/pi/CubeSatSim/config -K sim + icon: "🟢" onclick: execution-dialog timeout: 5 From 1c66e0e0c2ff122e48e57aec64e85109947058bd Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:44:18 -0400 Subject: [PATCH 055/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index ffe92339..bf6d1e59 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -83,7 +83,7 @@ actions: type: ascii_sentence - title: "Change Callsign" - icon: smile + icon: "⚙" shell: /home/pi/CubeSatSim/config -c {{ callsign }} onclick: execution-dialog timeout: 5 From 81339a5d9a6463b524cbdd2d1f3be90db7e953d3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:57:54 -0400 Subject: [PATCH 056/128] Update config -B param --- config | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/config b/config index 43252bcd..50b795c0 100755 --- a/config +++ b/config @@ -1043,24 +1043,32 @@ elif [ "$1" = "-B" ]; then echo echo "Manually setting Safe Mode (battery saver mode)" echo - - FILE=/home/pi/CubeSatSim/battery_saver - if [ -f "$FILE" ]; then - echo "Safe Mode! Battery saver mode is ON." - mode=1 - else - echo "Safe Mode is OFF." - echo "Battery saver mode is OFF." - mode=0 - fi - - echo - - echo "Do you want Safe Mode (battery saver mode) ON (y/n) " - read saver - echo -## reboot=0 + if [ -z "$param2" ] ; then + FILE=/home/pi/CubeSatSim/battery_saver + if [ -f "$FILE" ]; then + echo "Safe Mode! Battery saver mode is ON." + mode=1 + else + echo "Safe Mode is OFF." + echo "Battery saver mode is OFF." + mode=0 + fi + + echo + + echo "Do you want Safe Mode (battery saver mode) ON (y/n) " + read saver + echo + else + FILE=/home/pi/CubeSatSim/battery_saver + if [ -f "$FILE" ]; then + mode=1 + else + mode=0 + fi + saver="$param2" + fi if [ "$saver" = "y" ] || [ "$saver" = "yes" ] ; then if [ "$mode" = "0" ] ; then From d7947ff498317b478b6ee90f6cffaa7fbbef3883 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 11:59:14 -0400 Subject: [PATCH 057/128] Update config.yaml --- OliveTin/config.yaml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index bf6d1e59..d234d824 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -49,25 +49,33 @@ actions: onclick: execution-dialog timeout: 5 - - title: "Change Mode to Battery Saver" - shell: bash -c "/home/pi/CubeSatSim/config -B <<< y" + - title: "Turn Battery Saver Mode ON" + shell: bash -c "/home/pi/CubeSatSim/config -B yes" + icon: "🟢" # green ball + onclick: execution-dialog + timeout: 5 + + - title: "Turn Battery Saver Mode OFF" + shell: bash -c "/home/pi/CubeSatSim/config -B no" + icon: "❌" # red X onclick: execution-dialog timeout: 5 - title: "Turn Doppler Mode OFF" shell: /home/pi/CubeSatSim/config -K no - icon: "❌" + icon: "❌" # red X onclick: execution-dialog timeout: 5 - title: "Turn Simulated Doppler Mode ON" shell: /home/pi/CubeSatSim/config -K sim - icon: "🟢" + icon: "🟢" # green ball onclick: execution-dialog timeout: 5 - title: "Turn Radio Control Doppler Mode ON" - shell: /home/pi/CubeSatSim/config -K rig + shell: /home/pi/CubeSatSim/config -K rig + icon: "🟢" # green ball onclick: execution-dialog timeout: 5 @@ -169,31 +177,37 @@ actions: - title: "Turning Simulated Telemetry ON" shell: /home/pi/CubeSatSim/config -t yes + icon: "🟢" # green ball onclick: execution-dialog timeout: 5 - title: "Turning Simulated Telemetry OFF" shell: /home/pi/CubeSatSim/config -t no + icon: "❌" # red X onclick: execution-dialog timeout: 5 - title: "Turning Balloon Mode ON" shell: /home/pi/CubeSatSim/config -H yes + icon: "🟢" # green ball onclick: execution-dialog timeout: 5 - title: "Turning Balloon Mode OFF" shell: /home/pi/CubeSatSim/config -H no + icon: "❌" # red X onclick: execution-dialog timeout: 5 - title: "Turning Command and Control ON" shell: /home/pi/CubeSatSim/config -T yes + icon: "🟢" # green ball onclick: execution-dialog timeout: 5 - title: "Turning Command and Control OFF" shell: /home/pi/CubeSatSim/config -T no + icon: "❌" # red X onclick: execution-dialog timeout: 5 @@ -217,7 +231,8 @@ dashboards: - title: Settings contents: - - title: "Change Mode to Battery Saver" + - title: "Turn Battery Saver Mode ON" + - title: "Turn Battery Saver Mode OFF" - title: "Turn Doppler Mode OFF" - title: "Turn Simulated Doppler Mode ON" - title: "Turn Radio Control Doppler Mode ON" From 76760e726d8f048382264af0cda615089c4408b4 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:02:42 -0400 Subject: [PATCH 058/128] Update config.yaml --- OliveTin/config.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index d234d824..9b53af22 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -46,6 +46,7 @@ actions: - title: "Change Mode to Pacsat Ground Station" shell: /home/pi/CubeSatSim/config -I + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 @@ -80,7 +81,7 @@ actions: timeout: 5 - title: "Change TX and RX Frequency" - icon: "⭕" + icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }} onclick: execution-dialog timeout: 5 @@ -91,7 +92,7 @@ actions: type: ascii_sentence - title: "Change Callsign" - icon: "⚙" + icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -c {{ callsign }} onclick: execution-dialog timeout: 5 @@ -100,7 +101,7 @@ actions: type: ascii_sentence - title: "Change Latitude and Longitude" - icon: smile + icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -l {{ lat }} {{ lon }} onclick: execution-dialog timeout: 5 @@ -171,6 +172,7 @@ actions: timeout: 15 - title: "Reset the Pacsat Configuration" + icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -k onclick: execution-dialog timeout: 5 From 680deeb6f89b5ac1dc272d88bfd4678eb2330322 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:05:23 -0400 Subject: [PATCH 059/128] Update config.yaml --- OliveTin/config.yaml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 9b53af22..392d1823 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,46 +1,55 @@ actions: - title: "Show CubeSatSim Config" - shell: /home/pi/CubeSatSim/config + shell: /home/pi/CubeSatSim/config + icon: "⚙" # gear onclick: execution-dialog timeout: 5 - title: "Change Mode to APRS" - shell: /home/pi/CubeSatSim/config -a + shell: /home/pi/CubeSatSim/config -a + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 - title: "Change Mode to FSK" - shell: /home/pi/CubeSatSim/config -f + shell: /home/pi/CubeSatSim/config -f + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 - title: "Change Mode to BPSK" - shell: /home/pi/CubeSatSim/config -b + shell: /home/pi/CubeSatSim/config -b + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 - title: "Change Mode to SSTV" - shell: /home/pi/CubeSatSim/config -s + shell: /home/pi/CubeSatSim/config -s + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 - title: "Change Mode to CW" - shell: /home/pi/CubeSatSim/config -m + shell: /home/pi/CubeSatSim/config -m + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 - title: "Change Mode to Repeater" - shell: /home/pi/CubeSatSim/config -e + shell: /home/pi/CubeSatSim/config -e + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 - title: "Change Mode to FUNcube" - shell: /home/pi/CubeSatSim/config -j + shell: /home/pi/CubeSatSim/config -j + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 - title: "Change Mode to Pacsat" - shell: /home/pi/CubeSatSim/config -G + shell: /home/pi/CubeSatSim/config -G + icon: "🛰" # satellite onclick: execution-dialog timeout: 5 @@ -113,6 +122,7 @@ actions: - title: "Show CubeSatSim Log Realtime" shell: /home/pi/CubeSatSim/log -d r + icon: logs onclick: execution-dialog timeout: 60 From 2ad77caa89272f78173956d2b6574a181d8c0299 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:09:01 -0400 Subject: [PATCH 060/128] Update config.yaml --- OliveTin/config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 392d1823..c55465aa 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -128,56 +128,67 @@ actions: - title: "Show CubeSatSim Log" shell: /home/pi/CubeSatSim/log -d + icon: logs onclick: execution-dialog timeout: 5 - title: "Show Command and Control Log Realtime" shell: /home/pi/CubeSatSim/log -c r + icon: logs onclick: execution-dialog timeout: 60 - title: "Show Command and Control Log" shell: /home/pi/CubeSatSim/log -c + icon: logs onclick: execution-dialog timeout: 5 - title: "Restart CubeSatSim" shell: echo "Restarting CubeSatSim now!" && sudo reboot now + icon: restart onclick: execution-dialog timeout: 5 - title: "Shutdown CubeSatSim" shell: echo "Shutting Down CubeSatSim now!" && sudo shutdown now + icon: restart onclick: execution-dialog timeout: 5 - title: "Restart CubeSatSim Software" shell: /home/pi/CubeSatSim/config -i + icon: restart onclick: execution-dialog timeout: 5 - title: "Scan I2C Bus" shell: /home/pi/CubeSatSim/config -S + icon: restart onclick: execution-dialog timeout: 60 - title: "Clear Logs and Restart" shell: /home/pi/CubeSatSim/config -C + icon: restart onclick: execution-dialog timeout: 5 - title: "Read Squelch" shell: /home/pi/CubeSatSim/config -Q + icon: logs onclick: execution-dialog timeout: 15 - title: "Display Payload Sensor Data" shell: /home/pi/CubeSatSim/config -p + icon: logs onclick: execution-dialog timeout: 15 - title: "Display Voltage and Current Data" shell: /home/pi/CubeSatSim/config -v + icon: logs onclick: execution-dialog timeout: 15 From 2cccf2fe3237b9482e6c12dccf1fb20cb2c079b6 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:10:32 -0400 Subject: [PATCH 061/128] Update config.yaml --- OliveTin/config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index c55465aa..a8739027 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -164,7 +164,7 @@ actions: - title: "Scan I2C Bus" shell: /home/pi/CubeSatSim/config -S - icon: restart + icon: logs onclick: execution-dialog timeout: 60 @@ -271,6 +271,7 @@ dashboards: - title: "Turning Command and Control OFF" - title: Logs + icon: logs contents: - title: "Show CubeSatSim Log" - title: "Show CubeSatSim Log Realtime" From 447d47d18a8740cb1abdbea75af1e5cfb95d5c95 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:21:26 -0400 Subject: [PATCH 062/128] Update config.yaml --- OliveTin/config.yaml | 111 +++++++++++++++++++++++++++++++++---------- 1 file changed, 87 insertions(+), 24 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index a8739027..7bf204e4 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -131,6 +131,66 @@ actions: icon: logs onclick: execution-dialog timeout: 5 + + - title: "Show CubeSatSim Transmit Log Realtime" + shell: /home/pi/CubeSatSim/log -t r + icon: logs + onclick: execution-dialog + timeout: 60 + + - title: "Show CubeSatSim Transmit Log" + shell: /home/pi/CubeSatSim/log -t + icon: logs + onclick: execution-dialog + timeout: 5 + + - title: "Show CubeSatSim Frequency Control Log Realtime" + shell: /home/pi/CubeSatSim/log -r r + icon: logs + onclick: execution-dialog + timeout: 60 + + - title: "Show CubeSatSim Frequency Control Log" + shell: /home/pi/CubeSatSim/log -r + icon: logs + onclick: execution-dialog + timeout: 5 + + - title: "Show CubeSatSim Frequency Display Log Realtime" + shell: /home/pi/CubeSatSim/log -f r + icon: logs + onclick: execution-dialog + timeout: 60 + + - title: "Show CubeSatSim Frequency Display Log" + shell: /home/pi/CubeSatSim/log -f + icon: logs + onclick: execution-dialog + timeout: 5 + + - title: "Show CubeSatSim Pacsat Log Realtime" + shell: /home/pi/CubeSatSim/log -p r + icon: logs + onclick: execution-dialog + timeout: 60 + + - title: "Show CubeSatSim Pacsat Log" + shell: /home/pi/CubeSatSim/log -p + icon: logs + onclick: execution-dialog + timeout: 5 + + - title: "Show CubeSatSim Pushbutton Log Realtime" + shell: /home/pi/CubeSatSim/log -b r + icon: logs + onclick: execution-dialog + timeout: 60 + + - title: "Show CubeSatSim Pushbutton Log" + shell: /home/pi/CubeSatSim/log -b + icon: logs + onclick: execution-dialog + timeout: 5 - title: "Show Command and Control Log Realtime" shell: /home/pi/CubeSatSim/log -c r @@ -198,37 +258,37 @@ actions: onclick: execution-dialog timeout: 5 - - title: "Turning Simulated Telemetry ON" + - title: "Turn Simulated Telemetry ON" shell: /home/pi/CubeSatSim/config -t yes icon: "🟢" # green ball onclick: execution-dialog timeout: 5 - - title: "Turning Simulated Telemetry OFF" + - title: "Turn Simulated Telemetry OFF" shell: /home/pi/CubeSatSim/config -t no icon: "❌" # red X onclick: execution-dialog timeout: 5 - - title: "Turning Balloon Mode ON" + - title: "Turn Balloon Mode ON" shell: /home/pi/CubeSatSim/config -H yes icon: "🟢" # green ball onclick: execution-dialog timeout: 5 - - title: "Turning Balloon Mode OFF" + - title: "Turn Balloon Mode OFF" shell: /home/pi/CubeSatSim/config -H no icon: "❌" # red X onclick: execution-dialog timeout: 5 - - title: "Turning Command and Control ON" + - title: "Turn Command and Control ON" shell: /home/pi/CubeSatSim/config -T yes icon: "🟢" # green ball onclick: execution-dialog timeout: 5 - - title: "Turning Command and Control OFF" + - title: "Turn Command and Control OFF" shell: /home/pi/CubeSatSim/config -T no icon: "❌" # red X onclick: execution-dialog @@ -254,30 +314,33 @@ dashboards: - title: Settings contents: - - title: "Turn Battery Saver Mode ON" - - title: "Turn Battery Saver Mode OFF" - - title: "Turn Doppler Mode OFF" - - title: "Turn Simulated Doppler Mode ON" - - title: "Turn Radio Control Doppler Mode ON" - - title: "Change TX and RX Frequency" - title: "Change Callsign" - title: "Change Latitude and Longitude" + - title: "Change TX and RX Frequency" - title: "Reset the Pacsat Configuration" - - title: "Turning Simulated Telemetry ON" - - title: "Turning Simulated Telemetry OFF" - - title: "Turning Balloon Mode ON" - - title: "Turning Balloon Mode OFF" - - title: "Turning Command and Control ON" - - title: "Turning Command and Control OFF" + - title: "Turn Simulated Doppler Mode ON" + - title: "Turn Radio Control Doppler Mode ON" + - title: "Turn Doppler Mode OFF" + - title: "Turn Command and Control ON" + - title: "Turn Command and Control OFF" + - title: "Turn Battery Saver Mode ON" + - title: "Turn Battery Saver Mode OFF" + - title: "Turn Simulated Telemetry ON" + - title: "Turn Simulated Telemetry OFF" + - title: "Turn Balloon Mode ON" + - title: "Turn Balloon Mode OFF" - title: Logs - icon: logs contents: - - title: "Show CubeSatSim Log" - - title: "Show CubeSatSim Log Realtime" - - title: "Show Command and Control Log" - - title: "Show Command and Control Log Realtime" - + - title: Static Logs + contents: + - title: "Show CubeSatSim Log" + - title: "Show Command and Control Log" + - title: Realtime Logs + contents: + - title: "Show CubeSatSim Log Realtime" + - title: "Show Command and Control Log Realtime" + - title: Diagnostics contents: - title: "Scan I2C Bus" From 6f396d87de9c24f0cc00b7d3e298884f072f1796 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:39:45 -0400 Subject: [PATCH 063/128] Update config.yaml --- OliveTin/config.yaml | 48 +++++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 7bf204e4..67417734 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -120,85 +120,85 @@ actions: - name: lon type: ascii_sentence - - title: "Show CubeSatSim Log Realtime" + - title: "Realtime CubeSatSim Log" shell: /home/pi/CubeSatSim/log -d r icon: logs onclick: execution-dialog timeout: 60 - - title: "Show CubeSatSim Log" + - title: "CubeSatSim Log" shell: /home/pi/CubeSatSim/log -d icon: logs onclick: execution-dialog timeout: 5 - - title: "Show CubeSatSim Transmit Log Realtime" + - title: "Realtime CubeSatSim Transmit Log" shell: /home/pi/CubeSatSim/log -t r icon: logs onclick: execution-dialog timeout: 60 - - title: "Show CubeSatSim Transmit Log" + - title: "CubeSatSim Transmit Log" shell: /home/pi/CubeSatSim/log -t icon: logs onclick: execution-dialog timeout: 5 - - title: "Show CubeSatSim Frequency Control Log Realtime" + - title: "Realtime CubeSatSim Frequency Control Log" shell: /home/pi/CubeSatSim/log -r r icon: logs onclick: execution-dialog timeout: 60 - - title: "Show CubeSatSim Frequency Control Log" + - title: "CubeSatSim Frequency Control Log" shell: /home/pi/CubeSatSim/log -r icon: logs onclick: execution-dialog timeout: 5 - - title: "Show CubeSatSim Frequency Display Log Realtime" + - title: "Realtime CubeSatSim Frequency Display Log" shell: /home/pi/CubeSatSim/log -f r icon: logs onclick: execution-dialog timeout: 60 - - title: "Show CubeSatSim Frequency Display Log" + - title: "CubeSatSim Frequency Display Log" shell: /home/pi/CubeSatSim/log -f icon: logs onclick: execution-dialog timeout: 5 - - title: "Show CubeSatSim Pacsat Log Realtime" + - title: "Realtime CubeSatSim Pacsat Log" shell: /home/pi/CubeSatSim/log -p r icon: logs onclick: execution-dialog timeout: 60 - - title: "Show CubeSatSim Pacsat Log" + - title: "CubeSatSim Pacsat Log" shell: /home/pi/CubeSatSim/log -p icon: logs onclick: execution-dialog timeout: 5 - - title: "Show CubeSatSim Pushbutton Log Realtime" + - title: "Realtime CubeSatSim Pushbutton Log" shell: /home/pi/CubeSatSim/log -b r icon: logs onclick: execution-dialog timeout: 60 - - title: "Show CubeSatSim Pushbutton Log" + - title: "CubeSatSim Pushbutton Log" shell: /home/pi/CubeSatSim/log -b icon: logs onclick: execution-dialog timeout: 5 - - title: "Show Command and Control Log Realtime" + - title: "Realtime Command and Control Log" shell: /home/pi/CubeSatSim/log -c r icon: logs onclick: execution-dialog timeout: 60 - - title: "Show Command and Control Log" + - title: "Command and Control Log" shell: /home/pi/CubeSatSim/log -c icon: logs onclick: execution-dialog @@ -334,12 +334,24 @@ dashboards: contents: - title: Static Logs contents: - - title: "Show CubeSatSim Log" - - title: "Show Command and Control Log" + - title: "CubeSatSim Log" + - title: "Transmit Log" + - title: "Command and Control Log" + - title: "Pacsat Log" + - title: "Frequency Control Log" + - title: "Frequency Display Log" + - title: "Pushbutton Log" + - title: "OliveTin Log" - title: Realtime Logs contents: - - title: "Show CubeSatSim Log Realtime" - - title: "Show Command and Control Log Realtime" + - title: "Realtime CubeSatSim Log" + - title: "Realtime Transmit Log" + - title: "Realtime Command and Control Log" + - title: "Realtime Pacsat Log" + - title: "Realtime Frequency Control Log" + - title: "Realtime Frequency Display Log" + - title: "Realtime Pushbutton Log" + - title: "Realtime OliveTin Log" - title: Diagnostics contents: From 8f357becde3acb6981093bf23e5fda5e2e3703a9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:43:56 -0400 Subject: [PATCH 064/128] Update config.yaml --- OliveTin/config.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 67417734..a2b3434e 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -126,67 +126,67 @@ actions: onclick: execution-dialog timeout: 60 - - title: "CubeSatSim Log" + - title: "Log" shell: /home/pi/CubeSatSim/log -d icon: logs onclick: execution-dialog timeout: 5 - - title: "Realtime CubeSatSim Transmit Log" + - title: "Realtime Transmit Log" shell: /home/pi/CubeSatSim/log -t r icon: logs onclick: execution-dialog timeout: 60 - - title: "CubeSatSim Transmit Log" + - title: "Transmit Log" shell: /home/pi/CubeSatSim/log -t icon: logs onclick: execution-dialog timeout: 5 - - title: "Realtime CubeSatSim Frequency Control Log" + - title: "Realtime Frequency Control Log" shell: /home/pi/CubeSatSim/log -r r icon: logs onclick: execution-dialog timeout: 60 - - title: "CubeSatSim Frequency Control Log" + - title: "Frequency Control Log" shell: /home/pi/CubeSatSim/log -r icon: logs onclick: execution-dialog timeout: 5 - - title: "Realtime CubeSatSim Frequency Display Log" + - title: "Realtime Frequency Display Log" shell: /home/pi/CubeSatSim/log -f r icon: logs onclick: execution-dialog timeout: 60 - - title: "CubeSatSim Frequency Display Log" + - title: "Frequency Display Log" shell: /home/pi/CubeSatSim/log -f icon: logs onclick: execution-dialog timeout: 5 - - title: "Realtime CubeSatSim Pacsat Log" + - title: "Realtime Pacsat Log" shell: /home/pi/CubeSatSim/log -p r icon: logs onclick: execution-dialog timeout: 60 - - title: "CubeSatSim Pacsat Log" + - title: "Pacsat Log" shell: /home/pi/CubeSatSim/log -p icon: logs onclick: execution-dialog timeout: 5 - - title: "Realtime CubeSatSim Pushbutton Log" + - title: "Realtime Pushbutton Log" shell: /home/pi/CubeSatSim/log -b r icon: logs onclick: execution-dialog timeout: 60 - - title: "CubeSatSim Pushbutton Log" + - title: "Pushbutton Log" shell: /home/pi/CubeSatSim/log -b icon: logs onclick: execution-dialog From 712ebd402f683aa710a18bd3b9bebcecf8aecb75 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 12:44:58 -0400 Subject: [PATCH 065/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index a2b3434e..8a3cff40 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -126,7 +126,7 @@ actions: onclick: execution-dialog timeout: 60 - - title: "Log" + - title: "CubeSatSim Log" shell: /home/pi/CubeSatSim/log -d icon: logs onclick: execution-dialog From d4153abf7a1bcba2ade0b293a050d00bb11da85c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 13:51:11 -0400 Subject: [PATCH 066/128] Update config.yaml add navigation links --- OliveTin/config.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 8a3cff40..03ca55e4 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -366,3 +366,16 @@ dashboards: - title: "Shutdown CubeSatSim" - title: "Restart CubeSatSim Software" - title: "Clear Logs and Restart" + +additionalNavigationLinks: + - title: CubeSatSim Wiki + url: https://CubeSatSim.org/wiki + target: _blank + + - title: CubeSatSim Code + url: https://CubeSatSim.org/code + target: _blank + + - title: CubeSatSim YouTube Videos + url: https://www.youtube.com/@ku2y + target: _blank From cc00779660ecdeb94c6dd22059d27cb68ce451bd Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 13:54:46 -0400 Subject: [PATCH 067/128] Create OliveTin.service default --- systemd/OliveTin.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/OliveTin.service diff --git a/systemd/OliveTin.service b/systemd/OliveTin.service new file mode 100644 index 00000000..f0c6d1b8 --- /dev/null +++ b/systemd/OliveTin.service @@ -0,0 +1,14 @@ +[Unit] +Description=OliveTin + +Requires=network-online.target +After=network-online.target +Requires=local-fs.target +After=local-fs.target + +[Service] +ExecStart=/usr/local/bin/OliveTin +Restart=always + +[Install] +WantedBy=multi-user.target From 295129f941b89013eb307563680ebdecda129729 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 13:55:24 -0400 Subject: [PATCH 068/128] Update OliveTin.service port 8080 --- systemd/OliveTin.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/OliveTin.service b/systemd/OliveTin.service index f0c6d1b8..5a99fe3e 100644 --- a/systemd/OliveTin.service +++ b/systemd/OliveTin.service @@ -9,6 +9,7 @@ After=local-fs.target [Service] ExecStart=/usr/local/bin/OliveTin Restart=always +Environment="PORT=8080" [Install] WantedBy=multi-user.target From 5d6d3fdcb009ec1646da6a6db6303f0f458646c7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 13:58:10 -0400 Subject: [PATCH 069/128] Update config.yaml --- OliveTin/config.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 03ca55e4..4c410fc6 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,3 +1,16 @@ +additionalNavigationLinks: + - title: CubeSatSim Wiki + url: https://CubeSatSim.org/wiki + target: _blank + + - title: CubeSatSim Code + url: https://CubeSatSim.org/code + target: _blank + + - title: CubeSatSim YouTube Videos + url: https://www.youtube.com/@ku2y + target: _blank + actions: - title: "Show CubeSatSim Config" shell: /home/pi/CubeSatSim/config @@ -366,16 +379,4 @@ dashboards: - title: "Shutdown CubeSatSim" - title: "Restart CubeSatSim Software" - title: "Clear Logs and Restart" - -additionalNavigationLinks: - - title: CubeSatSim Wiki - url: https://CubeSatSim.org/wiki - target: _blank - - - title: CubeSatSim Code - url: https://CubeSatSim.org/code - target: _blank - - title: CubeSatSim YouTube Videos - url: https://www.youtube.com/@ku2y - target: _blank From 29fae4256c8c07d8b98cdec2c56ef28b5c41fc7a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 14:02:28 -0400 Subject: [PATCH 070/128] Update install OliveTin systemd --- install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/install b/install index b84dcf38..cad45f9a 100755 --- a/install +++ b/install @@ -746,6 +746,7 @@ if [ -f "$FILE" ]; then if [[ $(diff /home/pi/CubeSatSim/OliveTin/config.yaml /etc/OliveTin/config.yaml) ]]; then echo "changed config.yaml" sudo cp /home/pi/CubeSatSim/OliveTin/config.yaml /etc/OliveTin/config.yaml + sudo systemctl restart OliveTin else echo "no change to config.yaml" fi @@ -758,6 +759,23 @@ else sudo systemctl enable --now OliveTin fi +FILE=/etc/systemd/system/OliveTin.service +if [ -f "$FILE" ]; then + if [[ $(diff /home/pi/CubeSatSim/systemd/OliveTin.service /etc/systemd/system/OliveTin.service) ]]; then + echo "changed OliveTin.service." + sudo cp /home/pi/CubeSatSim/systemd/OliveTin.service /etc/systemd/system/OliveTin.service + sudo systemctl restart OliveTin + FLAG=1 + else + echo "no change to OliveTin.service." + fi +else + echo "creating OliveTin.service." + sudo cp /home/pi/CubeSatSim/systemd/OliveTin.service /etc/systemd/system/OliveTin.service + sudo systemctl enable OliveTin + FLAG=1 +fi + FILE=/etc/asound.conf if [ -f "$FILE" ]; then if [[ $(diff /home/pi/CubeSatSim/asound.conf /etc/asound.conf) ]]; then From 14555fc466b707c764aac6e615f1766c69306300 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 14:03:18 -0400 Subject: [PATCH 071/128] Update OliveTin.service port 80 --- systemd/OliveTin.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/OliveTin.service b/systemd/OliveTin.service index 5a99fe3e..60742dbe 100644 --- a/systemd/OliveTin.service +++ b/systemd/OliveTin.service @@ -9,7 +9,7 @@ After=local-fs.target [Service] ExecStart=/usr/local/bin/OliveTin Restart=always -Environment="PORT=8080" +Environment="PORT=80" [Install] WantedBy=multi-user.target From de6255d6e0cd8803b68068f38d98918782b009b4 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 14:06:39 -0400 Subject: [PATCH 072/128] Update install daemon-reload for OliveTin --- install | 1 + 1 file changed, 1 insertion(+) diff --git a/install b/install index cad45f9a..1411f13e 100755 --- a/install +++ b/install @@ -746,6 +746,7 @@ if [ -f "$FILE" ]; then if [[ $(diff /home/pi/CubeSatSim/OliveTin/config.yaml /etc/OliveTin/config.yaml) ]]; then echo "changed config.yaml" sudo cp /home/pi/CubeSatSim/OliveTin/config.yaml /etc/OliveTin/config.yaml + sudo systemctl daemon-reload sudo systemctl restart OliveTin else echo "no change to config.yaml" From 76b61c8673227bce94b9c4d95a10e4a0a9890559 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 14:33:00 -0400 Subject: [PATCH 073/128] Update config.yaml remove navigation links --- OliveTin/config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 4c410fc6..5824be16 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -2,6 +2,8 @@ additionalNavigationLinks: - title: CubeSatSim Wiki url: https://CubeSatSim.org/wiki target: _blank + +showNavigation: false - title: CubeSatSim Code url: https://CubeSatSim.org/code From cec59c8510582930ad62ac9bdc18cc26df80bfda Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 15:49:35 -0400 Subject: [PATCH 074/128] Update config.yaml change order --- OliveTin/config.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 5824be16..44e97406 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,10 +1,9 @@ +showNavigation: false additionalNavigationLinks: - title: CubeSatSim Wiki url: https://CubeSatSim.org/wiki target: _blank - -showNavigation: false - + - title: CubeSatSim Code url: https://CubeSatSim.org/code target: _blank From 608d51d5147128974506058259a12836de30c298 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:05:37 -0400 Subject: [PATCH 075/128] Update config.yaml general command --- OliveTin/config.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 44e97406..aecc1426 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -18,6 +18,21 @@ actions: icon: "⚙" # gear onclick: execution-dialog timeout: 5 + + - title: "Show All Commands" + shell: /home/pi/CubeSatSim/config -h + icon: "⚙" # gear + onclick: execution-dialog + timeout: 5 + + - title: "General CubeSatSim Config" + shell: /home/pi/CubeSatSim/config {{ config }} + icon: "⚙" # gear + onclick: execution-dialog + timeout: 5 + arguments: + - name: config + type: ascii_sentence - title: "Change Mode to APRS" shell: /home/pi/CubeSatSim/config -a @@ -343,6 +358,8 @@ dashboards: - title: "Turn Simulated Telemetry OFF" - title: "Turn Balloon Mode ON" - title: "Turn Balloon Mode OFF" + - title: "Show All Commands" + - title: "General CubeSatSim Config" - title: Logs contents: From a9b003648317701f04f320fb550b8f52d3bd97ca Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:06:46 -0400 Subject: [PATCH 076/128] Update config.yaml fix indent --- OliveTin/config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index aecc1426..a0f89e54 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -30,9 +30,9 @@ actions: icon: "⚙" # gear onclick: execution-dialog timeout: 5 - arguments: - - name: config - type: ascii_sentence + arguments: + - name: config + type: ascii_sentence - title: "Change Mode to APRS" shell: /home/pi/CubeSatSim/config -a From e53b90313a909fc51b9ee24901f2918814ca1a53 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:12:22 -0400 Subject: [PATCH 077/128] Update config -r with params --- config | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/config b/config index 50b795c0..e75ddae4 100755 --- a/config +++ b/config @@ -647,10 +647,8 @@ elif [ "$1" = "-c" ]; then elif [ "$1" = "-r" ]; then echo - echo "Editing the Reset Count in the" - echo "configuration file for CubeSatSim" + echo "Set the Reset Count for FoxTelem" echo - echo "Return keeps current value." # echo -e "Current sim.cfg configuration file:" # echo @@ -664,9 +662,14 @@ elif [ "$1" = "-r" ]; then # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} - echo -e "Enter Reset Count (integer): " - - read resets + if [ -z "$param2" ] ; then + echo "Return keeps current value." + echo -e "Enter Reset Count (integer): " + read resets + else + resets="$param2" + echo "Reset Count set to" $$param2 + fi if [ -z $resets ] ; then resets="$2" @@ -689,12 +692,7 @@ elif [ "$1" = "-r" ]; then if [ "$norestart" = "1" ]; then echo else -## echo -## echo "Rebooting CubeSatSim with new configuration file" -## echo reboot=1 -## sudo reboot now -# sudo systemctl restart cubesatsim fi elif [ "$1" = "-l" ]; then From fdee941a0d9d256232373113dab85733e51d30a0 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:34:54 -0400 Subject: [PATCH 078/128] Update config.yaml add reset count --- OliveTin/config.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index a0f89e54..35948c69 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -21,7 +21,7 @@ actions: - title: "Show All Commands" shell: /home/pi/CubeSatSim/config -h - icon: "⚙" # gear + icon: logs onclick: execution-dialog timeout: 5 @@ -322,6 +322,15 @@ actions: icon: "❌" # red X onclick: execution-dialog timeout: 5 + + - title: "Set Reset Count" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -r {{ resets }} + onclick: execution-dialog + timeout: 5 + arguments: + - name: resets + type: ascii_sentence dashboards: - title: CubeSatSim Dashboard From 0e86996504ef91b5e3d2b2a96b4916fbf585c40f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:36:28 -0400 Subject: [PATCH 079/128] Update config print reset count --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index e75ddae4..0c330882 100755 --- a/config +++ b/config @@ -668,7 +668,7 @@ elif [ "$1" = "-r" ]; then read resets else resets="$param2" - echo "Reset Count set to" $$param2 + echo "Reset Count set to" $param2 fi if [ -z $resets ] ; then From dcbd95f84a362e58aa3a3356d27dd620b85a4601 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:36:59 -0400 Subject: [PATCH 080/128] Update config.yaml --- OliveTin/config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 35948c69..66454c81 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -355,6 +355,7 @@ dashboards: - title: "Change Callsign" - title: "Change Latitude and Longitude" - title: "Change TX and RX Frequency" + - title: "Set Reset Count" - title: "Reset the Pacsat Configuration" - title: "Turn Simulated Doppler Mode ON" - title: "Turn Radio Control Doppler Mode ON" From 32e6d5a93b7d4480bb1596ddd531cece8ebc0152 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:47:08 -0400 Subject: [PATCH 081/128] Update config -d param --- config | 103 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 54 insertions(+), 49 deletions(-) diff --git a/config b/config index 0c330882..fcbd172b 100755 --- a/config +++ b/config @@ -920,66 +920,71 @@ elif [ "$1" = "-d" ]; then echo "Direwolf will not run unless one is plugged in." fi - FILE=/home/pi/CubeSatSim/command_control_direwolf - if [ -f "$FILE" ]; then - echo "Radio command and control with Direwolf for DTMF and APRS is ON" - echo - echo "Do you want to turn Direwolf OFF and do Carrier command and control (y/n) " - read reset - echo - - if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then - echo "Command and control Direwolf set to OFF" - sudo rm /home/pi/CubeSatSim/command_control_direwolf > /dev/null 2>&1 -# reboot=1 -## echo "rebooting" - sudo systemctl restart command -## sudo reboot now + if [ -z "$param2" ] ; then + + FILE=/home/pi/CubeSatSim/command_control_direwolf + if [ -f "$FILE" ]; then + echo "Radio command and control with Direwolf for DTMF and APRS is ON" + echo + echo "Do you want to turn Direwolf OFF and do Carrier command and control (y/n) " + read reset + echo + + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "Command and control Direwolf set to OFF" + sudo rm /home/pi/CubeSatSim/command_control_direwolf > /dev/null 2>&1 + sudo systemctl restart command + fi + + else + echo "Radio command and control with Direwolf for DTMF and APRS is OFF so carrier command and control is enabled" + echo + echo "Do you want to set command and control with Direwolf for DTMF and APRS to ON (y/n) " + read reset + echo + + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "Command and control Direwolf set to ON" + sudo touch /home/pi/CubeSatSim/command_control_direwolf + sudo systemctl restart command + if [[ $(arecord -l | grep card) ]]; then + restart=1 + fi + fi + fi - else - echo "Radio command and control with Direwolf for DTMF and APRS is OFF so carrier command and control is enabled" - echo - echo "Do you want to set command and control with Direwolf for DTMF and APRS to ON (y/n) " - read reset - echo - + FILE=/home/pi/CubeSatSim/command_control + if [ -f "$FILE" ]; then + echo + else + echo "Radio command and control is OFF" + echo + echo "Do you want to set command and control to ON (y/n) " + read reset + echo + + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "Command and control set to ON" + sudo touch /home/pi/CubeSatSim/command_control + echo "restarting command and control" + sudo systemctl restart command + fi + fi + else + reset="$param2" if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then echo "Command and control Direwolf set to ON" sudo touch /home/pi/CubeSatSim/command_control_direwolf -## echo "rebooting" -# reboot=1 sudo systemctl restart command if [[ $(arecord -l | grep card) ]]; then restart=1 -### echo "restarting cubesatsim software" -### sudo systemctl restart cubesatsim fi -## sudo reboot now - fi - - fi - - FILE=/home/pi/CubeSatSim/command_control - if [ -f "$FILE" ]; then - echo - - else - echo "Radio command and control is OFF" - echo - echo "Do you want to set command and control to ON (y/n) " - read reset - echo - - if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then - echo "Command and control set to ON" - sudo touch /home/pi/CubeSatSim/command_control - echo "restarting command and control" -# reboot=1 + else + echo "Command and control Direwolf set to OFF" + sudo rm /home/pi/CubeSatSim/command_control_direwolf > /dev/null 2>&1 sudo systemctl restart command -## sudo reboot now fi - fi elif [ "$1" = "-D" ]; then From 4a7c3f3fe1ef40e34c204aa4b4aecdd27cc1910b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 16:49:29 -0400 Subject: [PATCH 082/128] Update config.yaml --- OliveTin/config.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 66454c81..5452ea09 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -323,6 +323,18 @@ actions: onclick: execution-dialog timeout: 5 + - title: "Turn Command and Control Direwolf ON" + shell: /home/pi/CubeSatSim/config -d yes + icon: "🟢" # green ball + onclick: execution-dialog + timeout: 5 + + - title: "Turn Command and Control Direwolf OFF" + shell: /home/pi/CubeSatSim/config -d no + icon: "❌" # red X + onclick: execution-dialog + timeout: 5 + - title: "Set Reset Count" icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -r {{ resets }} @@ -362,6 +374,8 @@ dashboards: - title: "Turn Doppler Mode OFF" - title: "Turn Command and Control ON" - title: "Turn Command and Control OFF" + - title: "Turn Command and Control Direwolf ON" + - title: "Turn Command and Control Direwolf OFF" - title: "Turn Battery Saver Mode ON" - title: "Turn Battery Saver Mode OFF" - title: "Turn Simulated Telemetry ON" From 353d36713bdeb8b94aa3850720f7abdf9a39a6a8 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 18:32:04 -0400 Subject: [PATCH 083/128] Update config -R params --- config | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/config b/config index fcbd172b..60cd61d1 100755 --- a/config +++ b/config @@ -1025,14 +1025,19 @@ elif [ "$1" = "-R" ]; then echo "Reset the Commands Count in the file command_count.txt" echo - echo "Current commands count is:" - cat /home/pi/CubeSatSim/command_count.txt - echo + if [ -z "$param2" ] ; then - echo "Do you want to reset the commands count to zero (y/n) " - read reset - echo + echo "Current commands count is:" + cat /home/pi/CubeSatSim/command_count.txt + echo + echo "Do you want to reset the commands count to zero (y/n) " + read reset + echo + else + reset="$param2" + fi + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then sudo rm /home/pi/CubeSatSim/command_count.txt > /dev/null 2>&1 echo "Commands count reset to 0" From 60940c49545f607d76a10eb34c39b639abd37c18 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 18:36:00 -0400 Subject: [PATCH 084/128] Update config.yaml --- OliveTin/config.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 5452ea09..d1f6e9f8 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -287,6 +287,12 @@ actions: onclick: execution-dialog timeout: 5 + - title: "Reset the Commands Count" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -R yes + onclick: execution-dialog + timeout: 5 + - title: "Turn Simulated Telemetry ON" shell: /home/pi/CubeSatSim/config -t yes icon: "🟢" # green ball @@ -335,7 +341,7 @@ actions: onclick: execution-dialog timeout: 5 - - title: "Set Reset Count" + - title: "Set FoxTelem Reset Count" icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -r {{ resets }} onclick: execution-dialog @@ -367,7 +373,8 @@ dashboards: - title: "Change Callsign" - title: "Change Latitude and Longitude" - title: "Change TX and RX Frequency" - - title: "Set Reset Count" + - title: "Set FoxTelem Reset Count" + - title: "Reset the Commands Count" - title: "Reset the Pacsat Configuration" - title: "Turn Simulated Doppler Mode ON" - title: "Turn Radio Control Doppler Mode ON" From 5a681613eae3881af4085936589c68052f3639f7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 18:50:13 -0400 Subject: [PATCH 085/128] Update config -q param --- config | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/config b/config index 60cd61d1..5e41b6f7 100755 --- a/config +++ b/config @@ -1112,32 +1112,34 @@ elif [ "$1" = "-B" ]; then elif [ "$1" = "-q" ]; then echo - echo "Editing the Squelch setting in" - echo "the configuration file for CubeSatSim" + echo "Setting the Squelch setting" echo value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value - echo - echo "Current value of squelch is" $6 - echo - -# echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} - - echo -e "Enter squelch (integer 1 - 8): " + if [ -z "$param2" ] ; then - read sq + echo + echo "Current value of squelch is" $6 + echo + + # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} + + echo -e "Enter squelch (integer 1 - 8): " + + read sq + else + sq="$param2" + fi if [ -z $sq ] ; then - sq="$6" echo "Keeping value of" $lat fi if ! [[ $sq =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then - echo "Error: not a number!" sq="$6" echo "Keeping value of" $sq From 7411dcb2a1596932724e49ccc04beee88dc54823 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 18:53:44 -0400 Subject: [PATCH 086/128] Update config.yaml --- OliveTin/config.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index d1f6e9f8..73599169 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -15,7 +15,7 @@ additionalNavigationLinks: actions: - title: "Show CubeSatSim Config" shell: /home/pi/CubeSatSim/config - icon: "⚙" # gear + icon: logs onclick: execution-dialog timeout: 5 @@ -349,6 +349,15 @@ actions: arguments: - name: resets type: ascii_sentence + + - title: "Set Squelch Level" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -q {{ squelch }} + onclick: execution-dialog + timeout: 5 + arguments: + - name: squelch + type: ascii_sentence dashboards: - title: CubeSatSim Dashboard @@ -374,6 +383,7 @@ dashboards: - title: "Change Latitude and Longitude" - title: "Change TX and RX Frequency" - title: "Set FoxTelem Reset Count" + - title: "Set Squelch Level" - title: "Reset the Commands Count" - title: "Reset the Pacsat Configuration" - title: "Turn Simulated Doppler Mode ON" From 13f47845bd4a715de380bcd3d84053e2f30f723a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 19:07:19 -0400 Subject: [PATCH 087/128] Update config -P with params --- config | 103 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 62 insertions(+), 41 deletions(-) diff --git a/config b/config index 5e41b6f7..9a4bf849 100755 --- a/config +++ b/config @@ -1170,58 +1170,79 @@ elif [ "$1" = "-Q" ]; then elif [ "$1" = "-P" ]; then echo - echo "Editing the PL (Private Line) CTCSS/CDCSS setting in" - echo "the configuration file for CubeSatSim" + echo "Setting the PL (Private Line) CTCSS/CDCSS setting" echo value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value - echo - echo "Current value of RX PL is" ${10} - echo "Current value of TX PL is" ${11} - echo - -# echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} - - echo -e "Enter RX PL value integer 0: None, 01-38: CTCSS (analog, 39-121:CDCSS (digital)" - - read rxpl - - if [ -z $rxpl ] ; then - - rxpl="${10}" - echo "Keeping value of" $rxpl - else - restart=1 - fi + if [ -z "$param2" ] ; then - if ! [[ $rxpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then + echo + echo "Current value of RX PL is" ${10} + echo "Current value of TX PL is" ${11} + echo + + # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} + + echo -e "Enter RX PL value integer 0: None, 01-38: CTCSS (analog, 39-121:CDCSS (digital)" + + read rxpl + + if [ -z $rxpl ] ; then + + rxpl="${10}" + echo "Keeping value of" $rxpl + else + restart=1 + fi + + if ! [[ $rxpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then + + echo "Error: not a number!" + rxpl="${10}" + echo "Keeping value of" $rxpl + else + restart=1 + fi + + echo -e "Enter TX PL value integer 0: None, 01-38: CTCSS (analog, 39-121:CDCSS (digital)" + + read txpl + + if [ -z $txpl ] ; then + + txpl="${11}" + echo "Keeping value of" $txpl + fi + + if ! [[ $txpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then + + echo "Error: not a number!" + txpl="${11}" + echo "Keeping value of" $txpl + fi - echo "Error: not a number!" - rxpl="${10}" - echo "Keeping value of" $rxpl else - restart=1 - fi - - echo -e "Enter TX PL value integer 0: None, 01-38: CTCSS (analog, 39-121:CDCSS (digital)" - - read txpl + rxpl="$param2" - if [ -z $txpl ] ; then - - txpl="${11}" - echo "Keeping value of" $txpl + if ! [[ $rxpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then + + echo "Error: not a number!" + rxpl="${10}" + echo "Keeping value of" $rxpl + else + restart=1 + fi + if [ -z "$param3" ] ; then + txpl="$param3" + if ! [[ $txpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then + echo "Error: not a number!" + txpl="${11}" + echo "Keeping value of" $txpl + fi fi - - if ! [[ $txpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then - - echo "Error: not a number!" - txpl="${11}" - echo "Keeping value of" $txpl - fi # echo echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" From 3969cb6e120d2d5bf7c9177ab1a4fc5699a1e198 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 19:10:11 -0400 Subject: [PATCH 088/128] Update config.yaml --- OliveTin/config.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 73599169..9665c878 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -129,6 +129,16 @@ actions: - name: rx type: ascii_sentence + - title: "Set PL (Private Line) CTCSS/CDCSS" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -P {{ pl_tx }} {{ pl_rx }} + onclick: execution-dialog + timeout: 5 + arguments: + - name: pl_tx + type: ascii_sentence + - name: pl_rx + - title: "Change Callsign" icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -c {{ callsign }} @@ -263,7 +273,7 @@ actions: onclick: execution-dialog timeout: 5 - - title: "Read Squelch" + - title: "Display Squelch" shell: /home/pi/CubeSatSim/config -Q icon: logs onclick: execution-dialog @@ -384,6 +394,7 @@ dashboards: - title: "Change TX and RX Frequency" - title: "Set FoxTelem Reset Count" - title: "Set Squelch Level" + - title: "Set PL (Private Line) CTCSS/CDCSS" - title: "Reset the Commands Count" - title: "Reset the Pacsat Configuration" - title: "Turn Simulated Doppler Mode ON" @@ -428,7 +439,7 @@ dashboards: - title: Diagnostics contents: - title: "Scan I2C Bus" - - title: "Read Squelch" + - title: "Display Squelch" - title: "Display Payload Sensor Data" - title: "Display Voltage and Current Data" From 20c05ddb59e9ec95f965af9c783a76b58689880b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 19:14:17 -0400 Subject: [PATCH 089/128] Update config missing fi --- config | 1 + 1 file changed, 1 insertion(+) diff --git a/config b/config index 9a4bf849..50640a8f 100755 --- a/config +++ b/config @@ -1242,6 +1242,7 @@ elif [ "$1" = "-P" ]; then txpl="${11}" echo "Keeping value of" $txpl fi + fi fi # echo From 3348fbb392878b149b54367829ee5eb974b9625f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 19:20:39 -0400 Subject: [PATCH 090/128] Update config fix PL --- config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config b/config index 50640a8f..7b0d5598 100755 --- a/config +++ b/config @@ -1226,7 +1226,7 @@ elif [ "$1" = "-P" ]; then else rxpl="$param2" - + echo "Changing RX PL to" $rxpl if ! [[ $rxpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then echo "Error: not a number!" @@ -1237,14 +1237,17 @@ elif [ "$1" = "-P" ]; then fi if [ -z "$param3" ] ; then txpl="$param3" + echo "Changing TX PL to" $txpl if ! [[ $txpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then echo "Error: not a number!" txpl="${11}" echo "Keeping value of" $txpl fi + else + fi fi - + # echo echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" # echo From 49b42b331927f045e98a62559b21ef40c79c2f06 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 19:22:09 -0400 Subject: [PATCH 091/128] Update config extra else --- config | 2 -- 1 file changed, 2 deletions(-) diff --git a/config b/config index 7b0d5598..0121de33 100755 --- a/config +++ b/config @@ -1243,8 +1243,6 @@ elif [ "$1" = "-P" ]; then txpl="${11}" echo "Keeping value of" $txpl fi - else - fi fi From a0d6435d4fa6ba44405fe849ad8a28e1d8079f18 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 19:23:27 -0400 Subject: [PATCH 092/128] Update config.yaml --- OliveTin/config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 9665c878..e59de06a 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -131,13 +131,14 @@ actions: - title: "Set PL (Private Line) CTCSS/CDCSS" icon: "⚙" # gear - shell: /home/pi/CubeSatSim/config -P {{ pl_tx }} {{ pl_rx }} + shell: /home/pi/CubeSatSim/config -P {{ pl_rx }} {{ pl_tx }} onclick: execution-dialog timeout: 5 arguments: + - name: pl_rx + type: ascii_sentence - name: pl_tx type: ascii_sentence - - name: pl_rx - title: "Change Callsign" icon: "⚙" # gear From fc425f4c2d2aace8be669a45facb2fce628ff371 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 19:27:06 -0400 Subject: [PATCH 093/128] Update config param3 --- config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config b/config index 0121de33..38b7f97b 100755 --- a/config +++ b/config @@ -137,6 +137,8 @@ param2=$2 param3=$3 param4=$4 +echo "param3" $param3 + sudo modprobe snd-aloop if [ "$2" = "-n" ] ; then @@ -1243,6 +1245,9 @@ elif [ "$1" = "-P" ]; then txpl="${11}" echo "Keeping value of" $txpl fi + else + txpl="${11}" + echo "No param3" fi fi From 98b133685df9c099ed2f6e5ed9641539b73ef3aa Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:41:30 -0400 Subject: [PATCH 094/128] Update config fix param3 --- config | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/config b/config index 38b7f97b..4c4c3806 100755 --- a/config +++ b/config @@ -137,8 +137,6 @@ param2=$2 param3=$3 param4=$4 -echo "param3" $param3 - sudo modprobe snd-aloop if [ "$2" = "-n" ] ; then @@ -1238,6 +1236,8 @@ elif [ "$1" = "-P" ]; then restart=1 fi if [ -z "$param3" ] ; then + txpl="${11}" + else txpl="$param3" echo "Changing TX PL to" $txpl if ! [[ $txpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then @@ -1245,9 +1245,6 @@ elif [ "$1" = "-P" ]; then txpl="${11}" echo "Keeping value of" $txpl fi - else - txpl="${11}" - echo "No param3" fi fi From 6d6c7123a6442754e92bf9517a063f6af3c32c39 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:47:03 -0400 Subject: [PATCH 095/128] Update config -o --- config | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config b/config index 4c4c3806..33f6056a 100755 --- a/config +++ b/config @@ -1271,15 +1271,15 @@ elif [ "$1" = "-F" ]; then echo "$value" > /dev/null set -- $value - echo "Current value of TX frequency is" $7 "MHz" - echo - echo "Current value of RX frequency is" $8 "MHz" - echo - -# echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} - if [ -z "$param2" ] ; then + echo "Current value of TX frequency is" $7 "MHz" + echo + echo "Current value of RX frequency is" $8 "MHz" + echo + + # echo $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11} ${12} ${13} ${14} + echo "Return keeps current value." echo "Enter TX frequency in MHz (2m or 70cm band): " @@ -1352,17 +1352,17 @@ elif [ "$1" = "-o" ]; then echo echo "Change telemetry beacon transmit state" echo - + FILE=/home/pi/CubeSatSim/beacon_off if [ -f "$FILE" ]; then - echo "Transmit beacon telemetry is off" + echo "Transmit beacon telemetry is off" echo echo "Turn beacon telemetry ON" sudo rm /home/pi/CubeSatSim/beacon_off > /dev/null 2>&1 sudo systemctl restart transmit else - echo "Transmit beacon telemetry is on" + echo "Transmit beacon telemetry is on" echo echo "Turn beacon telemetry OFF" From 50f57a27d63f77da058e04b37fa044ba0541d73f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:48:59 -0400 Subject: [PATCH 096/128] Update config.yaml --- OliveTin/config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index e59de06a..bebd9591 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -369,6 +369,12 @@ actions: arguments: - name: squelch type: ascii_sentence + + - title: "Change Telemetry Beacon Transmit State" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -o + onclick: execution-dialog + timeout: 5 dashboards: - title: CubeSatSim Dashboard @@ -398,6 +404,7 @@ dashboards: - title: "Set PL (Private Line) CTCSS/CDCSS" - title: "Reset the Commands Count" - title: "Reset the Pacsat Configuration" + - title: "Change Telemetry Beacon Transmit State" - title: "Turn Simulated Doppler Mode ON" - title: "Turn Radio Control Doppler Mode ON" - title: "Turn Doppler Mode OFF" From 7825de8cffd4f4574e989686d9e255d1d1acbdd2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:52:06 -0400 Subject: [PATCH 097/128] Update config -L params --- config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config b/config index 33f6056a..880746ae 100755 --- a/config +++ b/config @@ -1567,9 +1567,12 @@ elif [ "$1" = "-L" ]; then echo "Setting microphone level for command and control" echo - echo -e "Enter microphone level in percentage (integer 0 - 100): " - - read mic + if [ -z "$param2" ] ; then + echo -e "Enter microphone level in percentage (integer 0 - 100): " + read mic + else + mic="$param2" + fi if ! [ -z $mic ] && [[ $mic =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then echo "Updating mic level" From a41724676797248773937c761d835956743999ca Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:52:37 -0400 Subject: [PATCH 098/128] Update config --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 880746ae..36a52b5b 100755 --- a/config +++ b/config @@ -1564,7 +1564,7 @@ elif [ "$1" = "-A" ]; then elif [ "$1" = "-L" ]; then echo - echo "Setting microphone level for command and control" + echo "Set microphone level for command and control" echo if [ -z "$param2" ] ; then From d7f7a2edb7d296658c422bba9f3cc13f56efaf45 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:54:24 -0400 Subject: [PATCH 099/128] Update config.yaml --- OliveTin/config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index bebd9591..2b7f6dda 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -370,6 +370,15 @@ actions: - name: squelch type: ascii_sentence + - title: "Set Microphone Level for Command and Control" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -L {{ mic_level }} + onclick: execution-dialog + timeout: 5 + arguments: + - name: mic_level + type: ascii_sentence + - title: "Change Telemetry Beacon Transmit State" icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -o @@ -405,6 +414,7 @@ dashboards: - title: "Reset the Commands Count" - title: "Reset the Pacsat Configuration" - title: "Change Telemetry Beacon Transmit State" + - title: "Set Microphone Level for Command and Control" - title: "Turn Simulated Doppler Mode ON" - title: "Turn Radio Control Doppler Mode ON" - title: "Turn Doppler Mode OFF" From 88c3a2314d4cc6e7f12a3d58c467a7061671d215 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:56:00 -0400 Subject: [PATCH 100/128] Update config --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 36a52b5b..258bc642 100755 --- a/config +++ b/config @@ -1575,7 +1575,7 @@ elif [ "$1" = "-L" ]; then fi if ! [ -z $mic ] && [[ $mic =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then - echo "Updating mic level" + echo "Updating mic level to" $mic "%" value=`arecord -l | grep "card"` && echo "$value" > /dev/null && set -- $value && amixer -c ${2:0:1} set Mic $mic% else echo "Not updating mic level" From 51a717f7119d92ac31ffcdecf20bbbbdbedbb1d4 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:19:07 -0400 Subject: [PATCH 101/128] Update config simulated failure --- config | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/config b/config index 258bc642..8e7b3d78 100755 --- a/config +++ b/config @@ -1744,19 +1744,12 @@ elif [ "$1" = "-M" ]; then echo else MODE="$param2" +# echo "Setting Simulated Failure" $MODE fi if [ "$MODE" = "0" ]; then echo "Setting No Simulated Failure" MODE=-1 -# elif [ "$MODE" = "12" ]; then - -# if [ "$norestart" = "1" ]; then -# echo -# else -# reboot=1 -# fi - else case $MODE in 1) From 72553336588d118266ac079a28140fc180480c15 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:21:03 -0400 Subject: [PATCH 102/128] Update config.yaml --- OliveTin/config.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 2b7f6dda..d91c5bb5 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -378,6 +378,15 @@ actions: arguments: - name: mic_level type: ascii_sentence + + - title: "Set Simulated Failure Mode" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -M {{ failure_mode }} + onclick: execution-dialog + timeout: 5 + arguments: + - name: failure_mode + type: ascii_sentence - title: "Change Telemetry Beacon Transmit State" icon: "⚙" # gear @@ -415,6 +424,7 @@ dashboards: - title: "Reset the Pacsat Configuration" - title: "Change Telemetry Beacon Transmit State" - title: "Set Microphone Level for Command and Control" + - title: "Set Simulated Failure Mode" - title: "Turn Simulated Doppler Mode ON" - title: "Turn Radio Control Doppler Mode ON" - title: "Turn Doppler Mode OFF" @@ -425,7 +435,7 @@ dashboards: - title: "Turn Battery Saver Mode ON" - title: "Turn Battery Saver Mode OFF" - title: "Turn Simulated Telemetry ON" - - title: "Turn Simulated Telemetry OFF" + - title: "Turn Simulated Telemetry OFF" - title: "Turn Balloon Mode ON" - title: "Turn Balloon Mode OFF" - title: "Show All Commands" From e92b7f45676e1e1a351691c2fdcd771cabe244a9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:24:30 -0400 Subject: [PATCH 103/128] Update config rm &>/dev/null --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 8e7b3d78..0e766405 100755 --- a/config +++ b/config @@ -1794,7 +1794,7 @@ elif [ "$1" = "-M" ]; then # echo $MODE echo - sudo rm /home/pi/CubeSatSim/failure_mode.txt + sudo rm /home/pi/CubeSatSim/failure_mode.txt &>/dev/null echo $MODE > /home/pi/CubeSatSim/failure_mode.txt echo "Changing simulated failure mode to $MODE" | wall From 98c69e65532e5e62ab8c02e5ab11bd10b293a9d1 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:30:36 -0400 Subject: [PATCH 104/128] Update config -U param --- config | 88 +++++++++++++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 38 deletions(-) diff --git a/config b/config index 0e766405..37e4edfc 100755 --- a/config +++ b/config @@ -1869,58 +1869,70 @@ elif [ "$1" = "-N" ]; then elif [ "$1" = "-U" ]; then echo - echo "Changing the Random Simulated Failure setting in" - echo "the configuration file for CubeSatSim" + echo "Changing the Random Simulated Failure setting" echo value=`cat /home/pi/CubeSatSim/sim.cfg` echo "$value" > /dev/null set -- $value - if [ "${12}" = "yes" ] || [ "${12}" = "y" ]; then - echo "Random Simulated Failure is ON" - else - echo "Random Simulated Failure is OFF" - fi - - echo - -# $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} + if [ -z "$param2" ] ; then - echo "Do you want Random Simulated Failure ON (y/n) " - read sim - echo - - if [ "$sim" = "y" ] || [ "$sim" = "yes" ] ; then - sim="yes" - echo "Random Simulated Failure is ON" - echo - echo "A new random failure is selected every" - echo ${13} "seconds." - echo - echo "Enter a new value or Return keeps current value." - - echo "Enter time in seconds (integer): " + if [ "${12}" = "yes" ] || [ "${12}" = "y" ]; then + echo "Random Simulated Failure is ON" + else + echo "Random Simulated Failure is OFF" + fi + + echo + + # $1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${12} ${13} ${14} - read time + echo "Do you want Random Simulated Failure ON (y/n) " + read sim + echo + + if [ "$sim" = "y" ] || [ "$sim" = "yes" ] ; then + sim="yes" + echo "Random Simulated Failure is ON" + echo + echo "A new random failure is selected every" + echo ${13} "seconds." + echo + echo "Enter a new value or Return keeps current value." + + echo "Enter time in seconds (integer): " + + read time - if [ -z $time ] ; then - time="${13}" - echo "Keeping value of " $time " seconds" - fi + if [ -z $time ] ; then + time="${13}" + echo "Keeping value of " $time " seconds" + fi + + if ! [[ $time =~ ^[0-9]+$ ]] ; then + echo "Error: not an integer!" + time="${13}" + echo "Keeping value of" $time + fi - if ! [[ $time =~ ^[0-9]+$ ]] ; then - echo "Error: not an integer!" + else + sim="no" + echo "Random Simulated Failure is OFF" time="${13}" - echo "Keeping value of" $time + # echo "-1" > /home/pi/CubeSatSim/failure_mode.txt # make sure to turn off any simulated failures fi else - sim="no" - echo "Random Simulated Failure is OFF" - time="${13}" -# echo "-1" > /home/pi/CubeSatSim/failure_mode.txt # make sure to turn off any simulated failures - fi + time="$param2" + echo "Set Random Simulated Failure Time to" $time + + if ! [[ $time =~ ^[0-9]+$ ]] ; then + echo "Error: not an integer!" + time="${13}" + echo "Keeping value of" $time + fi + fi # echo echo -e "\nCubeSatSim configuration sim.cfg file updated to: \n" From bb420eaefd17e6d28e02dd5a2dead33369666446 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:32:11 -0400 Subject: [PATCH 105/128] Update config.yaml --- OliveTin/config.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index d91c5bb5..0f7557c1 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -386,7 +386,16 @@ actions: timeout: 5 arguments: - name: failure_mode - type: ascii_sentence + type: ascii_sentence + + - title: "Set Random Simulated Failure Time" + icon: "⚙" # gear + shell: /home/pi/CubeSatSim/config -U {{ random_time }} + onclick: execution-dialog + timeout: 5 + arguments: + - name: random_time + type: ascii_sentence - title: "Change Telemetry Beacon Transmit State" icon: "⚙" # gear @@ -425,6 +434,7 @@ dashboards: - title: "Change Telemetry Beacon Transmit State" - title: "Set Microphone Level for Command and Control" - title: "Set Simulated Failure Mode" + - title: "Set Random Simulated Failure Time" - title: "Turn Simulated Doppler Mode ON" - title: "Turn Radio Control Doppler Mode ON" - title: "Turn Doppler Mode OFF" From 2acbf212f94c95542652ea5f0808ed2255abe3df Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:39:02 -0400 Subject: [PATCH 106/128] Update config -u params --- config | 86 ++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 57 insertions(+), 29 deletions(-) diff --git a/config b/config index 37e4edfc..73933df7 100755 --- a/config +++ b/config @@ -1948,48 +1948,76 @@ elif [ "$1" = "-U" ]; then elif [ "$1" = "-u" ]; then echo - echo "Change gpsd state" + echo "Change gpsd State" echo - if [[ $(sudo systemctl is-active gpsd.socket | grep inactive) ]]; then - echo "gpsd is inactive" - echo - echo "Do you want to turn gpsd to ON (y/n) " - read reset - echo + if [ -z "$param2" ] ; then - if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then - echo "gpsd set to ON" - sudo systemctl enable gpsd - sudo systemctl enable gpsd.socket + if [[ $(sudo systemctl is-active gpsd.socket | grep inactive) ]]; then + echo "gpsd is inactive" echo - echo "Here is the current gpsd configuration /etc/default/gpsd which will work with many GPS modules:" - echo - - cat /etc/default/gpsd - + echo "Do you want to turn gpsd to ON (y/n) " + read reset echo - echo "To change this configuration edit the file with sudo nano /etc/default/gpsd then restart gpsd." + + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "gpsd set to ON" + sudo systemctl enable gpsd + sudo systemctl enable gpsd.socket + echo + echo "Here is the current gpsd configuration /etc/default/gpsd which will work with many GPS modules:" + echo + + cat /etc/default/gpsd + + echo + echo "To change this configuration edit the file with sudo nano /etc/default/gpsd then restart gpsd." + echo + echo "To monitor your gps device, use the gpsmon command." + echo + reboot=1 + fi + + else + echo "gpsd is active" echo - echo "To monitor your gps device, use the gpsmon command." + echo "Do you want to turn gpsd to OFF (y/n) " + read reset echo - reboot=1 + + if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "gpsd set to OFF" + sudo systemctl disable gpsd + sudo systemctl disable gpsd.socket + reboot=1 + fi + fi - - else - echo "gpsd is active" - echo - echo "Do you want to turn gpsd to OFF (y/n) " - read reset - echo - + else + reset="$param2" if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then + echo "gpsd set to ON" + sudo systemctl enable gpsd + sudo systemctl enable gpsd.socket + echo + echo "Here is the current gpsd configuration /etc/default/gpsd which will work with many GPS modules:" + echo + + cat /etc/default/gpsd + + echo + echo "To change this configuration edit the file with sudo nano /etc/default/gpsd then restart gpsd." + echo + echo "To monitor your gps device, use the gpsmon command." + echo + reboot=1 + + else echo "gpsd set to OFF" sudo systemctl disable gpsd sudo systemctl disable gpsd.socket -reboot=1 + reboot=1 fi - fi elif [ "$1" = "-G" ]; then From 0f1c222e470695dcc73c2396466fce7b432a0536 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:39:52 -0400 Subject: [PATCH 107/128] Update config.yaml --- OliveTin/config.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 0f7557c1..86f94a10 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -328,6 +328,18 @@ actions: onclick: execution-dialog timeout: 5 + - title: "Turn gpsd ON" + shell: /home/pi/CubeSatSim/config -u yes + icon: "🟢" # green ball + onclick: execution-dialog + timeout: 5 + + - title: "Turn gpsd OFF" + shell: /home/pi/CubeSatSim/config -u no + icon: "❌" # red X + onclick: execution-dialog + timeout: 5 + - title: "Turn Command and Control ON" shell: /home/pi/CubeSatSim/config -T yes icon: "🟢" # green ball @@ -448,6 +460,8 @@ dashboards: - title: "Turn Simulated Telemetry OFF" - title: "Turn Balloon Mode ON" - title: "Turn Balloon Mode OFF" + - title: "Turn gpsd ON" + - title: "Turn gpsd OFF" - title: "Show All Commands" - title: "General CubeSatSim Config" From 2e09c2c92f075d55bd1efa8f64c050a187c99113 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 21:43:05 -0400 Subject: [PATCH 108/128] Update config.yaml --- OliveTin/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 86f94a10..4b628c2c 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -332,13 +332,13 @@ actions: shell: /home/pi/CubeSatSim/config -u yes icon: "🟢" # green ball onclick: execution-dialog - timeout: 5 + timeout: 30 - title: "Turn gpsd OFF" shell: /home/pi/CubeSatSim/config -u no icon: "❌" # red X onclick: execution-dialog - timeout: 5 + timeout: 30 - title: "Turn Command and Control ON" shell: /home/pi/CubeSatSim/config -T yes From 773dca364a330c455e0f54a0721a8904a59c2269 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 10:32:27 -0400 Subject: [PATCH 109/128] Update config.yaml --- OliveTin/config.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 4b628c2c..bbdd3700 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -129,6 +129,17 @@ actions: - name: rx type: ascii_sentence + - title: "Connect to WiFi using SSID and Password" + icon: "⚙" # gear + shell: sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" + onclick: execution-dialog + timeout: 10 + arguments: + - name: wifi_ssid + type: ascii_sentence + - name: wifi_password + type: ascii_sentence + - title: "Set PL (Private Line) CTCSS/CDCSS" icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -P {{ pl_rx }} {{ pl_tx }} From 97f8d0ded095402266fab04af503727d27860f62 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 10:40:01 -0400 Subject: [PATCH 110/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index bbdd3700..95c4e6ce 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -131,7 +131,7 @@ actions: - title: "Connect to WiFi using SSID and Password" icon: "⚙" # gear - shell: sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" + shell: sudo nmcli device wifi rescan && sleep 1 && sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" onclick: execution-dialog timeout: 10 arguments: From e37baa9822ed861418d456c8759dc7188acd3926 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 10:52:43 -0400 Subject: [PATCH 111/128] Update config.yaml --- OliveTin/config.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 95c4e6ce..c551edb6 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -131,7 +131,7 @@ actions: - title: "Connect to WiFi using SSID and Password" icon: "⚙" # gear - shell: sudo nmcli device wifi rescan && sleep 1 && sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" + shell: echo "If this works, this web page won't work again until you connect to the new WiFi network!" && sudo nmcli device wifi rescan && sleep 1 && sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" onclick: execution-dialog timeout: 10 arguments: @@ -140,6 +140,15 @@ actions: - name: wifi_password type: ascii_sentence + - title: "Change Hostname and Reboot" + icon: "⚙" # gear + shell: sudo hostnamectl set-hostname {{ hostname }} && sudo reboot now + onclick: execution-dialog + timeout: 10 + arguments: + - name: hostname + type: ascii_sentence + - title: "Set PL (Private Line) CTCSS/CDCSS" icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -P {{ pl_rx }} {{ pl_tx }} From d7fed536b8b169e12d161df2d9afa503fe2205f2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 11:20:25 -0400 Subject: [PATCH 112/128] Update config.yaml --- OliveTin/config.yaml | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index c551edb6..706f53d9 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -130,8 +130,8 @@ actions: type: ascii_sentence - title: "Connect to WiFi using SSID and Password" - icon: "⚙" # gear - shell: echo "If this works, this web page won't work again until you connect to the new WiFi network!" && sudo nmcli device wifi rescan && sleep 1 && sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" + icon: "🛜" # wireless + shell: echo "If this works, this web page won't work again until you connect to the new WiFi network!" && echo && sudo nmcli device wifi rescan && sleep 1 && sudo nmcli device wifi connect "{{ wifi_ssid }}" password "{{ wifi_password }}" onclick: execution-dialog timeout: 10 arguments: @@ -140,15 +140,27 @@ actions: - name: wifi_password type: ascii_sentence - - title: "Change Hostname and Reboot" - icon: "⚙" # gear - shell: sudo hostnamectl set-hostname {{ hostname }} && sudo reboot now + - title: "Change Hostname and Restart" + icon: "🛜" # wireless + shell: echo "If this works, this web page won't work again until you connect using the new host name after the restart!" && echo && sudo hostnamectl set-hostname {{ hostname }} && sudo reboot now onclick: execution-dialog timeout: 10 arguments: - name: hostname type: ascii_sentence + - title: "Show Available WiFi Networks" + icon: "🛜" # wireless + shell: sudo nmcli device wifi rescan && nmcli device wifi list + onclick: execution-dialog + timeout: 10 + + - title: "Show Network Configuration" + icon: "🛜" # wireless + shell: ifconfig + onclick: execution-dialog + timeout: 5 + - title: "Set PL (Private Line) CTCSS/CDCSS" icon: "⚙" # gear shell: /home/pi/CubeSatSim/config -P {{ pl_rx }} {{ pl_tx }} @@ -522,3 +534,11 @@ dashboards: - title: "Restart CubeSatSim Software" - title: "Clear Logs and Restart" + - title: Network Utilities + contents: + - title: "Connect to WiFi using SSID and Password" + - title: "Change Hostname and Restart" + - title: "Show Network Configuration" + - title: "Show Available WiFi Networks" + + From 1c0606bdcb486e087072ace207548b731c6677cf Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 11:33:12 -0400 Subject: [PATCH 113/128] Update config.yaml --- OliveTin/config.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 706f53d9..7d44d328 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -276,6 +276,21 @@ actions: onclick: execution-dialog timeout: 5 + - title: "Update CubeSatSim Software" + shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update + icon: ⏳ + onclick: execution-dialog + timeout: 600 + + - title: "Update Software CubeSatSim to Branch" + shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update {branch} + icon: ⏳ + onclick: execution-dialog + timeout: 600 + arguments: + - name: branch + type: ascii_sentence + - title: "Restart CubeSatSim" shell: echo "Restarting CubeSatSim now!" && sudo reboot now icon: restart @@ -527,15 +542,14 @@ dashboards: - title: "Display Payload Sensor Data" - title: "Display Voltage and Current Data" - - title: Restart and Shutdown + - title: Utilitites contents: + - title: "Update CubeSatSim Software" + - title: "Update CubeSatSim Software to Branch" - title: "Restart CubeSatSim" - title: "Shutdown CubeSatSim" - title: "Restart CubeSatSim Software" - title: "Clear Logs and Restart" - - - title: Network Utilities - contents: - title: "Connect to WiFi using SSID and Password" - title: "Change Hostname and Restart" - title: "Show Network Configuration" From 0de7354742d9802daf966e85a83a83056a299181 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 11:34:22 -0400 Subject: [PATCH 114/128] Update config.yaml --- OliveTin/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 7d44d328..98911a38 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -278,13 +278,13 @@ actions: - title: "Update CubeSatSim Software" shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update - icon: ⏳ + icon: "⏳" onclick: execution-dialog timeout: 600 - title: "Update Software CubeSatSim to Branch" shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update {branch} - icon: ⏳ + icon: "⏳" onclick: execution-dialog timeout: 600 arguments: From 464c490954ffbabd347c6020ea4b34fd7b58261d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 11:35:59 -0400 Subject: [PATCH 115/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 98911a38..bf7ddef3 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -282,7 +282,7 @@ actions: onclick: execution-dialog timeout: 600 - - title: "Update Software CubeSatSim to Branch" + - title: "Update CubeSatSim Software to Branch" shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update {branch} icon: "⏳" onclick: execution-dialog From e45ecca267d0ca5357bd704813e804e2ecc41c1d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 12:10:24 -0400 Subject: [PATCH 116/128] Update config.yaml fix pi user issue --- OliveTin/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index bf7ddef3..20af7096 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -277,13 +277,13 @@ actions: timeout: 5 - title: "Update CubeSatSim Software" - shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update + shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && sudo su pi - /home/pi/CubeSatSim/update icon: "⏳" onclick: execution-dialog timeout: 600 - title: "Update CubeSatSim Software to Branch" - shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && /home/pi/CubeSatSim/update {branch} + shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && sudo su pi - /home/pi/CubeSatSim/update {branch} icon: "⏳" onclick: execution-dialog timeout: 600 From 90a557ea672b4c8067894f429e616d214c41045c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 12:14:45 -0400 Subject: [PATCH 117/128] Update install add reboot notes --- install | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/install b/install index 1411f13e..8856bcd7 100755 --- a/install +++ b/install @@ -12,6 +12,10 @@ if [ -f "$FILE" ]; then echo -e "\nUpdate script for CubeSatSim v2.2\n" + echo "You should restart when this update completes with command:" + echo "sudo reboot now" + echo + sudo rm /home/pi/CubeSatSim/telem.wav &>/dev/null sudo rm /home/pi/CubeSatSim/t.txt &>/dev/null sudo rm /home/pi/CubeSatSim/uptime &>/dev/null @@ -36,6 +40,10 @@ else echo -e "\nInstallation script for CubeSatSim v2.2\n" + echo "You should restart when this install completes with command:" + echo "sudo reboot now" + echo + touch /home/pi/CubeSatSim/command_control_direwolf echo "creating $FILE" @@ -980,3 +988,8 @@ else echo "reboot needed for changes to take effect" | wall fi fi + +echo +echo "You should restart to complete this operation with command:" +echo "sudo reboot now" +echo From cc808ae9aa0d1f461b62faf9610b1f9b9675d6d3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 12:35:26 -0400 Subject: [PATCH 118/128] Update config.yaml --- OliveTin/config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 20af7096..d6d3acc4 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -160,6 +160,12 @@ actions: shell: ifconfig onclick: execution-dialog timeout: 5 + + - title: "Show Audio Devices Speakers and Microphones" + icon: "🔉" # speaker + shell: aplay -l && arecord -l + onclick: execution-dialog + timeout: 5 - title: "Set PL (Private Line) CTCSS/CDCSS" icon: "⚙" # gear @@ -541,6 +547,7 @@ dashboards: - title: "Display Squelch" - title: "Display Payload Sensor Data" - title: "Display Voltage and Current Data" + - title: "List Audio Devices Speakers and Microphones" - title: Utilitites contents: From df955c7823a0991c69d8707c91a7eb82682bf31d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 12:36:28 -0400 Subject: [PATCH 119/128] Update config.yaml --- OliveTin/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index d6d3acc4..06d7f50f 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -289,7 +289,7 @@ actions: timeout: 600 - title: "Update CubeSatSim Software to Branch" - shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && sudo su pi - /home/pi/CubeSatSim/update {branch} + shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && sudo su pi - /home/pi/CubeSatSim/update {{ branch }} icon: "⏳" onclick: execution-dialog timeout: 600 From 4c20cbc744eef4a5880ace18609555f8d7b65e29 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 12:39:34 -0400 Subject: [PATCH 120/128] Update config.yaml --- OliveTin/config.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 06d7f50f..218bacbb 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -161,11 +161,17 @@ actions: onclick: execution-dialog timeout: 5 - - title: "Show Audio Devices Speakers and Microphones" + - title: "List Audio Devices Speakers and Microphones" icon: "🔉" # speaker shell: aplay -l && arecord -l onclick: execution-dialog - timeout: 5 + timeout: 5 + + - title: "List USB Devices" + icon: "⚙" # gear + shell: lsusb + onclick: execution-dialog + timeout: 5 - title: "Set PL (Private Line) CTCSS/CDCSS" icon: "⚙" # gear @@ -548,6 +554,7 @@ dashboards: - title: "Display Payload Sensor Data" - title: "Display Voltage and Current Data" - title: "List Audio Devices Speakers and Microphones" + - title: "List USB Devices" - title: Utilitites contents: From 18ef502f9deb0b0a673339600dfb349ec2b6107a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 12:45:22 -0400 Subject: [PATCH 121/128] Update config.yaml --- OliveTin/config.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 218bacbb..77fc4683 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -195,13 +195,13 @@ actions: - title: "Change Latitude and Longitude" icon: "⚙" # gear - shell: /home/pi/CubeSatSim/config -l {{ lat }} {{ lon }} + shell: /home/pi/CubeSatSim/config -l {{ latitude }} {{ longitude }} onclick: execution-dialog timeout: 5 arguments: - - name: lat + - name: latitude type: ascii_sentence - - name: lon + - name: longitude type: ascii_sentence - title: "Realtime CubeSatSim Log" @@ -288,6 +288,18 @@ actions: onclick: execution-dialog timeout: 5 + - title: "Realtime Web (OliveTin) Log" + shell: /home/pi/CubeSatSim/log -o r + icon: logs + onclick: execution-dialog + timeout: 60 + + - title: "Web (OliveTin) Log" + shell: /home/pi/CubeSatSim/log -o + icon: logs + onclick: execution-dialog + timeout: 5 + - title: "Update CubeSatSim Software" shell: echo "This will take tens of minutes and only works if connected to internet. You should restart when finished!" && sudo su pi - /home/pi/CubeSatSim/update icon: "⏳" @@ -535,7 +547,7 @@ dashboards: - title: "Frequency Control Log" - title: "Frequency Display Log" - title: "Pushbutton Log" - - title: "OliveTin Log" + - title: "Web (OliveTin) Log" - title: Realtime Logs contents: - title: "Realtime CubeSatSim Log" @@ -545,7 +557,7 @@ dashboards: - title: "Realtime Frequency Control Log" - title: "Realtime Frequency Display Log" - title: "Realtime Pushbutton Log" - - title: "Realtime OliveTin Log" + - title: "Realtime Web (OliveTin) Log" - title: Diagnostics contents: From aa272831a610dade777c5946a88b52fd84bcf45c Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 12:59:20 -0400 Subject: [PATCH 122/128] Update config.yaml --- OliveTin/config.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 77fc4683..66b7f25b 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -155,6 +155,24 @@ actions: onclick: execution-dialog timeout: 10 + - title: "Signin to Raspberry Pi Connect" + icon: "🍓" # strawberry + shell: rpi-connect signin + onclick: execution-dialog + timeout: 60 + + - title: "Signout of Raspberry Pi Connect" + icon: "🍓" # strawberry + shell: rpi-connect signout + onclick: execution-dialog + timeout: 5 + + - title: "Status of Raspberry Pi Connect" + icon: "🍓" # strawberry + shell: rpi-connect doctor + onclick: execution-dialog + timeout: 60 + - title: "Show Network Configuration" icon: "🛜" # wireless shell: ifconfig @@ -580,5 +598,8 @@ dashboards: - title: "Change Hostname and Restart" - title: "Show Network Configuration" - title: "Show Available WiFi Networks" + - title: "Signin to Raspberry Pi Connect" + - title: "Signout of Raspberry Pi Connect" + - title: "Status of Raspberry Pi Connect" From a64a637bc586bde56f4b90d5c7cb9c258f09f764 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 13:00:44 -0400 Subject: [PATCH 123/128] Update config.yaml --- OliveTin/config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 66b7f25b..78bf73b7 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -157,19 +157,19 @@ actions: - title: "Signin to Raspberry Pi Connect" icon: "🍓" # strawberry - shell: rpi-connect signin + shell: sudo su pi - rpi-connect signin onclick: execution-dialog timeout: 60 - title: "Signout of Raspberry Pi Connect" icon: "🍓" # strawberry - shell: rpi-connect signout + shell: sudo su pi - rpi-connect signout onclick: execution-dialog timeout: 5 - title: "Status of Raspberry Pi Connect" icon: "🍓" # strawberry - shell: rpi-connect doctor + shell: sudo su pi - rpi-connect doctor onclick: execution-dialog timeout: 60 From f04955302758364ba17910d5af0385b1fed5085e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 13:06:27 -0400 Subject: [PATCH 124/128] Update OliveTin.service change to pi --- systemd/OliveTin.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/OliveTin.service b/systemd/OliveTin.service index 60742dbe..5ed48369 100644 --- a/systemd/OliveTin.service +++ b/systemd/OliveTin.service @@ -10,6 +10,7 @@ After=local-fs.target ExecStart=/usr/local/bin/OliveTin Restart=always Environment="PORT=80" +User=pi [Install] WantedBy=multi-user.target From 13deddd895592129db3a0a6fc9d18167f08379ab Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 13:33:29 -0400 Subject: [PATCH 125/128] Update config.yaml remove rpi-connect --- OliveTin/config.yaml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index 78bf73b7..c38d70d3 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -155,23 +155,23 @@ actions: onclick: execution-dialog timeout: 10 - - title: "Signin to Raspberry Pi Connect" - icon: "🍓" # strawberry - shell: sudo su pi - rpi-connect signin - onclick: execution-dialog - timeout: 60 - - - title: "Signout of Raspberry Pi Connect" - icon: "🍓" # strawberry - shell: sudo su pi - rpi-connect signout - onclick: execution-dialog - timeout: 5 - - - title: "Status of Raspberry Pi Connect" - icon: "🍓" # strawberry - shell: sudo su pi - rpi-connect doctor - onclick: execution-dialog - timeout: 60 +# - title: "Signin to Raspberry Pi Connect" +# icon: "🍓" # strawberry +# shell: sudo su pi - rpi-connect signin +# onclick: execution-dialog +# timeout: 60 + +# - title: "Signout of Raspberry Pi Connect" +# icon: "🍓" # strawberry +# shell: sudo su pi - rpi-connect signout +# onclick: execution-dialog +# timeout: 5 + +# - title: "Status of Raspberry Pi Connect" +# icon: "🍓" # strawberry +# shell: sudo su pi - rpi-connect doctor +# onclick: execution-dialog +# timeout: 60 - title: "Show Network Configuration" icon: "🛜" # wireless @@ -598,8 +598,8 @@ dashboards: - title: "Change Hostname and Restart" - title: "Show Network Configuration" - title: "Show Available WiFi Networks" - - title: "Signin to Raspberry Pi Connect" - - title: "Signout of Raspberry Pi Connect" - - title: "Status of Raspberry Pi Connect" +# - title: "Signin to Raspberry Pi Connect" # OliveTin needs to run as pi +# - title: "Signout of Raspberry Pi Connect" +# - title: "Status of Raspberry Pi Connect" From 4d8eaa77760ebe68759cbaae1d1f869fe5fa7489 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 13:37:58 -0400 Subject: [PATCH 126/128] Update OliveTin.service run as root --- systemd/OliveTin.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/OliveTin.service b/systemd/OliveTin.service index 5ed48369..f2a6777f 100644 --- a/systemd/OliveTin.service +++ b/systemd/OliveTin.service @@ -10,7 +10,7 @@ After=local-fs.target ExecStart=/usr/local/bin/OliveTin Restart=always Environment="PORT=80" -User=pi +# User=pi [Install] WantedBy=multi-user.target From 44e5f3db106181436ed985cf5e68c3566fe407f3 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 13:44:22 -0400 Subject: [PATCH 127/128] Update config.yaml --- OliveTin/config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OliveTin/config.yaml b/OliveTin/config.yaml index c38d70d3..46400cea 100644 --- a/OliveTin/config.yaml +++ b/OliveTin/config.yaml @@ -1,4 +1,7 @@ showNavigation: false +pageTitle: CubeSatSim Dashboard +logLevel: "INFO" +showFooter: false additionalNavigationLinks: - title: CubeSatSim Wiki url: https://CubeSatSim.org/wiki From c491e76a1b4e4d6b0c2e7f9cab90c214e69b39b7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Aug 2026 13:47:53 -0400 Subject: [PATCH 128/128] Update .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 3df2c6bd..b0e6e6d3 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,5 @@ groundstation/direwolf-pacsat-tmp.conf tlm.bin frequency.txt logb.txt +logo.txt +logp.txt