ESP8266EX Fun With Relay Module, Home Assistant & MQTT
I found cheap ESP8266 with relay and ordered it without thinking.
I was gonna write simple program, upload it to ESP8266, plug ESP8266 to relay and thing is gonna work.
But was it like that? NO!
TIMESTAMPS
0:00 - Introduction
1:00 - ESP8266EX specs and components
3:08 - USB to TTL driver installation
4:22 - Writing program in Atom and PlatformIO
7:50 - Building and uploading program to ESP8266EX
9:33 - Passing from flash mode to normal mode
9:58 - Testing over serial monitor
11:17 - Searching ESP8266EX IP with Angry IP Scanner
11:36 - Home Assistant installation (link to video bellow)
12:05 - Editing configuration.yaml
12:59 - Edit Home Assistant UI manually
13:35 - Something is not working with troubleshoot
14:09 - Relay problem and solution
15:00 - Soldering relay pins and resistors
15:26 - Testing - will it work?
16:12 - Light bulb test
16:34 - Final words
MORE INFORMATION
ESP8266EX With Relay Module on eBay: https://ebay.to/2Ud2CgT
USB to TTL CP2102 Module on eBay: https://ebay.to/3gYm3nE (Tested)
USB to TTL CP2102 Module on eBay for ESP8266EX: https://ebay.to/2XYEQ9u (Not Tested)
Breadboard on eBay: https://ebay.to/3dFzqHi
Wires on eBay: https://ebay.to/2XzVOfr
ESP8266EX Overview: https://www.espressif.com/en/products/socs/esp8266/overview
ESP8266EX Datasheet: https://www.espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf
Flashing (Uploading) to ESP8266 Instructions and Scheme: http://esp8266internetofthings.blogspot.com/2015/10/how-to-flash-at-commands-firmware-in.html
Silabs Direct Driver For USB to TTL: https://www.silabs.com/products/development-tools/software/direct-access-drivers
PlatformIO IDE and Atom: https://docs.platformio.org/en/latest/integration/ide/atom.html
C++ main.cpp code: https://github.com/1BarConnection/esp8266_relay/blob/master/main.cpp
Hercules Serial Monitor: https://www.hw-group.com/software/hercules-setup-utility
Angry IP Scanner: https://angryip.org/download/
Home Assistant configuration.yaml: https://github.com/1BarConnection/esp8266_relay/blob/master/configuration.yaml
Home Assistant Raw configuration: https://github.com/1BarConnection/esp8266_relay/blob/master/RAW_config_editor_UI.txt
Fix Video for ESP8266 Relay Module: https://www.youtube.com/watch?v=Uq7ZfutOSSg - Big THANKS! :)
Home Automation With NodeMCU, HomeAssistant & MQTT Video: https://www.youtube.com/watch?v=LcF_OxU3--A - Home Assistant Installation
Starting With NodeMCU ESP8266 Blinking LED Using PlatformIO Video: https://www.youtube.com/watch?v=NI_WXOSShgY
NodeMCU ESP8266 Specs Video: https://www.youtube.com/watch?v=nan1H9RuL14
MUSIC
Cold Funk - Funkorama by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100499
Artist: http://incompetech.com/
Видео ESP8266EX Fun With Relay Module, Home Assistant & MQTT канала 1BarConnection
I was gonna write simple program, upload it to ESP8266, plug ESP8266 to relay and thing is gonna work.
But was it like that? NO!
TIMESTAMPS
0:00 - Introduction
1:00 - ESP8266EX specs and components
3:08 - USB to TTL driver installation
4:22 - Writing program in Atom and PlatformIO
7:50 - Building and uploading program to ESP8266EX
9:33 - Passing from flash mode to normal mode
9:58 - Testing over serial monitor
11:17 - Searching ESP8266EX IP with Angry IP Scanner
11:36 - Home Assistant installation (link to video bellow)
12:05 - Editing configuration.yaml
12:59 - Edit Home Assistant UI manually
13:35 - Something is not working with troubleshoot
14:09 - Relay problem and solution
15:00 - Soldering relay pins and resistors
15:26 - Testing - will it work?
16:12 - Light bulb test
16:34 - Final words
MORE INFORMATION
ESP8266EX With Relay Module on eBay: https://ebay.to/2Ud2CgT
USB to TTL CP2102 Module on eBay: https://ebay.to/3gYm3nE (Tested)
USB to TTL CP2102 Module on eBay for ESP8266EX: https://ebay.to/2XYEQ9u (Not Tested)
Breadboard on eBay: https://ebay.to/3dFzqHi
Wires on eBay: https://ebay.to/2XzVOfr
ESP8266EX Overview: https://www.espressif.com/en/products/socs/esp8266/overview
ESP8266EX Datasheet: https://www.espressif.com/sites/default/files/documentation/0a-esp8266ex_datasheet_en.pdf
Flashing (Uploading) to ESP8266 Instructions and Scheme: http://esp8266internetofthings.blogspot.com/2015/10/how-to-flash-at-commands-firmware-in.html
Silabs Direct Driver For USB to TTL: https://www.silabs.com/products/development-tools/software/direct-access-drivers
PlatformIO IDE and Atom: https://docs.platformio.org/en/latest/integration/ide/atom.html
C++ main.cpp code: https://github.com/1BarConnection/esp8266_relay/blob/master/main.cpp
Hercules Serial Monitor: https://www.hw-group.com/software/hercules-setup-utility
Angry IP Scanner: https://angryip.org/download/
Home Assistant configuration.yaml: https://github.com/1BarConnection/esp8266_relay/blob/master/configuration.yaml
Home Assistant Raw configuration: https://github.com/1BarConnection/esp8266_relay/blob/master/RAW_config_editor_UI.txt
Fix Video for ESP8266 Relay Module: https://www.youtube.com/watch?v=Uq7ZfutOSSg - Big THANKS! :)
Home Automation With NodeMCU, HomeAssistant & MQTT Video: https://www.youtube.com/watch?v=LcF_OxU3--A - Home Assistant Installation
Starting With NodeMCU ESP8266 Blinking LED Using PlatformIO Video: https://www.youtube.com/watch?v=NI_WXOSShgY
NodeMCU ESP8266 Specs Video: https://www.youtube.com/watch?v=nan1H9RuL14
MUSIC
Cold Funk - Funkorama by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100499
Artist: http://incompetech.com/
Видео ESP8266EX Fun With Relay Module, Home Assistant & MQTT канала 1BarConnection
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
ET#1. Review of cheap ESP01 / ESP8266 Relay V4 board. 5V USB operation. Tasmota compatible.5$ Arduino WiFi Module!? ESP8266 mini Tutorial/ReviewHome assistant 103 ESPhome custom Relays and TemperatureICStation.com ESP8266 Wifi Relay control (No Coding Required)Релейный модуль для ESP8266, ESP-01S RelayThis is SO Much Better! Getting Started with ESPHome 2021Smart Home with Google Assistant & Alexa using NodeMCU ESP8266 (Manual + Voice) | IoT Projects 2021Plug n Play Relays!เปิด-ปิด สวิตช์ ไฟผ่านมือถือแบบงง่ายๆ | Wireless Switches and Controls for Home OwnersWIFI module ESP8266 - AT commands & sending Data to WebBrowserDIY Home Automation Intruder Alarm System! || Home Assistant + Raspberry Pi + ESP8266WI-FI relay moduleHow to setup NodeMCU with a Relay into Home Assistant and Node Red to control garage door - Part 1ESP2866 WiFi Relay Module Switch Review IoT#1 Program an ESP01: The easy way!Solar Weather Station [WiFi, MQTT, Smart Home, ESP8266]$2 Temp sensor using ESP01 for Home AssistantHow to do Simple Home Automation with Amazon Alexa || ESP8266ESP-01 UART and turning it to a programmerEasy way to program ESP8266 using adapter module and Arduino IDE