Core Settings (stored on startup for diagnostics)
All key system parameters are saved at each startup in a separate log file.
This allows full traceability of configuration during deployments and troubleshooting.
Sampler mode
EEPROM0
Defines the overall operating mode of the SmartSampler.
Primarily used to enable predefined workflows for specific modules.
| Value | Mode | Description |
|---|---|---|
| 0 | User-defined | Fully configurable mode using SmartSampler functions and automation logic |
| 1 | AquaMate | Predefined mode optimized for AquaMate operation |
| 2 | TreeFlux | Predefined mode optimized for TreeFlux operation |
Notes
- Mode
0allows full flexibility and is recommended for custom setups - Other modes provide predefined configurations tailored to specific applications
- Additional modes may be added in future firmware versions
- The selected mode is logged at each startup for diagnostics and traceability
Interval time
EEPROM2 (minutes)
Defines the main sampling interval.
- Unit: minutes
- Used for scheduling sampling cycles
- Example:
- Value
15→ sampling every 15 minutes
- Value
Sensor read interval
EEPROM146 (seconds)
Defines how often sensors are read.
- Unit: seconds
- Independent from saving interval
- Allows high-frequency monitoring without excessive data storage
Sensor save interval
EEPROM160 (seconds)
Defines how often sensor readings are stored.
- Unit: seconds
- Must be ≥ sensor read interval
- Used to reduce data volume while maintaining resolution
System configuration
EEPROM180 (bitmask)
System-wide configuration stored as a boolean bit table.
Each feature is represented by a single bit (power-of-two value):
| Setting | Value |
|---|---|
| Disable LED | 1 |
| Enable Sleep | 2 |
| Power down sensors | 4 |
| Power down modules | 8 |
| Restart module daily | 16 |
| Auto start | 32 |
- The stored value is the sum of all active options
- Example:
- Disable LED + Power down sensors + Auto start
→1 + 4 + 32 = 37
- Disable LED + Power down sensors + Auto start
Notes for diagnostics
- All values are logged at system startup
- Allows reconstruction of system state during:
- field deployments
- unexpected behavior
- power cycles or resets
- Bitmask configuration enables compact storage and easy extension
