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

Sdílet
Vložit
  • čas přidán 18. 03. 2018
  • 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
  • Jak na to + styl

Komentáře • 521

  • @pangit9999
    @pangit9999 Před 6 lety +32

    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 CZcamsrs who ramble on for ages and all you want is one piece of information buried in the waffle somewhere!

    • @DrZzs
      @DrZzs  Před 6 lety +7

      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 Před 3 lety

      Good point, I agree. I also like how all the needed links are labeled and posted in the video description.

  • @jcheniart
    @jcheniart Před 6 lety +2

    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  Před 6 lety +1

      Wow!
      Thanks!

  • @DrZzs
    @DrZzs  Před 6 lety +38

    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 CZcams 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 CZcams time-out.
    Thanks for your support!

    • @cysix4939
      @cysix4939 Před 6 lety

      Probably some sort of misguided spam filter as you surmised.

    • @DrZzs
      @DrZzs  Před 6 lety +2

      Just glad it's finally fixed.
      I wasn't getting notice of new comments during that time either. I was really in CZcams jail for a day.

    • @DrZzs
      @DrZzs  Před 6 lety +1

      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 Před 6 lety

      Is that because you are some sort of robot? dun dun dun truth comes out!!

    • @DrZzs
      @DrZzs  Před 6 lety +1

      they're finally on to me! I'll have to change my profile pic:
      www.dropbox.com/s/9u7i6frgu909zay/picardborg.jpg?dl=0

  • @manukalias
    @manukalias Před 3 lety

    3 years later,
    You are still the Best one for Tasmota 👍👍

  • @lioman2578
    @lioman2578 Před 5 lety

    I did not found nowhere else how to pull temp and humidity separately with this json. 1 day searching. You helped Enormously.

    • @DrZzs
      @DrZzs  Před 5 lety

      Awesome! Glad to help!

  • @JamieTransNyc
    @JamieTransNyc Před 4 lety

    OMG soooooo entertaining. No "blah-blah" no wasted time, no "droning" Thank you so much.

  • @e1w00db1ue5
    @e1w00db1ue5 Před 3 lety +1

    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 Před 3 lety +1

      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!!

  • @ygreq
    @ygreq Před 4 lety +1

    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 Před 4 lety

      same here, i had been wondering if i could connect a sht21 to a nodemcu and now it looks like i can

  • @JimmieMcCullough
    @JimmieMcCullough Před 6 lety

    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  Před 6 lety +1

      Oh man. Totally jealous. At least we're having a nice early spring here in UT.
      Let me know how it goes!

  • @Conservator.
    @Conservator. Před 6 lety +3

    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  Před 6 lety

      Thanks!
      I hope to meet that guy someday.

  • @dalescott9330
    @dalescott9330 Před 6 lety

    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!

  • @GilMata
    @GilMata Před 6 lety +1

    You're awesome!
    Thanks for all the time and effort you've put into making this video.

  • @SteveDaviesCPT
    @SteveDaviesCPT Před 5 lety

    In 10 minutes you presented 10 times more information than most 20 minute videos manage to do. Thanks!

    • @DrZzs
      @DrZzs  Před 5 lety

      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 Před 5 lety

      I’m not complaining - you can always pause, google, review.

  • @timothyanders3742
    @timothyanders3742 Před 5 lety +1

    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  Před 5 lety

      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.

  • @williamr288
    @williamr288 Před 5 lety

    thanks - had to adjust json in my case to am2302 which it now works like a charm!

  • @dc4136
    @dc4136 Před 5 lety

    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  Před 5 lety

      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

  • @webflue
    @webflue Před 6 lety +1

    Great video! Just been doing this myself and you have just resolved/answered questions I had. Thanks from me in the UK

    • @DrZzs
      @DrZzs  Před 6 lety

      Awesome!
      Someday I'll visit the Mother Land!

    • @webflue
      @webflue Před 6 lety

      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  Před 6 lety

      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.

  • @TobyKnowles
    @TobyKnowles Před 6 lety

    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  Před 6 lety

      Thanks! I try to be accurate and concise. More to come!

  • @alcidesmarcano
    @alcidesmarcano Před 6 lety

    Thank you for another deluxe class!!! Keep doing videos like this...

    • @DrZzs
      @DrZzs  Před 6 lety +1

      Thanks!
      With great feedback like this, I sure will keep doing them!

  • @fibranijevidra
    @fibranijevidra Před 4 lety +1

    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.

  • @kondralev
    @kondralev Před 5 lety

    Thank you very much! You help me to solve the problem with constantly on/off/on/off/on/off ))) You are the best!

  • @kingearwig
    @kingearwig Před 6 lety +7

    the affiliate links are cool and all but you need a patreon. You are worth it.

    • @DrZzs
      @DrZzs  Před 6 lety +1

      Bill Mears Thanks man. I’ll get working on that. I appreciate the feedback. Makes me feel good.

  • @federicoromero3946
    @federicoromero3946 Před 6 lety +2

    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  Před 6 lety

      Uruguay Cool!
      Another pin in my map!

    • @MrJozza65
      @MrJozza65 Před 6 lety

      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  Před 6 lety +1

      you're welcome!
      So true! Tasmota is amazingly capable. I'm still finding new things it can do. Theo is a First Class Genius!

  • @cysix4939
    @cysix4939 Před 6 lety +1

    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  Před 6 lety

      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?

  • @PhG1961
    @PhG1961 Před 6 lety +1

    Waw, really good video and well documented. Congratulations !

  • @IshmeetSinghahuja
    @IshmeetSinghahuja Před 3 lety

    It’s funny but I miss such tutorial videos.. Live streams are great but this also had its own charm.

  • @ameggs
    @ameggs Před 6 lety

    Another good video Justin! Now lets put all of this together and make a sensor node on the cheap.

    • @DrZzs
      @DrZzs  Před 6 lety +2

      Thanks Andy!
      I want to fill all 11 of those D1 GPIO pins. Make a real Frankensensor!

  • @SiwyMisio
    @SiwyMisio Před 6 lety

    Awesome video and thanks for sharing, greetings from Hel, Poland :)

    • @DrZzs
      @DrZzs  Před 6 lety +1

      Thanks!
      Cool!
      I need a map to mark all the places people watch from. That'd be cool.

  • @FrancisRoy
    @FrancisRoy Před 5 lety

    Awesome work! Thank you DrZzs

    • @DrZzs
      @DrZzs  Před 5 lety

      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

  • @kierancampion2928
    @kierancampion2928 Před 6 lety

    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  Před 6 lety

      sweet!
      welcome to Home Assistant!

  • @willross6468
    @willross6468 Před 6 lety +1

    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  Před 6 lety

      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 Před 6 lety

      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 Před 5 lety

      @Joe Blow That's what I had to do too. Just crazy to me, but it works!

  • @brynwilliams9535
    @brynwilliams9535 Před 6 lety

    Another great video Justin! keep up the great work buddy

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      will do!

  • @rzinindiana8029
    @rzinindiana8029 Před 5 lety

    Excellent... thanks. You put me hours ahead of trying to interpret the application from the WiKi. LZHenry

  • @joaoverissimo1440
    @joaoverissimo1440 Před 6 lety

    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  Před 6 lety

      Great!
      Let me know how it goes!

  • @maxzet368
    @maxzet368 Před 5 lety

    that´s a really good explained tutorial!

    • @DrZzs
      @DrZzs  Před 5 lety

      Thanks!
      It's a bit dated now. Things have changed a lot and are actually easier and more capable now.

  • @robertellis6989
    @robertellis6989 Před 6 lety

    DUDE I LOVE YOU :-) You have answered my issues. OMG WOW :-)

    • @DrZzs
      @DrZzs  Před 6 lety

      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

  • @Athens428
    @Athens428 Před 6 lety

    I never knew you could do that!

    • @DrZzs
      @DrZzs  Před 6 lety

      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!

  • @martijn_1282
    @martijn_1282 Před 6 lety

    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  Před 6 lety

      Awesome!
      Thanks!
      Theo's going to get bombarded with Thank You notes today! Love it!

    • @martijn_1282
      @martijn_1282 Před 6 lety +1

      Funny, Theo appears to live about 15km from here :-) And thank you for all the good things you share with us!

    • @DrZzs
      @DrZzs  Před 6 lety

      Martijn _ Awesome! Go say hi for me!

  • @ayeapprove
    @ayeapprove Před 5 lety

    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?

  • @JWG2014
    @JWG2014 Před 4 lety

    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

  • @mannyrosariofx
    @mannyrosariofx Před 4 lety

    Fantastic tutorial. Thanks

  • @trayc1501
    @trayc1501 Před 5 lety

    love it man, really helped me out tnx!!!!!

  • @macbrewer6899
    @macbrewer6899 Před 6 lety +3

    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  Před 6 lety

      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.

  • @emirsakic1850
    @emirsakic1850 Před 6 lety +17

    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  Před 6 lety +2

      Oops. Don't know how I missed that. Thanks for bringing it up so others don't get hung up by it.

    • @nicolasortuzar7457
      @nicolasortuzar7457 Před 6 lety +1

      I lost so much time looking for the answer, thank you!!!

    • @harleyhall8808
      @harleyhall8808 Před 5 lety

      i just tried this and it still toggles the relay hmmmm

    • @Vendoization
      @Vendoization Před 5 lety

      thank you, it helped

    • @unami8999
      @unami8999 Před 5 lety

      thank you for your info!

  • @crowland3358
    @crowland3358 Před 6 lety

    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.

  • @brucerawiri7170
    @brucerawiri7170 Před 5 lety

    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  Před 5 lety

      what do you have in your configuration.yaml? My guess is the topic for yours is different from my example.

    • @brucerawiri7170
      @brucerawiri7170 Před 5 lety

      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 :)

  • @grahamphillips3467
    @grahamphillips3467 Před 4 lety

    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? .

  • @joeknowsavings
    @joeknowsavings Před 4 lety

    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.

  • @mattboston74
    @mattboston74 Před 5 lety

    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?

  • @NextLevelCode
    @NextLevelCode Před 4 lety +5

    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 :)

  • @BaconRanch
    @BaconRanch Před 5 lety

    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.

  • @iocircuits
    @iocircuits Před 4 lety

    Great video, thanks a lot

  • @salim.studio
    @salim.studio Před 6 lety

    Excelent bro , keep working.

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks brother!
      Always look forward to getting my first comment from you!

  • @wagnerforte8455
    @wagnerforte8455 Před 3 lety

    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.

  • @jamescullins2709
    @jamescullins2709 Před 4 lety

    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.

  • @SathishReddysK
    @SathishReddysK Před 5 lety

    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.

  • @sando9010
    @sando9010 Před 5 lety

    Great video, thanks!!

    • @DrZzs
      @DrZzs  Před 5 lety

      oh good! glad it was helpful!

  • @jensenjensen824
    @jensenjensen824 Před rokem

    Hi. Great video. I was wondering if I could use a MMwave sensor indstead of the Pir?

  • @danielmpr
    @danielmpr Před 5 lety

    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!!!

  • @anthonycalia1317
    @anthonycalia1317 Před 6 lety

    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  Před 6 lety

      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 Před 6 lety

      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  Před 6 lety

      hahaha!

  • @mandeepmails
    @mandeepmails Před 3 lety

    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 ?

  • @randomvids2359
    @randomvids2359 Před 5 lety

    Would love to see something like this with the SGP30 sensor!

  • @koenzele9579
    @koenzele9579 Před 5 lety

    is it possible to add a light sensor to Tasmota?

  • @dan1lo360
    @dan1lo360 Před 5 lety

    great work and content

  • @OscarPerez-sz8ku
    @OscarPerez-sz8ku Před 4 lety

    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.

  • @jonwhite9145
    @jonwhite9145 Před 3 lety

    When I copy and paste the code for the d11 into my yawl file it gives an error for the code.

  • @jakobmosburger2737
    @jakobmosburger2737 Před 6 lety

    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  Před 6 lety +1

      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.

  • @chrisrosenkreuz23
    @chrisrosenkreuz23 Před 2 lety

    is there any way of getting a custom firmware onto a Hisense AEH-W4E1 ac unit?

  • @aussiegeekrider
    @aussiegeekrider Před 6 lety

    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!

  • @easwaran83
    @easwaran83 Před 6 lety

    FlashEZ method will work for this?

  • @jamescullins2709
    @jamescullins2709 Před 4 lety

    Do you have a Raspberry Pi for the MQTT part?

  • @CreativeDesk
    @CreativeDesk Před 5 lety

    I want to install tasmota on esp32 if possible plz help

  • @AyroldiNicolo
    @AyroldiNicolo Před 5 lety

    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  Před 5 lety

      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.

  • @kitecattestecke2303
    @kitecattestecke2303 Před 3 lety

    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

  • @FabrizioAscari
    @FabrizioAscari Před 6 lety

    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

  • @luis55g
    @luis55g Před 6 lety

    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  Před 6 lety

      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.

  • @charlesarnold4963
    @charlesarnold4963 Před 4 lety

    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.

  • @IoIon2010
    @IoIon2010 Před 3 lety

    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?

  • @naveenmanohar5253
    @naveenmanohar5253 Před 5 lety

    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 Před 4 lety

      Did find a solution to this? I have the same issue

  • @br0k3nilluzion
    @br0k3nilluzion Před 6 lety

    man.. they need a "Like x 1000" button !!
    thank you for sharing this video !!
    flashing Tasmota tonight.

    • @DrZzs
      @DrZzs  Před 6 lety +1

      hahaha!
      That's awesome!
      Glad you liked it! Good Luck tonight!

  • @jimmycrankerson1797
    @jimmycrankerson1797 Před 3 lety

    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

  • @ashishcchauhan
    @ashishcchauhan Před 6 lety

    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,

  • @DiegoGarcia-vz8rm
    @DiegoGarcia-vz8rm Před 6 lety +1

    Best of the best

  • @RSAPemi
    @RSAPemi Před 4 lety

    Hi tasmotizer work perfect too.

  • @glynndrago
    @glynndrago Před 6 lety

    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  Před 6 lety

      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!

  • @NA12495
    @NA12495 Před 4 lety

    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 Před 4 lety

      NM....used NodeMCU PyFlasher...so easy

  • @bentjacobsen7686
    @bentjacobsen7686 Před 6 lety +1

    In light entry you have: "cmnd/D1mini01/power2" . I deletet "2" to get work.
    I love your videos. Greetings from Denmark

    • @DrZzs
      @DrZzs  Před 6 lety

      Thanks!
      Glad you got it working!
      Awesome Denmark!

    • @krullie111
      @krullie111 Před 5 lety

      Thnx! that fixed it for me

  • @pingme67
    @pingme67 Před 3 lety +2

    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

  • @raulshum8755
    @raulshum8755 Před 5 lety

    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  Před 5 lety

      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.

  • @stupossibleify
    @stupossibleify Před 3 lety

    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

  • @xzaz2
    @xzaz2 Před 4 lety

    2:56. You can also power the D1 by the 3.3v Directly.

  • @kingearwig
    @kingearwig Před 6 lety

    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  Před 6 lety

      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...

  • @rklauco
    @rklauco Před 3 lety

    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.

  • @-______-______-
    @-______-______- Před rokem

    Is this still necessary for the Arduino part in 2022?

  • @brentd2072
    @brentd2072 Před 5 lety

    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  Před 5 lety

      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!

  • @guilhermelirio
    @guilhermelirio Před 4 lety

    First, thank you very much for the video! Very good!!
    Second: could you make the detailed wiring of the Mini 1 with the Led strip?

    • @DrZzs
      @DrZzs  Před 4 lety

      Yes, I'll do one soon with WLED.

  • @tripore
    @tripore Před 5 lety

    Thanks. Is there a way to set the number of lights on my LED Strip ? Because only 40 or so are lit.

    • @krullie111
      @krullie111 Před 5 lety

      write this in the console (of the tasmota)
      Pixels 1..512 = set amount of pixels in strip or ring and reset Rotation(applies only to addressable LEDs)

  • @badandyg
    @badandyg Před 6 lety

    Not sure if anyone know how but Ill give it a shot. My DHT11 needs to be changed because the temperature is 3 degrees off. I looked in home assistant and saw that we can add an offset. but it doesn't work. Is it because its in JSON format? How do we do this?
    community.home-assistant.io/t/wrong-temperature-value-on-multisensor/32330/7

    • @DrZzs
      @DrZzs  Před 5 lety

      I haven't done it, but what happens if you format the value_template like this guy did:
      community.home-assistant.io/t/wrong-temperature-value-on-multisensor/32330/9
      value_template: '{{ (float(states.sensor.tmp_living.state) - 1.4 ) }}'
      Also, the DHT11's aren't super accurate. That may be why the correction of the temp still doesn't give you an accurate temp. You may be better off with a DHT22 (AM2302).

  • @nobody-mi1qf
    @nobody-mi1qf Před 4 lety

    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

  • @edrose5045
    @edrose5045 Před 5 lety

    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  Před 5 lety

      excellent! Thanks for clarifying.
      I learned something new too!