Better IoT: Sonoff S31 - Smart Plug Home Automation - Replace Firmware w/Tasmota

Поділитися
Вставка

КОМЕНТАРІ • 114

  • @TheMrHotwheels
    @TheMrHotwheels 9 місяців тому

    Wendell I'm a long time fan back from back in the days when you were only known as eyes peeking between some monitors
    you always have exactly the content I'm looking for, for exactly the product(s) I'm looking for
    thanks for all of your contributions over the years

  • @larsla
    @larsla 3 роки тому +2

    I converted all my Tasmotized Sonoff devices to ESPHome about 1.5 years ago and have been very happy with it since. Works very well with HomeAssistant and I can manage them in the exact same way as my DIY ESP devices

    • @rajilsaraswat9763
      @rajilsaraswat9763 3 роки тому +1

      I am using tasmota on all my sonoff devices. Any reason you moved to ESPHome?

  • @Npdias
    @Npdias 3 роки тому +15

    fun to see a Hass.io series starting up

    • @M1America
      @M1America 3 роки тому +3

      Yeah, I liked the home zfs server episode. These self hosting episodes are very empowering.

  • @pappyman179
    @pappyman179 3 роки тому +5

    Look into tasmotizer. It let's you pre-program the wifi connection info during flash time and avoids all the configuring over wifi and then power cycling to finally connect to the wifi you wanted in the first place. It is also much smarter, clearer, and more forgiving of flashing hiccups while it backs-up the current flash program before flashing the new one.

  • @h4X0r99221
    @h4X0r99221 3 роки тому +25

    Amazing content! Love that you guys are so privacy focused.

    • @Level1Techs
      @Level1Techs  3 роки тому +5

      Thank you! ~ Editor Amber

    • @xantochroi
      @xantochroi 3 роки тому +3

      how the fuck was this comment posted 2 weeks ago ?

    • @lukassvardkvist9161
      @lukassvardkvist9161 3 роки тому +6

      @@xantochroi I guess it might have been like a private patreon video then made public or something similar.

    • @deusxyz
      @deusxyz 3 роки тому

      Alternatively, Time Travel

  • @maxhugh3s
    @maxhugh3s 3 роки тому +6

    Thank you. Looking forward to the Home Assistant integration next.

  • @Jacobhopkins117
    @Jacobhopkins117 3 роки тому +15

    "There actually is a way to flash these OTA, but... let's not go there."
    I felt this... oh tuya-convert woes.

    • @dougle03
      @dougle03 3 роки тому

      Easy peasy. Plenty of fast tutorials on YT

    • @NatesRandomVideo
      @NatesRandomVideo 3 роки тому

      The firmware was upgraded to remove the exploit it uses.

    • @patttpatttyoooo
      @patttpatttyoooo 3 роки тому

      Very true. digiblurDIY has lots of videos on tuya-convert.

  • @zushiba
    @zushiba 3 роки тому +5

    I LOVE these hacky videos. Please do much more of these!

  • @WoLpH
    @WoLpH 3 роки тому +2

    The clamps dont fit with all of the Sonoff boards, but there's a nice alternative if you have a 3D printer (or want to go wild with a bit of tape and other stuff). You can buy pre-soldered pogo-pin connectors from AliExpress which make the flashing really easy. Just push it on your board and you're done :)

  • @TeemoTheScout
    @TeemoTheScout 3 роки тому +7

    I was able to flash tasmota on a couple costco smart plugs using OTA Tuya convert. Very simple without having to take the plugs apart.

    • @nikolausluhrs
      @nikolausluhrs 3 роки тому +1

      Some additional details would be great

    • @Catsrules1
      @Catsrules1 3 роки тому

      @@nikolausluhrs they are probably talking about the Feit Electric branded stuff. I bought a bunch from Costco a month or two ago because it was on sale.
      Unfortunately that flashing game is over for the moment. They have changed the controller board to their own design making it incompatible with the current third-party software. :(. The light bulbs might still be flash able but the smart plugs and the smart switchs are not.
      The only way you get get local control is signing up for a Tuya development account and then adding each plug to be a development plug on Tuya's website.
      I think once you have setup you can block internet and everything will function via local control.
      But I wouldn't recommend them if you want to flash them or want local control. :(

    • @streaky81
      @streaky81 3 роки тому

      @@Catsrules1 you just flash tasmota with tuya convert. Totally open source, nobody's site.. It depends what your device is and you should check before buying, but..

  • @voicesarefree
    @voicesarefree 3 роки тому

    Looking forward to more in this series!
    Can echo those positives about the IOTRelay, bought one to auto-shutoff a 3D printer after print completion and had exactly zero issues with it.

  • @mrphyslaw
    @mrphyslaw 3 роки тому +2

    I'm digging the Home Automation videos you've been putting out, and as a Home Assistant user I approve! One of the biggest game changers for me has been using presence detection to kick things off. The app is awesome, and along with BT and wifi it is BULLETPROOF for detecting a users' presence in the home.

  • @kennuimuffins2426
    @kennuimuffins2426 3 роки тому +1

    I would love to see a guide on the best 'off the shelf' IOT stuff. It's a big confusing mess with potential security issues on top to worry about (either in the product or user's setup).

  • @kienanvella
    @kienanvella 3 роки тому +1

    I have a variant of these, a few actually, all running tasmota. I was using one to control power to my workstation (I had an issue for a while where the system would hard lock and require power to be completely removed from the system for a few minutes), and I had what I believe to be an mcu reboot/reset possibly due to a watchdog timeout, which briefly removed power from my workstation.
    Just something to keep in mind depending on what application you're using them for.

  • @duojornalistico
    @duojornalistico 3 роки тому

    I have been loving this better IoT series and I completely agree that the IoT world needs to take a step back and reconsider all the nonsense! Regarding smart outlets, although I love sonoff's price/quality ratio and use their stuff at home, I think a better smart outlet solution is to have something like a Shelly 2.5 inside the outlet, it also measures power and it looks way better

  • @stuarttener6194
    @stuarttener6194 2 роки тому +1

    A very informative video, though I have a few questions for you:
    1) How many watts is your soldering iron?
    2) What gauge wire did you use to solder onto the S31?
    3) What type of solder did you use?
    Thank you in advance for your time and consideration.

  • @cdoublejj
    @cdoublejj 3 роки тому +2

    THIS is why i patreon!!! where did you get those little clips???

  • @Felipe2077tv
    @Felipe2077tv 3 роки тому +1

    This is an amazing series, and I hope you continue doing it! Super interesting!

  • @GregTechGuy
    @GregTechGuy 3 роки тому

    Can't wait to see the next video in this series

  • @bassplaya69er
    @bassplaya69er 3 роки тому

    If you have issues with long term stability of Tasmota, try compiling tasmota light from source, + any of the extra features you need. i have a load of sonoff basics running tasmota and the power supply inside is slightly week and can cause corruption under some scenarios with the full fat tasmota firmware.

  • @gorgonbert
    @gorgonbert 3 роки тому

    Tasmotizer is your friend 👍

  • @gustersongusterson4120
    @gustersongusterson4120 3 роки тому

    Great video! I dunno, maybe the answer is more low voltage DC distribution panels with automation built in that can be used per room/zone for things like lighting, IOT and other devices that don't need 110v AC service in the first place. 24V -48V is pretty easy to work with. It's certainly more efficient, safer and cheaper at scale for the short distances needed in a home. I'd love to see a world where power and data can exist on the same cable where possible, like POE.

  • @hipantcii
    @hipantcii 3 роки тому +1

    Could you please take a look at the Shellies. They seem to be much more DIY friendly without any soldering even with the stock firmware.

  • @TheMave95
    @TheMave95 3 роки тому

    I have a EU plug with two extra USB ports by Gosund that is/was flashable over the air with a Raspberry Pi. Very useful with a 3d printer with OctoPrint on a RPi for thermal runaway detection.

  • @twistidclowns
    @twistidclowns 3 роки тому

    Pretty neat DIY is the only way I would touch iot

  • @nico96gmail
    @nico96gmail 3 роки тому +2

    Sonoff and home assistant are like a gateway drug. Soon you will be building your own boards with esp32 and esphome(it’s way faster than building sketches in arduino)

  • @wediditjoe
    @wediditjoe 3 роки тому +4

    Wendell could you please give us some updates on X370 and Zen 3 custom BIOSes, maybe some more VFIO and Pop Os related stuff. Now that everyone is migrating from Whatsapp to better alternatives, it might be helpful for people to move over to FOSS and look into adopting Linux, that would be awesome from your part

  • @farticus01
    @farticus01 3 роки тому +1

    Wow this is a pretty cool idea

  • @cuteraptor42
    @cuteraptor42 3 роки тому

    Wendell, you should crimp these connectors and assemble them instead of soldering them. You have many cheap chinese kit for sale to do this.
    Then you have no problem with the soldering balls, just try pulling a bit on them to check before use.

  • @steven44799
    @steven44799 3 роки тому +1

    the youtube chanel superhouse tv is good for these open source/repurposed home automation stuff.

  • @Banner1986
    @Banner1986 3 роки тому

    Hey Wendell! Really enjoying this series, and am hoping we can get to that follow-up/part 3 of the Engenius systems?
    With Ubiquiti's recent business decisions, I'd think a lot of us are likely looking at alternatives now more than ever, and finishing up the Engenius series would be hugely helpful - I'm sure you've got a lot going on, and no rush or anything. I'm just running a couple older asus AC routers as APs for now, and will continue on with them until we get the (final?) Engenius ecosystem video.
    As with most technology, if it doesnt get the L1 Tech Prophet Seal of Badassery, I ain't touchin it hehehe

  • @dougle03
    @dougle03 3 роки тому

    What makes the 'smart' home actually smart is not plugs and lights you can control from a phone app, but lights, plugs and just about anything else that is automated. Automation is what makes a smart home 'smart'. - Home assistant is a great central hub to pull lots of different systems together under one hood, but it's still pretty poor on automation. - Wendle, look at doing a series on NodeRed for automation. I've been using it for over a year now and I'm still amazed every day at how flexible it is and no coding is required to get up and running...

  • @Maxjoker98
    @Maxjoker98 3 роки тому

    I'd like to mention that if you don't care about fire risk, the ESP8266/ESP32 based power relay boards can be bought for ~3$ shipped(or ~5$ with a case).

  • @maltoNitho
    @maltoNitho 3 роки тому

    So, much, goodness.

  • @sfasr32t432tfg43etfg
    @sfasr32t432tfg43etfg 3 роки тому

    costco sells 2 packs of a different power plug that is basically thr same as that and works with tasmota and other firmwares, while also being a lot less expensive to buy (at least up here in Canada).

    • @sfasr32t432tfg43etfg
      @sfasr32t432tfg43etfg 3 роки тому

      same for switches fyi. Also, if you want to make a power plug in the wall into this you can use shelly, they have UL certified stuff.

  • @CrazyMineCuber
    @CrazyMineCuber 3 роки тому

    I would also like to recommend the devices from shelly. They have a cloud option but that can be disabled and can instead be controlled via MQTT or CoAP. Most of them also are made with an ESP8266 so they can be reprogrammable as well.

  • @SgtRock4445
    @SgtRock4445 3 роки тому +2

    So what's wrong with just using a smart plug? If all they can do is turn your lights on and off?

    • @csharpcoffee
      @csharpcoffee 3 роки тому +2

      You need to buy into the whole ecosystem if you go that route, which means 2 things: you sacrifice alot of privacy in a full smart home setup if you go the cloud route and you also lose some flexibility, some people love to hack their own system together, it's fun to DIY stuff for alot of people.

    • @stranger7968
      @stranger7968 3 роки тому

      Uh you need a cloud account to even use the app. This is completely ridiculous.

    • @vgamesx1
      @vgamesx1 3 роки тому

      Yeah, ignoring the lax security, by far the biggest issue with ALL (current) internet of tat devices is compatibility with each other, you can't just go out and buy a nest thermostat, a ring doorbell, philips light bulbs and sonoff outlets then expect any of it to work together, aside from one exception which involves setting up IFTTT but not everything supports it or might work finicky and worse yet, they'll force you to download the app and make an account for each and every different device.
      I don't think consumer home automation will ever take off until average joe can go to the store and buy any random smart device and control all of it from a single app like you somewhat can if you're willing to use a smart speaker with IFTTT.

    • @SgtRock4445
      @SgtRock4445 3 роки тому

      @@vgamesx1 weird, I have a google home mini, tada smart thermostats, philips hue and some aliexpress lights and the all work perfectly via Google home.🤷

  • @thomassvedin8701
    @thomassvedin8701 3 роки тому

    You should check out the Shelly devices. Native non cloud options are available from the start with MQTT and COAP.

  • @gloriouspopemantom373
    @gloriouspopemantom373 3 роки тому +2

    Was looking at these on amazon, lots of feedback saying they failed within weeks-months.
    What's your experience?

  • @doxydoxdelamanca9902
    @doxydoxdelamanca9902 3 роки тому

    @9:42 - beer bottle caps from the New Year's Fiesta, when Krista downed a bottle of red?

  • @Phelper99
    @Phelper99 2 роки тому

    If you can get past the barrier to entry, just get a hub that supports Zigbee or Zwave. I flashed all my Teckin plugs to Tasmota OTA, but going forward, I don't do wifi anymore.

  • @MrWazzup987
    @MrWazzup987 3 роки тому

    Flexing with that Lysol

  • @niklasxl
    @niklasxl 3 роки тому +1

    yeah i wouldn't like anything wireless for reliability for 10 years :D i think currently the way to go is the open standards KNX and DALI :D the I2C solution would be interesting if it could be opto coupled or something :D

    • @nico96gmail
      @nico96gmail 3 роки тому

      I hated knx, sorry too expensive for how bad it works.

  • @Halon750
    @Halon750 3 роки тому

    Is there a reason Tasmotizer flasher was not mentioned and or used?

  • @MarcelRobitaille
    @MarcelRobitaille 3 роки тому

    Could you use optical isolators to use i2c but keep things isolated?

  • @beauregardslim1914
    @beauregardslim1914 3 роки тому

    Are these Sonoffs UL or CE (not "China Export") listed? If not, check your policy to be sure that you aren't giving your fire insurance company an excuse to disallow your claim when your house burns down. I had no problem OTA flashing a certified 5 plug power bar from Walmart.

  • @pkt1213
    @pkt1213 3 роки тому

    Unless someone hacks your undercabinet lighting to
    a. know when you are in the room
    b. provide enough light for a shot though the kitchen window

  • @idontwantachannelimjustcom7745
    @idontwantachannelimjustcom7745 3 роки тому

    Can you setup packet monitoring on your network, and setup a rule that if the esp8266 tries to talk to anything that its not supposed to, somehow it switches vlans and you get an alert. This turns it into a honeypot to figure out how the intruder got in, and what they were trying to do.

  • @ColbyPerry
    @ColbyPerry 3 роки тому +1

    I've got two of these flashed to monitor my washer and dryer for power usage and sends a SMS once they stop using power.

  • @Shenepoy
    @Shenepoy 3 роки тому

    I don't understand privacy issue if it's on separate vlan, as well sperate wifi. You are good to go just have hub that is secure.

  • @oalfodr
    @oalfodr 3 роки тому

    I love esp8266. I use one as a remote switch for my storage server. I do not want it on all the time and it does not have something like wake on lan

  • @Jee1978
    @Jee1978 3 роки тому

    Try Tasmotizer instead of esptool. Especially if you have a bunch of controller to flash.

  • @leerupert1240
    @leerupert1240 2 роки тому

    Where can you get those clamps

  • @dunastrig1889
    @dunastrig1889 3 роки тому

    Woot!

  • @LucasHartmann
    @LucasHartmann 3 роки тому

    PC817 is a crazy cheap optocoupler. You can expose isolated TX and RX as an old-school MIDI current loop.

  • @linuxdragon57
    @linuxdragon57 3 роки тому

    I like the Arduino/Raspberry Pi plug better. Also I noticed someone else flashed Tasmota to a different IoT device without having to take it apart. Maybe there are more out there that are supported by tasmota.

  • @b2bb
    @b2bb 3 роки тому

  • @x_maut_x
    @x_maut_x 3 роки тому

    have guys tried a jetson nx for home automation and security with linux for camera analytics

    • @mrphyslaw
      @mrphyslaw 3 роки тому

      Home Assistant has an add on called frigate. I run it on a NUC with a Google coral, and it’s awesome for object detection/recognition. If you’re interested in that sort of stuff you should take a look at it.

  • @mattmccormick7022
    @mattmccormick7022 3 роки тому

    What are you doing that would cause 120v to go down a mcu i/o bus!?

  • @SovaKlr
    @SovaKlr 3 роки тому +1

    optocoupler FTW

  • @3vil8unny
    @3vil8unny 3 роки тому

    Which soldering iron is that Wendell? Loving this series once it's done I'll start planning my system

    • @Level1Techs
      @Level1Techs  3 роки тому

      It is the PINCEL. Video coming soon :)
      pine64.com/product/pinecil-smart-mini-portable-soldering-iron/?v=0446c16e2e66
      ~ Editor Amber

  • @glorence330
    @glorence330 3 роки тому +1

    Wendell, are you familiar with Candle? "the privacy friendly smart home"

  • @MrPmjg
    @MrPmjg 3 роки тому

    I guess instead of using the ftdi USB to serial converter, I could just use the tx/rx pins from a raspberry pi to flash the firmware

  • @bret44
    @bret44 3 роки тому

    I just got one of those myself and flashed tasmota. love it. I don’t understand your security concerns, if it’s flashed with open source software, what is the issue?

    • @stranger7968
      @stranger7968 3 роки тому

      I think his main concern is that it is wireless and therefore can be exploited somehow.

    • @bassplaya69er
      @bassplaya69er 3 роки тому +1

      Just because it its open source doesn't automatically mean it is secure - people make mistakes. I am not sure if the ESP core is open source, that is where the past vulnerabilities have been i think, rather than the tasmota, node mcu or whatever firmware you run.

    • @bret44
      @bret44 3 роки тому

      @@bassplaya69er Are you saying that there remains some firmware on the device after flashing that can contain a vulnerability? Or are you saying tasmota is built on base firmware called esp core that may contain some vulnerability? okay then, I just think that if it is open source then there is nothing hiding in there that phones home or does anything I wouldn't expect. I typically block IoT devices from accessing the internet anyway and just access them through vpn.
      Concerning the vulnerability, it seems kind of crazy. Am I really worried about someone in a van outside my house looking for IoT devices that could be vulnerable? That sounds like some NSA shit to me, not really worried about that. I mean they could probably just get in a million other ways if they are government. Also, what if the ssid is not broadcast.

  • @allenmetcalf1624
    @allenmetcalf1624 3 роки тому

    Forget the L1 KVM you need to come out with own smart plugs!

  • @MegaAshabasha
    @MegaAshabasha 3 роки тому

    After he took the plug apart, I imagined what would happen if you took that back 100 years, or showed it to Tesla and Edison. And what do you mean "you discovered it wasn't actually safe"? ;)

  • @ronm6585
    @ronm6585 3 роки тому

    👍

  • @Piconoid
    @Piconoid 3 роки тому

    Such a shame TuyaConvert doesn't work anymore. With most of the smart bulbs you can't get to the ESP8266 non destructively so you're stuck with the stock firmware.

  • @4rc-f145h
    @4rc-f145h 3 роки тому +1

    (EDIT) ESP32 is used in several commercial and industrial devices. Espressif will be supporting it for a long time.

    • @stranger7968
      @stranger7968 3 роки тому

      Is it ? Pretty sure they use their own chips inside.

    • @bassplaya69er
      @bassplaya69er 3 роки тому

      don't think this is correct.

  • @stranger7968
    @stranger7968 3 роки тому

    OTA method doesn't work on the newer versions because they patched the exploit.

    • @streaky81
      @streaky81 3 роки тому

      A lot of hardware changed the IoT chips they use - this was an error, but there's still plenty around that do still work.. I'm sure projects will be adding support before long anyway even for the other HW. Pays to check before buying.

  • @hansh2463
    @hansh2463 3 роки тому

    Why buy a sonoff if you can also get an shelly cloud, you don't have to flash it, they have an open api and mqtt support as standard

  • @pyroromancer
    @pyroromancer 3 роки тому +1

    **penguin noises**

  • @AnotherEpicName
    @AnotherEpicName 3 роки тому

    tech tip: athom.tech sells preflashed wifi smartplugs with tasmota

  • @stufq
    @stufq 3 роки тому

    Of you using it just to control led strip / dc led driver SONOFF SV would be better as you power it directly from dc power supply. Or why not use sonnof basic much cheaper easier to hack

  • @newsogn5148
    @newsogn5148 5 місяців тому

    What keeps me up at night is if the thing is going to go up in flames next to my child’s bed….also i2c is only good for what a meter or something that’s not very useful here….

  • @TheWebstaff
    @TheWebstaff 3 роки тому

    As a brit.
    American plugs look so weird..

  • @oraora8214
    @oraora8214 3 роки тому

    The only useful IOT device that I actually want connected to the internet is my security camera, so that I can watch my home even when I am not at home. Other than that IOT seems like a pretty useless concept, because for what little it solves it creates major privacy&security vulnerabilities.

  • @marcusone1
    @marcusone1 3 роки тому

    for everything Tasmota, people should check out digiblurDIY channel!

  • @chrisw1462
    @chrisw1462 3 роки тому

    What the ... ??? Title says Better IoT: Sonoff S31, but you spend a lot of time on the Adafruit Relay, complaining about the security of a wireless device, taking the Sonoff S31 apart, complaining that the 8266 is too powerful for this use, complaining that it's designed to be isolated (uh, yeah, of course it is! ...you do know Sonoff _makes modules designed for separate wiring,_ right?)... No details about the FTDI board, no details about the Tasmota setup, and then a summary of what you want to do for the next video. Which, as far as I can tell, you never actually do (next Better IoT focuses on an alarm system).

  • @slipknottin
    @slipknottin 3 роки тому

    Still strange to me that you are taking security this seriously, but your network is all cloud managed.

    • @bassplaya69er
      @bassplaya69er 3 роки тому +1

      i am guessing he is using ubiquity ? does not have to be cloud managed, a local rpi / VM / docker / Cloud Key can run the ubiquity software and doesn't require cloud / internet access

    • @slipknottin
      @slipknottin 3 роки тому

      bassplaya69er he isn’t using unifi. He’s using engenius. Which is cloud managed.

  • @chocolatebrisket3772
    @chocolatebrisket3772 3 роки тому

    IoENGAGEMENT

  • @clearfact2588
    @clearfact2588 3 роки тому

    First

  • @xantochroi
    @xantochroi 3 роки тому

    like anyone would like ever like buy like iot like devices like ever like again like lol

  • @rowanmorgan2882
    @rowanmorgan2882 3 роки тому

    “Minecraft" "ASMR" "pewdiepie" "music" "Fortnite" "markiplier" “UA-cam is a perfectly balanced game with no exploits.” "Runescape" "World of Warcraft" "Shadowlands" "Dream" "MrBeast" "Warzone" "FaZe Clan" "100 Thieves" "Call of Duty" "Pokemon" "Pokemon cards" "card unboxing" "Charizard" "they don't want you to know" "Flat earth" "round earth" "triangle earth" "the earth is not earth" "what even is earth if not earth omg government is lying to you" "Minecraft" "ASMR" "pewdiepie" "music" "Fortnite" "markiplier" “UA-cam is a perfectly balanced game with no exploits.” "Runescape" "World of Warcraft" "Shadowlands" "COCK PENIS" "MrBeast" "Warzone" "FaZe Clan" "100 Thieves" "Call of Duty" "Pokemon" "Halo" "Devil may cry" “UA-cam is a perfectly balanced game with no exploits.” “Cocomelon” “t series” “Minecraft" "ASMR" "pewdiepie" "music" "Fortnite" "markiplier" “UA-cam is a perfectly balanced game with no exploits.” "Runescape" "World of Warcraft" "Shadowlands" "Dream" "MrBeast" "Warzone" "FaZe Clan" "100 Thieves" "Call of Duty" "Pokemon" "Pokemon cards" "card unboxing" "Charizard" "they don't want you to know" "Flat earth" "round earth" "triangle earth" "the earth is not earth" "what even is earth if not earth omg government is lying to you" "Minecraft" "ASMR" "pewdiepie" "music" "Fortnite" "markiplier" “UA-cam is a perfectly balanced game with no exploits.” "Runescape" "World of Warcraft" "Shadowlands" "Dream" "MrBeast" "Warzone" "FaZe Clan" "100 Thieves" "Call of Duty" "Pokemon" "Halo" "Devil may cry" “UA-cam is a perfectly balanced game with no exploits.” “Cocomelon” “t series” "Level1Techs"