Тёмный

Tasmota + D1mini (or Sonoff) - Temp & Humidity, ws2812 LEDs, and Motion Detection 

DrZzs & GrZzs
Подписаться 121 тыс.
Просмотров 200 тыс.
50% 1

for more detailed Description and Product links head to:
www.DrZzs.com
D1mini: amzn.to/2HJsc4y
Sensor Kit: amzn.to/2prBXgm
Tasmota Sensors Page:
tasmota.github.io/docs/Comman...
ESP8266 Board Manager URL:
arduino.esp8266.com/stable/pac...
Theo Arends Github Contact: github.com/arendst
Tasmota Console Commands:
tasmota.github.io/docs/Commands/
NodeMCU required Driver:
www.silabs.com/products/devel...
Configuration.yaml Sensor entry:
sensor:
- platform: mqtt
state_topic: 'tele/D1mini01/SENSOR'
name: 'Temperature'
unit_of_measurement: '°F'
value_template: '{{ value_json.DHT11.Temperature }}'
- platform: mqtt
state_topic: 'tele/D1mini01/SENSOR'
name: 'Humidity'
unit_of_measurement: '%'
value_template: '{{ value_json.DHT11.Humidity }}'
- platform: yr
Light Entry:
light:
- platform: mqtt
name: "D1mini ws2812"
command_topic: "cmnd/D1mini01/power2"
state_topic: "stat/D1mini01/POWER2"
rgb_state_topic: "stat/D1mini01/color"
rgb_command_topic: "cmnd/D1mini01/color"
brightness_state_topic: "stat/D1mini01/dimmer"
brightness_command_topic: "cmnd/D1mini01/dimmer"
retain: true
PIR entries:
binary_sensor:
- platform: mqtt
state_topic: "cmnd/D1mini01PIR/POWER2"
name: "D1 PIR"
customize:
binary_sensor.d1_pir:
device_class: motion
automation old:
- alias: 'D1 motion ON'
trigger:
- platform: state
entity_id: binary_sensor.d1_pir
from: 'off'
to: 'on'
action:
- service: light.turn_on
data:
entity_id: light.d1mini_ws2812
#----------------------------------------------------
- alias: 'D1 motion OFF'
trigger:
- platform: state
entity_id: binary_sensor.d1_pir
from: 'on'
to: 'off'
for: '00:05:00'
action:
- service: light.turn_off
data:
entity_id: light.d1mini_ws2812
#---------------------------------------------------
drZzs.com
#drZzs
Discord help from the Pixelheads: / discord
#wLED Discord: / discord
LED Troubleshooting Flowchart: drzzs.com/wp-content/uploads/...
LED Flicker Troubleshooting Flowchart: drzzs.com/wp-content/uploads/...
US get #QuinLED #DigUno board here: drzzs.com/shop/dig-uno/
International here: quinled.info/pre-assembled-qu...
US get QuinLED #DigQuad board here: drzzs.com/shop/digquad/
International customers here: quinled.info/pre-assembled-qu...
#PermaTrack Community Page: / discord
Buy PermaTrack: www.permatrack.us/shop/permat...
www.drzzs.com/shop
drzzs.com/products/
www.amazon.com/shop/drzzs
Social Media:
Discord DrZzs - discord.me/drzzs
DrZzs Facebook Page: DrZzs
Message: m.me/DrZzs
Group: / 1969622823351838
Discord Home Assistant - / discord
Twitter: / dr_zzs
Instagram: / drzzs

Хобби

Опубликовано:

 

18 мар 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 521   
@jcheniart
@jcheniart 6 лет назад
This is by far the best home automation youtube channel I have come across. You've helped my home become a lot smarter. Keep up the great work!
@DrZzs
@DrZzs 6 лет назад
Wow! Thanks!
@DrZzs
@DrZzs 6 лет назад
Crazy thing happened today. A couple hours after this video posted I was happily replying to every comment, like I always do, when for some crazy reason RU-vid stopped accepting my comments. I looked in the creator forums and best I can determine I exceeded some max for commenting in a period of time! What kinda craziness is that! I wouldn’t have guess there’d be a limit to how much I can comment on my own videos! Anyway, sorry I didn’t reply to everyone who commented as quickly as I usually do. I’ll go back and catch up on the comments I missed during my RU-vid time-out. Thanks for your support!
@cysix4939
@cysix4939 6 лет назад
Probably some sort of misguided spam filter as you surmised.
@DrZzs
@DrZzs 6 лет назад
Just glad it's finally fixed. I wasn't getting notice of new comments during that time either. I was really in RU-vid jail for a day.
@DrZzs
@DrZzs 6 лет назад
it's a little odd too, because I think I've made more comments today than I did before my "time-out" yesterday. oh well.
@paulblack3790
@paulblack3790 6 лет назад
Is that because you are some sort of robot? dun dun dun truth comes out!!
@DrZzs
@DrZzs 6 лет назад
they're finally on to me! I'll have to change my profile pic: www.dropbox.com/s/9u7i6frgu909zay/picardborg.jpg?dl=0
@pangit9999
@pangit9999 6 лет назад
Love how you edit your videos down so they are really tight but still have all the information you need. I can't stand the RU-vidrs who ramble on for ages and all you want is one piece of information buried in the waffle somewhere!
@DrZzs
@DrZzs 6 лет назад
Thank you!!! That's exactly why I do it this way. I figure you want to get through it fast and decide if the stuff you need is there. If it is, you can rewind, pause, rewatch and get what you came for. Thanks for that feed back! I'll keep doing it!
@fredflintstone8048
@fredflintstone8048 3 года назад
Good point, I agree. I also like how all the needed links are labeled and posted in the video description.
@GilMata
@GilMata 6 лет назад
You're awesome! Thanks for all the time and effort you've put into making this video.
@manukalias
@manukalias 3 года назад
3 years later, You are still the Best one for Tasmota 👍👍
@JimmieMcCullough
@JimmieMcCullough 6 лет назад
Awesome as usual. Can't wait to try it out as soon as I get off the beach here in Florida for spring break.
@DrZzs
@DrZzs 6 лет назад
Oh man. Totally jealous. At least we're having a nice early spring here in UT. Let me know how it goes!
@Conservator.
@Conservator. 6 лет назад
Very cool that you mentioned Theo Arends. I fully agree that he has done an amazing job. And ty for yet another great video! (Liked & subscribed)
@DrZzs
@DrZzs 6 лет назад
Thanks! I hope to meet that guy someday.
@ygreq
@ygreq 4 года назад
I was searching for an easy solution to connect sensors to Home Assistant. Aaaaand here it is! Thank you so much for this entertaining tutorial. Like always!
@Liam-ir6xm
@Liam-ir6xm 4 года назад
same here, i had been wondering if i could connect a sht21 to a nodemcu and now it looks like i can
@lioman2578
@lioman2578 5 лет назад
I did not found nowhere else how to pull temp and humidity separately with this json. 1 day searching. You helped Enormously.
@DrZzs
@DrZzs 5 лет назад
Awesome! Glad to help!
@JamieTransNyc
@JamieTransNyc 4 года назад
OMG soooooo entertaining. No "blah-blah" no wasted time, no "droning" Thank you so much.
@dc4136
@dc4136 5 лет назад
Thanks a lot for this Video. Watched it a few times now, rewinded, watched the steps i needed again. Go on like this! That's cool!
@DrZzs
@DrZzs 5 лет назад
Excellent! Things have gotten better with Tasmota too. I'd suggest just grabbing the sonoff-sensor.bin file and flashing that with the ESPeasy flasher. github.com/arendst/Sonoff-Tasmota/releases github.com/letscontrolit/ESPEasy/releases
@fibranijevidra
@fibranijevidra 4 года назад
Love your videos. Wnan I first stumbled upon your channel, I have thought... who is this spooky talking head, but soon realised that you are pretty charismatic character, and your channel is very helpfull. Thank you.
@TobyKnowles
@TobyKnowles 6 лет назад
Brilliant, thank you! That’s saved me so much time. And fantastic delivery... all the facts in an instant.... with a touch of good humour. Off to click a few of your links
@DrZzs
@DrZzs 6 лет назад
Thanks! I try to be accurate and concise. More to come!
@dalescott9330
@dalescott9330 6 лет назад
Thanks so much!! I've been trying to get the temp to show up in HA for weeks now... you pointed out the syntax with DHT11 pointed me in the right place added my SI7021 sensor and bam! it worked... Awesome Videos!
@DrZzs
@DrZzs 6 лет назад
sweet!!
@alcidesmarcano
@alcidesmarcano 6 лет назад
Thank you for another deluxe class!!! Keep doing videos like this...
@DrZzs
@DrZzs 6 лет назад
Thanks! With great feedback like this, I sure will keep doing them!
@SteveDaviesCPT
@SteveDaviesCPT 5 лет назад
In 10 minutes you presented 10 times more information than most 20 minute videos manage to do. Thanks!
@DrZzs
@DrZzs 5 лет назад
haha! Good! That's the hope. I've slowed it down a little lately. I had some feedback that I was going too fast. Glad to help!
@SteveDaviesCPT
@SteveDaviesCPT 5 лет назад
I’m not complaining - you can always pause, google, review.
@webflue
@webflue 6 лет назад
Great video! Just been doing this myself and you have just resolved/answered questions I had. Thanks from me in the UK
@DrZzs
@DrZzs 6 лет назад
Awesome! Someday I'll visit the Mother Land!
@webflue
@webflue 6 лет назад
Where you live looks like the place I would want to live. We call mountains what you call a bump in the road.
@DrZzs
@DrZzs 6 лет назад
ha! it's a beautiful place for sure. I live in Utah. South of Salt Lake City. The town we're in used to be called Mountainville.
@PhG1961
@PhG1961 6 лет назад
Waw, really good video and well documented. Congratulations !
@DrZzs
@DrZzs 6 лет назад
Thanks!
@williamr288
@williamr288 5 лет назад
thanks - had to adjust json in my case to am2302 which it now works like a charm!
@brynwilliams9535
@brynwilliams9535 6 лет назад
Another great video Justin! keep up the great work buddy
@DrZzs
@DrZzs 6 лет назад
Thanks! will do!
@FrancisRoy
@FrancisRoy 5 лет назад
Awesome work! Thank you DrZzs
@DrZzs
@DrZzs 5 лет назад
Thanks! If you're planning to do this check out the sonoff-sensors.bin version of tasmota. It's all ready to use a bunch of different sensors. github.com/arendst/Sonoff-Tasmota/releases
@kondralev
@kondralev 5 лет назад
Thank you very much! You help me to solve the problem with constantly on/off/on/off/on/off ))) You are the best!
@SiwyMisio
@SiwyMisio 6 лет назад
Awesome video and thanks for sharing, greetings from Hel, Poland :)
@DrZzs
@DrZzs 6 лет назад
Thanks! Cool! I need a map to mark all the places people watch from. That'd be cool.
@federicoromero3946
@federicoromero3946 6 лет назад
Awesome video ! Didnt know that you can control those sensors out of the box with Tasmota! Will try this ! Keep up the good work ! Greetings from Uruguay!
@DrZzs
@DrZzs 6 лет назад
Uruguay Cool! Another pin in my map!
@MrJozza65
@MrJozza65 6 лет назад
Just what I was thinking; I've loaded Tasmota on a fair few Sonoffs, but never looked any further than turning a light on and off. The flexibility of Tasmota with a NodeMCU and little to no coding is stunning. Thanks for the information Dr Zzs!
@DrZzs
@DrZzs 6 лет назад
you're welcome! So true! Tasmota is amazingly capable. I'm still finding new things it can do. Theo is a First Class Genius!
@timothyanders3742
@timothyanders3742 5 лет назад
I have realized from watching your videos if you are going to build an item for a single sensor its cheaper to use a sonoff with a cheap extension cord from the dollar store. Definately going to use a sonoff to turn on my power supply for my led lights and then control them from the sonoff. Great videos. thanks for you help.
@DrZzs
@DrZzs 5 лет назад
Awesome! That would be a good use for it. I've been using Tasmota to control RGB LEDs for my Maker Faire display. Works great.
@trayc1501
@trayc1501 5 лет назад
love it man, really helped me out tnx!!!!!
@cysix4939
@cysix4939 6 лет назад
At this point I've Tasmotized several other ESP-based devices, including ESP8266E/F from Electrodragon, a NodeMCU and several othe Node clones. While I'm perfectly capable of simply producing custom code, Tasmota is the easy button for many project. As always, thanks for the excellent content.
@DrZzs
@DrZzs 6 лет назад
Thanks! I've got your 3-way switch method wired up in my maker faire Wall of Sonoffness. I should finally get around to giving it the Zzs treatment soon! You've had 5000 views on that video! Awesome. Have you found any of those other esp boards to be especially useful or unique in any good ways?
@maxzet368
@maxzet368 5 лет назад
that´s a really good explained tutorial!
@DrZzs
@DrZzs 5 лет назад
Thanks! It's a bit dated now. Things have changed a lot and are actually easier and more capable now.
@mannyrosariofx
@mannyrosariofx 4 года назад
Fantastic tutorial. Thanks
@IshmeetSinghahuja
@IshmeetSinghahuja 3 года назад
It’s funny but I miss such tutorial videos.. Live streams are great but this also had its own charm.
@kingearwig
@kingearwig 6 лет назад
the affiliate links are cool and all but you need a patreon. You are worth it.
@DrZzs
@DrZzs 6 лет назад
Bill Mears Thanks man. I’ll get working on that. I appreciate the feedback. Makes me feel good.
@robertellis6989
@robertellis6989 6 лет назад
DUDE I LOVE YOU :-) You have answered my issues. OMG WOW :-)
@DrZzs
@DrZzs 6 лет назад
haha! Thanks! When I think to myself "What would I like to see a video about?" It often turns out that's what others are waiting to see to. I got the DIY magnetic smart locks with Sonoff SV's working yesterday! That one is coming up! Hopefully I can get the video done for next week. If my dang real job that pays me money would stop demanding so much of my time! ;P
@ameggs
@ameggs 6 лет назад
Another good video Justin! Now lets put all of this together and make a sensor node on the cheap.
@DrZzs
@DrZzs 6 лет назад
Thanks Andy! I want to fill all 11 of those D1 GPIO pins. Make a real Frankensensor!
@rzinindiana8029
@rzinindiana8029 5 лет назад
Excellent... thanks. You put me hours ahead of trying to interpret the application from the WiKi. LZHenry
@willross6468
@willross6468 6 лет назад
Thanks! Been trying to get PIR sensors hardwired to my Pi's GPIO pins going. When I setup the automation in HA, it would turn the lights on when motion detected but then also turn them back off when motion was detected again no matter what I did. Your example is perfect, the "turn the lights off after X" should be another automation that is triggered by the first automation, not one automation with a delay built in like I was doing it. Excellent as always, will be trying this when I get home today... Thanks!
@DrZzs
@DrZzs 6 лет назад
Sweet! Mine's working like a charm. I'm going to have to add PIR's to some of my Zzonoffs now too!
@willross6468
@willross6468 6 лет назад
Just got it setup...works perfect. Using these pre-made PIR sensors sired direct to GPIO www.ebay.com/itm/2x-Wired-PIR-Motion-Detector-Infrared-Intrusion-Alarm-Sensor-for-Security-System/332326172160?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649
@ryan355
@ryan355 5 лет назад
@Joe Blow That's what I had to do too. Just crazy to me, but it works!
@Athens428
@Athens428 6 лет назад
I never knew you could do that!
@DrZzs
@DrZzs 6 лет назад
Pretty cool right?! I only had time to do those few sensors. I'll be adding that motion sensor to some of my Zzonoffs in the future for sure!
@joaoverissimo1440
@joaoverissimo1440 6 лет назад
This video real came in a good time. I just have a di 1 mini and i m playing with it. Just have to put a VM and install home assistant Tu test those trips. Thanks you.
@DrZzs
@DrZzs 6 лет назад
Great! Let me know how it goes!
@salim.studio
@salim.studio 6 лет назад
Excelent bro , keep working.
@DrZzs
@DrZzs 6 лет назад
Thanks brother! Always look forward to getting my first comment from you!
@iocircuits
@iocircuits 4 года назад
Great video, thanks a lot
@e1w00db1ue5
@e1w00db1ue5 3 года назад
For anyone else who comes here and struggles because this info is out of date, I have the following advice. 1) Use Tasmotizer to send the latest tasmota-sensor.bin file 2) use Tasmotizer "Send Config" button to send WiFi info. You can then connect and setup the module-info or use the same Send Config button to setup MQQT etc.
@TyroneJohnson
@TyroneJohnson 3 года назад
Hello and thanks so much for this...spend a late evening trying to firgure all of the errors out that I was getting, finally realizing that the instructions were out of date...learned a bunch that way, but still frustrating in the end...until I found your comment here! Thanks so much!!
@dan1lo360
@dan1lo360 5 лет назад
great work and content
@DrZzs
@DrZzs 5 лет назад
thanks!
@ayeapprove
@ayeapprove 5 лет назад
Thank you for this great tutorial. I want to automate a phyiscal button press with an CD4066 IC - how can I send HIGH/LOW to GPIO 4 for example? Do I even need a IC for this?
@sando9010
@sando9010 5 лет назад
Great video, thanks!!
@DrZzs
@DrZzs 5 лет назад
oh good! glad it was helpful!
@emirsakic1850
@emirsakic1850 6 лет назад
Great video, thanks. Regarding the PIR switch, there is just one thing you forgot to mention, which could have saved me some time debugging: you need to do "SwitchMode2 1" in Tasmota console. Otherwise automation won't work since it sends "TOGGLE" signal by default, instead of "ON/OFF".
@DrZzs
@DrZzs 6 лет назад
Oops. Don't know how I missed that. Thanks for bringing it up so others don't get hung up by it.
@nicolasortuzar7457
@nicolasortuzar7457 5 лет назад
I lost so much time looking for the answer, thank you!!!
@harleyhall8808
@harleyhall8808 5 лет назад
i just tried this and it still toggles the relay hmmmm
@Vendoization
@Vendoization 5 лет назад
thank you, it helped
@unami8999
@unami8999 5 лет назад
thank you for your info!
@JWG2014
@JWG2014 4 года назад
DrZzs - It would be really cool to see a D1 Mini replace a old security system. Basically how to confiure the D1 to be the 8 zones a old panel would have. Most houses built in the last 20 years have contact sensors on the doors and windows. One D1 could interface them all to smarthings... for about $5.. really cool
@kierancampion2928
@kierancampion2928 6 лет назад
Brilliant Vid. Very informative. Relative noob to home automation and after a frustrating and abortive attempt at OpenHab moved to HA, watched your videos to get set up and all is working fine. Testing a NodeMcu with temp/Hum and a rcwl-0516 sensor using your setup above with Tasmota. Keep up the great work -- Thanks
@DrZzs
@DrZzs 6 лет назад
sweet! welcome to Home Assistant!
@martijn_1282
@martijn_1282 6 лет назад
This is amazing! I have a nodemcu and a LED strip here, but I did not know how to connect them together. Now I know (and I know much more) Great! (And I will leave a message for Theo and buy more parts through your links ofcourse :-))))
@DrZzs
@DrZzs 6 лет назад
Awesome! Thanks! Theo's going to get bombarded with Thank You notes today! Love it!
@martijn_1282
@martijn_1282 6 лет назад
Funny, Theo appears to live about 15km from here :-) And thank you for all the good things you share with us!
@DrZzs
@DrZzs 6 лет назад
Martijn _ Awesome! Go say hi for me!
@grahamphillips3467
@grahamphillips3467 4 года назад
Thanks again for another educational video, I have succesfully tasmotized my D1 mini but cannot get water sensor to be recognised, have tried numerous module configurations to no avail, any ideas? .
@macbrewer6899
@macbrewer6899 6 лет назад
I close on a new house in early April. I already have a few sonoff basics controlling lights, and a low voltage sonoff controlling my garage door in the house we are leaving. Once we get into the new house, my home automation will be kicked into overdrive! I don't know if anyone has requested yet, but can you do a video using sonoff/Tasmota as an infrared remote control for Tv/surround sound? I look forward to your videos on Mondays. Keep up the good work!
@DrZzs
@DrZzs 6 лет назад
Thanks! Actually that sensor kit does have an IR transmitter and receiver! I peeked briefly at the tasmota settings to make it work. I'll put it on the list and get to it eventually. In the mean time, if you want to try it before I get to it, here's the Tasmota Console commands: github.com/arendst/Sonoff-Tasmota/wiki/Commands#irremote I don't know much (yet) about exactly how to setup IR, but I'm sure those commands are the key.
@aussiegeekrider
@aussiegeekrider 6 лет назад
hey @DrZzs , love your videos, subscribed a while ago, this is one of the meany really good videos along with the floorplan tutorial and many other ones. So a BIG THANK YOU. You saved me loads to research time. First time I'm asking for some help. I've setup the PIR sensor as per your instructions, I have flashed the "Wemos D1R2" (not the mini but still esp8266 ) as per your instructions and works fine with Tasmota, over the browser in the console I can see (09:50:15 MQT: cmnd/d1pir/POWER2 = TOGGLE) when I wave my hand over the sensor which seems to work fine every time. The HASS server seems to be setup correctly as the motion sensor icon comes up and I can find it as an entity "binary_sensor.wemosd1" I can manually change the state to ON or OFF and get the automation I've setup to work, but the motion detection doesn't toggle the binary_sensor from ON to OFF or OFF to ON on it's own. The topic is set as (state_topic: "cmnd/d1pir/POWER2") Any idea why is not changing the state to ON or OFF when "TOGGLE" ? Thanks in advance!
@NextLevelCode
@NextLevelCode 4 года назад
Hey DrZzs. Maybe in a future video you can talk about using sleep mode in Tasmota to prevent the esp8266 from heating the DHT11 and causing the temp to rise :)
@joeknowsavings
@joeknowsavings 4 года назад
Great video, it's inspired me to start looking into this new world of automation! Does anybody know if there's a limit on the number of DHT11 sensors that tasmota can handle? I'm trying to get 4 of them running to monitor my Heat Recovery Ventilator temps/hum levels but only 3 of them show up in the web UI and out of MQTT. I've got them hooked up to GPIO's 0, 2, 4 and 5 with my module type as Generic 18.
@BaconRanch
@BaconRanch 5 лет назад
thank you, friendly tip about text for in video links, they appear where the youtube gui overlays, so when people pause they can not be read, please paste higher up if possible, or not....thanks again.
@brucerawiri7170
@brucerawiri7170 5 лет назад
Great Video DrZzs. I have learnt a great deal from your Videos and forums. I have just setup my first D1 Mini with DHT11 as the Temp and Humidity Sensor. I have it connected to MQTT and the Console is Reading the Temp and Humidity no problem The problem is getting HA to read the Results of Temp and Humidity. They both show up in States as "unknown" sensor.humidity unknown unit_of_measurement: % friendly_name: Humidity sensor.temperature unknown unit_of_measurement: °C friendly_name: Temperature The Console shows it is reading fine 09:00:34 MQT: tele/sonoff/SENSOR = {"Time":"2019-05-17T09:00:34","DHT11":{"Temperature":13.0,"Humidity":50.0},"TempUnit":"C"} 09:02:00 MQT: tele/sonoff/UPTIME = {"Time":"2019-05-17T09:02:00","Uptime":"0T00:26:40"} What is the Project Name? as per your video, as I think this could be the problem Any idea to help me link to HA? Thanks in Advance :)
@DrZzs
@DrZzs 5 лет назад
what do you have in your configuration.yaml? My guess is the topic for yours is different from my example.
@brucerawiri7170
@brucerawiri7170 5 лет назад
Hi DrZzs. I have resolved this issue. I had a naming convention that worked however I changed naming (MQTT Topic) for all devices and now they are all working just fine, including the D1 Mini with Temp and Humidity. Thanks for your reply, I appreciate it greatly. Hope to watch one of your Streams soon :)
@jensenjensen824
@jensenjensen824 Год назад
Hi. Great video. I was wondering if I could use a MMwave sensor indstead of the Pir?
@mattboston74
@mattboston74 5 лет назад
Do you know if it's possible to use both a reed switch(magnetic door switch) and a PIR sensor on a D1 mini at the same time? What commands would I use?
@anthonycalia1317
@anthonycalia1317 6 лет назад
Nice Job, thanks. The reason you need to install the driver is because the various ESP8266 modules have different USB to TTL chips onboard. Common ones are 230X. FTDI, and CH340 each of which requires a driver. Once you install them all, it will largely be transparent from that point forward. Likely though, you will see a different comm port for each. Also, the PIR IS actually a motion sensor. If it were not, any infrared source would trigger the output. The PIR relies on a differential measurement between two sensors and that funky segmented lens to break up the light pattern. When an infrared source is stationary, it remains constant between the two differential receivers, when something is moving, the difference is what triggers the output. i probably did not explain that well, but there are a number of videos out there that do a good job including Bigclive who devoted a video to using PIRs.
@DrZzs
@DrZzs 6 лет назад
Awesome! Thanks! I'll take that NodeMCU question off the things I don't know list now! And thanks for the knowledge on the PIR. I was thinking of it kinda like a line-break sensor, and that's not really what it is at all. I'll have to check out Bigclive's video.
@anthonycalia1317
@anthonycalia1317 6 лет назад
My "Things I don't know list" has turned into something akin to an encyclopedia... Still smaller than my wife's "Things for anthony to do" list... though so that's good...
@DrZzs
@DrZzs 6 лет назад
hahaha!
@stupossibleify
@stupossibleify 3 года назад
Late to the party! Love this video. Did you power the entire neopixel project from that 5V supply? Just wondering about shared ground for microcontroller and LEDs
@crowland3358
@crowland3358 6 лет назад
Can these be used to zone area around the home to work with a smart thermostats (nest) and home assistant ? If any one has done this please let me know thank you.
@SathishReddysK
@SathishReddysK 5 лет назад
I don't understand that "value_json". May be that's the reason, my sensor is working, showing in tasmota page, added to HA with MQTT, but readings not showing in HA. Need help.
@mandeepmails
@mandeepmails 3 года назад
Nice and informative video. Question - i connected wemos with relay and AC power accessories. i'm able to control but because of no power-backup or whatever reason if there's couple power fluctuations, it wipes out the config from the esp8266. Any ideas, how to avoid it ?
@pingme67
@pingme67 3 года назад
Do you have a current version of this?? none of the files names are really the same and I am having a heck of a time getting by the the area from time stamp 1:50 - 2:00 driving me crazy!! seem to be missing a step Thanks
@glynndrago
@glynndrago 6 лет назад
Hi there your videos have got me hooked to Tasmota and Sonoff! Can I use the D1 mini and Tasmota to switch on and off 2 contacts ? Say I would want to use it to send a momentary on off pulse to an appliance switch ?
@DrZzs
@DrZzs 6 лет назад
you sure can. I'm working on a project using a D1 with relays. One issue I've found so far is that the voltage output on the D1 GPIO pins is only 3.3v. That might not be enough to trigger the relay. I've got mine traveling some distance between the D1 and the relay, so the voltage drops even more. I bought a logic level shifter to boost the voltage of the signal to 5v, which should be enough. They just arrived so I haven't tried it yet. I'd say try it without the level shifter and hopefully it'll work if you aren't losing voltage over distance like I am. If you find the relay isn't triggering with the 3.3v try one of these: amzn.to/2r8gvxw Hope that helps!
@jamescullins2709
@jamescullins2709 4 года назад
I am using a D1 mini to monitor temp, hum, bar and dew point. It operates from a battery and I need to monitor the analog pin to check the battery charge point. I use Tasmota to set up the chip and see where the analog pin is and have it assigned. My question is how do I get MQTT to see that analog pin and read it? I also need to add the deep sleep mode, on a 1-minute cycle? Thank you in advance.
@wagnerforte8455
@wagnerforte8455 3 года назад
Hello, thanks fot the tutorial, Could you help me with one doubt?: It`s possible to conect PIR sensor directly i the sonoff? Thanks in advance.
@kitecattestecke2303
@kitecattestecke2303 3 года назад
Does tasmota support external RTC on esp8266? I would like to build a tasmota rtc relay timer that i can use offline at my woods cabin oft 12V
@luis55g
@luis55g 6 лет назад
first of all great video!!! How would i connect a vibration sensor module(sw-420 nc type) to the d1mini? want to be able to put this on washer to let me know when its done,lol.
@DrZzs
@DrZzs 6 лет назад
thanks! You're not the only one. I would guess it would work similar to the motion sensor, when there's vibration it is "on" when it stops to goes "off". So you would set it up in Tasmota like a switch. I'll have to check my kit and see if it has one of those.
@DiegoGarcia-vz8rm
@DiegoGarcia-vz8rm 6 лет назад
Best of the best
@DrZzs
@DrZzs 6 лет назад
ha! thanks!
@RSAPemi
@RSAPemi 4 года назад
Hi tasmotizer work perfect too.
@CreativeDesk
@CreativeDesk 5 лет назад
I want to install tasmota on esp32 if possible plz help
@randomvids2359
@randomvids2359 5 лет назад
Would love to see something like this with the SGP30 sensor!
@koenzele9579
@koenzele9579 5 лет назад
is it possible to add a light sensor to Tasmota?
@AyroldiNicolo
@AyroldiNicolo 5 лет назад
Hi, thank's for your video. I have a question: when I sept in tasmota: Generic module to create node mcu with 4 relays they work according to each other. When I turn on one of them, the other goes off. For example: if I turn on the relay 1 while the number 3 is on, the latter goes out as soon as the relay 1 goes ON. Is there any command to give in the console? Thank you
@DrZzs
@DrZzs 5 лет назад
Thanks! It sounds like they are in "interlock" mode. "SetOption14 0" in the console might fix it. Let me know if that doesn't do it.
@chrisrosenkreuz23
@chrisrosenkreuz23 2 года назад
is there any way of getting a custom firmware onto a Hisense AEH-W4E1 ac unit?
@charlesarnold4963
@charlesarnold4963 4 года назад
I like your videos, the style and presentation especially as well as the content. Please keep it up. I appreciate this video was released quite a long time ago, however I would welcome your input to a project that I am currently working on. I would like to use a D1 Mini or Node MCU to measure several temperatures using DS18B20 temperature sensors on a single 1-wire pin. Can this be done with Tasmotizer? If this is feasible then I would very much appreciate your comments.
@danielmpr
@danielmpr 5 лет назад
temperature and humidity STILL not updating on mine! shows temps in C not F even tough I set the option in tasmota and has payload in F!!!
@bastiaanvangaalen7568
@bastiaanvangaalen7568 5 лет назад
Great video, would you prefer Tasmota or Bruh automation for flashing the esp?
@DrZzs
@DrZzs 5 лет назад
For cool LED effects I use Bruh's sketch (with some modifications). For controlling switches or sensors, I prefer Tasmota. I haven't used Ben's multi-sensor sketch, so it may be better for that specific application. I'm just more familiar with Tasmota, so that is my go-to solution.
@jimmycrankerson1797
@jimmycrankerson1797 3 года назад
Great video but I think the git has changed for the version of the sonoff-tasmota.ino. I can't find that file anywhere with the config settings on it...is there an updated way to do this? thanks
@NA12495
@NA12495 4 года назад
Thanks, that was some good info. I just went to copy everything over to the Arduino IDE and am having some issues. The files for tasmota changed (name wise), running into a wall at the moment.
@NA12495
@NA12495 4 года назад
NM....used NodeMCU PyFlasher...so easy
@brentd2072
@brentd2072 5 лет назад
Yo Doc. I know this is old, but did you hook up the HC-SR501 directly to the Sonoff? I see in your video of the Sonoff hookup and the 5v but isn't that 3.3v? In another video, one person went through all kinds of steps to get the 5v. Is it really possible to drive it off the Sonoff? If you set the jumper to no repeat and timer to ~5 minutes, this would make a great walkway lighting combination. Please let me know. - Thanks
@DrZzs
@DrZzs 5 лет назад
I have connected PIR sensor directly to a sonoff and it works great. I used this PIR though (not the 501) - drzzs.com/BruhPIR Can't honestly remember if I connected it to 5v or 3v. I think it was the 3v pin from the flashing pins that I used. Hope that helps. Definitely you should use that PIR from the link instead of the Big'ol 501. I had a lot of trouble with the 501 triggering randomly when it's too close to the ESP8266 chip. Good luck!
@OscarPerez-sz8ku
@OscarPerez-sz8ku 4 года назад
Hi, Perhaps you may be interested in this configuration. When the motion sensor is activated, a rule delays its deactivation during the set time (in my case, 30 seconds) to see it active in HA. The second rule invalidates the publication that turns off the connected led strip. SwitchMode 0 SwitchMode2 1 SwitchTopic2 PIR SwitchTopic 0 Rule1 on switch2#state=1 do backlog publish cmnd/PIR/POWER2 ON; RuleTimer1 30 endon on Rules#Timer=1 do publish cmnd/PIR/POWER2 OFF endon Rule2 on switch2#state=0 do publish stat/proyecto1/POWER "" endon Rule1 1 Rule2 1 ;-) Thanks for your work.
@naveenmanohar5253
@naveenmanohar5253 5 лет назад
Thank you @DrZzs for another wonderful tutorial. On my D1 mini, however, I have two problems. Can you please help me with these? (1) When the motion has ceased, the switch doesn't revert to OFF sometimes. It stays stuck on ON until the motion is triggered again, when it toggles. (2) When restarted, the switch begins with OFF. However, when it first senses motion, it still fires OFF and a few seconds later fires ON.
@nobody-mi1qf
@nobody-mi1qf 4 года назад
Did find a solution to this? I have the same issue
@IoIon2010
@IoIon2010 3 года назад
Hallo boss! How can avoid a relay turn off/on after every restart? I have 2 relays set in interlock , but every time the wemos tasmota restarts they will go on together for few than a second.... can you help me?
@rklauco
@rklauco 3 года назад
I cannot find 2 infos - how to set the LED number (e.g. how many is connected) and how to tell tasmota that I have RGBW leds, not only RGB... Even Tasmota wiki seems to skip anything on addressable leds topic.
@jamescullins2709
@jamescullins2709 4 года назад
Do you have a Raspberry Pi for the MQTT part?
@alexcharbonneau4355
@alexcharbonneau4355 5 лет назад
Hello DrZZs, all your video are awesome and I learn a lot with them. I use this video to create some temperature and humidity sensor over the house with some wemo d1 mini with tasmota and some DHT11, they all work nicely and home assistant integration too. The issue I have is, after sometime my wemo stop read the both value and the only way to make it read again is to remove the power and plug it back. After that it work for a while until I have to do it again. A soft restart do not work. Can you help? Thank you again for your good work
@DrZzs
@DrZzs 5 лет назад
bummer. I don't know what to do about that. I guess I'd try to automate a hard reset perhaps by using a wifi smart plug for the power supply going to the D1mini. I've done that with my PiZero Cameras that need a hard restart every so often. Not a very elegant solution, but it works.
@chrispeterson6941
@chrispeterson6941 6 лет назад
Hey thanks for doing these videos, you do an awesome job! Do you know of any examples of, if the temperature from a sensor (DHT11) attached to the Sonoff goes below say 40 degrees to turn on a plug/switch in Home Assistant and then off at 60 degrees. Also is there any tricks to change the temp reading from Celsius to Fahrenheit on the Sonoff and Home Assistant?
@DrZzs
@DrZzs 6 лет назад
Thanks! you can set up an automation to trigger a switch based on a temperature. I just did this quick to show you how: www.dropbox.com/s/6mdetnn2a0evrqk/tempfanauto.mov?dl=0 Trigger is "numeric state", you can do either "above" or "below", I set a condition that I have to be home for it to work (conditions are optional, not necessary at all), then the Action is to turn on the fan in my office. :) In Tasmota, at the "Console" you can set the temp units: SetOption8Show current Temperature as either Celsius or FahrenheitSetOption80 / celsiusSet Temperature to CelsiusSetOption81 / fahrenheitSet Temperature to Fahrenheit You probably have to have the units matching in HA and Tasmota. To set the units in Home Assistant: sensor: - platform: mqtt state_topic: 'office/sensor1' name: 'Temperature' unit_of_measurement: '°C'
@chrispeterson6941
@chrispeterson6941 6 лет назад
Thanks for your help! I plan on seeing you at the maker fair in a few weeks.
@DrZzs
@DrZzs 6 лет назад
cool! see you then!
@br0k3nilluzion
@br0k3nilluzion 6 лет назад
man.. they need a "Like x 1000" button !! thank you for sharing this video !! flashing Tasmota tonight.
@DrZzs
@DrZzs 6 лет назад
hahaha! That's awesome! Glad you liked it! Good Luck tonight!
@easwaran83
@easwaran83 6 лет назад
FlashEZ method will work for this?
@jakobmosburger2737
@jakobmosburger2737 6 лет назад
Thanks for the great Video. Question: I have also a DHT 11 Sensor on a Sonoff or on a D1 mini. In both application I cannot red the Temperature in nodered. I can see the temperature in Tasmota. Do you have any idea?
@DrZzs
@DrZzs 6 лет назад
Jakob Mo I know very little about node red. I just barely installed it myself. Are you using Home Assistant also? Or just Node Red? I’d say check Home Assistant and see if the temp is showing up there. Just to narrow down where the problem might be. I’d start by looking at the way node red handles payloads with multiple values. That’s what got me hung up with Home Assistant. So I can’t say more specifically what might be happening since I don’t know Node Red much at all.
@OscarPerez-sz8ku
@OscarPerez-sz8ku 4 года назад
Hi, Thank you very much for all the videos. I am learning a lot with them. In the 02:50 minute you say that nodemcu can work with 12v. This is correct? I am using 12v LED strips ( WS2811 ) but I need to lower the voltage to 5v to power the nodemcu controller.
@DrZzs
@DrZzs 4 года назад
Check your specific NodeMCU board. Some say they accept 12vdc, others say the max is 9v or even 5v.
@OscarPerez-sz8ku
@OscarPerez-sz8ku 4 года назад
​@@DrZzs My NodeMCU boards are clones. I think if I turn it on with 12v they will burn jejeje I don't see references to 12v in the specifications. Thank you very much.
@nobody-mi1qf
@nobody-mi1qf 4 года назад
This is fantastic doctor! I got sensors out the wazoo. There is a wifi repeater project on github that is pretty dope too. Do you know whether it is possible to track people based on the wifi/bluetooth beacons emitted by their phones? I would like to be notified of my neighbor's comings and goings. Not for any nefarious reasons. Sometimes they don't answer their door when I knock. This way I can announce, "I know you're home, I want to finish our discussion about home automation!" If you could point me in the right direction, that would be great. Thanks for vids
@carltonwbrooks
@carltonwbrooks 6 лет назад
Another question re: home assistant. Been using a PI3 since the day it came out, it seems to be bogging down in my new house. What is your opinion on using a dedicated pc instead of the pi?
@DrZzs
@DrZzs 6 лет назад
I've only every used HA on a pi3. I haven't had any problems, but I don't think I'm asking it to work very hard. I know a lot of people use different hardware. Some real high-end users use a NUC. amzn.to/2DQx6uh That seems a little extreme to me, but they swear it's the best. I guess if money wasn't a factor I'd do something like that too. If you do change hardware you'll have to use some other installation besides hassio. home-assistant.io/docs/installation/ That introduces a lot more potential issues and things you'll have to figure out how to get working. Hassio's add-on system makes things so easy. If you're a "computer guy" then using a different install method might not be an issue. They just came out with a new pi3b+. Should be a little more powerful. Don't know if the current hassio image is 100% compatible with it yet. That's my opinion for what it's worth :) Let me know what you decide to do and how it turns out!
@-______-______-
@-______-______- Год назад
Is this still necessary for the Arduino part in 2022?
@jonwhite9145
@jonwhite9145 3 года назад
When I copy and paste the code for the d11 into my yawl file it gives an error for the code.
@kingearwig
@kingearwig 6 лет назад
I am using the sk2812rgbw leds. I added the light entry as you posted but I am not getting the color picker? Not sure where to start to troubleshoot this.
@DrZzs
@DrZzs 6 лет назад
hmmm. Show me what you have in your lights entry. I didn't get it at first, but once I added: rgb_state_topic: "stat/D1mini01/color" rgb_command_topic: "cmnd/D1mini01/color" it showed up. What version of Home Assistant are you running? I know they've had that color wheel there for a long time, so I doubt having an older version is the issue, but it could be. It only shows up when the lights are on though. Silly, but I guess make sure they're on then click the bulb and it should be there. I'll see if I can think of any other reason it wouldn't work...
@edrose5045
@edrose5045 5 лет назад
Great video. However note that the D1 mini is not "always in programming mode" like you suggested. The USB serial converter has circuitry in it that will reset the chip and pull GPIO0 down just before the program is sent, placing it in programming mode for you.
@DrZzs
@DrZzs 5 лет назад
excellent! Thanks for clarifying. I learned something new too!
@bentjacobsen7686
@bentjacobsen7686 6 лет назад
In light entry you have: "cmnd/D1mini01/power2" . I deletet "2" to get work. I love your videos. Greetings from Denmark
@DrZzs
@DrZzs 6 лет назад
Thanks! Glad you got it working! Awesome Denmark!
@krullie111
@krullie111 5 лет назад
Thnx! that fixed it for me
@FabrizioAscari
@FabrizioAscari 6 лет назад
Drzzs, i've a request, maybe you have the skill or a link... i wanna to use sonoffSV+tasmota to create a soil moisture humidity sensor for may plants, i've already YL-69 sensor... can u help me in some way (maybe with a tutorial like yours?) Thanx in advance
@raulshum8755
@raulshum8755 5 лет назад
is there a way to setup a relay like the switch like the sonoff. i have a few spare esp01.. but i dont want to power the switch and have cables to the relay. i just want to have power going to the relay like the sonoff.
@DrZzs
@DrZzs 5 лет назад
You can connect a relay to the esp01 and the relay will be separated from the power to the D1mini. Is that what you mean? If you really want to make it like a sonoff where you put 120v to it and then you switch that same 120v circuit, I guess you could do that, but it would be a lot more work and probably cost more than just buying a sonoff. Besides the Esp01 and the Relay you'll also need a 120v to 5v power converter. The PS is almost the price of a Sonoff Basic: www.banggood.com/HLK-PM01-AC-DC-220V-To-5V-Mini-Power-Supply-Module-Intelligent-Household-Switch-Power-Supply-Module-p-1242358.html?p=@K220219381694201802 That's the appeal of the Sonoff. You can't buy the parts and build it yourself for less $. If you still want to do it you'll have to use the 120v to power the PS. You'll tap into the Hot line and send it to the Common pole of the relay, then a wire from the NO pole to the lights or whatever you want to switch. The neutral will also go to the PS, but then also continue on to the lights you're switching. Then with ps you can power the esp01. The ESP01 might need 3.3v instead of 5v so you'd need either a 120v to 3.3v ps or another buck converter to drop the voltage from 5v to 3.3v. The relay will need a supply of 5v in addition to the ground and the control wire from whichever pin you use from the ESP chip. Hope that helps. Good luck.
Далее
This Smart Home Sensor Blew My Mind! 🤯 mmWave
11:06
Просмотров 987 тыс.
Sonoff MINIR4M works with EVERYTHING
13:15
Просмотров 45 тыс.
Make your own Nest for a LOT less $$
18:09
Просмотров 134 тыс.
An LED Sphere YOU Can Build
15:29
Просмотров 105 тыс.
Intro to TASMOTA What is it? How do I? ESP8266?
25:39
The COMPLETE Guide to Tasmota 2019
16:41
Просмотров 256 тыс.
Sonoff RF Bridge with Tasmota
15:17
Просмотров 144 тыс.
Жалко Кирилла? #юмор #шутка
1:00
4 июля 2024 г.
0:20
Просмотров 2,9 млн
УДИВИЛА МЛАДШУЮ СЕСТРУ
0:50
Просмотров 4,9 млн