{"id":28514099,"url":"https://github.com/100prznt/temp2iot","last_synced_at":"2026-03-15T07:44:33.077Z","repository":{"id":48679836,"uuid":"272663884","full_name":"100prznt/Temp2IoT","owner":"100prznt","description":"Very basic IoT thermometer with REST API and web UI, based on ESP8266 hardware (WeMos D1 mini)","archived":false,"fork":false,"pushed_at":"2025-08-01T09:06:16.000Z","size":36172,"stargazers_count":38,"open_issues_count":11,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-01T11:47:34.442Z","etag":null,"topics":["ds18b20","esp8266","iot","pool","pool-thermometer","thermometer","water-temperature"],"latest_commit_sha":null,"homepage":"","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/100prznt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"100prznt","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-06-16T09:18:53.000Z","updated_at":"2025-08-01T09:06:21.000Z","dependencies_parsed_at":"2024-01-21T18:38:49.707Z","dependency_job_id":null,"html_url":"https://github.com/100prznt/Temp2IoT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/100prznt/Temp2IoT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100prznt%2FTemp2IoT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100prznt%2FTemp2IoT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100prznt%2FTemp2IoT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100prznt%2FTemp2IoT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/100prznt","download_url":"https://codeload.github.com/100prznt/Temp2IoT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100prznt%2FTemp2IoT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30537880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T07:17:37.589Z","status":"ssl_error","status_checked_at":"2026-03-15T07:17:31.738Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ds18b20","esp8266","iot","pool","pool-thermometer","thermometer","water-temperature"],"created_at":"2025-06-09T01:30:45.483Z","updated_at":"2026-03-15T07:44:33.070Z","avatar_url":"https://github.com/100prznt.png","language":"C++","funding_links":["https://github.com/sponsors/100prznt"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"docu/Temp2IoT_Icon_Black.svg\" alt=\"Temp2IoT wiring\" width=\"80\" height=\"80\" /\u003e\n\n# Temp2IoT\nVery basic IoT thermometer with REST API and Web-UI. Implemented according to the \"KISS\" approach - **K**eep **I**t **S**imple and **S**tupid\n\n## Features\n* Temperature measurement at one or two measuring points using DS18B20 sensors\n* Shows the measured values on integrated web UI\n* REST API for integration with master systems (e.g. ioBroker)\n* Configuration also via a web UI\n\n\n## Hardware\n\n### BOM\n\n| Description          | Qty.   | Price     | ASIN (partner-link from amazon.de)    |\n|----------------------|--------|----------:|---------------------------------------|\n| WeMos D1 mini        | 1      | EUR 6,49  | [B01N9RXGHY](https://amzn.to/3clRAiP) |\n| DS18B20 waterproof   | 1 or 2 | EUR 3,50  | [B01MZG48OE](https://amzn.to/2NQUkvc) |\n| Resistor 2K2 (0,6 W) | 1      | EUR 0,99  | [B007R3QXUE](https://amzn.to/3ja1jww) |\n|----------------------|--------|-----------|---------------------------------------|\n| Total                |        | EUR 10,98 |                                       |\n\n*quoted prices from 2022/09/08*\n\nAlso a USB-micro cable and a USB power supply is required\n\n### Wiring\n\n![Temp2IoT wiring](hardware/temp2iot_wiring_2.png)\n\n### Power Supply\n:warning: Caution Danger to life :warning:\n\nIf the thermometer is used to measure water temperatures, it is essential to use an appropriately classified power supply unit. It is important that the power supply is designed as a safety transformer.\n\nA simple USB power supply that meets these requirements can be found here:\n* [5V USB-Netzteil mit Sicherheitstransformator | 07-314.0](https://shop.stegertrafo.de/5v-usb-netzteil-mit-sicherheitstransformator-07-314-0.html)\n\n\u003cimg src=\"docu/Sitrenn.svg\" alt=\"Temp2IoT wiring\" width=\"180\" height=\"210\" /\u003e\nSymbol of a short-circuit proof, closed safety transformer \n\n### Photos\n\n![Temp2IoT minimal build up](hardware/hardware_raw.jpg)\nMinimal build up with SMD resistor on the back and only one connected DS18B20. \n\n## Setup\n\nYou have two options to upload the software to the WeMos D1 mini.\n\n### ESP8266 Flasher (Windows)\n\nYou can download the compiled Flasher Tool from the GitHub Repository\n* [nodemcu/nodemcu-flasher](https://github.com/nodemcu/nodemcu-flasher)\n\n1. Clone or download the repository\n2. Start the ESP8266Flasher.exe\n3. Select the pre-compiled Temp2IoT binary on the config-tab, find at: `src\\Temp2IoT\\Temp2IoT.ino.d1_mini.bin` (https://github.com/100prznt/Temp2IoT/blob/master/src/Temp2IoT/Temp2IoT.ino.d1_mini.bin)\n4. Switch back to the operation-tab and select the right COM-port\n5. Press the Flash-Button\n\n\n## REST API\n* URL: `http://\u003cTemp2IoT IP\u003e/api`\n* Method: `GET`\n\n```\n{\n  \"systemname\": \"My Temp2IoT instance\",\n  \"secure_counter\": 50,\n  \"firmware\": \"2.2.04-b\",\n  \"sensors\": [\n    {\n      \"name\": \"water\",\n      \"value\": 23.625,\n      \"mean-1\": {\n        \"count\": 5,\n        \"value\": 23.6,\n        \"period\": 3600\n      },\n      \"mean-24\": {\n        \"count\": 5,\n        \"value\": 23.6,\n        \"period\": 86400\n      },\n      \"unit\": \"Celsius\",\n      \"time\": \"Fri Jul  9 13:12:36 2021\"\n    },\n    {\n      \"name\": \"ambient\",\n      \"value\": 23.9375,\n      \"unit\": \"Celsius\",\n      \"time\": \"Fri Jul  9 13:12:37 2021\"\n    }\n  ]\n}\n```\n\n## Web UI\n* URL: `http://\u003cTemp2IoT IP\u003e/`\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n![Web UI on a desktop browser](docu/webui_desktop.png)\nWeb UI on a desktop browser\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n![Web UI on a smartphone browser](docu/webui_smartphone.png)\nWeb UI on a smartphone browser\n\n## System Setup\n* URL: `http://\u003cTemp2IoT IP\u003e/setup/`\n  \u003cbr\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n![Web setup page on a smartphone browser](docu/setup_smartphone.png)\nSetup page on a smartphone browser\n\n## Color Scheme\n\u003cimg src=\"docu/Scheme_100prznt.png\" alt=\"Temp2IoT Color Scheme 100prznt\" width=\"260\" height=\"332\" /\u003e  \u003cimg src=\"docu/Scheme_Classic.png\" alt=\"Temp2IoT Color Scheme CLASSIC\" width=\"260\" height=\"332\" /\u003e  \u003cimg src=\"docu/Scheme_Total.png\" alt=\"Temp2IoT Color Scheme TOTAL\" width=\"260\" height=\"332\" /\u003e  \u003cimg src=\"docu/Scheme_Power.png\" alt=\"Temp2IoT Color Scheme POWER\" width=\"260\" height=\"332\" /\u003e  \u003cimg src=\"docu/Scheme_Sun.png\" alt=\"Temp2IoT Color Scheme SUN\" width=\"260\" height=\"332\" /\u003e  \u003cimg src=\"docu/Scheme_100przntDark.png\" alt=\"Temp2IoT Color Scheme DARK\" width=\"260\" height=\"332\" /\u003e\n\n### Colors\n\n| # | scheme   | primary color | badge                                                   |\n|:--|:---------|:--------------|---------------------------------------------------------|\n| 1 | 100prznt | `#ff2e64`     | ![#ff2e64](https://img.shields.io/badge/-ff2e64-ff2e64) |\n| 2 | Classic  | `#1e87f0`     | ![#1e87f0](https://img.shields.io/badge/-1e87f0-1e87f0) |\n| 3 | Total    | `#30a4a1`     | ![#30a4a1](https://img.shields.io/badge/-30a4a1-30a4a1) |\n| 4 | Power    | `#325c84`     | ![#325c84](https://img.shields.io/badge/-325c84-325c84) |\n| 5 | Sun      | `#f08a00`     | ![#f08a00](https://img.shields.io/badge/-f08a00-f08a00) |\n| 6 | Dark     | `#060d2a`     | ![#060d2a](https://img.shields.io/badge/-060d2a-060d2a) |\n\n\n\n## Debug Output\n\nFeel free to take a look at the serial monitor (115200 baud).\n\n```\n21:54:57.656 -\u003e\n21:54:57.656 -\u003e        _____               ___ ___    _____       \n21:54:57.656 -\u003e       |_   _|__ _ __  _ __|_  )_ _|__|_   _|      \n21:54:57.702 -\u003e         | |/ -_) '  \\| '_ \\/ / | |/ _ \\| |        \n21:54:57.702 -\u003e         |_|\\___|_|_|_| .__/___|___\\___/|_|        \n21:54:57.702 -\u003e                      |_|                          \n21:54:57.702 -\u003e \n21:54:57.702 -\u003e **************************************************\n21:54:57.702 -\u003e        a 100prznt.de project by E. Ruemmler       \n21:54:57.702 -\u003e                       v2.2.04-b\n21:54:57.702 -\u003e \n```\n\n## Enclosure\nIn the folder [hardware/enclosure](hardware/enclosure) you will find 2 STL files of a suitable enclosure. If the cover is printed upside-down, you can print the first two layers in a different color to make the Temp2IoT icon stand out better.\n\n### Photos\n\n![3d-printed enclousure with Temp2IoT icon](hardware/temp2iot_logo_case.jpg)\n3d-printed enclousure with Temp2IoT icon\n  \u003cbr\u003e\n  \u003cbr\u003e\n![3d-printed enclousure open](hardware/temp2iot_logo_case_open.jpg)\nBlackened inside so that the LED produces a focused light spot\n\n## Community\nFound this project on the german [Poolpowershop-Forum](https://www.poolpowershop-forum.de/).\n* [WiFi Thermometer für 10 Euro selbst gebaut (Web UI, REST API)](https://www.poolpowershop-forum.de/forum/thread/1103493-wifi-thermometer-f%C3%BCr-10-euro-selbst-gebaut-web-ui-rest-api/)\n\n## Credits\nThis app is made possible by contributions from:\n* [Elias Rümmler](http://www.100prznt.de) ([@rmmlr](https://github.com/rmmlr)) - core contributor\n\n### Open Source Project Credits\n\n* [Follower Counter](https://github.com/jegade/followercounter) - The architeture of Temp2IoT based on a awesome code from [@jegade](https://github.com/jegade) used for his followercounter project.\n* Used Arduino libraries are described in the code.\n\n## License\nThe Temp2IoT project is licensed under [MIT](http://www.opensource.org/licenses/mit-license.php \"Read more about the MIT license form\"). Refer to [LICENSE.txt](https://github.com/100prznt/Temp2IoT/blob/master/LICENSE.txt) for more information.\n\n## Contributions\nContributions are welcome. Fork this repository and send a pull request if you have something useful to add.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F100prznt%2Ftemp2iot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F100prznt%2Ftemp2iot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F100prznt%2Ftemp2iot/lists"}