Sonoff S31 Tasmota Flashing (Home Assistant and Octoprint)

  Рет қаралды 16,220

Robert Cowan

Robert Cowan

Күн бұрын

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

Пікірлер: 36
@CapnBry
@CapnBry 2 ай бұрын
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)
@RobertCowanDIY
@RobertCowanDIY 2 ай бұрын
correct!
@MotoRideswJohn
@MotoRideswJohn 2 жыл бұрын
I really miss your product announcements from Sparkfun, Robert. This video brought back some fond memories. Thank you!
@RobertCowanDIY
@RobertCowanDIY 2 жыл бұрын
Awww, thanks. Tell all your friends ;-)
@calculon000
@calculon000 Жыл бұрын
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.
@RobertCowanDIY
@RobertCowanDIY Жыл бұрын
Glad it was helpful!
@andymok7945
@andymok7945 Жыл бұрын
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.
@Ender_Wiggin
@Ender_Wiggin 2 жыл бұрын
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 2 жыл бұрын
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 3 ай бұрын
nice walkthrough. good info. thanks for putting this up. i went for esp home
@RobertCowanDIY
@RobertCowanDIY 3 ай бұрын
Glad it was helpful!
@kylewarren69
@kylewarren69 2 жыл бұрын
I should get that for my printer, looking forward to a video about that enclosure too.
@RobertCowanDIY
@RobertCowanDIY 2 жыл бұрын
Yeah, that should be coming in a week or two.
@gregeezy
@gregeezy 3 ай бұрын
Thanks for the video. Just picked up 4 of these switches and I need to get them off that stupid cloud software asap.
@RobertCowanDIY
@RobertCowanDIY 3 ай бұрын
Nice! Glad it helped.
@YevgeniyBolembakh
@YevgeniyBolembakh Жыл бұрын
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
@YevgeniyBolembakh
@YevgeniyBolembakh Жыл бұрын
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.
@JonathanRansom
@JonathanRansom 2 жыл бұрын
I'm going to have to pick some of these up!
@RobertCowanDIY
@RobertCowanDIY 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@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 2 жыл бұрын
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.
@emmashepard2070
@emmashepard2070 9 ай бұрын
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 9 ай бұрын
Got ya. Yeah, they migth have made a small change?
@coolspot18
@coolspot18 Жыл бұрын
I ordered some spring loaded micrograbbers - no need to solder.
@RobertCowanDIY
@RobertCowanDIY Жыл бұрын
Oh nice, those are useful too.
@mattgriffiths6154
@mattgriffiths6154 Жыл бұрын
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 Жыл бұрын
You can remove them, unless you plan on messng with it more. But they're not needed after loading the new firmware.
@angelxmod3
@angelxmod3 2 ай бұрын
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?
@frogmen5304
@frogmen5304 6 ай бұрын
Not clear, should I flash every subdevices (eg. sensors etc.) if I want to use them with a Sonoff bridre pro? (which is flashed)
@iot_enthusiast
@iot_enthusiast 2 жыл бұрын
Do they work on 220 v AC as well?
@RobertCowanDIY
@RobertCowanDIY 2 жыл бұрын
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 9 ай бұрын
has anyone been able to pull the bottom plate off? i just cant get it to come loose
@RobertCowanDIY
@RobertCowanDIY 9 ай бұрын
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 3 ай бұрын
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 kzfaq.info/get/bejne/b7Rla9iqmMvepnU.html Probably an update. Everything else worked great!
@RobertCowanDIY
@RobertCowanDIY 3 ай бұрын
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.
Reflash Sonoff S31 to ESPHome with teardown and full schematic
25:10
How to Install Tasmota & ESPHome | SONOFF ESP8266 w/ Home Assistant
35:56
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 16 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 28 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Flashing ESPHome or Tasmota to a Smart Device
26:20
ResinChem Tech
Рет қаралды 10 М.
Fixing my AWFUL Home Networking! (2.5gb & 10gb Upgrade)
12:04
Tech By Matt
Рет қаралды 61 М.
Flashing Tasmota on Sonoff 4CH R3 and 4CHPRO R3
13:37
NotEnoughTECH
Рет қаралды 42 М.
How does fiber internet work? 0ms ping!
20:37
Snazzy Labs
Рет қаралды 1,3 МЛН
TASMOTA on SonOff Flash EASY Way | Guide 2020 🔨🔧
10:55
Roberto Jorge Tech
Рет қаралды 56 М.
Мужик купил китайское авто и сразу поехал в СЕРВИС
0:14
Собиратель новостей
Рет қаралды 4,2 МЛН
王子居然在家这样 #艾莎
0:38
落魄的王子
Рет қаралды 14 МЛН