{"id":16408683,"url":"https://github.com/creativeprojects/esp32s2-iot","last_synced_at":"2026-05-04T17:36:24.815Z","repository":{"id":98689307,"uuid":"357618990","full_name":"creativeprojects/esp32s2-iot","owner":"creativeprojects","description":"Simple thermostat and motion detection using a ESP32-S2 and MQTT","archived":false,"fork":false,"pushed_at":"2024-04-21T16:59:51.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-19T03:44:22.824Z","etag":null,"topics":["bme280","circuitpython","esp32-s2","feather-s2","hc-sr501","homie","iot","mqtt","mqtt-tls","pir-motion","pir-sensor","thermostat"],"latest_commit_sha":null,"homepage":"","language":"Python","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/creativeprojects.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}},"created_at":"2021-04-13T16:25:08.000Z","updated_at":"2024-04-21T16:59:54.000Z","dependencies_parsed_at":"2023-04-11T21:24:32.998Z","dependency_job_id":null,"html_url":"https://github.com/creativeprojects/esp32s2-iot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/creativeprojects/esp32s2-iot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativeprojects%2Fesp32s2-iot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativeprojects%2Fesp32s2-iot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativeprojects%2Fesp32s2-iot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativeprojects%2Fesp32s2-iot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creativeprojects","download_url":"https://codeload.github.com/creativeprojects/esp32s2-iot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creativeprojects%2Fesp32s2-iot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32618209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bme280","circuitpython","esp32-s2","feather-s2","hc-sr501","homie","iot","mqtt","mqtt-tls","pir-motion","pir-sensor","thermostat"],"created_at":"2024-10-11T06:17:32.291Z","updated_at":"2026-05-04T17:36:24.790Z","avatar_url":"https://github.com/creativeprojects.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esp32s2-iot\n\nSend temperature, humidity, pressure, ambient light, and motion detection to MQTT (using homie protocol).\nGet feedback from the board LED.\n\n## hardware\n\n* Microcontroller: Unexpectedmaker FeatherS2\n* Temperature sensor: BME280 via I2C bus\n* Motion sensor: HC-SR501 PIR on pin D13 (11)\n\n## config\n\n`config.py`\n```python\nconfig = {\n    \"name\": \"esp32s2\",\n    \"wifi_ssid\": \"MY WIFI\",\n    \"wifi_password\": \"\u003cmy secret password\u003e\",\n    \"mqtt_broker\": \"mqtt.example.com\",\n    \"mqtt_port\": 1883,\n    \"mqtt_use_tls\": False,\n    \"mqtt_username\": None,\n    \"mqtt_password\": None,\n    \"sleep\": 600, # measurement cycle in seconds\n    \"watchdog_timer\": 800, # no response in seconds\n    \"ca_data\": \"CA certificate in PEM format\",\n}\n```\n\n## TLS\n\nVersion 1.4.0 now supports connection to MQTT brokers using TLS.\nYou need to provide the CA certificate in PEM format in the `config.py` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativeprojects%2Fesp32s2-iot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreativeprojects%2Fesp32s2-iot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreativeprojects%2Fesp32s2-iot/lists"}