ESPHome Flash DIYratgdo | Home Assistant Import
ฝัง
- เผยแพร่เมื่อ 14 ต.ค. 2024
- Welcome to the Daddy Show! If this is your first video seen we do videos about Home Automation, Automotive Maintenance and Repair, helping Men be better at being men and
andything else we find around the house that might be helpful to show others.
This video is about flashing the DIYratgdo board that I built in my previous video. This will help anyone looking to flash anything with ESPHome get a better understanding of the process but the main focus is on the specifics of the DIYratgdo flashing process. I also go over the process of bringing the device into Home Assistant and setting it up under ESPHome inside Home Assistant. You can find my previous video for reference here: • DIY ratgdo myQ Workaro...
Firmware flash url: ratgdo.github....
If you have any suggestions or questions please leave a comment. I do check them regularly and will address them to the best of my ability. Please consider supporting this project so that we can bring you more giveaways, more videos, and more perks. If you feel inclined to provide more support to the project you can do so at this link:
www.buymeacoff...
Below is the yaml file you will need when flashing the DIY ratgdo. This is also contained in the description at the link above.
---
substitutions:
id_prefix: ratgdov2
friendly_name: "ratgdov2"
uart_tx_pin: D1
uart_rx_pin: D2
input_obst_pin: D7
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
dry_contact_close_pin: D6
dry_contact_light_pin: D3
web_server:
esphome:
name: ${id_prefix}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
project:
name: ratgdo.esphome
version: "2.0"
esp8266:
board: d1_mini_lite
restore_from_flash: true
dashboard_import:
package_import_url: github://ratgdo/esphome-ratgdo/v2board_esp8266_d1_mini_lite.yaml@main
packages:
remote_package:
url: github.com/rat...
files: [base.yaml]
refresh: 1s
Sync time with Home Assistant.
time:
platform: homeassistant
id: homeassistant_time
api:
id: api_server
ota:
improv_serial:
wifi:
ap:
logger:
My yaml setup for the api and wifi as an example is below. You can copy and paste this and then update the encryption key with your encryption key that is created when you import the device into ESPHome. You can input your exact wifi settings or use the secret file if you have that set up as I have below
api:
encryption:
key: [insert your encryption key here without the brackets]
ota:
improv_serial:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
Garage door home assistant
The music for the intro is by penguinmusic - stylish-rock-beat-trailer-116346 found on Pixabay
Thank you for these tutorials. I've built 1 board so far and have 2 to go. I flashed it with the 2.0 scheme. I tried the 2.5 later and that didn't work. I'm thinking it's because I use the esp8266 chip and the 2.5 boards don't seem to use that chip. I also didn't change the D1 port.
I don't use Home Assistant, but I do have OpenHab installed and have quite a few smart items controlled, and OpenHab recently mad a binding available to connect to ESPHome items using the native API. I also installed the ESPHome python project on a raspberry pi 4. It has the same dashboard interface to access the ESPHome device yaml. That interface looks like the one you show in Home Assistant.
This was a fun project and I'm glad to get rid of MyQ.
Thank you for sharing your setup!! Hopefully that helps others who aren’t using Home Assistant but want to get away from MyQ. I will do some research on your setup myself so I can present it to others.
Awesome tutorial. I agree with you on learning when you have issues.. And you will learn a lot with Home Assistant :)
That is absolutely true!! I’ve been messing with Home Assistant for a little over a year and I have learned so much!! That’s what makes it fun for me. It would be boring if there were no opportunities to learn. I think that’s what a lot of the younger generation is missing these days. Sometimes frustration is what makes the successful outcome more satisfying
I just kept the default yaml, what’s the advantage of adding the custom one, substitutions?
The substitutions allow you to dictate what each pinout will do. It also allows you to further define your wifi and/or api information. However, if the default setup is working for you with no undesired performance then that will work.
Hello, I stucked on Installation Failed. "Failed to initialize. Try resetting your device or holding the BOOT button while clicking INSTALL". Where the hack is the boot button on the v2.5i board? Why it does not install and erase the firmware?
Are you asking about the RATGDO 2.5i board? If so, I have nothing to do with that project and can’t be of any assistance on troubleshooting their product. From what I have seen at a quick glance they have an integrated esp8266 chip on that board and I don’t know if they have a boot button built in. You may have to ground a particular pin, but I don’t know exactly which pin that is. It might be labeled as RST, but you will have to confirm with the RATGDO group to ensure you do it correctly