feat: Implement Homeassistant MQTT Gateway

This commit transforms the previous "Blinky" sample into a functional
Homeassistant MQTT Gateway application.

Key features and changes include:

- **Application Logic:** The core application logic is updated to function as a gateway between Modbus and MQTT.
- **Network Configuration:**
    - Implemented persistent network settings using the Zephyr settings subsystem and NVS.
    - Added robust Wi-Fi connection management with auto-reconnect.
    - Centralized IP configuration to support both DHCP and static IP addresses.
- **Configuration:** Project and board configurations have been updated to enable necessary kernel features and network settings.
- **Documentation:** The README has been updated to reflect the new functionality and usage instructions.
- **Simulation:** The simulation script has been updated.
This commit is contained in:
2025-07-20 08:30:33 +02:00
parent cbbd5f5fea
commit 6e669cfc4e
6 changed files with 429 additions and 293 deletions

View File

@@ -1,3 +1,3 @@
CONFIG_WIFI=y
CONFIG_WIFI_ESP32=y
CONFIG_ESP32_WIFI_STA_RECONNECT=y
CONFIG_NET_L2_WIFI_SHELL=y
CONFIG_WIFI_ESP32=y