pub struct ConfigData {Show 23 fields
pub sql_interface: SqlInterfaceConfig,
pub tcp_communication: TcpCommunicationConfig,
pub data_logger: DataLoggerConfig,
pub atlas_scientific: AtlasScientificConfig,
pub sensor_manager: SensorManagerConfig,
pub gpio_handler: GpioHandlerConfig,
pub dht: DhtConfig,
pub refill: RefillConfig,
pub tank_level_switch: TankLevelSwitchConfig,
pub heating: HeatingConfig,
pub ventilation: VentilationConfig,
pub monitors: MonitorsConfig,
pub balling: BallingConfig,
pub feed: FeedConfig,
pub relay_manager: RelayManagerConfig,
pub controllino_relay: ActuateControllinoConfig,
pub schedule_check: ScheduleCheckConfig,
pub messaging: MessagingConfig,
pub publish_pid: PublishPidConfig,
pub watchdog: WatchdogConfig,
pub ds18b20: Ds18b20Config,
pub memory: MemoryConfig,
pub logger: LoggerConfig,
}Expand description
Top level struct to hold the configuration data read from .toml file. It does not contain any implementation.
Fields§
§sql_interface: SqlInterfaceConfigconfiguration of the SQL database interface
tcp_communication: TcpCommunicationConfigconfiguration of the TCP connection (e.g., for simulator)
data_logger: DataLoggerConfigconfiguration of the data logger
atlas_scientific: AtlasScientificConfigconfiguration for AtlasScientific
sensor_manager: SensorManagerConfigconfiguration for Ambient
gpio_handler: GpioHandlerConfigconfiguration GPIO handler
dht: DhtConfigconfiguration of the DHT driver
refill: RefillConfigconfiguration of the fresh water refill control
tank_level_switch: TankLevelSwitchConfigconfiguration of the tank level switch calculation
heating: HeatingConfigconfiguration of the heating control
ventilation: VentilationConfigconfiguration of the ventilation control
monitors: MonitorsConfigconfiguration of the monitors
balling: BallingConfigconfiguration of the Balling dosing control
feed: FeedConfigconfiguration of the feed control
relay_manager: RelayManagerConfigconfiguration of the relay manager
controllino_relay: ActuateControllinoConfigconfiguration of the Controllino relays
schedule_check: ScheduleCheckConfigconfiguration for schedule check
messaging: MessagingConfigconfiguration of messaging (IPC)
publish_pid: PublishPidConfigconfiguration of PID publication
watchdog: WatchdogConfigconfiguration of Watchdog communication
ds18b20: Ds18b20Configconfiguration of DS18B20 temperature sensor communication
memory: MemoryConfigcheck of memory configuration
logger: LoggerConfigconfiguration of the general log file