First head to the ESPHome menu option: ESPHome Configuration Menu.

First head to the ESPHome menu option: ESPHome Configuration Menu. Oct 21, 2023 · Hello, I have the board ESP32-S3-WROOM-1-N16R8 and PN532 Blue board (same in PN532 NFC/RFID — ESPHome) The switch on PN532 is configured same as the image for SPI mode Wiring diagram: esp32-s3-wroom-1-N16R8 &hellip; The module is available from the Python Package Index. username: "login". Apr 26, 2021 · I can’t get my T-call to send an SMS and I am wondering do you need to present the SIM PIN to the network to make it work? I certainly need to do that if I plug the SIM Card into my (French) phone. In this guide, we'll show you step-by-step how to integrate ESPHome with Home Assistant. 3V and GND to GND. Add the following configuration to the file. The essential components needed sets you back about $2, yes, that is correct, just two bucks. One is trying an IP address of a different server (not an ESPHome device) and the other is for an ESPHome device that was removed. my ESP8266s do not have API tag in their config. Details can be found in the sensor's manual or online. Wait for the upload process to complete, which may take a few minutes. pip install tornado esptool \ esphome dashboard config. The TSL2591 device is available on breakout boards from a few vendors (for example, Adafruit, CQRobot, Waveshare ). Connecting ESPHome to WiFi The LEDC output component exposes a LEDC PWM channel of the ESP32 as an output component. h library is useful to save data like network credentials, API keys, threshold values, or even the last state of a GPIO. Below you will find the ESPhome code used in the video so you can easily copy and paste it! QuinLED-Deca-Plus ESPhome code substitutions: esphome_name: attic_deca_plus_36v esphome: name: ${esphome_name} platform: ESP32 board: mhetesp32devkit wifi: ssid: !secret esphome_wifi_ssid password: !secret […] In addition to OTA updates, ESPHome also supports a “safe mode” to help with recovery if/when updates don’t work as expected. Add the ESPHome device to Home Assistant. Jan 8, 2020 · Hi all, I’m posting this partly as a tutorial, and partly as an obscure method of backing up my YAML file. DF-Player mini ¶. I had to change the compose file to allow it to find the esp32-c3. Drawing Static Text¶ To be able to display text, you need to prepare some fonts. pcbway. The BME280 Temperature+Pressure+Humidity Sensor is a simple temperature, humidity, and pressure sensor with communication over I²C or SPI . See Also. 123. Press the three dots icon and select Install. We will name Join me in Revolut - https://peyanski. Display DIN → Board MOSI GPIO13. Display CLK → Board SCK GPIO14. This is the method I use to install Yaml on the eSPHome device that I use in the Home Assistant. 0. We recommend the ESPHome integrations from AJFriesen and MallocArray. Firstly we need to create a way to input a value in Home Assistant to send to our servo. Select ESPHome and enable “Show in sidebar”. An optional cython extension is available for better performance, and the module will try to build it automatically. Light Component. We will do this by adding a simple slider that will control the movement of the servo. When programming without ESPHOME it seems it might be necessary: ESP32 SIM800L: Send Text Messages (SMS Alert) with Sensor Readings | Random Nerd Tutorials but Ican’t see how to do it with Os explicamos como usar ESPHome dentro de ESP32 Cam para integrarlo en Home Assistant. Set this to true if you are creating a tutorial to let users easily tweak the whole configuration or be able to uncomment follow-up tutorial steps. The module will fall back to the pure Python implementation if they are Feb 25, 2024 · In ESPHome, click Edit in the M5Stack Atom Echo card. I think the video explains most things pretty clearly. Dec 9, 2022 · Therefore, we have implemented ESPHome support as an available base for ESP32 MCU firmware. See Also¶ The ld2410 sensor platform allows you to use HI-LINK LD2410 motion and presence sensor (datasheet and user manual) with ESPHome. Compiles a firmware. Connect a sensor to your ESP8266/ESP32 device. Light Component ¶. In the end I decided to redo the whole system, and built a new VM and migrated all the devices, which has Si te estás preguntando qué es ESPHome, te diré que es una herramienta propiedad de Nabu Casa con la que puede crear firmware personalizado para placas ESP82 Feb 7, 2019 · Once ESPHomeYAML is finished installing, a new button will appear Open Web UI. restart: unless-stopped. You can access the coils, inputs, holding, read registers from your devices as sensors, switches, selects, numbers or various other ESPHome components and present them to You can view the full API documentation for the rendering engine in the “API Reference” in the See Also section. Jul 28, 2023 · In this tutorial, I’ll walk you through the basics of ESPHome—a powerful tool for integrating DIY smart sensors into Home Assistant. publish_state(42. TSL2591 Ambient Light Sensor on a breakout Jan 12, 2024 · Same here for two devices. ESPHome Web allows you to prepare your device for first use, install new versions and check the device logs directly from your browser. Aug 5, 2023 · Install ESPHome. No soldering is required and you don’t have to be an electronics expert. set_target : Set the target position of the motor as an integer. Jul 11, 2021 · 🙏🙏 Pour soutenir la chaine c'est juste en dessous 🙏🙏⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ ⬇ Jul 21, 2023 · ESPHome allows you to create and control your own smart home devices, while Home Assistant is a powerful open-source software for home automation. Released: Jul 3, 2024. ESPHome YAML is a con Aug 18, 2023 · Configure ESPHome. This community has helped me a lot and I’d like to give something back, however obscure and useless. for calling fingerprint_grow. This article is going to show you how to convert your (existing) wired doorbell (also works for battery-powered chimes) into a smart, WiFi-enabled, doorbell. Adding A Binary Sensor. If you are not familiar with esphome [check this article](/how-to-monitor-your-home-temperature-with-esp32-and-xiaomi-mijia-using-esphome/. enroll select the service esphome. AHT10 Temperature & Humidity Sensor. Nov 14, 2022 · My Home Assistant is running on TrueNAS Scale in a VM but I was having issues with a stable connection using a PCI USB pass through. Use of hardware UART pins is highly recommended, in order to support the out-of All buttons in ESPHome have a name and an optional icon. publish_state(): Manually cause the sensor to push out a value. com/ESPHome just got a major update that makes it even easier than before for anyone to get started with ESPHome and Hom Dec 16, 2021 · ESPHome 2021. A simple step-by-step guide to Setting up ESPHome for Home Assistant. We will use ESPHome’s dumping ability to output the decoded remote code directly. RX: This line is used to receive data api: The ESPHome native API is used to communicate with clients directly, with a highly-optimized network protocol. as/Ressources-Home-Assistant-----Ma format Oct 3, 2023 · HA and ESPHome devices are clients of the ESPHome server (the add-on, the dashboard, the container). When using this component on single core chips such as the ESP32-C3 both WiFi and ble_tracker must run on the same core, and this has been known to cause issues when connecting to WiFi. I thought once I got the XIAO programmed it would not be a problem. Los ESP32 son un modelo de chips SoC desarrollados por Espressif muy baratos, de bajo consumo y que incorporan Wifi & Bluetooth. topic (Required, string): The MQTT topic to listen for string data. I also see retained configuration messages of homeassistant with its prefix topic. Nov 7, 2020 · Wiring a switch to your ESP8266 or ESP32 board is a breeze. ESPHome will always subscribe to a manually configured command topic, even if the component is internal. I made a tutorial about building an ESPHome external component for an i2c encoder. While the firmware creation part of the project is taylored to ESPHome, the hardware part applies to all ESP-01. You can then set it up This component can be used to create generic custom components in ESPHome using the C++ (Arduino) API. Contribute to esphome/esphome-docs development by creating an account on GitHub. Installing ESPHome Dashboard. Connections: Display VCC → Board 3. qos (Optional, int): The MQTT QoS to subscribe with. from Home Assistant. Tutorial: https://domoticaencasa. To run it, type the following command in your Raspberry Pi. Aug 4, 2019 · F. # Example button configuration button: - platform: name: Livingroom Lazy Mood id: my_button # Optional variables: icon: "mdi:emoticon-outline" on_press: - logger. Go to the following Github page. E. It didn’t work right off. esphome: name: esp8266-1 May 13, 2022 · Hardware involved: Board: Lolin D1 Mini Pro (ESP8266) - Powered via USB. ESPHome AXA Remote 2 control by May 2, 2019 · ESPhome. For this component to work you need to have set up a UART bus in your configuration. UART is a common serial protocol for a lot of devices. Apr 21, 2023 · Hey, I am relatively new to ESPHome and HA, but I have recently been trying to setup my system. Control LG UD79-B monitor via UART by @kquinsland. The xiaomi_ble sensor platform lets you track the output of Xiaomi Bluetooth Low Energy devices using the ESP32 Bluetooth Low Energy Tracker Hub. es/esphome-tutorial-instalacion- The name for the sprinkler controller’s main switch as it will appear in the front end. The end goal is for the pin to read LOW when the switch is pressed and HIGH when released. Caveat: There are options to start the add-on when HA boots, enable the watchdog service to automatically restart it if it crashes, and whether or not you want it to show in the sidebar. It was primarily designed for the Home Assistant add-on, but also works with a simple command. 6. $ pip3 install aioesphomeapi. Rtttl Buzzer. Then, link the other terminal to a GPIO pin. Aug 15, 2022 · There we will have all the configuration that comes from our Raspberry Pi from our ESPHome. Let me know if you have suggestions! Dec 28, 2023 · ESPHOME yaml tutorial home assistant. install ready-made project. 96" TFT 160 x 80 SPI ST7735S Controller. The command python -m esphome compile yourdevice. The ESPHomeYAML wizard will walk you through setting up a ESP-powered device using ESPHome. io/esphome/esphome wizard livingroom. ESPHome Web runs 100% in your browser. 0); Oct 14, 2020 · After not finding any great tutorials online I decided to document my process. Once the add-on is installed, click on “Start” to get it going. yaml file called servo_control. In order to add a slider we will create a new instance of input_number in the configuration. To add the ESPHome integration to your Home Assistant instance, use this My button: ESPHome can be auto-discovered by Home Assistant. In some places, ESPHome also supports a more advanced “pin schema”. improv_serial - Improv via Serial. Buzzer Module ¶. Choose Manual download and Modern format. This component will track, for example, the temperature, humidity, moisture, conductivity, illuminance, formaldehyde, mosquito tablet and battery level of the device every time the sensor sends out a Oct 11, 2019 · Stop dealing with the ever changing software and APIs of Weather and grab the sensor data yourself. Configuration variables: name ( Required, string): The name for the button. The rtttl, component allows you to easily connect a passive piezo buzzer to your microcontroller and play monophonic songs. The dfplayer ( datasheet ), component allows you to play sound and music stored in an SD card or USB flash drive. mqtt: broker: 192. YAML in ESPHome so you can use other ESPHome is a system to control your microcontrollers by simple yet powerful configuration files and control them remotely through Home Automation systems. In case you do not yet have ESPHome installed on your Home Assistant, you can follow the ESPHome Getting Started Guide. So if you are facing this problem you’ll need to explicitly set the reboot_timeout option to 0s on the components being used. es/home-assistant-39-integrar-esp32cam The mqtt_subscribe sensor platform allows you to get external data into ESPHome. First, name your device. 0 id(my_sensor). See Safe Mode for details. But if you fried that chip, this tutorial might also be useful to you. . The ESPHome Versions from AJFriesen and MallocArray both support the Basic and Pro models. If an instance was found, it will be shown as Discovered. Create a basic ESPHome configuration file. To start the ESPHome dashboard, simply start ESPHome with the following command (with config/ pointing to a directory where you want to store your configurations) # Install dashboard dependencies. Run ESPhome on your computer, then prepare the esp32 cam configuration: Create a config file camera. From the settings page click install and wait for the installation to complete. This simple guide will explain how ESP home works, how to set it up and how to turn an Warning. UART (or for Arduino often also called Serial) usually consists of 2 pins: TX: This line is used to send data to the device at the other end. You need to feed in data specific to your sensor. Validates the configuration. Configuration variables: number ( Required, pin): The pin number. Connecting your device to Home Assistant. Microcontroller flashing is just one of the stages of working on a device in the web interface. And theoretically to all ESP8266, though most will have an on-board USB-to-Serial Chip like FTDI or CH340/CH341. From the ESPHomeYAML dashboard, click the Plus Icon to launch the ESPHome Setup Wizard. It accepts the Ring Tone Text Transfer Language, rtttl format ( Wikipedia) which allows to store simple melodies. For setup we need to connect your camera to your device running Home Assistant with USB. This is automatically enabled by this component, but it may be disabled if desired. These days ESPHome can be Aug 16, 2022 · In the add device process there’s an option to use the host on which esphome is running. Now, refer to the flashing guide to learn how to upload ESPHome to your device. ¶. Whether you’re a beginner, navigating through ESPHome, or an expert seeking a few tips and tricks, this guide aims to be a valuable resource for you. g. 0 will save your WiFi log in details, which is nice! However, here's how to use Home Assistant's SECRETS. command_retain ( Optional, boolean): Whether MQTT command messages sent to the device should be retained or not. Configuring ESPHome. Default to false. SLAB_USBtoUART, or 192. This page is a lite variant of ESPHome. Today I’m going to show you how to make a water heater timer using ESPhome and an The aht10 Temperature+Humidity sensor allows you to use your AHT10 ( datasheet ), AHT20 ( datasheet) or AHT30 ( datasheet) I²C -based sensor with ESPHome. Display: Waveshare 0. No data will leave your computer. Open ESPHome, and you'll see a field to input data. Aug 10, 2023 · REST API control; Browser control; Conclusion; Prerequisite. This is very flexiblle because you can prepare various Aug 10, 2023 · Add an input. Select “Install”. DF-Player mini Module. Optionally you can also connect the RESET pin to a pin on the ESP which may improve reliability. Invitado especial Luis del Valle de Programarfacilhttps://programarfac With the following code you can quickly setup a node and use Home Assistant’s service in the developer tools. Using the Preferences. For power, connect VCC to 3. resume_or_start_full_cycle action; when turned off, it calls the sprinkler. The esphome run <CONFIG> command is the most common command for ESPHome. Display GND → Board GND. The sensor will subscribe to messages on the given MQTT topic and parse each message into a floating point number. It will then be processed by the sensor filters, and once filtered will propagate though ESPHome and though the API to Home Assistant or out via MQTT if configured. ESPHome has tons of ready made configurations, libraries and examples. Display CS → Board SS GPIO15. In your ESPHome configuration for each device, find the lines: api: password: "YOUR_PASSWORD BME280 Environment. Make creating custom firmwares for ESP32/ESP8266 super easy. The light domain in ESPHome lets you create lights that will automatically be shown in Home Assistant’s frontend and have many features such as RGB colors, transitions, flashing and effects. Adding some (basic) features. Upload your Configuration. log: "Button pressed". Supported Models. El ESP32 es el hermano mayor del ESP8266; amplía su Aug 13, 2023 · Run the ESPHome Setup Wizard; To help you with setting up your first ESP32/ESP8266 project, ESPHome has a setup wizard. You can find the link to this page in the description of this video. En este video veremos paso a paso como iniciar con ESP-Home usando la placa Wemos Mini. TL;DR Feb 2, 2023 · If you run ESPHome separately from HA (separate Docker container, for example) and have existing ESPHome devices that are now warning about deprecated passwords following an HA update to 2023. Jul 19, 2023 · EDIT - resolved Resolved by properly adding a quots to mqtt login and password. ESPHome DIY Multisensor Cat Feeder by @335iguy. This switch, when turned on, calls the sprinkler. ESPHome Home Assistant Cheap Cat Feeder by @rubengargar. 12. For example /dev/cu. Jan 2, 2021 · ESPhome configuration. Copy the API and Wifi lines to a text file. Next I tried using the EPSHome tool on my Win machine but the seeed XIAO board is not supported even though it is listed. 77 to HassIO (latest), and also upgrading all my IO devices to ESPHome. test_node_enroll and in service data enter. io documentation files. shutdown action (see below). Then we will set up a new remote transmitter with an infrared LED (like this one) to transmit the code when a switch is triggered. This, unfortunately, isn’t part of the original tutorial, so here it comes. The UART is required to be set up in your configuration for this sensor to work, parity and stop_bits must be respectively NONE and 1. The tsl2591 sensor platform allows you to use the AMS TSL2591 ambient light sensor with ESPHome. Simply create a connection between one terminal of the switch and the ground on the board (marked with a “G”). May or may not help to others since in my case is still failing (as described by @PipeDeveloper) and I don't have mqtt enabled for this specific esp32. So when an ESPHome device calls a HA service, it in fact talks to the ESPHome server through the native API with the encryption key, and the ESPHome server calls the HA API. The modbus_controller component creates a RS485 connection to either: control a Modbus server (slave) device, letting your ESPHome node to act as a Modbus client (master). Communication with the device is over I²C, which must be present in your configuration. # Example configuration entry ota: - platform: esphome password: !secret ota_password. The extension requires a C compiler and Python development headers. Dec 1, 2020 · Hello, Not sure if this question is specifically an ESPHome one, or more related to HASSIO - I’ll try here and maybe somebody has a suggestion or can direct me elsewhere. Also just randomly showing how I did something in case anyone ever searches for how to do this. Go ahead and click on it to open up the settings page. With some simple math it is possible to either determine the height of the sensor, or the current pressure at sea level. Use null to disable subscribing to the component’s command topic. When integrated, you can create a more seamless, connected, and intuitive smart home experience. Apr 23, 2022 · #diy #esphome #home_assistantDescription: In this video, we'll walk you through the process of setting up ESPHome, an open-source tool for creating custom fi Are you ready to transform your home into a smart, connected oasis? Look no further! In this comprehensive #ESPHome installation guide, we'll walk you throug UART Bus. // Within lambda, push a value of 42. SSD1306 OLED Display ¶. For example, when uploading a binary to your ESP you have probably used UART to access the chip. Jun 6, 2024 · esphome 2024. wifi connection cannot be made or api connection is lost or mqtt connection is lost. by migrating from Tasmota. I’ve seen suggestions that this is how components should be made, but I couldn’t find much documentation so I figured it out and made it. image: esphome/esphome. Check out PCBWay: https://www. If you are using Home Assistant then you should definitely check out this tutorial and consider using the ESPHome add-on. docker run --rm-v " ${PWD} ":/config -it ghcr. . If you want to start with ESPHome, 2Smart Cloud will provide you with everything you need: Installing ESPHome-based firmware directly through the browser. yaml under config directory. In 2021 Nabu Casa (Home Assistant developer company) acquired ESPHome and integrated the whole ESPHome system more deep into the Home Assistant Core. I went for MQTT way, i. 168. Bonus: ESPHome dashboard. Click Open Web UI. inverted ( Optional, boolean): If all read and written values should be treated as inverted. The Bluetooth proxy of ESPHome provides Home Assistant with a maximum number of 3 simultaneous active connections. { "finger_id": 0, "num_scans": 2 } Source for esphome. Please first read Custom Sensor Component guide import_full_config - This signals if ESPHome should download the entire YAML file as the user’s config YAML instead of referencing the package. Enter the name of your ESP32. yaml. Once the data is filled in, click ‘Upload'. The data held in the flash memory persists across resets or power failures. If your SSD1306/SSD1305 or SH1106 is connected via the 4-Wire SPI bus, see Over SPI. This guide can be applied to any sensor measuring ESPHome with MakerLife Weather Station Kit by @mkuoppa. 176 to perform an OTA. If you want to create and edit ESPHome projects, install ESPHome on your computer or inside Home Jul 17, 2023 · landonr (Landon Rohatensky) July 17, 2023, 2:13pm 1. ESPHome config for Universal IR Remote ZJ-A1 (russian) by kvvhost. set_target ( 250 ); First, the remote code will be captured with an IR receiver module (like this one ). Please note this component only works with MQTT topics that have numeric data! Each time a message that is not a number is published a warning will be Mar 22, 2020 · Accompanying video post This post is meant to mainly go along with the following video. You will need these later. It ended up costing around $50 total - $30 dollars for the remote, $6 for the sonoff, $6 for the NodeMCU, $2 for the Ultra-sonic sensor and a few bucks for the USB cable & power supply. Use on single-core chips¶. e. This is my device config. Configuration . I’ve been working on upgrading my old HA 0. password: "pass". The frequency range of LEDC is from 10Hz to 40MHz - however, higher frequencies require a smaller bit depth which means the output is not that accurate for frequencies above ~300kHz. I managed to setup ESP8266 and MQTT explorer shows the device and messages coming in. Jun 11, 2022 · These are the steps we're going to go over in this guide: Install the ESPHome add-on in Home Assistant. Dashboard Interface. Apr 18, 2023 · applied a manual IP to the device via ESPHome to get ESPHome to recognize the device as online; wired the DHT22 to my ESP32 (data pin to GPIO2 and powered via 3v3) With the steps above I can see my device online in ESPHome, but according to the tutorials it seems as if the sensor should be automatically detected from this point. some_config_option: # Basic: pin: GPIOXX # Advanced: pin: number: GPIOXX inverted: true mode: input: true pullup: true. 3v. DF-Player mini. If you use this tutorial for the ESP32 S3 box, then go to the firmware page for the S3 Box. If you don’t see the ESPHome menu option then go back to the “Add-on Store” from the previous step. using the command line. Currently, only the ESPHome tool and Home Assistant use this native API. Mar 27, 2023 · ESPHome is a platform developed for ESP32/ESP8266 and is mainly used for Smart Home devices. Active connections. Follow the ESPHome Setup Wizard. And ESPHome server is also a client of HA. This component should be used in cases where none of ESPHome’s abstraction layers (for example the “sensor”, “binary sensor”, “switch”, etc concepts) work well for your component. // Argument is integer (signed int) // Set the (absolute) target position to 250 steps id ( my_stepper ). Manually specify the upload port/IP to use. Devices which maintain a continuous active connection will consume one of these constantly, whilst devices which do periodic disconnections and reconnections will permit using more than 3 of them (on a statistical basis). ota: With the OTA (Over The Air) update component you can upload your firmware binaries to your node without having to use a USB cable for uploads. As mentioned in the video if you don’t know how to create, compile and upload the ESPhome code, check out my previous temperature and/or tuya power plug videos which show you the process in detail! ESPhome code. Once you have added the repository, scroll down the page and you should find that ESPHome is available in the add-on list. h library. Mar 2, 2021 · This guide shows how to save data permanently on the ESP32 flash memory using the Preferences. 1. as/AbregeXOperaMon Pinboard avec les liens du projet : https://opr. This component restores its state on reboot/reset. May 6, 2019 · Os explicamos como instalar y empezar a usar ESPHome en un ESP32 para ver su funcionamiento. It. The firmware will be compiled and a UF2 file will be downloaded automatically. ESPHome’s font renderer allows you to use OpenType/TrueType/Bitmap fonts for your texts. On dual-core devices the WiFi component runs on core 1, while this component runs on core 0. Adding upon the great guide from the HA website, “$13 voice remote for Home Assistant”, I thought it might be helpful, to expand that a little and show how to get your new voice assistant the ATOM Echo or any other ESP device, adopted into your ESPHome Add-on for further configuration and future updates. Finally we start our second container: cd /dockercompose_backups/esphome/ docker-compose up -d #It could also be depending on the version of docker compose. Sep 19, 2022 · Télécharger gratuitement Opera : https://opr. Key Sections Covered in the video ESPHome reboots on purpose when something is not going right, e. From lambdas, you can call several methods on stepper motors to do some advanced stuff (see the full API Reference for more info). yml will compile ESPHome. We are building the weather station using full build kit Find ESPHome in the list. --device UPLOAD_PORT ¶. Configuration variables:¶ name (Required, string): The name of the text sensor. pro/webinarIn this video we will see what are t Oct 7, 2018 · The most expensive part of the whole project was having to buy a new Chamberlain remote control to butcher up. Getting Started with ESPHome and Home Assistant. Uploads the firmware (over OTA or USB) Starts the log view. docker compose up -d Update nodes: Once our EspHome Server is installed and configured. The DHT20 ( datasheet) sensor has the packaging of the DHT Temperature+Humidity Sensor series, but has the AHT20 inside and is speaking I²C as well. This is my compose file: services: esphome: container_name: esphome. ESPHome is widely used by smart home enthusiasts who operate the Home Assistant platform. It will appear to be “on” when any valve on the controller is active. com/revolut/Watch my free Home Assistant Webinar - https://automatelike. Flash your ESP device with your ESPHome configuration. Oct 14, 2020 · Instalamos ESPHome en Home Assistant y flasheamos un microcontrolador ESP32 con firmware personalizado para añadir sensores personalizados a Home Assistant. ESPHome configs by @nuttytree. 2 or later, here’s how to fix: Go here, and copy the randomly-generated base64 key (or generate your own). Connect D2 to the SCL pin you chose for the I²C Bus, and connect D1 to the SDA pin. In the video I do refer to some ESPhome code, here it is: ESPHome This integration allows ESPHome devices to connect directly to Home Assistant with the native ESPHome API.