Рет қаралды 10,378
This video will show how to flash both ESPHome and Tasmota to a Sonoff S31 and serves as an example of how to flash custom firmware to a retail device. The result will be use of this device to provide safe charging to a tablet used as a Home Assistant kiosk. See the full video description for parts shown and links to more information.
A written version of this project, including parts, wiring diagrams and code samples, can be viewed here: resinchemtech.blogspot.com/20...
Chapter Links:
==============
00:00 Intro
01:37 Purpose, Intent and Considerations
02:23 Why flash custom firmware?
03:00 Alternatives to Flashing
03:53 The Sonoff S31
04:55 Disassembly
05:55 GPIO Pins and Connecting to USB Flasher
09:27 Selecting the Firmware
10:17 Flashing ESPHome
16:14 Reassembly and Home Assistant Onboarding
17:12 Home Assistant Entities
17:53 Flashing Tasmota
20:42 Tasmota Basic Configuration
23:14 Home Assistant Automations
25:03 Wrap up and More Info
Parts Used or Shown
===================
Sonoff S31 (w/Energy Monitoring): amzn.to/454FiUx
Sonoff S31 Lite: amzn.to/457Kibd
Sonoff S31 Lite Zigbee Plug: amzn.to/44LEzYP
Innr Zigbee Plug: amzn.to/451SvNW
CP2102 USB-to-TTL: amzn.to/3OfAHIB
FTL232RL USB-to-Serial: amzn.to/44IR5IA
USB Extension Cable: amzn.to/47aO3hW
3D Printed S31 Flashing Jig (Thingiverse): www.thingiverse.com/thing:343...
Pogo Pins for Jig: amzn.to/44VWVpO
Dupont Jumpers: amzn.to/3rTQDbF
Hook Clip Test Leads: amzn.to/3YdrCED
USB Digital Tester: amzn.to/3YdB0b7
Some of these links may be Amazon affiliate links. Use of these links will not affect your pricing, but this channel may earn a small commission if you make a purchase.
Additional Information:
======================
ESPHome Official Web Site: esphome.io/
ESPHome Device Repository: devices.esphome.io/
Tasmota Official Web Site: tasmota.github.io/docs/
Tasmota Device Repository: templates.blakadder.com/
If you'd like to help support this channel, or just say thanks, you can consider buying me a cup of coffee:
www.buymeacoffee.com/resinche...
#esphome #tasmota #homeassistant