{"id":19763597,"url":"https://github.com/jayadamsmorgan/smarthomedevices","last_synced_at":"2026-07-02T22:32:45.707Z","repository":{"id":192169222,"uuid":"686205251","full_name":"jayadamsmorgan/SmartHomeDevices","owner":"jayadamsmorgan","description":"ESP32 smart device implementations for JavaHomeServer","archived":false,"fork":false,"pushed_at":"2023-10-20T15:34:10.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T10:33:05.113Z","etag":null,"topics":["cpp","home-automation","iot","iot-device"],"latest_commit_sha":null,"homepage":"https://github.com/jayadamsmorgan/JavaHomeServer","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/jayadamsmorgan.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-09-02T03:01:42.000Z","updated_at":"2023-09-29T08:29:11.000Z","dependencies_parsed_at":"2023-09-03T04:29:51.734Z","dependency_job_id":"a1aa400e-e7db-4fa6-8694-b9235fe574d1","html_url":"https://github.com/jayadamsmorgan/SmartHomeDevices","commit_stats":null,"previous_names":["jayadamsmorgan/smarthomedevices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jayadamsmorgan/SmartHomeDevices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayadamsmorgan%2FSmartHomeDevices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayadamsmorgan%2FSmartHomeDevices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayadamsmorgan%2FSmartHomeDevices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayadamsmorgan%2FSmartHomeDevices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jayadamsmorgan","download_url":"https://codeload.github.com/jayadamsmorgan/SmartHomeDevices/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jayadamsmorgan%2FSmartHomeDevices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35065702,"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-07-02T02:00:06.368Z","response_time":173,"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":["cpp","home-automation","iot","iot-device"],"created_at":"2024-11-12T04:10:07.826Z","updated_at":"2026-07-02T22:32:45.684Z","avatar_url":"https://github.com/jayadamsmorgan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SmartHomeDevices\n\nSmartHomeDevices is a project implementing ESP32 smart devices for [JavaHomeServer](https://github.com/jayadamsmorgan/JavaHomeServer) using Arduino framework.\n\n## List of implemented devices\n\n- [HomeBasicDevice](Devices/HomeBasicDevice)\n- [HomeLightDevice](Devices/HomeLightDevice)\n- [HomeRGBLightDevice](Devices/HomeRGBLightDevice)\n\n## Installation\n\n### PlatformIO Core CLI\n\n1. Clone repository and `cd` into it\n\n   ```zsh\n       git clone https://github.com/jayadamsmorgan/SmartHomeDevices.git\n       cd SmartHomeDevices\n   ```\n\n2. Install dependencies using `install_dependencies.sh`:\n\n   ```zsh\n       sh tools/install_dependencies.sh\n   ```\n\n   This script installs [Homebrew Package Manager](https://brew.sh) and uses it to install other dependencies.\n   You can also install dependencies on your own, here is a list of them:\n\n   - [PlatformIO Core CLI](https://docs.platformio.org/en/stable/core/installation/index.html)\n   - `python3`\n   - `pyyaml`\n   - `pyinputplus`\n\n3. Choose the [Device](Devices) you want to implement, and edit it's `device_settings.yaml` configuration file. The `Required` fields is mostly just GPIO and Wi-Fi configuration, while `Optional` values are for advanced users for more precise tuning and extra options.\n\n4. Connect your ESP32 and run `setup.py` script:\n\n   ```zsh\n       python3 tools/setup.py\n   ```\n\n5. At the prompts select the desired Device implementation you chose at step 3 and the type of your ESP32 board. You can use numbers to select. The script will compile the firmware and flash your ESP32.\n\n6. Voilà!\n\nNote: You can also do it without the script by just specifying your board in `platformio.ini` and running `pio run -t upload`. Adding the setup script felt more convinient.\n\n## OTA updating\n\nOnce you flash ESP32 with this software you will be able to reflash it via Wi-Fi. [JavaHomeServer](https://github.com/jayadamsmorgan/JavaHomeServer) uses the default values to update Devices, but if you want to update Devices over-the-air manually you can do so using `espota.py`:\n\n    python3 tools/espota.py -i esp-ip-or-hostname -p your_ota_port -a your_fancy_ota_password -f path/to/your/firmware.bin -r\n\n## Contributing\n\nFeel free to contribute any piece of code.\n\n## TODO\n\n- Add more devices with different features.\n- Support more platforms besides ESP32\n- Documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayadamsmorgan%2Fsmarthomedevices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjayadamsmorgan%2Fsmarthomedevices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjayadamsmorgan%2Fsmarthomedevices/lists"}