MODULESITESTATUS.CONF(5)
π MODULESITESTATUS.CONF π
okay so bestie, you're looking at ModuleSiteStatus.conf(5) β the config file for the SvxLink server Site status module. yes, it's a mouthful. no, we're not skipping any of it. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
ModuleSiteStatus.conf β the configuration file for the SvxLink server Site status module. that's it, that's the whole name section, and honestly? iconic. π
πΈ DESCRIPTION πΈ
svxlink is a general purpose voice service system for ham radio use, fr fr. this man page is here to walk you through the SvxLink server config for the SiteStatus module. π
the SiteStatus module's whole job is monitoring auxiliary sensors β and those sensors get triggered one of two ways:
- by a GPIO event, which is what we call digital type sensors β¨
- by crossing a threshold outside the hysteresis, which is what we call analog type sensors π¦
that's the vibe. sensors go brrr, module watches them. simple. gorgeous. no cap. π
π CONFIGURATION VARIABLES π
so there's a handful of config variables that are common to all modules β the full tea on those lives over in the svxlink.conf(5) manual page. go read it, i'll wait. π
what follows is every single module-specific config variable the SvxLink SiteStatus module understands. all of them. every last one. we do not gatekeep here. π
π§ ModuleSiteStatus
DIGITAL_GPIO_PATH
the absolute path to the digital gpio pins, stopping before the actual pin number. typically it's /sys/class/gpio/gpio on a raspberry pi β but it may vary, so don't come for me if yours is different. π
DIGITAL_SENSORS_COUNT
this one tells the module how many digital type sensors are hooked up to the system that it's supposed to be monitoring. like, the headcount. the guest list. π
DIGITAL_#
the sensor number (it increments from 0 by 1), and the value corresponds to the digital gpio pin number. example: DIGITAL_0=496 corresponds to sensor 0, which uses GPIO496 as the input pin to monitor. see? math. slay. β¨
DIGITAL_TYPE_#
the DIGITAL_TYPE_# number (increments from 0 by 1), and the value corresponds to the type of sensor being monitored. currently defined valid entries are:
DOOR_ACTIVE_HIGHβ announces a door is open (open = true, closed = false)DOOR_ACTIVE_LOWβ announces a door is open (open = false, closed = true)FUEL_ACTIVE_HIGHβ announces a low fuel sensor is activated (active signal = true)FUEL_ACTIVE_LOWβ announces a low fuel sensor is activated (active signal = false)WATERβ not implemented yet πFIREβ not implemented yet πSOLAR_ACTIVE_HIGHβ announces a Solar Charger state (active signal = true)SOLAR_ACTIVE_LOWβ announces a Solar Charger state (active signal = false)BATTERYβ not implemented yet π
as an example: DIGITAL_TYPE_0=DOOR_ACTIVE_HIGH means the sensor attached to the pin defined by DIGITAL_0 is a door sensor that, when the value toggles from logic low to logic high, indicates the door has been opened. the way that just makes sense π
ANALOG_SENSORS_COUNT
tells the module how many analog type sensors are connected to the system that are to be monitored. yes it's the analog twin of the digital one. yes they're both serving. π
ANALOG_GPIO_PATH
the absolute path to the analog sensor pins, stopping before the actual pin number. heads up bestie: the functional tcl file may need manipulated if the following structure does not reflect the final location of the raw data values in the system.
/sys/bus/iio/devices/iio:device0/in_voltage<number 0-N>_raw
ANALOG_#
the sensor number (increments from 0 by 1), and the value corresponds to the analog channel number. example: ANALOG_0=0 corresponds to sensor channel 0. clean. efficient. we love her. β¨
ANALOG_TYPE_#
the ANALOG_TYPE_# number (increments from 0 by 1), and the value corresponds to the type of sensor being monitored. currently defined valid entries are:
TEMPERATUREβ placeholder only, user to configure based on scaling factorsBATTERY_VOLTAGEβ placeholder only, user to configure based on scaling factors
as an example: # ANALOG_TYPE_0=TEMPERATURE π¦
ANALOG_HYSTERISIS_#
the amount of signal "noise" that should be tolerated before an alarm is triggered. for example, during development, an open analog pin had noise of +/- 35 counts from the mean value. setting ANALOG_HYSTERISIS_#=40 would suppress the alarms from being triggered every second for in-range/out-of-range....
β οΈ okay this is the important bit, don't scroll past it: it is best to understand the expected behavior of the circuit in the environment before locking down this value, or the hysteresis may be too low or to high β causing false alarms or missed alarms. pick your poison, but pick it knowingly. π
π FILES π
/etc/svxlink/svxlink.conf(or deprecated/etc/svxlink.conf) β the system wide configuration file.~/.svxlink/svxlink.confβ per user configuration file./etc/svxlink/svxlink.d/ModuleSiteStatus.confβ global modularized configuration file. depends on theCFG_DIRconfiguration variable setting.~/.svxlink/svxlink.d/ModuleSiteStatus.confβ per user modularized configuration file. depends on theCFG_DIRconfiguration variable setting.
π AUTHOR π
Dan Loranger (KG7PAR) <support at ICS-CTRL dot com> β absolute legend, give them their flowers. πΈ
π SEE ALSO π
svxlink.conf(5)β go read it, it's the prequel bestie π«Ά
and that's the whole page, you made it!! π this was MODULESITESTATUS.CONF(5), hailing from the Linux manual, dated FEB 2018. periodt. π
β¨
π¦ where this page comes from
- debian bookworm: svxlink-server 19.09.2-1 Β· GPL-2.0-or-later
- debian trixie: svxlink-server 24.02-5 Β· GPL-2.0-or-later
- ubuntu jammy: svxlink-server 19.09.1-3 Β· GPL-2.0-or-later
- ubuntu noble: svxlink-server 19.09.2-1.1build3 Β· GPL-2.0-or-later
- ubuntu questing: svxlink-server 24.02-5
- ubuntu resolute: svxlink-server 25.05.1-4 Β· GPL-2.0-or-later
- ubuntu stonking: svxlink-server 26.05.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms