Home automation over WiFi using WeMos ESP8266

  Переглядів 654,615

bitluni

bitluni

7 років тому

This video shows how to use a smartphone to controll LED ligths.
It also supports controlling switches.
Links to the parts (I get small cut at no extra cost for you):
Get the WeMos here:
s.click.aliexpress.com/e/jUfAmUF
ebay.to/2skrCE1
amzn.to/2saaoKL
Get LEDs here:
s.click.aliexpress.com/e/yVBeY...
ebay.to/2dIo62B
amzn.to/2d5mM4V
Find the sketch here:
github.com/bitluni/bitluniHom...
Adruino ide:
www.arduino.cc/en/Main/Software
Url to esp board definitions for arduino settings:
arduino.esp8266.com/stable/pac...
Please support me on patreon:
/ bitluni
bitluni's trash:
/ @bitlunilive
Music from sessions of my dvibes jam ensemble:
/ @dvibes7546

КОМЕНТАРІ: 551
@p__--
@p__-- 4 роки тому
I'm having trouble understanding some parts of the tutorial. Example: how to get the girl come in?
@undefinednotfound
@undefinednotfound 4 роки тому
make your house from LEDs
@kiranshashiny
@kiranshashiny 3 роки тому
It's a Robot in Disguise ! He used the Remote remember to control it. Loved the ending though.
@Raytenecks
@Raytenecks 4 роки тому
This is one of the best and easiest esp8266 tutorials I've found yet! Thanks for this!
@kevinisawake
@kevinisawake 7 років тому
ROMANCE MODE ACTIVATED - WOW, JUST WOW.
@stonesteadfarm
@stonesteadfarm 7 років тому
Your sketch works great on the NodeMCU! Thanks for the excellent work and cool video!
@anthonycalia1317
@anthonycalia1317 7 років тому
Brilliant! I've used your program along with Node Red to control esp8266 devices and it works wonderfully. I also appreciate your ability to explain all of this and make it simple for a non-programmer like myself. Good work and thanks
@imushavem7504
@imushavem7504 2 роки тому
Totally agree!!
@Giblet535
@Giblet535 5 років тому
Thanks, bitluni! You can get some interesting lighting effects by using different animation sequences after branching additional WS2812 LED strings from different points on the first LED string, as the branch will behave exactly like the first string at the point where you branch. Create a tree shape on your wall, with lots of branching LED strings. Even a simple rainbow animation looks ... amazing. You can also create a nice web interface in HTML and JavaScript, and access it via the ESP8266WebServer library module.
@MariusNiveriHH
@MariusNiveriHH 7 років тому
by far the BEST ESP8266 Tutorial out there! You did a very, very good job man! Subscribed :)
@jasonvelez7317
@jasonvelez7317 4 роки тому
That was incredible! Informative, and almost gave me an anxiety attack! Well done. Loved the blooper reel at the end. Thank you
@KidCe.
@KidCe. 5 років тому
Haha that end was nice xD Nice explanation, seems much easier than I expected to make my LEDs smartphone controllable :D
@davidwhalen4309
@davidwhalen4309 7 років тому
You videos are very informational, I enjoy watching. I would be lost without your help.
@productionsofchildrenchild8950
@productionsofchildrenchild8950 6 років тому
This together with Homebridge installed on a raspberry pi is amazing. You can do all kinds of things like changing color/brightness/ etc.
@wittchow
@wittchow 5 років тому
how do you do it with homebridge?
@RAVI171175
@RAVI171175 4 роки тому
Dude! I can see people making silly & comic comments down below but for me, you are an amazing teacher as I could have finally understood everything. I did same as you explained & they just worked fine. Hats off to you as you are indeed a very great trainer. You've explained well steps by steps. Keep it up with the good work. Thanks very much.
@rjmunt
@rjmunt 7 років тому
I think you just taught me a little about polymorphism! thanks for sharing!
@killerpenguin660zzz
@killerpenguin660zzz 4 роки тому
This tutorial helped me out a bunch, great work and thank you!
@multibebeelosedee
@multibebeelosedee 6 років тому
this was first time saw your videos, and im allready hooked :D Great work man! Continue good work!!
@clasicradiolover
@clasicradiolover 3 роки тому
Up in the middle of the night and found you. More home automation please.
@bernienufc3166
@bernienufc3166 5 років тому
Finally a video about this esp i can follow with ease, well put and love the ending :-) subscribed
@nikanetique
@nikanetique 5 років тому
Sense of humor 300%! 😂 Bravo, man
@hammermetv4428
@hammermetv4428 6 років тому
LOVE YOU! THANKS! 16 hours searching and I found!
@roshaanhayat762
@roshaanhayat762 7 років тому
Thank you Sir for this video. You surly are a great man with big potential. Keep up the good work !
@MerlinMorgan
@MerlinMorgan 3 роки тому
You make so great videos! I like the way you explain the important steps! Thank you so much.
@mccc4559
@mccc4559 6 років тому
BRO, YOU'RE AWESOME - THANKS FOR YOUR WISDOM!!!
@eidolon0
@eidolon0 7 років тому
Great video! Will order those modules myself now.
@janklimes6337
@janklimes6337 Місяць тому
This is the best think!!!!!!🎉🎉🎉 Thank you so much. I learned 5 hours on arduino iot cloud how to do it and nothing happend and then I saw your video and I did it thank you
@JannisDesigns
@JannisDesigns 4 роки тому
Finde ich geil, dass du das alles sooo einfach erklärst dass es sogar jemand hinbekommt der sich absolut nicht damit auskennt ^^
@chuxxsss
@chuxxsss 7 років тому
The whole thing was very enjoyable, good luck.
@FearTec
@FearTec 4 роки тому
I'm giving this a go, I have ordered the same parts. Thanks
@toskiehill4051
@toskiehill4051 7 років тому
Great video especially at the last part... you rock! :)
@DougDuncanDig
@DougDuncanDig 7 років тому
Thank you very much for the walkthrough! I'm building one of these to mount under my kid's skateboard. :D
@aymanelqemmah
@aymanelqemmah 7 років тому
You are awesome man , had so much fun while watching your video , keep it up :D
@pitmonk
@pitmonk 4 роки тому
Loved the ending, great video, cheers
@halla1968
@halla1968 5 років тому
Gotta re-model my bedroom and add lights. So when I invite my "Guest". Keep up the good work.
@alisalem2967
@alisalem2967 7 років тому
i liked the part of Romance Mode lol xD , Respect and great job =)
@receb
@receb 6 років тому
more like "creep mode"
@Glasshopper
@Glasshopper 4 роки тому
It all depends, if she finds you attractive it's romance mode, of she does not then it's creep mode.
@guilhermecoutinho7521
@guilhermecoutinho7521 Рік тому
A true engineer right here. Love it
@Rtcmanga_YouTube_Channel
@Rtcmanga_YouTube_Channel 7 років тому
Hello Bitluni!! Wow, that is great stuff!! The quality of your videos is awesome!! Now I can see that this takes quite some time to make! Also really fun: The little fun part in the end!! :D Was nice to meet you in Stuttgart! Keep up the good work! Martin :)
@bitlunislab
@bitlunislab 7 років тому
Thanks :)
@SandeepSandhu
@SandeepSandhu 4 роки тому
Romance Mode Activated. Well done, nice explanation.
@luisacevedo324
@luisacevedo324 3 роки тому
Wow. Just what I was looking for. Not a computer geek but I think I can figure it out. Thanks buddy. I now have a nice project to do 👍👍👍🔥🔥🔥🔥
@pauliuspaulius7243
@pauliuspaulius7243 7 років тому
After so many hours looking for decent information how to connect led strip. I found your video and finally my LED strip lit up! But still didn't get it how to connect to wifi :)
@guidopiotrowski7900
@guidopiotrowski7900 7 років тому
Hahaha the romance part mode was epic. Your faces...great job btw
@sawyer5847
@sawyer5847 3 роки тому
THANK YOU SO MUCH, finally a video which shows exactly what I wanna do
@billgill7543
@billgill7543 7 років тому
Great work,very clear video, now to use fauxmo and Amazon echo to control it.
@trailpeakgord
@trailpeakgord 6 років тому
Great tutorial and code, Thank You! I just got it working on a little generic ESP-01 (had to rename/renumber some pin assignments in PinStates.h and the ino). The ESP was not responding some times but adding some more filter cap on the 3v3 fixed that and it now works like a champ. (Was also getting some odd 'stray \302 error' in the code or something - I fixed that with opening all the .h/.ino on github as a 'raw' then cutting/pasting them into the Arduino IDE panes not just saving the linked file.)
@PabloAymerich
@PabloAymerich 6 років тому
Can you share your changes ? I am trying to do the same thing.
@trailpeakgord
@trailpeakgord 6 років тому
Seriously, it was nothing... In pinstates.h: const int PIN_COUNT = 4; //const char *pinNames[PIN_COUNT] = {"D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "D8"}; const char *pinNames[PIN_COUNT] = {"IO0", "IO1", "IO2", "IO3"}; // const int pinNumbers[PIN_COUNT] = {D0, D1, D2, D3, D4, D5, D6, D7, D8}; const int pinNumbers[PIN_COUNT] = {0, 1, 2, 3}; AND in the main *.ino file: //const int LED_PIN = D4; const int LED_PIN = 2; void handleRf() { const int pinNumbers[PIN_COUNT] = {0, 1, 2, 3};
@PabloAymerich
@PabloAymerich 6 років тому
I would have forgotten to change the Pin Names! Thanks you saved me a bunch o'time..
@DougCrosby
@DougCrosby 7 років тому
Thank you so much for posting this. Your tutorial was perfect! I have zero experience working with Arduino. I have been attempting to do exactly what you have shown for well over a week. It was nice to show my wife some results of this LED project I swore to her would make the house so much better. Would anyone possibly know a direction to point me in to build on this sketch? I would like to add more functions to it such as Fire, Bouncing balls, Sparkle, etc. Been going over it trying to piece something together but my lack of knowledge is holding me back. Looking at the sketches for the above examples (Fire, Bouncing balls, Sparkle, etc.) I just do not see how to insert it into this.
@MatthewHartsuch
@MatthewHartsuch 7 років тому
Great content dude!
@JaronHorst
@JaronHorst 7 років тому
Nice video! I haven't tried the WeMos yet myself but I've been using their cousin, the NodeMCU (lolin v3). Just thought that I would mention that I added "man-in-the-middle" NodeMCU to my doorbell so that I could intercept the doorbell signal. This way, I get a text message and have the ability to disable the chime itself while still getting notified (also let's me ring the chime at-will and drive the dog crazy!). Although, I wouldn't argue with the interruption you got... ;)
@liney118
@liney118 3 роки тому
awesome video bro, I can't believe I never thought of controlling them that way ;) you got my sub. can't wait for romance mode 2
@nc2010vettef55
@nc2010vettef55 6 років тому
Great video! Thanks for posting this. I just started using Arduino and am looking to do something like this. Can you give us any more detail on the power supply you used? You said 18 V. What about amps? And the converter you built? Thanks!
@daveyrocket68
@daveyrocket68 6 років тому
Fantastic! Thanks for your hard work
@DrZzs
@DrZzs 7 років тому
thanks for the video. I had an older version of Ardiuno IDE (1.7 something) that didn't have the "Additional Boards Manager URL's" box. Updated to 1.8 and it's there. How did "Romance mode" work out for you?
@tripore
@tripore 5 років тому
Thanks for this fantastic video. Just one silly question : What is the RF functionality ? What does RF stand for ?
@m3mphis_chick944
@m3mphis_chick944 3 роки тому
I love your channel. You are the best.
@wazzer5293
@wazzer5293 6 років тому
Brilliant and innovative technical. Thx for sharing..
@harounhajem7972
@harounhajem7972 7 років тому
Nicley done, very educational and inspiring.
@balentinikontokonstanti8808
@balentinikontokonstanti8808 6 років тому
very nice work with clear instructions
@headstonegraveyards5370
@headstonegraveyards5370 7 років тому
Welcome back!
@FFXIvoorhees
@FFXIvoorhees 7 років тому
Great vid thanks for making it!
@40CaliberCowboy
@40CaliberCowboy 3 роки тому
I'm trying to compile a steady color function like "setled" as well as a sync function that works with E1.31 and your work is the closest I've found. By chance, you haven't done that already, have you? In any case, this is a good video and I'm going to link it to pass along as a good example for others. Cheers!
@sshutupurface8345
@sshutupurface8345 6 років тому
excellent tutorial thanks man
@TitQuentin
@TitQuentin 4 роки тому
Thx for tutoriel ! All work perfectly. But now if i want add effect? How I can do that? Exemple Fire effect? I try but i have error...
@amitbt69
@amitbt69 4 роки тому
Beautiful Tutorial!
@clasicradiolover
@clasicradiolover 3 роки тому
Like your sense of humor.
@goprojojo3715
@goprojojo3715 7 років тому
Great tutorial man! I was wondering if it's possible to connect an ir sensor to this setup to automatically turn on/off the led strip when there is motion in the room?
@JMTosses
@JMTosses 7 років тому
Very nice. Thanks for sharing!
@jakecorday8949
@jakecorday8949 6 років тому
Hi bitluni, Really appreciate the videos, as a beginner in electronics they are very helpful. Right now I’m working on a project and there a few things that I am just not grasping, I was wondering if you would be willing to help walk me through some of the steps? Looking forward to hearing from you! Best, Jake
@ShashankNaithani
@ShashankNaithani 7 років тому
Hello, blunt's lab Thanks for such an innovative video. I am very much excited to make something but I m not from the electronics background. What step should I follow to make a simple project over wifi? DOne some C programming in School. Also, I saw a video where Blynk App is used. pls guide me I m confused
@Smartliving-udanagayan
@Smartliving-udanagayan 6 років тому
Really nice Tutorial and very good presentation ...very nice
@TheOleHermit
@TheOleHermit 4 роки тому
Gotta love the WEMOS D1 Mini! But, I prefer using the webREPL CLI over Wifi for direct control and copying uPython files to/from the MCU in order to maintain cross-compatibility w/Python on the RPi. Just learning MQTT & BLYNK for runtime and GUI control. Let's not forget the dual core ESP32 big brother, either. Just replaced a NANO CNC board with a WEMOS D1 Mini prototype, which uses 3 * DRV8834 stepper drivers. This greatly increases my processing power and eliminates the need for a second 8VDC motor power source, because my stepper motors are only 5VDC. Less is more! Heck with the stepper motors! Show us how you programmed it to summon a sexy lady!😏 Thanks for sharing.😎💨
@AKIRAfotografie
@AKIRAfotografie 7 років тому
Superlässig! Toller Sketch zum Schluss.
@NickBartzeliotis
@NickBartzeliotis 7 років тому
Grate video! Very well explained.
@rikimontano
@rikimontano 7 років тому
hi, thank you for your tutorial it helped me a lot with the LED server, i have a question for you, i´m planning to buy 10 x ESP8266, each one is going to have 15 WS812B LED´s, i´m trying to control them individually at the same time for a little show, could you recommend me how to do that? i´m looking for ArtNet and a DMX software but i don´t know if that´s the best way to do it, thanks!
@kerryrock1871
@kerryrock1871 5 років тому
I admit I am late to this party, but am super impressed with this project. I love the rainbow function. Are there other functions to add and create a playlist to keep the Christmas visitors entertained with my out door lights?
@niklaskras5498
@niklaskras5498 4 роки тому
that will help me a lot with the projekt i´m planing thx mate! okay hab grad im abspann gesehen, dass du deutsch sprichst :D danke ;)
@bobgray1478
@bobgray1478 4 роки тому
Great tutorial!!! I'm new to the world of Arduino. Will these sketches run on the NodeMCU or are they board specific? When I compile the sketches provided in your link, I get errors.
@kfxxtrememodding1576
@kfxxtrememodding1576 6 років тому
amazing work and really fun video
@ekhiw
@ekhiw 7 років тому
thats great, really usefull video..
@nervis_nzo
@nervis_nzo 4 роки тому
wow! Awesome project. Please, which font did you use for your logo?? I like it.
@croydon21H
@croydon21H 4 роки тому
Excellent, will try
@btcsys
@btcsys 5 років тому
Very nice video...can I use the esp8266 to grab the current time from the internet or GPS and display it? If you can get the time from GPS it would be a very accurate timepiece for a car or motorcycle
@glennextra
@glennextra 7 років тому
This is a quality tutorial with all details, great job and well thought out, nice girlfriend too !
@bitlunislab
@bitlunislab 7 років тому
thanks
@bitlunislab
@bitlunislab 7 років тому
Sorry for reupload.. had to fix issues
@Popart-xh2fd
@Popart-xh2fd 7 років тому
Women issues...?
@bitlunislab
@bitlunislab 7 років тому
domoticz is definitively interesting in this direction since the app also supports widgets. I will get deeper into it since I want the lights to wake me up slowly. I will try set up a raspberry with domoticz and make an episode about it.
@jaspervanisterdael
@jaspervanisterdael 6 років тому
Hey dude, can you put your whole sketch in the description?
@kriskraanen9570
@kriskraanen9570 6 років тому
can you show us how te dc converter is made?
@k4k48g8fi3kk
@k4k48g8fi3kk 6 років тому
The Fade Function and Rainbow Function is crashing my Wemos after about 15 minutes runtime. Sketch Problem?
@danieldewindt3919
@danieldewindt3919 4 роки тому
Ausome video. I'm subscribed! What is the name of the music tracks you used? It sounds grate not distracting at all. Cheers
@ProgressiveX
@ProgressiveX 6 років тому
Made it into a nice lamp👍
@thejaxco
@thejaxco 7 років тому
I really liked your video. I really like how you explain things, you're a great electronic teacher. I'll try to do it with iphone. I am preparing a project to control a led lights with Rasberri Pi + Apple Homekit that I have seen on a web. Do you know if there is any way to do it with arduino + homekit? Sorry for the English (google translator).
@bdanuw
@bdanuw 2 роки тому
That video is awesome!!!
@KrystianZych
@KrystianZych 3 роки тому
I found your channel a few days ago and since then instead of sleeping at night, I watch video after video. Great job! Thank you for your videos. I have a question about more than one led strip. Can I manage several strips with one ESP8266? And my dream is to have a light sensor and switch on one strip automatically when it gets dark. I am new to Arduino and for now I came up with that I can do it with 5 pcs ESP8266 (4 for strips, 1 for light sensor) and use Tasker on Android to communication, but I believe it can be done easier.
@TheStrangeAlchemist
@TheStrangeAlchemist 7 років тому
Great video, but don't you need 5V logic to signal the LED strip?
@dmini647
@dmini647 7 років тому
Hi, it's a great tutorial. Thank you for posting it. I have a litte question about Rainbow function: with which variable can I decrease the LED value(If I want to dim the LEDs from 255 to 64) Thank you in andvance
@DerSennin
@DerSennin 6 років тому
I don't think there is a variable to dim the LEDs. But there is a function. Go to the libraries folder and there is the file "Adafruit_CircuitPlayground.cpp". Last function is "void Adafruit_CircuitPlayground::senseColor()". It looks like you can change the brightness with strip.setBrightness(new_brightness); You can set the brightness from 1-255. I can't check if it work bc i don't have all my parts yet :(
@DarrenHedlund
@DarrenHedlund 6 років тому
Awesome good job! Major BRAVO!!!!!
@danielnicoletti5066
@danielnicoletti5066 6 років тому
You are amazing... thanks for sharing!!!
@dariuszrybak1224
@dariuszrybak1224 6 років тому
Daniel Nicoletti i
@philippeantonietti
@philippeantonietti 4 роки тому
amazing ! thank you that helped me a lot =)
@pierricdoublet6248
@pierricdoublet6248 3 роки тому
Great thanks for sharing
@jhonsonagustino2679
@jhonsonagustino2679 5 років тому
Very interesting, for the led strips using how many ampere for 300 leds.
@user-wh1mb3ck1h
@user-wh1mb3ck1h 6 років тому
What should be added to make it react to a music. I guess there should be one more part with a built in mic and a sensitivity adjustment and some kind of code that will make it move in several different patterns: lights going apart, coming together, waves of different colors moving in rhythm with the bass drum, right?
@jamawahid9408
@jamawahid9408 6 років тому
Super Tutorial danke fürs teilen !!!
@DrZzs
@DrZzs 7 років тому
I got the strip and server working. yay!! now I'm trying to add more functions. I've been looking at your GitHub page but I'm having a hard time finding parts I can just cut and past into the server sketch. Can you post the whole sketch you made when you did the "Warning: Engineering" part?
@DrZzs
@DrZzs 7 років тому
Found it.
@sergeimo
@sergeimo 4 роки тому
Nice project. Any chance it will progress to support RGBW (sk6812 based) strings as well?
@bineetjha346
@bineetjha346 4 роки тому
All the geek talk just evaporates when the romance mode is activated! Great video.. you seem to have a knack for it :)
@JFCloneWolf
@JFCloneWolf 6 років тому
Hi! Great video :) Everything worked in the end but I would like to add some more effects. Do you have a short answer on how to add other effects in the code ? I am not a professional with arduino so I hope you can help me to try more stuff on my own :). Thanks again for the video ! Greetings from John
@halohub101
@halohub101 7 років тому
This is a brilliant video and works great! Are there any other effects other than rainbow you can add? Can you possibly do a tutorial on how to add different effects?
@Gushansen83
@Gushansen83 4 роки тому
Hi...first up..great video....I wanted to implement a lot of different animations my own way...but I find using server.on(); to switch animations to kill and reboot my D1 Minis over and over again...so I've tried to split the work onto 2 D1 Minis...One with Webserver running...the other getting input via I2C from the first one...an accordingly changing animations...But it looks like an interrupt control mechanism like the I2C..even with proper resistors is too unstable...I find your approach to be...lets say...next level programming...I could never build on that...any ideas on a different approach?
I made a VGA card that blew my mind
15:44
bitluni
Переглядів 414 тис.
Артем Пивоваров х Klavdia Petrivna - Барабан
03:16
Artem Pivovarov
Переглядів 3,8 млн
Trying To Escape a Drone Using An Invisibility Shield
4:44
The Action Lab
Переглядів 67 тис.
ESP8266 and Arduino
8:58
Home Made
Переглядів 34 тис.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
I made a custom ASIC: World's first of its kind
16:38
bitluni
Переглядів 178 тис.
ESP8266 WiFi relay control
10:45
learnelectronics
Переглядів 140 тис.
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Переглядів 617 тис.
It's embarrassing how much I like this thing.
12:19
Linus Tech Tips
Переглядів 867 тис.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 565 тис.
Solar Weather Station [WiFi, MQTT, Smart Home, ESP8266]
11:06
bitluni
Переглядів 183 тис.
ИГРОВОЙ ПК от DEXP за 37 тысяч рублей из DNS
27:53
Ремонтяш
Переглядів 369 тис.
Распаковка айфона в воде😱 #shorts
0:25
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 5 млн