{"id":30891181,"url":"https://github.com/udfsoft/wifi-temp-sensor","last_synced_at":"2026-05-01T12:33:02.819Z","repository":{"id":311764040,"uuid":"1044913127","full_name":"UDFSoft/Wifi-Temp-Sensor","owner":"UDFSoft","description":"A simple IoT temperature and humidity sensor based on **ESP32-C3** and **DHT11**","archived":false,"fork":false,"pushed_at":"2025-08-26T12:25:01.000Z","size":5967,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-26T15:17:47.434Z","etag":null,"topics":["arduino","dht11","esp32","sensor","wifi"],"latest_commit_sha":null,"homepage":"https://udfsoft.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UDFSoft.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}},"created_at":"2025-08-26T11:39:58.000Z","updated_at":"2025-08-26T12:25:05.000Z","dependencies_parsed_at":"2025-08-26T15:22:49.667Z","dependency_job_id":"97112003-80cc-4fe6-876f-91c51c888359","html_url":"https://github.com/UDFSoft/Wifi-Temp-Sensor","commit_stats":null,"previous_names":["udfsoft/wifi-temp-sensor"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/UDFSoft/Wifi-Temp-Sensor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UDFSoft%2FWifi-Temp-Sensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UDFSoft%2FWifi-Temp-Sensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UDFSoft%2FWifi-Temp-Sensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UDFSoft%2FWifi-Temp-Sensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UDFSoft","download_url":"https://codeload.github.com/UDFSoft/Wifi-Temp-Sensor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UDFSoft%2FWifi-Temp-Sensor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274225624,"owners_count":25244550,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"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":["arduino","dht11","esp32","sensor","wifi"],"created_at":"2025-09-08T18:03:51.787Z","updated_at":"2026-05-01T12:33:02.783Z","avatar_url":"https://github.com/UDFSoft.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌡️ WiFi Temperature Sensor (ESP32 + DHT11)\n\n[official page](https://udfsoft.com/) \n\nA simple IoT temperature and humidity sensor based on **ESP32-C3** and **DHT11**.  \nThe device measures temperature and humidity, sends the data to a backend server, and from there it can be forwarded, for example, to a Telegram bot.\n\n## 📌 Features\n- Reads temperature and humidity from the DHT11 sensor\n- Connects to Wi-Fi using [WiFiManager](https://github.com/tzapu/WiFiManager) (automatic configurator)\n- Sends data to a server via HTTPS (with `X-Api-Key` and `X-Device-Id` headers)\n- LED indicator while sending data\n- Serial Monitor logging for debugging\n\n## 🛠️ Hardware\n- **ESP32-C3** (ESP8266/ESP32 can also be used with minor pin adjustments)\n- **DHT11** sensor (can be replaced with DHT22 for better accuracy)\n- LED indicator (`LED_PIN`)\n\n## ⚙️ Setup\n1. Install required libraries in Arduino IDE / PlatformIO:\n   - `DHT sensor library`\n   - `WiFiManager`\n   - `WiFiClientSecure`\n   - `HTTPClient`\n2. Set your values in the code:\n   ```cpp\n   #define API_KEY \"your_api_key\"\n   #define DEVICE_ID \"your_device_id\"\n   ```\n3. Flash the firmware to the ESP32-C3.\n4. On the first run, the device will create an access point ESP32_AP with password 12345678 — connect and configure your Wi-Fi credentials.\n\n## 🚀 How it works\n\n1. ESP32 connects to Wi-Fi.\n\n2. Every 30 seconds, it reads data from the DHT11.\n\n3. Data is sent to the server via a POST request in JSON format:\n\n ```json\n{\n  \"deviceId\": \"xxxx-xxxx-xxxx-xxxx\",\n  \"temperature\": 24.5,\n  \"humidity\": 55.0\n}\n ```\n\n## 📡 Integration example\n\nThe backend receives the data and forwards it to a Telegram bot, so you can easily check the temperature and humidity in your room.\n\n\n## 📷 Photo (example)\n![\u003cimg src=\"IMG_20250822_192728.jpg\" alt=\"Device preview\" width=\"200\"\u003e](IMG_20250822_192728.jpg)\n![\u003cimg src=\"IMG_20250822_192740.jpg\" alt=\"Device preview\" width=\"200\"\u003e](IMG_20250822_192740.jpg)\n\n## 🔧 Author: udfowner\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudfsoft%2Fwifi-temp-sensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudfsoft%2Fwifi-temp-sensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudfsoft%2Fwifi-temp-sensor/lists"}