mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Minor changes to the setup steps (#327)
This commit is contained in:
parent
2ade2f4982
commit
d65872a9ec
@ -7,17 +7,17 @@ Native API Component
|
||||
:keywords: Native API, ESPHome, Home Assistant
|
||||
|
||||
The ESPHome native API is used to communicate with clients directly, with a highly-optimized
|
||||
network protocol. Currently, only the esphome tool and Home Assistant use this native API.
|
||||
network protocol. Currently, only the ESPHome tool and Home Assistant use this native API.
|
||||
|
||||
After adding an ``api:`` line to your esphome configuration you can go to the Home Assistant
|
||||
webinterface and navigate to the "Integrations" screen in the "Configuration" panel. Then wait
|
||||
After adding an ``api:`` line to your ESPHome configuration you can go to the Home Assistant
|
||||
web interface and navigate to the "Integrations" screen in the "Configuration" panel. Then wait
|
||||
for the ESPHome device to show up under the discovered section (can take up to 5 minutes) or add
|
||||
the device manually by clicking "CONFIGURE" on the ESPHome integration and entering
|
||||
"<NODE_NAME>.local" as the address.
|
||||
the device manually by choosing "ESPHome" from the integration overview and entering
|
||||
"<NODE_NAME>.local" or the IP address of the unit in the "Host" field.
|
||||
|
||||
The ESPHome native API is based on a custom TCP protocol using protocol buffers. You can find
|
||||
the protocol data structure definitions here: https://github.com/esphome/esphome/blob/dev/src/esphome/components/api/api.proto
|
||||
A python library that implements this protocol can be found `here <https://github.com/esphome/aioesphomeapi>`__.
|
||||
A Python library that implements this protocol is `aioesphomeapi <https://github.com/esphome/aioesphomeapi>`__.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
@ -66,7 +66,7 @@ You can repeat these steps for all your nodes, or convert them over to the new n
|
||||
|
||||
3. Go to your Home Assistant configuration folder and go to the ``.storage`` folder (might be hidden
|
||||
depending on your operating system). In there you will find a file called ``core.entity_registry`` - open
|
||||
the file with a text editor and paste the contents below
|
||||
the file with a text editor and paste the contents below:
|
||||
|
||||
|
||||
.. raw:: html
|
||||
|
Loading…
Reference in New Issue
Block a user