Sonoff S31 Tasmota Flashing (Home Assistant and Octoprint)

Sdílet
Vložit
  • čas přidán 4. 07. 2024
  • In this video I show how you can install Tasmota firmware on an inexpensive Sonoff S31 smart outlet. The process allows you to integrate the outlet with Home Assistant or Octoprint and doesn't rely on cloud services to function.
    Sonoff S31 (single) - amzn.to/3u2SJ7w
    Sonoff S31 (2-pack) - amzn.to/3Og6urv
    USB to Serial Adapter - amzn.to/3yij97E
    Flux Pen and Solder Wick - amzn.to/3NjWGLW
    Tasmota Main Site - tasmota.github.io/docs/
    Tasmota Web Installer - tasmota.github.io/install/
    My Favorite Tools - www.amazon.com/hz/wishlist/ls...
    00:00 Intro
    01:06 Necessary Components
    01:43 Disassembly
    02:14 Programming Header
    03:02 Soldering Programming Wires
    03:53 Double-Check Connections!
    04:10 Install Tasmota Firmware
    05:23 Connect to WiFi Network
    06:22 Configure Tasmota (optional)
    07:39 Octoprint Configuration
    09:59 Octoprint/Octodash Demonstration
  • Jak na to + styl

Komentáře • 36

  • @MotoRideswJohn
    @MotoRideswJohn Před 2 lety +2

    I really miss your product announcements from Sparkfun, Robert. This video brought back some fond memories. Thank you!

  • @calculon000
    @calculon000 Před 11 měsíci +1

    Thanks for this video! I'm about to purchase 5 of these things to use with my first home assistant setup and it's really nice to know how straightforward they are to flash with Tasmota.

  • @andymok7945
    @andymok7945 Před rokem +1

    Nice video. I did this last year and is working out great. Next I want to have an alert when the UPS is going to shutoff because the battery is running out.

  • @CapnBry
    @CapnBry Před měsícem

    Thanks for the video on how to get these things apart. If anyone's FTDI doesn't have 3.3V output, 5V can be soldered to the bottom right leg of the voltage regulator (SOT-223 component under the GND pad)

  • @Ender_Wiggin
    @Ender_Wiggin Před 2 lety +1

    oh hell ya. I am glad you are showing this kind of stuff off! I am hoping that egauge gets native home assistant support!

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety

      I'm slowly dipping my toe into home automation. I'm not sure if eGauge will get support, we're more focused on the new API, since our target audience is more commercial.

  • @JBothell_KF0IVQ
    @JBothell_KF0IVQ Před 2 měsíci

    nice walkthrough. good info. thanks for putting this up. i went for esp home

  • @kylewarren69
    @kylewarren69 Před 2 lety +1

    I should get that for my printer, looking forward to a video about that enclosure too.

  • @JonathanRansom
    @JonathanRansom Před 2 lety

    I'm going to have to pick some of these up!

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety +1

      I really like them, I switched out my hard-wired relay board for one of these on my other printer too. They're very responsive.

    • @JonathanRansom
      @JonathanRansom Před 2 lety

      Yeah, I just leave all my printers on 24x7. Probably not the best way to do it. This will help me fix that!

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety +1

      @@JonathanRansom oh, HA! I'm reviewing an Ender-3 S1 Plus and it's actually quite loud just sitting there idle. Having the option to control power remotely is really nice.

    • @JonathanRansom
      @JonathanRansom Před 2 lety +1

      I just have two Prusa i3 s and two mini+'s. I can't really tell they are on when idle. They are pretty quiet. But still the displays are psu's are getting used up for no reason. But it is convenient to just be able to start a print remotely without having to turn on the printer.

  • @YevgeniyBolembakh
    @YevgeniyBolembakh Před rokem +1

    Hi, Robert. Thank you for this video, it's really helpful.I have one question: Flash 2 S31 plugs with Tasmota. One few month ago and the other one today. One which I flashed earlier shows control(on/Off button in Home assistant but other one , which I flashed today, NO. Do you have any idea why? Thank you

  • @gregeezy
    @gregeezy Před 2 měsíci

    Thanks for the video. Just picked up 4 of these switches and I need to get them off that stupid cloud software asap.

  • @angelxmod3
    @angelxmod3 Před měsícem

    Does Tasmota support reading the voltage and power consumption. You showed just switching it on and off. What does the interface for getting power work? Can you use HTTP API Requests?

  • @YevgeniyBolembakh
    @YevgeniyBolembakh Před rokem +1

    Fixed. When devices is added to Tasmota and Sonoff integration , it's not shows CONTROL. So I remove devices from Sonoff and refresh Tasmota . Control of the devices appear on the top of the page. Thank you again for your tutorial.

  • @frogmen5304
    @frogmen5304 Před 5 měsíci

    Not clear, should I flash every subdevices (eg. sensors etc.) if I want to use them with a Sonoff bridre pro? (which is flashed)

  • @emmashepard2070
    @emmashepard2070 Před 8 měsíci +1

    Heyy, thanks for guide. I did have problems I thought I'd share. I personally couldn't get it to Connect / Read. For me. **I had to hold the power button. While I'm plugging in the USB flasher to my computer**
    .. I kept getting either Sync failures/ connection Errors, when it was connected TX to RX; RX to TX. Then when I swapped them to Rx to Rx; Tx to Tx, I instead got the error "Invalid head of packet (0x00)". The Flasher would get further and the RX/TX LEDs would flash more in the second Data-Pin configuration, so it lead me to think. That is the right order.. **IF you don't interrupt the bootup of the firmware (at least for me) IE: You see the light flashing blue on the Plug, Or, you can push the button when it's plugged into USB and you see the Red LED turn on / Off and it clicks the relay on / off. The plug is in control of the firmware and nothing you do will work and you won't be able to communicate to it. The correct pin-out *for me. Was the TX to RX; RX to TX, hold the power button while plugging in.
    Thanks again!

    • @RobertCowanDIY
      @RobertCowanDIY  Před 8 měsíci

      Got ya. Yeah, they migth have made a small change?

  • @coolspot18
    @coolspot18 Před rokem +2

    I ordered some spring loaded micrograbbers - no need to solder.

  • @mattgriffiths6154
    @mattgriffiths6154 Před rokem +1

    Did you remove the soldered cables from the board before inserting back into the plug housing? or just tuck them in there? thanks

    • @RobertCowanDIY
      @RobertCowanDIY  Před rokem +2

      You can remove them, unless you plan on messng with it more. But they're not needed after loading the new firmware.

  • @iot_enthusiast
    @iot_enthusiast Před 2 lety

    Do they work on 220 v AC as well?

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 lety +1

      I don't believe so, but they might have a different version that does. But the ones I linked to are only for 120V.

  • @Raptorsirrationalinventions
    @Raptorsirrationalinventions Před 8 měsíci

    has anyone been able to pull the bottom plate off? i just cant get it to come loose

    • @RobertCowanDIY
      @RobertCowanDIY  Před 8 měsíci

      You really need to force it a bit. Every time I do this, it feels like it's going to break, but pops off.

  • @imppaco
    @imppaco Před 2 měsíci

    How does Shawn Bruce's plugins compare to teh OctoPrint-Tasmota by jneilliii?
    Had the same issue as others, where I had to hold the Power Button for 5sec when powering on. Discovered from czcams.com/video/9N58uy3ezvA/video.html
    Probably an update. Everything else worked great!

    • @RobertCowanDIY
      @RobertCowanDIY  Před 2 měsíci

      I'm not sure, I've since ditched octoprint and just use the printer's own interface. Octoprint was a pain to constantly maintain and babysit.