29060cbc46
refactor: call mqtt::mqtt_init() from connection orchestration
2026-05-05 22:12:29 +02:00
122f878b02
refactor: remove MQTT code from esp.rs
2026-05-05 22:12:29 +02:00
d98fe9bb3c
refactor: use mqtt::is_stay_alive() helper instead of direct static access
2026-05-05 22:12:29 +02:00
087d6e20cd
refactor: replace mqtt_publish() call sites with mqtt::publish()
2026-05-05 22:12:29 +02:00
d2b18db250
refactor: move NetworkMode and SntpMode to mqtt module
2026-05-05 22:12:29 +02:00
5ac4edd5a0
refactor: move Solar struct to mqtt module
2026-05-05 22:12:29 +02:00
c735d4f1c5
refactor: move PumpInfo struct to mqtt module
2026-05-05 22:12:29 +02:00
7966efb273
refactor: move LightState struct to mqtt module
2026-05-05 22:12:29 +02:00
41ef3dd3e9
refactor: re-export MQTT_STAY_ALIVE from hal/esp.rs
2026-05-05 22:12:29 +02:00
050f51b9b8
refactor: create mqtt module with core MQTT statics and tasks
2026-05-05 22:12:29 +02:00
e15e78cc26
rename deepsleep to deep_sleep_ms for clarity on expected duration
...
in main deep sleep was larger than required by a factor of 1000, fixed
this an renamed function to make expected duration count size obvious
from the name
2026-05-05 22:02:46 +02:00
d9aa96a3cb
add containerized dev tools legacy branch
2026-05-05 21:47:41 +02:00
ecf989b859
relax wifi connect parameters for more reliable wifi connection
2026-05-05 01:38:07 +02:00
db401aac55
get most stuff working again, by upgrading to newer esp-hal version
...
this involved adding a lot of code from the develop branch step by step
there are still some bugs, but at least i can get into the web interface
and configure stuff again \o/ … measuring and pumping is working as well
2026-05-04 23:46:27 +02:00
ecb7707357
fix: add gpio_pad_hold on GPIO21 to prevent boot ROM from reconfiguring shift register enable pin
2026-05-04 02:31:49 +02:00
4cf7a1c94f
counter limit 0 is invalid set None instead
2026-05-04 01:50:06 +02:00
9155676e06
commit Cargo.lock to make legacy version compile reproducably
2026-05-04 01:50:02 +02:00
e05f3d768f
Add mcutie MQTT client implementation and improve library structure
...
- Integrated `mcutie` library as a core MQTT client for device communication.
- Added support for Home Assistant entities (binary sensor, button) via MQTT.
- Implemented buffer management, async operations, and packet encoding/decoding.
- Introduced structured error handling and device registration features.
- Updated `Cargo.toml` with new dependencies and enabled feature flags for `serde` and `log`.
- Enhanced logging macros with configurable options (`defmt` or `log`).
- Organized codebase into modules (buffer, components, IO, publish, etc.) for better maintainability.
fix legacy dependecencies and compatiblity with mcutie vendored lib
fix shit i hate this
2026-05-04 01:48:22 +02:00
cf58486cf5
we should be feature compatible with main version now!
2025-09-30 22:37:45 +02:00
cfe23c8a09
mqtt via mcutie
2025-09-29 01:00:11 +02:00
3d18b0dbf6
split webserver into submodules
2025-09-28 19:08:43 +02:00
7ebc147f51
v3 wip
2025-09-28 13:42:30 +02:00
f0bda32d7a
use rom linked functions for pin keeping
2025-09-26 23:32:41 +02:00
76f59b093d
enable deepsleep and gpio1 + timer wake
2025-09-26 22:07:48 +02:00
7fc8d0c882
sta config mode
2025-09-26 01:13:08 +02:00
6d5bb5b966
sntp and wifi sta mode working
2025-09-26 00:44:40 +02:00
336961f0a0
not working wip of station mode
2025-09-25 22:32:10 +02:00
e20b474dfd
bring selftest online, bring tz online, fix set_config/get_config race
2025-09-24 22:29:58 +02:00
5b009f50e5
tanksensor and rtc sync
2025-09-23 22:59:08 +02:00
d010c5d12a
get more functions online
2025-09-23 20:51:59 +02:00
b594a02870
fix progress display
2025-09-23 00:43:19 +02:00
1f3349c348
add pump expander
2025-09-23 00:26:05 +02:00
5b0e2b6797
i2c working, rtc working, eeprom working
2025-09-22 23:44:33 +02:00
1791f463b7
remove anyhow
2025-09-22 01:49:25 +02:00
c94f5bdb45
get log to work, make time accessible
2025-09-20 11:31:51 +02:00
584d6df2d0
file up & download and delete
2025-09-18 01:39:32 +02:00
cd63e76469
set read config initial somewhat ready
2025-09-17 03:50:21 +02:00
4c54edbcea
littlefs2 impl stuff
2025-09-17 01:36:53 +02:00
8b938e7687
small adjustments
2025-09-16 22:41:45 +02:00
1c84cd00da
rework wifi controller share
2025-09-16 02:24:03 +02:00
1397f5d775
keep ota around for alter queries to it
2025-09-16 01:41:38 +02:00
65f6670ca4
adda lot of basic webserver back
2025-09-15 01:21:50 +02:00
049a9d027c
use ssid
2025-09-14 13:50:46 +02:00
4aa25c687b
minimal startup running
2025-09-14 13:19:30 +02:00
b3cc313139
initial webserver stub running
2025-09-14 05:29:23 +02:00
be3c4a5095
startup and ota state detection working, now wifi_ap next
2025-09-13 20:56:11 +02:00
4160202cdc
more changes and linking
2025-09-13 02:47:53 +02:00
9de85b6e37
it's alive
2025-09-13 01:39:47 +02:00
79087c9353
more async migration
2025-09-12 16:30:35 +02:00
0d495d0f56
probalby found most of the import related stuff, now the real refactor begins
2025-09-12 00:05:52 +02:00