{"id":20885388,"url":"https://github.com/lab11/esp32-gateway","last_synced_at":"2026-01-07T12:47:06.328Z","repository":{"id":145294036,"uuid":"160724994","full_name":"lab11/esp32-gateway","owner":"lab11","description":"ESP32-Based Gateway for PowerBlade Deployments","archived":false,"fork":false,"pushed_at":"2022-10-31T12:07:51.000Z","size":456,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-01-19T10:43:35.868Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lab11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-12-06T19:58:19.000Z","updated_at":"2025-01-05T02:37:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"cce961ab-f87f-4a4d-86c2-5331fe624348","html_url":"https://github.com/lab11/esp32-gateway","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/lab11%2Fesp32-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fesp32-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fesp32-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lab11%2Fesp32-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lab11","download_url":"https://codeload.github.com/lab11/esp32-gateway/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243267296,"owners_count":20263799,"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":[],"created_at":"2024-11-18T08:13:23.104Z","updated_at":"2026-01-07T12:47:06.285Z","avatar_url":"https://github.com/lab11.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"ESP32 Gateway\n=============\n\nSource and configuration tools for an ESP32-based gateway.\n\nThe [Espressif ESP32](https://www.espressif.com/en/products/hardware/esp32/overview) is an SoC with integrated Bluetooth and Wi-Fi. \n\nWe test and deploy the software on the [SparkFun ESP32 Thing](https://www.sparkfun.com/products/13907).\n\nThe software for the gateway consists of a number of separate services. \n- Configuration of Wi-Fi credentials via Bluetooth when Wi-Fi is not yet connected\n- Serial logging of [PowerBlade](https://github.com/lab11/powerblade) data parsed from BLE advertisements\n- Forwarding of PowerBlade data to a configurable Influx endpoint\n- Serving of tools and settings as a web portal on the local network\n\nThe [ESP32 Applications repo](https://github.com/lab11/esp32-apps) contains single-purpose applications that demonstrate or test most of these services, as well as a number of other miscellaneous applications.\n\n\nSetup\n-----\n\nTo set up the software environment on your machine, follow the [Espressif documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html).\n\nConnect the device via USB and [find the appropriate serial port](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/establish-serial-connection.html#check-port-on-linux-and-macos).\n\nWhile in the ESP32 Gateway repo, `idf.py menuconfig` can be used to access the configuration menu, and optionally set default Wi-Fi credentials and InfluxDB endpoint. Hit `Q` to exit.\n\nWi-Fi and InfluxDB credentials can also be changed after the gateway is programmed using a phone or browser. View [startup guide](https://docs.google.com/presentation/d/1h3oxfZpgNazQ42Ug1GeqB8SHxXWLkpt178d12G6gJQw/edit?usp=sharing) for instructions.\n\n\nRun\n---\n\nUse `idf.py -p \u003cPORT\u003e flash monitor` to generate necessary files, build the project, flash the binary to the device, and display serial output from the device.\n\nHit `CTRL + ]` to halt serial monitoring.\n\nView [startup guide](https://docs.google.com/presentation/d/1h3oxfZpgNazQ42Ug1GeqB8SHxXWLkpt178d12G6gJQw/edit?usp=sharing) for tips on configuring and deploying the programmed gateway with PowerBlades.\n\n\u003c!--\n\nThe follow `idf.py` commands are useful:\n\n- `idf.py` | `idf.py build`: Builds project\n\n- `idf.py menuconfig`: Access configuration menu\n\n- `idf.py flash`: Build project, flash binary to device, \u0026 boot device\n\n- `idf.py monitor`: Restart device and display serial output from device\n\n- `idf.py flash monitor`: Build project, flash device\n\n- `idf.py erase-flash`: Erase flash memory on device\n\n- `idf.py clean`: Cleans build files\n\n--\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fesp32-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flab11%2Fesp32-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flab11%2Fesp32-gateway/lists"}