You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CubeSatSim/OliveTin/config.yaml

693 lines
21 KiB

showNavigation: false
pageTitle: CubeSatSim Dashboard
logLevel: "INFO"
showFooter: false
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
icon: logs
onclick: execution-dialog
timeout: 10
- title: "Show All Commands"
shell: /home/pi/CubeSatSim/config -h
icon: logs
onclick: execution-dialog
timeout: 10
- title: "General CubeSatSim Config"
shell: /home/pi/CubeSatSim/config {{ config }}
icon: "⚙" # gear
onclick: execution-dialog
timeout: 10
arguments:
- name: config
type: ascii_sentence
- title: "Change Mode to APRS"
shell: /home/pi/CubeSatSim/config -a
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 10
- title: "Change Mode to FSK"
shell: /home/pi/CubeSatSim/config -f
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 10
- title: "Change Mode to BPSK"
shell: /home/pi/CubeSatSim/config -b
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 10
- title: "Change Mode to SSTV"
shell: /home/pi/CubeSatSim/config -s
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 10
- title: "Change Mode to CW"
shell: /home/pi/CubeSatSim/config -m
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 10
- title: "Change Mode to Repeater"
shell: /home/pi/CubeSatSim/config -e
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 10
- title: "Change Mode to FUNcube"
shell: /home/pi/CubeSatSim/config -j
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 10
- title: "Change Mode to Pacsat"
shell: /home/pi/CubeSatSim/config -G
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 30
- title: "Change Mode to Pacsat Ground Station"
shell: /home/pi/CubeSatSim/config -I
icon: "🛰" # satellite
onclick: execution-dialog
timeout: 30
- title: "Turn Battery Saver Mode ON"
shell: bash -c "/home/pi/CubeSatSim/config -B yes"
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Turn Battery Saver Mode OFF"
shell: bash -c "/home/pi/CubeSatSim/config -B no"
icon: "❌" # red X
onclick: execution-dialog
timeout: 10
- title: "Turn Doppler Mode OFF"
shell: /home/pi/CubeSatSim/config -K no
icon: "❌" # red X
onclick: execution-dialog
timeout: 10
- title: "Turn Simulated Doppler Mode ON"
shell: /home/pi/CubeSatSim/config -K sim
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Turn Radio Control Doppler Mode ON"
shell: /home/pi/CubeSatSim/config -K rig
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Change TX and RX Frequency"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -F {{ tx }} {{ rx }}
onclick: execution-dialog
timeout: 10
arguments:
- name: tx
type: ascii_sentence
- name: rx
type: ascii_sentence
- title: "Connect to WiFi using SSID and Password"
icon: "🛜" # wireless
exec:
- /home/pi/CubeSatSim/set_wifi.sh
- "{{ wifi_ssid }}"
- "{{ wifi_password }}"
onclick: execution-dialog
timeout: 10
arguments:
- name: wifi_ssid
type: ascii_sentence
- name: wifi_password
type: password
- 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: "Ping a Host or IP address"
icon: "🛜" # wireless
# shell: echo "This will run for 15 seconds" && ping {{ hostname_or_ip_address }}
shell: ping {{ hostname_or_ip_address }}
onclick: execution-dialog
timeout: 15
arguments:
- name: hostname_or_ip_address
type: ascii_sentence
- title: "See Running Processes"
icon: logs
# shell: echo "This command will timeout after 15 seconds" && top
shell: top -b -n 1 2>&1
onclick: execution-dialog
timeout: 15
- title: "CubeSatSim Directory"
icon: logs
shell: ls -all /home/pi/CubeSatSim
onclick: execution-dialog
timeout: 15
- title: "Show PiOS Boot Files"
icon: logs
shell: /home/pi/CubeSatSim/config -w
onclick: execution-dialog
timeout: 15
- title: "Show Available WiFi Networks"
icon: "🛜" # wireless
shell: sudo nmcli device wifi rescan && nmcli device wifi list
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: 10
# - 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
shell: ifconfig
onclick: execution-dialog
timeout: 10
- title: "List Audio Devices Speakers and Microphones"
icon: "🔉" # speaker
shell: aplay -l && arecord -l
onclick: execution-dialog
timeout: 10
- title: "List USB Devices"
icon: logs
shell: lsusb
onclick: execution-dialog
timeout: 10
- title: "Set PL (Private Line) CTCSS/CDCSS"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -P {{ pl_rx }} {{ pl_tx }}
onclick: execution-dialog
timeout: 10
arguments:
- name: pl_rx
type: ascii_sentence
- name: pl_tx
type: ascii_sentence
- title: "Change Callsign"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -c {{ callsign }}
onclick: execution-dialog
timeout: 10
arguments:
- name: callsign
type: ascii_sentence
- title: "Change Latitude and Longitude"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -l {{ latitude }} {{ longitude }}
onclick: execution-dialog
timeout: 10
arguments:
- name: latitude
type: ascii_sentence
- name: longitude
type: ascii_sentence
- title: "Realtime CubeSatSim Log"
shell: /home/pi/CubeSatSim/log -d r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "CubeSatSim Log"
shell: echo "If this log file is too long, it might timeout. If that happens, try the Realtime Log instead" && /home/pi/CubeSatSim/log -d
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Realtime Transmit Log"
shell: /home/pi/CubeSatSim/log -t r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Transmit Log"
shell: echo "If this log file is too long, it might timeout. If that happens, try the Realtime Log instead" && /home/pi/CubeSatSim/log -t
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Realtime Frequency Control Log"
shell: /home/pi/CubeSatSim/log -r r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Frequency Control Log"
shell: echo "If this log file is too long, it might timeout. If that happens, try the Realtime Log instead" && /home/pi/CubeSatSim/log -r
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Realtime Frequency Display Log"
shell: /home/pi/CubeSatSim/log -f r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Frequency Display Log"
shell: /home/pi/CubeSatSim/log -f
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Realtime Pacsat Log"
shell: /home/pi/CubeSatSim/log -p r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Pacsat Log"
shell: echo "If this log file is too long, it might timeout. If that happens, try the Realtime Log instead" && /home/pi/CubeSatSim/log -p
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Realtime Pushbutton Log"
shell: /home/pi/CubeSatSim/log -b r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Pushbutton Log"
shell: echo "If this log file is too long, it might timeout. If that happens, try the Realtime Log instead" && /home/pi/CubeSatSim/log -b
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Realtime Command and Control Log"
shell: /home/pi/CubeSatSim/log -c r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Command and Control Log"
shell: echo "If this log file is too long, it might timeout. If that happens, try the Realtime Log instead" && /home/pi/CubeSatSim/log -c
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Realtime Web (OliveTin) Log"
shell: /home/pi/CubeSatSim/log -o r
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Web (OliveTin) Log"
shell: echo "If this log file is too long, it might timeout. If that happens, try the Realtime Log instead" && /home/pi/CubeSatSim/log -o
icon: logs
onclick: execution-dialog
timeout: 30
- title: "Update CubeSatSim Software"
shell: echo "This will take tens of minutes and only works if connected to internet. It might timeout and need to be run again. 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. It might timeout and need to be run again. You should restart when finished!" && sudo su pi - /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
onclick: execution-dialog
timeout: 10
- title: "Shutdown CubeSatSim"
shell: echo "Shutting Down CubeSatSim now!" && sudo shutdown now
icon: restart
onclick: execution-dialog
timeout: 10
- title: "Restart CubeSatSim Software"
shell: /home/pi/CubeSatSim/config -i
icon: restart
onclick: execution-dialog
timeout: 10
- title: "Scan I2C Bus"
shell: /home/pi/CubeSatSim/config -S
icon: logs
onclick: execution-dialog
timeout: 600
- title: "Clear Logs and Restart"
shell: /home/pi/CubeSatSim/config -C
icon: restart
onclick: execution-dialog
timeout: 10
- title: "Display 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
- title: "Reset the Pacsat Configuration"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -k
onclick: execution-dialog
timeout: 10
- title: "Reset the Commands Count"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -R yes
onclick: execution-dialog
timeout: 10
- title: "Turn Simulated Telemetry ON"
shell: /home/pi/CubeSatSim/config -t yes
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Turn Simulated Telemetry OFF"
shell: /home/pi/CubeSatSim/config -t no
icon: "❌" # red X
onclick: execution-dialog
timeout: 10
- title: "Turn Balloon Mode ON"
shell: /home/pi/CubeSatSim/config -H yes
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Turn Balloon Mode OFF"
shell: /home/pi/CubeSatSim/config -H no
icon: "❌" # red X
onclick: execution-dialog
timeout: 10
- title: "Next Mode or Failure Mode"
shell: /home/pi/CubeSatSim/config -N
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Turn gpsd ON"
shell: /home/pi/CubeSatSim/config -u yes
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 30
- title: "Turn gpsd OFF"
shell: /home/pi/CubeSatSim/config -u no
icon: "❌" # red X
onclick: execution-dialog
timeout: 30
- title: "Turn Command and Control ON"
shell: /home/pi/CubeSatSim/config -T yes
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Turn Command and Control OFF"
shell: /home/pi/CubeSatSim/config -T no
icon: "❌" # red X
onclick: execution-dialog
timeout: 10
- title: "Turn Command and Control Direwolf ON"
shell: /home/pi/CubeSatSim/config -d yes
icon: "🟢" # green ball
onclick: execution-dialog
timeout: 10
- title: "Turn Command and Control Direwolf OFF"
shell: /home/pi/CubeSatSim/config -d no
icon: "❌" # red X
onclick: execution-dialog
timeout: 10
- title: "Set FoxTelem Reset Count"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -r {{ resets }}
onclick: execution-dialog
timeout: 10
arguments:
- name: resets
type: ascii_sentence
- title: "Set Squelch Level"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -q {{ squelch }}
onclick: execution-dialog
timeout: 10
arguments:
- 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: 10
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: 10
arguments:
- name: failure_mode
type: ascii_sentence
- title: "Set maxcpus Value"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -V {{ maxcpus_value }}
onclick: execution-dialog
timeout: 10
arguments:
- name: maxcpus_value
type: ascii_sentence
- title: "Turn Simulated Failure Mode OFF"
icon: "❌" # red X
shell: /home/pi/CubeSatSim/config -M 0
onclick: execution-dialog
timeout: 10
- title: "Turn Random Simulated Failure Mode ON"
icon: "🟢" # green ball
shell: /home/pi/CubeSatSim/config -U yes {{ random_time_in_seconds }}
onclick: execution-dialog
timeout: 10
arguments:
- name: random_time_in_seconds
type: ascii_sentence
- title: "Turn Random Simulated Failure Mode OFF"
icon: "❌" # red X
shell: /home/pi/CubeSatSim/config -U no
onclick: execution-dialog
timeout: 10
- title: "Change Telemetry Beacon Transmit State"
icon: "⚙" # gear
shell: /home/pi/CubeSatSim/config -o
onclick: execution-dialog
timeout: 10
- title: "Take Camera Photo for PacSat"
shell: /home/pi/CubeSatSim/config -z
icon: "📷" # camera
onclick: execution-dialog
timeout: 30
- title: "Raspberry Pi Software and Hardware"
shell: hostnamectl && echo && cat /sys/firmware/devicetree/base/model && echo
icon: logs
onclick: execution-dialog
timeout: 30
dashboards:
- title: CubeSatSim Dashboard
contents:
- title: Show Configuration
contents:
- title: "Show CubeSatSim Config"
- title: Mode Changes
contents:
- 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 Callsign"
- title: "Change Latitude and Longitude"
- 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: "Change Telemetry Beacon Transmit State"
- title: "Set Microphone Level for Command and Control"
- title: "Turn Simulated Telemetry ON"
- title: "Turn Simulated Telemetry OFF"
- title: "Set Simulated Failure Mode"
- title: "Turn Simulated Failure Mode OFF"
- title: "Turn Random Simulated Failure Mode ON"
- title: "Turn Random Simulated Failure Mode OFF"
- title: "Next Mode or Failure Mode"
- 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 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 Balloon Mode ON"
- title: "Turn Balloon Mode OFF"
- title: "Turn gpsd ON"
- title: "Turn gpsd OFF"
- title: "Set maxcpus Value"
- title: "Show All Commands"
- title: "General CubeSatSim Config"
- title: "Take Camera Photo for PacSat"
- title: Logs
contents:
- title: Static Logs
contents:
- 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: "Web (OliveTin) Log"
- title: Realtime Logs
contents:
- 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 Web (OliveTin) Log"
- title: Diagnostics
contents:
- title: "Scan I2C Bus"
- title: "Display Squelch"
- 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:
- 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: "Connect to WiFi using SSID and Password"
- title: "Change Hostname and Restart"
- title: "Show Network Configuration"
- title: "Show Available WiFi Networks"
- title: "Ping a Host or IP address"
- title: "See Running Processes"
- title: "Show PiOS Boot Files"
- title: "CubeSatSim Directory"
- title: "Raspberry Pi Software and Hardware"
# - title: "Signin to Raspberry Pi Connect" # OliveTin needs to run as pi
# - title: "Signout of Raspberry Pi Connect"
# - title: "Status of Raspberry Pi Connect"

Powered by TurnKey Linux.