This is a firmware application project for the Plant133 watering system.
- Naming: Follow
og3conventions:camelCasemethods,snake_caselocals,m_prefix for private members. - Framework: Strictly use the
og3application framework classes (HAApp,WifiManager, etc.).
- Sensor Drivers: Prefer using
og3x-extension libraries for climate and OLED display. - Pins: Hardware pin mappings are versioned via
BOARD_V13macro. Ensure changes are verified against both v1.2 and v1.3 board layouts.
- Svelte UI: The frontend is built with Svelte. Always run
./build-svelte.shafter making changes to thesvelte/directory to regenerate the C++ assets. - API Consistency: Ensure JSON API endpoints in
main.cppremain in sync with the data-fetching logic insvelte/src/App.svelte.
- CHANGELOG: Document all version updates in
CHANGELOG.md. - Release Verification: Before releasing, verify that the project compiles for both
usb_node32sandwifi_node32senvironments.