irrigation_system/software
Eduard Iten 9325fa20c8 feat(valve): Add current measurement callbacks and shell commands
This commit introduces several enhancements to the valve library.

- New weak callback functions `valve_current_open_callback` and `valve_current_close_callback` are added to allow the application to monitor the current during valve opening and closing operations.
- The `movement_timeout_handler` now correctly sets the valve state to `VALVE_STATE_OPEN` and movement to `VALVE_MOVEMENT_IDLE` upon timeout.
- New shell commands `valve open`, `valve close`, and `valve stop` are added for direct control of the valve.
- The existing setting commands are reorganized under a `valve set` subcommand, and their names are shortened (e.g., `set_open_t` to `open_t`).
- The default configuration for `LIB_MODBUS_SERVER` and `LIB_VALVE` is changed to `n`.
Signed-off-by: Eduard Iten <eduard@iten.pro>
2025-07-22 10:53:24 +02:00
..
.vscode feat: Add ADC sensor device tree bindings and configuration 2025-07-08 16:43:27 +02:00
apps feat: Add mqtt_gateway application and .gitignore 2025-07-22 08:53:23 +02:00
boards/iten/bluepill_f103rb feat: Establish functional multi-app structure 2025-07-01 11:05:12 +02:00
esphome feat(esphome): Add CAN configuration 2025-07-22 08:55:30 +02:00
include/lib feat(valve): Add current measurement callbacks and shell commands 2025-07-22 10:53:24 +02:00
lib feat(valve): Add current measurement callbacks and shell commands 2025-07-22 10:53:24 +02:00
tools feat: Integrate VND7050AJ driver and enhance gateway settings 2025-07-17 15:18:22 +02:00
.clang-format style: Apply clang-format to C/C++ source files 2025-07-10 23:33:50 +02:00
Kconfig Cleaning up 2025-07-11 11:43:47 +02:00