{"id":51306394,"url":"https://github.com/sbnet/esp-plant","last_synced_at":"2026-07-01T00:02:19.566Z","repository":{"id":346169937,"uuid":"1188791102","full_name":"sbnet/esp-plant","owner":"sbnet","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-22T18:31:46.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-23T06:48:41.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-22T15:36:46.000Z","updated_at":"2026-03-22T18:31:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sbnet/esp-plant","commit_stats":null,"previous_names":["sbnet/esp-plant"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sbnet/esp-plant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fesp-plant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fesp-plant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fesp-plant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fesp-plant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbnet","download_url":"https://codeload.github.com/sbnet/esp-plant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbnet%2Fesp-plant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34987611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-01T00:02:18.095Z","updated_at":"2026-07-01T00:02:19.517Z","avatar_url":"https://github.com/sbnet.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esp-plant\n\nMinimal ESP8266 plant monitor with OLED face rendering and a REST API.\n\n## Quick setup\n\n1. Install [PlatformIO](https://platformio.org/).\n2. Create a local config file from [`platformio.local.example.ini`](platformio.local.example.ini):\n\n   ```ini\n   [env:nodemcuv2]\n   build_flags =\n     -I include\n     -DWIFI_SSID=\\\"your_wifi_ssid\\\"\n     -DWIFI_PASSWORD=\\\"your_wifi_password\\\"\n   ```\n\n   Save it as `platformio.local.ini` at the project root.\n3. Build the firmware:\n\n   ```bash\n   pio run\n   ```\n\n4. Upload to board:\n\n   ```bash\n   pio run -t upload\n   ```\n\n5. Open serial monitor:\n\n   ```bash\n   pio device monitor\n   ```\n\n## REST endpoints\n\n- `GET /status`\n  - Returns current visual state, simulated readings, and active thresholds.\n- `POST /config`\n  - Updates threshold config.\n  - JSON body example:\n\n    ```json\n    {\n      \"dryMoistureMax\": 30,\n      \"goodMoistureMin\": 65,\n      \"lowLightMax\": 20\n    }\n    ```\n\n## Notes\n\n- Wi-Fi credentials are loaded from compile-time defines in [`WifiSecrets.h`](include/WifiSecrets.h).\n- Local secrets file [`platformio.local.ini`](platformio.local.ini) is ignored by Git via [`.gitignore`](.gitignore).\n- Threshold config is persisted in emulated EEPROM with validation and fallback defaults.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbnet%2Fesp-plant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbnet%2Fesp-plant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbnet%2Fesp-plant/lists"}