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

  Рет қаралды 201,481

DrZzs & GrZzs

DrZzs & GrZzs

Күн бұрын

Пікірлер: 520
@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 KZbinrs 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.
@JamieTransNyc
@JamieTransNyc 4 жыл бұрын
OMG soooooo entertaining. No "blah-blah" no wasted time, no "droning" Thank you so much.
@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 KZbin 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 KZbin 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 KZbin 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
@SteveDaviesCPT
@SteveDaviesCPT 6 жыл бұрын
In 10 minutes you presented 10 times more information than most 20 minute videos manage to do. Thanks!
@DrZzs
@DrZzs 6 жыл бұрын
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 6 жыл бұрын
I’m not complaining - you can always pause, google, review.
@manukalias
@manukalias 3 жыл бұрын
3 years later, You are still the Best one for Tasmota 👍👍
@lioman2578
@lioman2578 6 жыл бұрын
I did not found nowhere else how to pull temp and humidity separately with this json. 1 day searching. You helped Enormously.
@DrZzs
@DrZzs 6 жыл бұрын
Awesome! Glad to help!
@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!
@timothyanders3742
@timothyanders3742 6 жыл бұрын
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 6 жыл бұрын
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.
@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.
@ygreq
@ygreq 5 жыл бұрын
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
@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 6 жыл бұрын
I lost so much time looking for the answer, thank you!!!
@BikeScooterGarage
@BikeScooterGarage 6 жыл бұрын
i just tried this and it still toggles the relay hmmmm
@Vendoization
@Vendoization 6 жыл бұрын
thank you, it helped
@unami8999
@unami8999 6 жыл бұрын
thank you for your info!
@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.
@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?
@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 :)
@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!
@IshmeetSinghahuja
@IshmeetSinghahuja 3 жыл бұрын
It’s funny but I miss such tutorial videos.. Live streams are great but this also had its own charm.
@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.
@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!
@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!
@williamr288
@williamr288 5 жыл бұрын
thanks - had to adjust json in my case to am2302 which it now works like a charm!
@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
@GilMata
@GilMata 6 жыл бұрын
You're awesome! Thanks for all the time and effort you've put into making this video.
@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!!
@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.
@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!
@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!
@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!
@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!
@RSAPemi
@RSAPemi 5 жыл бұрын
Hi at first sorry about my English. :) I am little bit confused because, when i go back to your video $5 Sonoff + $2 parts = Best Smart Switch EVER! in this project you were using resistor and 33nf tantalum capacitor to proper function of touch button. It this current video you mention and show sonoff basic with humidity sensor (DHT11) and touch button is connect to bat without capacitor an resistor. My question is, this another way ho to connect touch button to sonoff without resistor a capacitor ? Thanks for all what you do. Have a nice day Mirek.
@brynwilliams9535
@brynwilliams9535 6 жыл бұрын
Another great video Justin! keep up the great work buddy
@DrZzs
@DrZzs 6 жыл бұрын
Thanks! will do!
@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
@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
@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.
@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!
@jensenjensen824
@jensenjensen824 Жыл бұрын
Hi. Great video. I was wondering if I could use a MMwave sensor indstead of the Pir?
@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
@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!
@JWG2014
@JWG2014 5 жыл бұрын
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
@OscarPerez-sz8ku
@OscarPerez-sz8ku 5 жыл бұрын
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.
@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!!
@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? .
@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.
@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.
@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 ?
@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!
@mannyrosariofx
@mannyrosariofx 5 жыл бұрын
Fantastic tutorial. Thanks
@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.
@edrose5045
@edrose5045 6 жыл бұрын
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 6 жыл бұрын
excellent! Thanks for clarifying. I learned something new too!
@rklauco
@rklauco 4 жыл бұрын
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.
@xzaz2
@xzaz2 4 жыл бұрын
2:56. You can also power the D1 by the 3.3v Directly.
@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.
@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
@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!
@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!
@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.
@-______-______-
@-______-______- Жыл бұрын
Is this still necessary for the Arduino part in 2022?
@MrArod1207
@MrArod1207 5 жыл бұрын
I cannot wrap my head around these state topics, command topics!! MQTT in general is kicking my butt. Where does this information come from? Thanks for any and all information
@DrZzs
@DrZzs 5 жыл бұрын
It does take some getting used to. I was quite confused about it for a long time. Here's my best shot at a quick explanation: MQTT is like devices texting each other. The "topics" are like the device phone numbers. the "payload" is the actual message. The "Broker" is kinda like an old time phone operator passing the messages along. For example, a smart light can have a topic for the "state" that could be "stat/sonoff/power" and the payload could be On or Off. That light communicates with the Broker and says, this is my state topic "stat/sonoff/power" so if anyone ask for me tell them I'm on or off based on the last message I sent you. When the state of the switch changes from on to off it "Publishes" a new message using that topic "stat/sonoff/power" with payload Off. Now if Home Assistant wants to know the state of that light it can "Subscribe" by telling the Broker; if anyone publishes a message to the topic "stat/sonoff/power" please let me know the payload so I can show Mando the right color Icon in his UI. For Command topics the switch tells the broker, if anyone wants me to change my state I'll be listening at this topic: cmnd/sonoff/power. And when you press the button in Home Assistant it sends a message to the broker using the topic cmnd/sonoff/power, with the payload On or Off. The broker passes that message on to the light and the light goes from Off to On. The exact "topic" can be almost anything as long as the devices that want to communicate with each other subscribe and publish to the exact same topic. For other sensors the payloads can be things other than on/off. They can be number values like temperature or % humidity, or they can just be strings of text like a sentence or a couple words that you want to display on a screen. Hope that helps. :)
@tupid84
@tupid84 6 жыл бұрын
does soil moisture supported in tasmota? I want to create automation for my plants watering , I used to use esp8266 Relay , love your work ,you make my life easy :)
@BryantHayward67
@BryantHayward67 3 жыл бұрын
Yup. Use A0 on a D1 Mini to hook up the analog output from any of the available moisture sensors. Use Generic (18) and set GPIO17 to "ADC Range". Adjust the settings to your liking, and use Home Assistant to set up an automation to let you know when they need watering, or hook up an LED to an available pin and set to flash based on sensor reading (or both). Unless you're using it to monitor water level in the bilge or basement, I would read the sensor at most every hour. Especially if you don't use a capacitance sensor (recommended for long-term use). The metal on the resistance sensors (two "legs" that measure the resistance in the soil between them) will be oxidized very quickly otherwise and you'll be replacing them every month. They aren't expensive, but still... And set the Mini to sleep in between times, to conserve energy, if the LED isn't flashing or nothing else is being monitored...
@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
@OscarPerez-sz8ku
@OscarPerez-sz8ku 5 жыл бұрын
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 5 жыл бұрын
Check your specific NodeMCU board. Some say they accept 12vdc, others say the max is 9v or even 5v.
@OscarPerez-sz8ku
@OscarPerez-sz8ku 5 жыл бұрын
​@@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.
@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
@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?
@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!
@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!
@bastiaanvangaalen7568
@bastiaanvangaalen7568 6 жыл бұрын
Great video, would you prefer Tasmota or Bruh automation for flashing the esp?
@DrZzs
@DrZzs 6 жыл бұрын
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.
@jamescullins2709
@jamescullins2709 4 жыл бұрын
Does Esp-now with Tasmota?
@rzinindiana8029
@rzinindiana8029 5 жыл бұрын
Excellent... thanks. You put me hours ahead of trying to interpret the application from the WiKi. LZHenry
@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!
@wattage2007
@wattage2007 5 жыл бұрын
Inspirational video. How do I read the sensor values in an iOS MQTT app like IoT OnOff? What kind of topic do I need to subscribe to?
@DrZzs
@DrZzs 5 жыл бұрын
thanks I don't know about that specific app, but for Home Assistant the sensor entry looks something like this: Sensor: - platform: mqtt state_topic: 'tele/masterBR/SENSOR' name: 'Master Bedroom Temp' #AM2301 unit_of_measurement: '°F' value_template: '{{ value_json.AM2301.Temperature -2 }}' Hope that helps.
@wattage2007
@wattage2007 5 жыл бұрын
@@DrZzs Great stuff. Managed to figure it out and your tip about inserting the sensor model into the JSON parser made it all work :) Thanks!
@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.
@gustavohidekikawanami5509
@gustavohidekikawanami5509 4 жыл бұрын
Hi DrZzs! Great video! Any chance you could publish an idiot-proof video for dummies like me on just how to flash tasmota into a Tuya PIR sensor?
@ashishcchauhan
@ashishcchauhan 6 жыл бұрын
Hello DrZzs, First of all many many thanks for your tutorial which is very useful to me for making home automation. I have made 3 switches with basic sonoff with flashing tasmota and it's working very well. thanks again. Than I Flash tasmota on NodMCU and controlling 4 relay board, Its works but there is little problem. When I trigger, It works opposite, means when I turning ON my relay goes OFF and When I turning OFF it goes ON. So Please help me to solve this problem. My tasmota settings are below. Module type is 18.Generic D6 GPIO12 Relay1 - Relay 01 D7 GPIO13 Led1i - Relay 02 D5 GPIO14 Sensor - Relay 03 D8 GPIO15 - Relay 04 It will be very helpful to me if you can solve this problem. Sorry for my English. Thanks,
@jamescullins2709
@jamescullins2709 4 жыл бұрын
Do you have a Raspberry Pi for the MQTT part?
@chrisrosenkreuz23
@chrisrosenkreuz23 3 жыл бұрын
is there any way of getting a custom firmware onto a Hisense AEH-W4E1 ac unit?
@godelrt
@godelrt 6 жыл бұрын
Awesome video! I have 2 temperature sensors connected to nodemcu running Tasmota. I get the following MQTT output from it : 03:59:42 MQT: tele/TempBasement1/SENSOR = {"Time":"2018-10-31T03:59:42","AM2301-14":{"Temperature":62.4,"Humidity":72.7},"AM2301-15":{"Temperature":65.5,"Humidity":56.1},"TempUnit":"F"} but when I create a sensor in HA to read in value_template: “{{ value.json.AM2301-14.Temperature }}” it doesn’t show up. When I only have 1 sensor connected and MQTT output is {"Time":"2018-10-31T03:59:42","AM2301":{"Temperature":62.4,"Humidity":72.7},"TempUnit":"F"} and I use “{{ value.json.AM2301.Temperature }}” then it does work just as in your tutorial. Any idea what I am doing wrong?
@DrZzs
@DrZzs 6 жыл бұрын
There's something with tasmota that limits how many sensors of certain types can be connected at the same time. I don't remember the details now but, the details are here: github.com/arendst/Sonoff-Tasmota/wiki/Expanding-Sonoffs and here: github.com/arendst/Sonoff-Tasmota/wiki/Sensor-Configuration
@godelrt
@godelrt 6 жыл бұрын
Thanks for the links! I didn’t know it was limited. What’s kinda funny is that Tasmota does output two sensor values on the sensor topic. One is called AM..-12 and the other AM..-14 (seems like the -## is based on the GPIO pin#) but when I use these parameters in HA they don’t get read by HA and my sensors just show blank dash on the dashboard. I figured if I just used the AM..## that the MQTT payload has it would be fine. But when I have one sensor and there is no “-12” or “-14” then it works just like in your tutorial where I just use json.AM2301.Temp... I must be doing something wrong and not reading the MQTT payload correctly or it’s limited to just one sensor output per MQTT message. Thanks again for replying - love your tutorials!
@mattboston74
@mattboston74 6 жыл бұрын
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?
@inchlogic
@inchlogic 6 жыл бұрын
Hey Justin, Love this stuff. Great videos, the right mix of humour and getting it done. Get excited by your PIR project, got it all set-up but struggling to get the D1 to talk to HA. Console is showing the activity but as cmnd/d1miniPIR/power = TOGGLE but subscribing to this in HA is not triggering at all. You also use /POWER2 in the settings, which I don't fully understand as it's showing only power in console on D1 mini. If I set the HA details back to standard MQTT topic of the D1 mini, I can get it turn on the light but it never turns the PIR trigger off. Not sure how I've got this wrong.
@DrZzs
@DrZzs 6 жыл бұрын
Thanks! I'm having a lot of fun making these too! Just wish I had more time to make them faster.... I think I'm following your problem, but maybe not totally. Anyway, the reason mine says "power2" is because I set the PIR as "switch2" You should probably change yours also. In the dropdown menu on the Configure Module page for the GPIO pin, select "10 Switch2" instead of "09 Switch1". I think you might need to change your switchmode too, so instead of "toggle" you get "on" "off". In the Console type "switchmode2 1" enter. See what those changes do for you.
@inchlogic
@inchlogic 6 жыл бұрын
DrZzs alright, so good news, I got it working. Weird news, did all you advised and still wouldn't trigger HA. So set back to Switch 1 and topic to POWER, switchmode1 1 and it works! Just don't understand why switch 2 with topic of POWER2 won't work. So given I'm using a D1 mini and not Sonoff, I assume this is ok to keep as there is no relay on the D1 mini or is there? I've got a spare Sonoff so am going to try and see if I can can get the switch 2 option to work on that just for fun.
@DrZzs
@DrZzs 6 жыл бұрын
Weird, but we'll take it! There is no relay on the D1mini. You can add one if you want to though. But as you have it you can use the PIR for automations in HA just fine. When you use switch2 you also need to set the "switchtopic2 customtopic", in the tasmota console. When you do that the mqtt topic for activating that switch becomes: "cmnd/customtopic/power2" and the topic for the state would be "stat/customtopic/POWER2". Maybe changing the switchtopic is the part you were missing before.
@shaunwhiteley3544
@shaunwhiteley3544 6 жыл бұрын
DrZzs YOU STAR! switchmode2 1 fixed it for me! I have been trying to get this to work all day, just kept replaying your video to see where I had gone wrong, I never twigged on that I was sending a toggle rather than off & on! Cheers
@babyface3105
@babyface3105 6 жыл бұрын
Thanks for this new video. I’ve two questions : - Can I connect 2 temperature sensor (DS18B20) in 2 diffent pin ? - Does it work with magnetic door sensor ? Thanks
@DrZzs
@DrZzs 6 жыл бұрын
Looks like yes, you can use that sensor. From the Tasmota Sensor config page: DS18B20 Temperature - DS18x20 (4) in group 2 Enable option USE_DS18x20 in user_config.h for multiple sensors using OneWire library And a magnetic door sensor would be set up similar to the motion sensor. Just as a "switch" in tasmota, and as a "binary sensor" in Home Assistant. There's probably a "door" device type for the binary sensor too. github.com/arendst/Sonoff-Tasmota/wiki/Sensor-Configuration www.home-assistant.io/components/binary_sensor/
@babyface3105
@babyface3105 6 жыл бұрын
Thank you very much
@babyface3105
@babyface3105 6 жыл бұрын
to using onewire library is this line enoughf ? #include "onewire"
@DrZzs
@DrZzs 6 жыл бұрын
I don't think you have to do that. I think all you have to do is uncomment this line in the user_config.h www.dropbox.com/s/9y3fghz6z6nis9s/Screenshot%202018-04-01%2015.24.59.png?dl=0
@babyface3105
@babyface3105 6 жыл бұрын
Trial report, I did not manage to run two DS18x20 in the same D1 Mini board at the same time, on two different pins. the other sensors DHT11, DHT22 sensors work well, I've tested 3 dht22 on 3 diffents pins DS18x20 only seems to work on D4 nothing in others pins hastebin.com/bukawisime.sq
@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!
@deviantstudio
@deviantstudio 6 жыл бұрын
DrZzs, do you use pull-up resistors when connect sensors to the w1/sonoff/node-mcu?
@DrZzs
@DrZzs 6 жыл бұрын
no. Maybe I should. I believe there are ways to turn on/off pull-ups for different pins in Tasmota. github.com/arendst/Sonoff-Tasmota/issues/3200
@deviantstudio
@deviantstudio 6 жыл бұрын
@@DrZzs i believe you had no problems because you use sensors with additional smd elements on the sensor's board. i have dht22 with no board, just white piece of plastic with 4 legs, so pullup is required in my case
@jcasari1
@jcasari1 6 жыл бұрын
Nice!! This gives me all kind of ideas.... Do have a question: in the video you describe setting switchtopic(x), to address the MQTT topic for the different switches. On the sonoff, it seems there is only one switchtopic that can be set (no matter what number I pass for x, it changes the switchtopic at a global level, thus all the switches call the set topic). Is this different for the D1 Mini? Thanks again for the incredibly helpful videos!
@DrZzs
@DrZzs 6 жыл бұрын
Cool! ya, the potential is great! You should be able to change the switchtopic on the sonoff too. I've know I've changed the "switchtopic2" for the garage door so I'm sure it's possible. hmmm. I'll have to mess with it and see if I can reproduce the problem you're having.
@jcasari1
@jcasari1 6 жыл бұрын
I found an issue on the Tasmota site where arendst confirms there is only one switchtopic, but maybe it has changed since then. It is Issue 541 (not sure links work here, github.com/arendst/Sonoff-Tasmota/issues/541 ). I've not been able to set a switchtopic for one switch different than another so if you have any insight it will help me tremendously!
@DrZzs
@DrZzs 6 жыл бұрын
what version of tasmota are you running? Maybe that's something they've changed since then. I'm using v5.12
@DrZzs
@DrZzs 6 жыл бұрын
Now I’m really curious. I’ve got some relays and some switches. I’m going to do some testing with different switchtopics. I’m confused because I know my Sonoff Sv garage door opener has 2 different topics, one for the relay that triggers the door and another for the reed switch that sends the state of the door.
@jcasari1
@jcasari1 6 жыл бұрын
I was going to test further last night and didn't get a chance... I did see that my version is 5.11 so I started an update - hopefully tonight I'll be able to do more tests.
@naveenmanohar5253
@naveenmanohar5253 6 жыл бұрын
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
@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.
@howiegrapek1488
@howiegrapek1488 4 жыл бұрын
Hey Dr Zzzzz, great video - I'd love you to add another video to your suite.... hassio on main system, and a second raspi with the usb stick. Have the second raspberry not have hassio on it, but raspbian (or other unix), and just the usb stick for something like zigbee and/or z-wave (or both). Then connect it to the main hassio system through mqtt. That is what I want to do, as I have a network connected from my office to main house (separate buildings, same lan) with devices in both. Thoughts? Could you do this?
@DrZzs
@DrZzs 4 жыл бұрын
man, that sounds complicated. Not sure I can say how best to do that.
@jaimenational
@jaimenational 6 жыл бұрын
Hello great video... can’t you just connect the pir sensor to the sonoff gpio?
@DrZzs
@DrZzs 6 жыл бұрын
yes you sure can. I just wanted to see what Tasmota looked like on a D1mini :)
@stickrtrade
@stickrtrade 6 жыл бұрын
Hey Dr. Zzs, In some of your vids I see on your HA screen that you have cameras feeding in to your system. I too use Hassio, Sonoff, & Home Assistant. Will you please tell me which is the best camera system I should install for the money. It's the one thing I haven't set up yet. Thanks man!!
@DrZzs
@DrZzs 6 жыл бұрын
Sure! The images you see are blink cameras. I have a Foscam and an Arlo also but those I haven’t set up fully. I think the foscam should be really good. I can’t get live video with the blinks. Just pictures. I need to find the “best” camera solution and make a video, don’t you think!?!
@stickrtrade
@stickrtrade 6 жыл бұрын
Please do. Everyone that I know that uses this system is always looking for a cheap, easy and effective solution to the camera project.
@DrZzs
@DrZzs 6 жыл бұрын
I’m thinking the best overall solution might be a pi zero w/ pi camera. Are you looking for a battery powered camera?
@stickrtrade
@stickrtrade 6 жыл бұрын
I own 2 RP3s. One running Retro Pi with Kodi, and the other running Hassio. I did consider building a surveillance camera, since i do have a RP cam. But i really want several, so that idea seems excessive. The one my Home assistant system needs.... well, i need. Lol, is a cam that integrates with system and live feeds into it. I own several cams, but cant seem to find a working model. I added a PS2 webcam, using the motion add on. That worked for 2 weeks till the latest update. It wont work anymore and Im not sure how to get it back up. I also have a YI 720P cam, I did the firmware mod in the Docs of HA. That did open up more options, I can now SSH in to it, and I can log into FTP server, but I think the hack has old code and it wont show me the correct image folders. By the way, this little cam is really awesome. It has motion tracking. It tracks my topless wife around. Lol. The app works great. I wish I could make that work, but Im not that great at Linux, which it is running. I don't need a battery powered one. I plan to mount it as a surveillance cam. I don't mind buying another camera if it works with this system. Today, i'm working on the D1Mini and my 37 sensor assortment. You are 100% right! Tasmota is the perfect firmware for the system we own.
@IoIon2010
@IoIon2010 4 жыл бұрын
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?
@dannytech4709
@dannytech4709 6 жыл бұрын
Saludos from Puerto Rico Thanks for your videos ! I have an idea but don’t know who to start . I will like to monitor Varios battery 12vdc (12 of them ) from my solar system with Home Assistant . What you Think?
@DrZzs
@DrZzs 6 жыл бұрын
some inverters have API's that are accessible (so you can get data into HA). What brand inverter do you have?
@Daz159100
@Daz159100 6 жыл бұрын
I have followed a guide and setup a Arduino voltmeter in the past (very simple and only needs 2 resistors per battery) maybe you could do something with a NodeMCU?
@dannytech4709
@dannytech4709 6 жыл бұрын
TheDazman Yes I’m looking for something like that But view with tasmota / homeassistant Thanks like always. Waiting for your holyday led especial !!!!!!
@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
@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
@carltonwbrooks
@carltonwbrooks 6 жыл бұрын
I just built this. Great project. I want to know, if you have a video, or can point me to one based on the following scenario. I want a motion sensor in the small area where my toilet is. (it is a closet , so to speak in my bathroom) I want the sensor to control the light but lets say from 8 pm to 5 am the light will come on at a 20% or so level, the rest of the time at 100%. Just enough to make objects out.
@DrZzs
@DrZzs 6 жыл бұрын
Cool! that's totally possible! The best way would probably be to use NodeRed, because it's better at complex automations. I'm not a NodeRed pro (yet), but I think I can tell you how to do it with Home Assistant. I haven't tested this, and you'd have to use your own entity ID's or MQTT topics, but it would look something like this: automation old: - alias: 'Bathroom Motion dim' trigger: - platform: state entity_id: binary_sensor.d1_pir from: 'off' to: 'on' condition: time after: '22:00:00' before: '06:00:00' action: - service: light.turn_on data: entity_id: light.bathroom brightness_pct: 30 Good luck!
@carltonwbrooks
@carltonwbrooks 6 жыл бұрын
Thank you
@5Type
@5Type 6 жыл бұрын
You rock! I have a dozen network temperature probes installed at the office (Arduino and MiniD1) all configured by hand. You are really making me want to try Tasmota. Quick question, if you ever read this. In tasmota can you create a simple web page reporting the value of a temperature probe. Something like " [21.1] " since i'm using it with PRTG. Thanks a million.
@DrZzs
@DrZzs 6 жыл бұрын
Thanks! I'm loving Tasmota. I know there are other similar projects out there (ESPeasy, ESPurna), but I haven't even discovered everything Tasmota can do yet, and they keep making it better. As for your question. (of course I'm gonna read it!) I'm not familiar with prtg. But tasmota has something called SonWeb, which brings all Tasmotized devices on a network onto one page. I haven't installed it yet myself. It might be what you're looking for. Check it out, and let me know! github.com/arendst/Sonoff-Tasmota/wiki/SonWEB
@5Type
@5Type 6 жыл бұрын
Thank you I will look into it. As for PRTG, it's a monitoring system for network administrator. It has a simple type of sensor that can read a value in en .html page.
@joeknowsavings
@joeknowsavings 5 жыл бұрын
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.
@georgelza
@georgelza 5 жыл бұрын
... Any chance you can do a clip showing how to add a DHT22 and say a BME280 to a Sonoff Basic. (I'm planning one DHT22 on one Basic at one location and another BME280 on a 2nd Basic at the 2nd location, only reason for the BME22 is the pressure sensor, would have been nice if there was a Temp/Hum/Pressuree sensor in the packaging of a DHT22
@DrZzs
@DrZzs 5 жыл бұрын
I can put it on the list. Not sure when I can get to it.
@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!
@iocircuits
@iocircuits 4 жыл бұрын
Great video, thanks a lot
@easwaran83
@easwaran83 6 жыл бұрын
FlashEZ method will work for this?
@bvs191960
@bvs191960 4 жыл бұрын
Thanks DrZzz. I have a "C" wire in my thermostat. Can I still use this thermostat wiring? What do I do with the "C" wire?
@AgentOffice
@AgentOffice 4 жыл бұрын
The C is extra for electronic thermostats, if you don't use it then wrap it up
@reiserx
@reiserx 6 жыл бұрын
After 2 days of errors for undefined resource WPS errors I finally found out you have to run an older board package version. esp8266 version 2.3.0 works but the newest ones caused me about 20 hours of headaches a sore butt and wasted weekend. Also if you want a DHT22 to work for some reason I could only get it working on pin D5 using AM2301 as the sensor type. Even though the sensor is technically a AM2302 it works. I'm a total newbie to all this so maybe that's why it took me so long but I hope this helps the next person. I was using a NodeMCU's if that makes any difference.
@DrZzs
@DrZzs 6 жыл бұрын
I've started only using the sonoff.bin pre-compiled binary file to avoid all the library/board manager issues. I haven't tried putting Tasmota on a D1 mini in a while so I don't know if there are issues with newer .bin versions. I'll be using a couple for the maker faire so I'll try it out and see very soon. Sorry it was such a pain for you.
@reiserx
@reiserx 6 жыл бұрын
While frustrating it feels good when you finally figure something out and make it work. The only issue I have now is it's only outputting in Celsius. I even changed the 0 to a 1 in the user_config.h to change to Fahrenheit. I just convert it in HA by adding * 1.8 + 32 like this: value_template: '{{ value_json.AM2301.Temperature * 1.8 + 32 }} Anyway I've enjoyed your videos a lot and you are very helpful. I feel like a celebrity just answered my question. lol, keep up the great work.
@DrZzs
@DrZzs 6 жыл бұрын
Ha! celebrity? I'm going to tell my wife she has to start treating me like a Star! In the web UI for Tasmota, open the Console, what does it say when you type "setoption8"? if it is 0 or off, then turn it on with "setoption8 1" If that doesn't work let me know and we'll try something else. (I don't really have anything else to try, but I like to offer anyway :)
@reiserx
@reiserx 6 жыл бұрын
I found out that info last night after a lot of searching. You type: cmnd/your_sensor_name/SetOption8 1
@cr8zyeditor
@cr8zyeditor 5 жыл бұрын
@@DrZzs have you tried putting tasmota on any D1 Mini lately? I'm having a hard time finding the right driver that will work with arduino on a mac.
Sonoffs can work with Home Assistant without changing the Firmware!
9:41
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 46 МЛН
Одну кружечку 😂❤️
00:12
Денис Кукояка
Рет қаралды 2,2 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 42 МЛН
#shortsfeed #viralvideo #fullenjoy #dance 🫶🥰❤️💃💃🧿🧿#shorts
0:36
Nitu Ishika Das Official
Рет қаралды 1,5 М.
An LED Sphere YOU Can Build
15:29
DrZzs & GrZzs
Рет қаралды 124 М.
Revealing my NEW Investment!
23:15
Linus Tech Tips
Рет қаралды 1,3 МЛН
ESP8266 und GPIO-Pins in Tasmota - Grundlagen!
15:31
haus:automation
Рет қаралды 139 М.
Beginner's Guide to ESPHome ESP8266, ESP32, Beken Devices and more
33:46
The "Impossible Torpedo" was real
16:33
Steve Mould
Рет қаралды 818 М.
This tiny computer changes EVERYTHING
15:57
Jeff Geerling
Рет қаралды 705 М.
I put this in EVERY room! Smart room detection 😲
5:13
Reed's Smart Home
Рет қаралды 368 М.
Showdown: Lumary vs Permatrack
9:59
DrZzs & GrZzs
Рет қаралды 9 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 46 МЛН