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

  Переглядів 199,811

DrZzs & GrZzs

DrZzs & GrZzs

6 років тому

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

КОМЕНТАРІ: 521
@jcheniart
@jcheniart 6 років тому
This is by far the best home automation youtube channel I have come across. You've helped my home become a lot smarter. Keep up the great work!
@DrZzs
@DrZzs 6 років тому
Wow! Thanks!
@GilMata
@GilMata 5 років тому
You're awesome! Thanks for all the time and effort you've put into making this video.
@manukalias
@manukalias 2 роки тому
3 years later, You are still the Best one for Tasmota 👍👍
@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 UKpostsrs 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.
@williamr288
@williamr288 5 років тому
thanks - had to adjust json in my case to am2302 which it now works like a charm!
@JamieTransNyc
@JamieTransNyc 4 роки тому
OMG soooooo entertaining. No "blah-blah" no wasted time, no "droning" Thank you so much.
@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!!
@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!
@lioman2578
@lioman2578 5 років тому
I did not found nowhere else how to pull temp and humidity separately with this json. 1 day searching. You helped Enormously.
@DrZzs
@DrZzs 5 років тому
Awesome! Glad to help!
@Conservator.
@Conservator. 6 років тому
Very cool that you mentioned Theo Arends. I fully agree that he has done an amazing job. And ty for yet another great video! (Liked & subscribed)
@DrZzs
@DrZzs 6 років тому
Thanks! I hope to meet that guy someday.
@ygreq
@ygreq 4 роки тому
I was searching for an easy solution to connect sensors to Home Assistant. Aaaaand here it is! Thank you so much for this entertaining tutorial. Like always!
@Liam-ir6xm
@Liam-ir6xm 4 роки тому
same here, i had been wondering if i could connect a sht21 to a nodemcu and now it looks like i can
@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.
@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!
@SteveDaviesCPT
@SteveDaviesCPT 5 років тому
In 10 minutes you presented 10 times more information than most 20 minute videos manage to do. Thanks!
@DrZzs
@DrZzs 5 років тому
haha! Good! That's the hope. I've slowed it down a little lately. I had some feedback that I was going too fast. Glad to help!
@SteveDaviesCPT
@SteveDaviesCPT 5 років тому
I’m not complaining - you can always pause, google, review.
@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.
@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
@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!
@PhG1961
@PhG1961 6 років тому
Waw, really good video and well documented. Congratulations !
@DrZzs
@DrZzs 6 років тому
Thanks!
@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!
@timothyanders3742
@timothyanders3742 5 років тому
I have realized from watching your videos if you are going to build an item for a single sensor its cheaper to use a sonoff with a cheap extension cord from the dollar store. Definately going to use a sonoff to turn on my power supply for my led lights and then control them from the sonoff. Great videos. thanks for you help.
@DrZzs
@DrZzs 5 років тому
Awesome! That would be a good use for it. I've been using Tasmota to control RGB LEDs for my Maker Faire display. Works great.
@trayc1501
@trayc1501 5 років тому
love it man, really helped me out tnx!!!!!
@IshmeetSinghahuja
@IshmeetSinghahuja 2 роки тому
It’s funny but I miss such tutorial videos.. Live streams are great but this also had its own charm.
@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
@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!
@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?
@rzinindiana8029
@rzinindiana8029 5 років тому
Excellent... thanks. You put me hours ahead of trying to interpret the application from the WiKi. LZHenry
@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 UKposts 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 UKposts 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 UKposts 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
@brynwilliams9535
@brynwilliams9535 6 років тому
Another great video Justin! keep up the great work buddy
@DrZzs
@DrZzs 6 років тому
Thanks! will do!
@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.
@NextLevelCode
@NextLevelCode 3 роки тому
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 :)
@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.
@MarcinDaraz
@MarcinDaraz 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.
@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!
@mannyrosariofx
@mannyrosariofx 4 роки тому
Fantastic tutorial. Thanks
@JWG2014
@JWG2014 4 роки тому
DrZzs - It would be really cool to see a D1 Mini replace a old security system. Basically how to confiure the D1 to be the 8 zones a old panel would have. Most houses built in the last 20 years have contact sensors on the doors and windows. One D1 could interface them all to smarthings... for about $5.. really cool
@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.
@dashony
@dashony 5 років тому
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!
@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.
@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!
@emirsakic1850
@emirsakic1850 6 років тому
Great video, thanks. Regarding the PIR switch, there is just one thing you forgot to mention, which could have saved me some time debugging: you need to do "SwitchMode2 1" in Tasmota console. Otherwise automation won't work since it sends "TOGGLE" signal by default, instead of "ON/OFF".
@DrZzs
@DrZzs 6 років тому
Oops. Don't know how I missed that. Thanks for bringing it up so others don't get hung up by it.
@nicolasortuzar7457
@nicolasortuzar7457 5 років тому
I lost so much time looking for the answer, thank you!!!
@harleyhall8808
@harleyhall8808 5 років тому
i just tried this and it still toggles the relay hmmmm
@Vendoization
@Vendoization 5 років тому
thank you, it helped
@unami8999
@unami8999 5 років тому
thank you for your info!
@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?
@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
@martijn_1282
@martijn_1282 6 років тому
This is amazing! I have a nodemcu and a LED strip here, but I did not know how to connect them together. Now I know (and I know much more) Great! (And I will leave a message for Theo and buy more parts through your links ofcourse :-))))
@DrZzs
@DrZzs 6 років тому
Awesome! Thanks! Theo's going to get bombarded with Thank You notes today! Love it!
@martijn_1282
@martijn_1282 6 років тому
Funny, Theo appears to live about 15km from here :-) And thank you for all the good things you share with us!
@DrZzs
@DrZzs 6 років тому
Martijn _ Awesome! Go say hi for me!
@grahamphillips3467
@grahamphillips3467 4 роки тому
Thanks again for another educational video, I have succesfully tasmotized my D1 mini but cannot get water sensor to be recognised, have tried numerous module configurations to no avail, any ideas? .
@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!
@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!
@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.
@randomvids2359
@randomvids2359 5 років тому
Would love to see something like this with the SGP30 sensor!
@joeknowsavings
@joeknowsavings 4 роки тому
Great video, it's inspired me to start looking into this new world of automation! Does anybody know if there's a limit on the number of DHT11 sensors that tasmota can handle? I'm trying to get 4 of them running to monitor my Heat Recovery Ventilator temps/hum levels but only 3 of them show up in the web UI and out of MQTT. I've got them hooked up to GPIO's 0, 2, 4 and 5 with my module type as Generic 18.
@jensenjensen824
@jensenjensen824 Рік тому
Hi. Great video. I was wondering if I could use a MMwave sensor indstead of the Pir?
@iocircuits
@iocircuits 4 роки тому
Great video, thanks a lot
@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 :)
@salim.studio
@salim.studio 6 років тому
Excelent bro , keep working.
@DrZzs
@DrZzs 6 років тому
Thanks brother! Always look forward to getting my first comment from you!
@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
@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!!
@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
@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
@nobody-mi1qf
@nobody-mi1qf 3 роки тому
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
@RSAPemi
@RSAPemi 4 роки тому
Hi tasmotizer work perfect too.
@sando9010
@sando9010 5 років тому
Great video, thanks!!
@DrZzs
@DrZzs 5 років тому
oh good! glad it was helpful!
@guilhermelirio
@guilhermelirio 4 роки тому
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 4 роки тому
Yes, I'll do one soon with WLED.
@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 ?
@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!
@inchlogic20
@inchlogic20 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.
@inchlogic20
@inchlogic20 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
@dan1lo360
@dan1lo360 5 років тому
great work and content
@DrZzs
@DrZzs 5 років тому
thanks!
@edrose5045
@edrose5045 5 років тому
Great video. However note that the D1 mini is not "always in programming mode" like you suggested. The USB serial converter has circuitry in it that will reset the chip and pull GPIO0 down just before the program is sent, placing it in programming mode for you.
@DrZzs
@DrZzs 5 років тому
excellent! Thanks for clarifying. I learned something new too!
@OscarPerez-sz8ku
@OscarPerez-sz8ku 4 роки тому
Hi, Perhaps you may be interested in this configuration. When the motion sensor is activated, a rule delays its deactivation during the set time (in my case, 30 seconds) to see it active in HA. The second rule invalidates the publication that turns off the connected led strip. SwitchMode 0 SwitchMode2 1 SwitchTopic2 PIR SwitchTopic 0 Rule1 on switch2#state=1 do backlog publish cmnd/PIR/POWER2 ON; RuleTimer1 30 endon on Rules#Timer=1 do publish cmnd/PIR/POWER2 OFF endon Rule2 on switch2#state=0 do publish stat/proyecto1/POWER "" endon Rule1 1 Rule2 1 ;-) Thanks for your work.
@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,
@luis55g
@luis55g 6 років тому
first of all great video!!! How would i connect a vibration sensor module(sw-420 nc type) to the d1mini? want to be able to put this on washer to let me know when its done,lol.
@DrZzs
@DrZzs 6 років тому
thanks! You're not the only one. I would guess it would work similar to the motion sensor, when there's vibration it is "on" when it stops to goes "off". So you would set it up in Tasmota like a switch. I'll have to check my kit and see if it has one of those.
@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!
@mattboston74
@mattboston74 5 років тому
Do you know if it's possible to use both a reed switch(magnetic door switch) and a PIR sensor on a D1 mini at the same time? What commands would I use?
@alexcharbonneau4355
@alexcharbonneau4355 4 роки тому
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 4 роки тому
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.
@RSAPemi
@RSAPemi 4 роки тому
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.
@xzaz2
@xzaz2 4 роки тому
2:56. You can also power the D1 by the 3.3v Directly.
@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.
@MrArod1207
@MrArod1207 4 роки тому
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 4 роки тому
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. :)
@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.
@jakobmosburger2737
@jakobmosburger2737 6 років тому
Thanks for the great Video. Question: I have also a DHT 11 Sensor on a Sonoff or on a D1 mini. In both application I cannot red the Temperature in nodered. I can see the temperature in Tasmota. Do you have any idea?
@DrZzs
@DrZzs 6 років тому
Jakob Mo I know very little about node red. I just barely installed it myself. Are you using Home Assistant also? Or just Node Red? I’d say check Home Assistant and see if the temp is showing up there. Just to narrow down where the problem might be. I’d start by looking at the way node red handles payloads with multiple values. That’s what got me hung up with Home Assistant. So I can’t say more specifically what might be happening since I don’t know Node Red much at all.
@OscarPerez-sz8ku
@OscarPerez-sz8ku 4 роки тому
Hi, Thank you very much for all the videos. I am learning a lot with them. In the 02:50 minute you say that nodemcu can work with 12v. This is correct? I am using 12v LED strips ( WS2811 ) but I need to lower the voltage to 5v to power the nodemcu controller.
@DrZzs
@DrZzs 4 роки тому
Check your specific NodeMCU board. Some say they accept 12vdc, others say the max is 9v or even 5v.
@OscarPerez-sz8ku
@OscarPerez-sz8ku 4 роки тому
​@@DrZzs My NodeMCU boards are clones. I think if I turn it on with 12v they will burn jejeje I don't see references to 12v in the specifications. Thank you very much.
@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.
@bastiaanvangaalen7568
@bastiaanvangaalen7568 5 років тому
Great video, would you prefer Tasmota or Bruh automation for flashing the esp?
@DrZzs
@DrZzs 5 років тому
For cool LED effects I use Bruh's sketch (with some modifications). For controlling switches or sensors, I prefer Tasmota. I haven't used Ben's multi-sensor sketch, so it may be better for that specific application. I'm just more familiar with Tasmota, so that is my go-to solution.
@DiegoGarcia-vz8rm
@DiegoGarcia-vz8rm 5 років тому
Best of the best
@DrZzs
@DrZzs 5 років тому
ha! thanks!
@naveenmanohar5253
@naveenmanohar5253 5 років тому
Thank you @DrZzs for another wonderful tutorial. On my D1 mini, however, I have two problems. Can you please help me with these? (1) When the motion has ceased, the switch doesn't revert to OFF sometimes. It stays stuck on ON until the motion is triggered again, when it toggles. (2) When restarted, the switch begins with OFF. However, when it first senses motion, it still fires OFF and a few seconds later fires ON.
@nobody-mi1qf
@nobody-mi1qf 3 роки тому
Did find a solution to this? I have the same issue
@JohnWeland
@JohnWeland 6 років тому
Yo! Did you see the Crankshaft (Android Auto) videos as of late? I think a build of that could be used in conjunction with presence detection to make some cool in-car stuff. Also awesome video dude!
@DrZzs
@DrZzs 6 років тому
Thanks man! I didn't know about Crankshaft but I LOVE the idea of doing more IoT stuff in our cars. I'll check it out.
@DrZzs
@DrZzs 6 років тому
Do you have a link to those videos? I just did a quick youtube search and didn't find them. Lots of videos on how to make a Crankshaft though!
@JohnWeland
@JohnWeland 6 років тому
Sure, I didn't want to spam links without your permission. ETA Prime doing an install ukposts.info/have/v-deo/iWmYfKmJa5ygrYE.html This guy doing a full build in his truck. ukposts.info/have/v-deo/iKWck6axhH2VmJc.html ukposts.info/have/v-deo/onaJrKqvpp-Q0Zc.html
@wattage2007
@wattage2007 4 роки тому
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 4 роки тому
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 4 роки тому
@@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!
@tupid84
@tupid84 5 років тому
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...
@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.
@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!
@br0k3nilluzion
@br0k3nilluzion 6 років тому
man.. they need a "Like x 1000" button !! thank you for sharing this video !! flashing Tasmota tonight.
@DrZzs
@DrZzs 6 років тому
hahaha! That's awesome! Glad you liked it! Good Luck tonight!
@pingme67
@pingme67 3 роки тому
Do you have a current version of this?? none of the files names are really the same and I am having a heck of a time getting by the the area from time stamp 1:50 - 2:00 driving me crazy!! seem to be missing a step Thanks
@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.
@3reeman
@3reeman 5 років тому
Great video as usual DrZzs has anyone linked a sonoff basic to a water leak detector off some sort ?, i've looked at various wireless versions using home assistant ( z wave & 433Mhz ) but unfortunatly im getting reliability problems (especially with z wave devices they just seem to work when the feel like it !) Ive got 20+ sonoff's for lights and they have been faultless and 100% reliable...looking to get this reliability into my water leak sensor (for basement)
@DrZzs
@DrZzs 5 років тому
You probably saw the one I used in the last RF Bridge video. That one seemed reliable. But it was 433mhz. If you're looking for something wired there are a couple types of Arduino water sensors. I don't know if there is a wired "leak" detector but I have seen water level and moisture sensors. One of those might work.
@AyroldiNicolo
@AyroldiNicolo 5 років тому
Hi, thank's for your video. I have a question: when I sept in tasmota: Generic module to create node mcu with 4 relays they work according to each other. When I turn on one of them, the other goes off. For example: if I turn on the relay 1 while the number 3 is on, the latter goes out as soon as the relay 1 goes ON. Is there any command to give in the console? Thank you
@DrZzs
@DrZzs 5 років тому
Thanks! It sounds like they are in "interlock" mode. "SetOption14 0" in the console might fix it. Let me know if that doesn't do it.
@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.
@deviantstudio
@deviantstudio 5 років тому
DrZzs, do you use pull-up resistors when connect sensors to the w1/sonoff/node-mcu?
@DrZzs
@DrZzs 5 років тому
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 5 років тому
@@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
@jakobmosburger2737
@jakobmosburger2737 5 років тому
Great Video. Thanks Question: I have two Switches on the Sonoff. For one switch I get the Status of the switch via MQTT but not for the Second switch. Do you also have a solution so I can read two different Switches via MQTT? Thanks Jakob
@DrZzs
@DrZzs 5 років тому
Thanks Go to the Console in Tasmota, then click the second switch. You should see a couple lines pop up on the console. the one that starts with "stat" will be the "topic" for the state of that switch. It will probably be something like: "stat/sonoff/POWER2" Hope that helps
@jakobmosburger2737
@jakobmosburger2737 5 років тому
Thanks, I tried this already and defined a second switch in the Console. If I press the second button I get the same Mqtt Info from the two Button. Any idea?
@crowland3358
@crowland3358 6 років тому
Can these be used to zone area around the home to work with a smart thermostats (nest) and home assistant ? If any one has done this please let me know thank you.
@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
Intro to TASMOTA What is it? How do I? ESP8266?
25:39
digiblur DIY
Переглядів 40 тис.
Sonoff RF Bridge w/ MQTT & Home Assistant
12:32
DrZzs & GrZzs
Переглядів 108 тис.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
Make your own Nest for a LOT less $$
18:09
DrZzs & GrZzs
Переглядів 134 тис.
An LED Sphere YOU Can Build
15:29
DrZzs & GrZzs
Переглядів 83 тис.
Interfacing a bare PIR sensor with Arduino - can it be done?
7:47
Taste The Code
Переглядів 17 тис.
Wemos D1 mini: A first look at this ESP8266 based board.
5:54
educ8s.tv
Переглядів 83 тис.
Дівчата України найкращі
0:10
такое
Переглядів 94 тис.
Cosa Buena #brico #automobile #mecanico #coches #liquimoly
0:13
ModesTito
Переглядів 13 млн
Когда папа - ТРЕНЕР!😃 inst: psawkin
1:00
Petr Savkin
Переглядів 2,6 млн