Commit Graph

760 Commits

Author SHA1 Message Date
c2929a65ae enable ota_update webserver path again
take latest ota code from `develop` branch and apply to legacy branch
2026-05-10 16:34:26 +02:00
0b386b0ca3 Merge branch 'feature/build-scripts-from-develop' into legacy/v3-support 2026-05-10 14:39:37 +02:00
0ab1ea3635 build: add build artifacts to .gitignore 2026-05-10 14:39:24 +02:00
ae73f12d1c build: add image_build.sh and erase_ota.sh scripts 2026-05-10 14:39:22 +02:00
cfe1c2c6d8 build: add flash.sh and all.sh scripts 2026-05-10 14:39:20 +02:00
578379c0d9 build: remove webpack integration from build.rs and add always-rebuild sentinel 2026-05-10 14:39:19 +02:00
2ff219a1cb build: add reusable build_website.sh script 2026-05-10 14:39:16 +02:00
96023c8dc3 Merge branch 'refactor/mkstatic-util' into legacy/v3-support 2026-05-10 14:04:25 +02:00
7497a8c05d refactor: create util module with shared mk_static
- use crate::util::mk_static in network module
- use crate::util::mk_static in mqtt module
- use crate::util::mk_static in hal module
- remove dead mk_static macro from esp module
2026-05-10 14:01:57 +02:00
d3d8d829be Merge branch 'refactor/network-module' into legacy/v3-support 2026-05-10 13:38:24 +02:00
6889ba4561 refactor: move try_connect_wifi_sntp_mqtt to network module 2026-05-10 13:34:34 +02:00
18095349f3 refactor: move wifi to network module 2026-05-10 13:34:32 +02:00
3d8fd893f5 refactor: move wifi_ap to network module 2026-05-10 13:34:30 +02:00
1bea7ef2f4 refactor: move sntp to network module 2026-05-10 13:34:28 +02:00
f5b9674840 refactor: move run_dhcp to network module 2026-05-10 13:34:25 +02:00
6f22881007 refactor: move net_task to network module 2026-05-10 13:34:23 +02:00
1d8af1b6c4 refactor: create network module
- move NetworkMode and SntpMode enums
2026-05-10 13:33:52 +02:00
2c532359fc Merge branch 'refactor/mqtt-module' into legacy/v3-support 2026-05-10 01:59:07 +02:00
53819484fb refactor: move Solar struct to mqtt module 2026-05-10 01:48:22 +02:00
1151d099cf refactor: move PumpInfo struct to mqtt module 2026-05-10 01:48:20 +02:00
3feaacd460 refactor: create mqtt module with core MQTT statics and tasks 2026-05-10 01:48:10 +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