{"id":13612599,"url":"https://github.com/plantineers/edge","last_synced_at":"2025-07-13T00:33:44.890Z","repository":{"id":151126684,"uuid":"623037490","full_name":"plantineers/edge","owner":"plantineers","description":"The microcontroller firmware of plantbuddy","archived":false,"fork":false,"pushed_at":"2023-09-18T12:38:05.000Z","size":98,"stargazers_count":13,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-07T20:43:01.070Z","etag":null,"topics":["embedded-rust","esp-now","esp32","esp32-c3","plantmonitor","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plantineers.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}},"created_at":"2023-04-03T15:07:54.000Z","updated_at":"2024-08-18T19:46:29.000Z","dependencies_parsed_at":"2024-01-14T04:44:09.909Z","dependency_job_id":"3c78f3b8-ebe4-414c-b39a-4b145e5478bb","html_url":"https://github.com/plantineers/edge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plantineers%2Fedge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plantineers%2Fedge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plantineers%2Fedge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plantineers%2Fedge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plantineers","download_url":"https://codeload.github.com/plantineers/edge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225844795,"owners_count":17533161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["embedded-rust","esp-now","esp32","esp32-c3","plantmonitor","rust"],"created_at":"2024-08-01T20:00:32.252Z","updated_at":"2024-11-22T05:15:10.718Z","avatar_url":"https://github.com/plantineers.png","language":"Rust","funding_links":[],"categories":["Projects"],"sub_categories":["`no_std`"],"readme":"# Plantbuddy-edge\n\n![Build](https://img.shields.io/github/actions/workflow/status/plantineers/edge/ci.yml?style=flat-square)\n![License](https://img.shields.io/github/license/plantineers/edge?style=flat-square)\n## Introduction\n\nPlantbuddy is a solution for monitoring your plants. This is the repository containing the aggregator Firmware for the ESP32C3. Is is responsible for collecting data from the sensors and sending it to the [esp-gateway](https://github.com/plantineers/esp-gateway) via ESP-Now to ensure long range communication. It is written in bare-metal Rust running via [esp-hal](https://github.com/esp-rs/esp-hal) and [embassy](https://github.com/embassy-rs/embassy).\n\n## Getting Started\n\n### Prerequisites\n\n- [Rust](https://rustup.rs/)\n\n\n### Installation\n\n1. Clone the repository\n\n```sh\ngit clone https://github.com/plantineers/edge.git\n```\n\n2. Install Rust nightly and the required target\n\n```sh\nrustup toolchain install nightly\nrustup target add riscv32imc-unknown-none-elf\nrustup component add rust-src\n```\n\n3. Install cargo-espflash\n\n```sh\ncargo install espflash --git https://github.com/esp-rs/espflash/\n```\n\n4. After plugging in the ESP32C3, allow access to the serial port and flash the firmware\n\n```sh\nsudo chmod a+rw /dev/\u003cserial-port\u003e # To permanently allow access, add your user to the dialout or uucp group depending on the distro\ncargo run --release --features \"\u003cfeatures, comma, seperated\u003e\" # See below for available features\n```\n\n## Features\n\nFor every sensor there is a feature that can be enabled to include it in the build. The following features are available:\n| Feature   | Description                                      | Output                                                 |\n| --------- | ------------------------------------------------ | ------------------------------------------------------ |\n| `tsl2591` | Enable the TSL2591 light sensor                  | `{\"light\": \u003clux\u003e}`                                     |\n| `hw390`   | Enable the HW390 soil moisture sensor            | `{\"soil-moisture\": \u003cpercentage\u003e}`                      |\n| `dht11`   | Enable the DHT11 temperature and humidity sensor | `{\"temperature\": \u003ccelsius\u003e, \"humidity\": \u003cpercentage\u003e}` |\n| `dht22`   | Enable the DHT22 temperature and humidity sensor | `{\"temperature\": \u003ccelsius\u003e, \"humidity\": \u003cpercentage\u003e}` |\n\nThe dht11 and dht22 features are mutually exclusive. Only one of them can be enabled at a time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplantineers%2Fedge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplantineers%2Fedge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplantineers%2Fedge/lists"}