The Smart Plant OS project has transitioned from a documentation and HTML mockup phase to a functional hardware prototype. The system now runs on ESP32-S3 N8R2 as the main controller and ESP32-C3 for individual plant nodes, utilizing the ESP-IDF framework.
Engineers faced significant data transmission constraints, as standard JSON API responses exceeded the 250-byte limit of ESP-NOW radio frames. To address this, the system now splits data into two distinct contracts: external REST API for browser communication and a compact CBOR-based Smart Plant Protocol for inter-device messaging.
To ensure system stability under concurrent requests, the architecture uses a single-task model for state management. All radio callbacks and HTTPS requests are funneled through queues, preventing data corruption. The system includes host-side tests for message loss, reordering, and corruption, including validation against 20,000 damaged packets.
Network configuration remains a challenge, as Wi-Fi and ESP-NOW share the same radio channel on ESP32 devices. Currently, the system requires manual channel synchronization. While the main controller successfully hosts a web interface via HTTPS, further work is needed to automate device provisioning and network recovery.
The project repository is open-source and includes specifications, architectural decisions, and code for the current hardware stand. Future development will focus on integrating sensors, pumps, and historical data storage, while maintaining a modular API to support future third-party integrations.





