Git Product home page Git Product logo

temp2iot's Introduction

Temp2IoT wiring

Temp2IoT

Very basic IoT thermometer with REST API and Web-UI. Implemented according to the "KISS" approach - Keep It Simple and Stupid

Features

  • Temperature measurement at one or two measuring points using DS18B20 sensors
  • Shows the measured values on integrated web UI
  • REST API for integration with master systems (e.g. ioBroker)
  • Configuration also via a web UI

Hardware

BOM

Description Qty. Price ASIN (partner-link from amazon.de)
WeMos D1 mini 1 EUR 6,49 B01N9RXGHY
DS18B20 waterproof 1 or 2 EUR 3,50 B01MZG48OE
Resistor 2K2 (0,6 W) 1 EUR 0,99 B007R3QXUE
---------------------- -------- ----------- ---------------------------------------
Total EUR 10,98

quoted prices from 2022/09/08

Also a USB-micro cable and a USB power supply is required

Wiring

Temp2IoT wiring

Power Supply

⚠️ Caution Danger to life ⚠️

If 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.

A simple USB power supply that meets these requirements can be found here:

Temp2IoT wiring

Symbol of a short-circuit proof, closed safety transformer

Photos

Temp2IoT minimal build up Minimal build up with SMD resistor on the back and only one connected DS18B20.

Setup

You have two options to upload the software to the WeMos D1 mini.

ESP8266 Flasher (Windows)

You can download the compiled Flasher Tool from the GitHub Repository

  1. Clone or download the repository
  2. Start the ESP8266Flasher.exe
  3. Select the pre-compiled Temp2IoT binary on the config-tab, find at: src\Temp2IoT\Temp2IoT.ino.d1.bin
  4. Switch back to the operation-tab and select the right COM-port
  5. Press the Flash-Button

REST API

  • URL: http://<Temp2IoT IP>/api
  • Method: GET
{
  "systemname": "My Temp2IoT instance",
  "secure_counter": 50,
  "firmware": "2.2.04-b",
  "sensors": [
    {
      "name": "water",
      "value": 23.625,
      "mean-1": {
        "count": 5,
        "value": 23.6,
        "period": 3600
      },
      "mean-24": {
        "count": 5,
        "value": 23.6,
        "period": 86400
      },
      "unit": "Celsius",
      "time": "Fri Jul  9 13:12:36 2021"
    },
    {
      "name": "ambient",
      "value": 23.9375,
      "unit": "Celsius",
      "time": "Fri Jul  9 13:12:37 2021"
    }
  ]
}

Web UI

  • URL: http://<Temp2IoT IP>/


    Web UI on a desktop browser Web UI on a desktop browser


    Web UI on a smartphone browser Web UI on a smartphone browser

System Setup

  • URL: http://<Temp2IoT IP>/setup/


    Web setup page on a smartphone browser Setup page on a smartphone browser

Color Scheme

Temp2IoT Color Scheme 100prznt Temp2IoT Color Scheme CLASSIC Temp2IoT Color Scheme TOTAL Temp2IoT Color Scheme POWER Temp2IoT Color Scheme SUN Temp2IoT Color Scheme DARK

Colors

# scheme primary color badge
1 100prznt #ff2e64 #ff2e64
2 Classic #1e87f0 #1e87f0
3 Total #30a4a1 #30a4a1
4 Power #325c84 #325c84
5 Sun #f08a00 #f08a00
6 Dark #060d2a #060d2a

Debug Output

Feel free to take a look at the serial monitor (115200 baud).

21:54:57.656 ->
21:54:57.656 ->        _____               ___ ___    _____       
21:54:57.656 ->       |_   _|__ _ __  _ __|_  )_ _|__|_   _|      
21:54:57.702 ->         | |/ -_) '  \| '_ \/ / | |/ _ \| |        
21:54:57.702 ->         |_|\___|_|_|_| .__/___|___\___/|_|        
21:54:57.702 ->                      |_|                          
21:54:57.702 -> 
21:54:57.702 -> **************************************************
21:54:57.702 ->        a 100prznt.de project by E. Ruemmler       
21:54:57.702 ->                       v2.2.04-b
21:54:57.702 -> 

Enclosure

In the folder 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.

Photos

3d-printed enclousure with Temp2IoT icon 3d-printed enclousure with Temp2IoT icon

3d-printed enclousure open Blackened inside so that the LED produces a focused light spot

Community

Found this project on the german Poolpowershop-Forum.

Credits

This app is made possible by contributions from:

Open Source Project Credits

  • Follower Counter - The architeture of Temp2IoT based on a awesome code from @jegade used for his followercounter project.
  • Used Arduino libraries are described in the code.

License

The Temp2IoT project is licensed under MIT. Refer to LICENSE.txt for more information.

Contributions

Contributions are welcome. Fork this repository and send a pull request if you have something useful to add.

temp2iot's People

Contributors

100prznt avatar rcartsolutions avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

temp2iot's Issues

Keine WLAN Verbindung

Hallo, irgendwie baut das WEMOS keine WLAN Verbindung zu meinem Netz auf. Die Zugangsdaten sind korrekt (GroßKleinschreibung und Sonderzeichen).

Im Handy sehe ich der irgendwann den HotSpot aufmacht u dann connecte ich mich mit der 192.168.4.1 Die Temperaturwerte sind auch wild.

Hast du einen Tip? Danke

4 Sensors

Hi,

we have the choice between 1 and 2 sensors. ist it also possible to get 4 sensors ?

So I see: Heatpump in/Heatpump out, bottom pool Temperature and air temperature.

Ansicht auf dem Smartphone

Hi,
ich kann die Seite zwar auf dem PC anschauen, aber auf dem Android Smartphone läd er die Seite nicht und zeigt den Fehler err_address _unreachable.
Beides der Chrome.
Dieses Verhalten könnte ich sonst noch nicht beobachten.

Für alle bei denen der Pin D3 nicht funktioniert: Bei mir geht's nur auf D1.

Und noch eine Frage: kann ich die Kabel des Temperatur Sensoren um ca. 1 M verlängern und er zeigt noch einigermaßen die korrekte Temperatur?
Danke✌🏻
Jürgen

1-Wire reading failure

Check the temperature values for plausibility. Detect and mark faulty values -> return NaN.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.