dzindra / wifitemp

Simple temperature sensor using NodeMCU board and ESP8266 lib for Arduino IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wifitemp

Simple temperature sensor using NodeMCU board and ESP8266 lib for Arduino IDE. Ready for Homebridge integration.

Connecting

Connect DS18B20 temperature sensor VCC to NodeMCU 3V3. D4 pin on NodeMCU has internal pull-up so this can be used for DS18B20 data line. Don't forget to connect GND.

Schematic

Compiling

You will need following to compile this sketch

Homebridge integration

Use homebridge-http-temperature plugin.

Sample config for this sensor:

"accessories": [
    {
        "accessory": "HttpTemperature",
        "name": "Wifitemp",
        "url": "http://192.168.1.100/temp",
        "min_temp": -25,
        "max_temp": 75,
        "update_interval": 28000
    }
]

About

Simple temperature sensor using NodeMCU board and ESP8266 lib for Arduino IDE

License:MIT License


Languages

Language:C++ 100.0%