Smart House Telegram Bot With Nodemcu (esp8266, Relay, Ds18b20)

Introduction: Smart House Telegram Bot With Nodemcu (esp8266, Relay, Ds18b20)

About: My telegram channel (still NOT banned :) https://t.me/arduino_io Insagram

In this tutorial i will show you how to create telegram bot and control house using it.

But firstly, subscribe my Telegram channel, and discover new projects faster then others. It's motivation for me.

Let's go!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Components

You will need:

Step 2: Wiring

Connect all components like on scheme. DONT forget about 4.7kohm resistor for ds18b20.

Step 3: Install Libraries

You may do it manually. Go to C/users/user/documents/arduino/libraries

Step 4: Get Ds18b20 Adress

Upload sketch to nodemcu and run sketch. Open serial port and get sensor's adress

Step 5: Create Telegram Bot

Contact with botfather.

Create new bot.

Take his token.

Step 6: Programming Nodemcu

Connect nodemcu to PC.

Open sketch.

Edit ssid, password, bot token, ds18b20 adress.

Upload sketch to aduino.

Step 7: Congratulations

Ccommands for bot:

  • 1on, 1off, 2on, 2off, 3on, 3off, 4on, 4off
  • temp

Step 8: Contact Me

Join my telegram channel for more projects.

It's my motivation for biggest projects.

Also, my instagram

Microcontroller Contest

Participated in the
Microcontroller Contest

Be the First to Share

    Recommendations

    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge
    • Arduino Contest 2020

      Arduino Contest 2020
    • First Time Author Contest

      First Time Author Contest

    5 Discussions

    0
    NinniC2
    NinniC2

    4 months ago

    Thank you for this tutorial but it doesnt work good:
    i m using Arduino 1.8.6 ide, ESP8266 V2.3.0, your libraries but in serial i see .............................................................................................. because it doesnt connect to my wifi. Of course i m using correct SSID and PASSWORD, i tried with several wifi (wpa2, wpa, wep encription..) but it still doesnt connect.
    Any suggestions?
    i m using nodemcu v3

    1
    witnessmenow
    witnessmenow

    Tip 2 years ago

    Yeah, the button options at the bottom of my picture.

    1
    DaniilZ
    DaniilZ

    Reply 2 years ago

    You are talking about buttons at tg bot?