mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Merge branch 'current' into beta
This commit is contained in:
commit
52947fac54
@ -17,14 +17,13 @@ than compiling for and flashing a microcontroller target system.
|
|||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
# Example configuration entry
|
# Example configuration entry
|
||||||
|
esphome:
|
||||||
|
name: sdl
|
||||||
|
|
||||||
host:
|
host:
|
||||||
mac_address: "62:23:45:AF:B3:DD"
|
|
||||||
|
|
||||||
display:
|
display:
|
||||||
- platform: sdl
|
- platform: sdl
|
||||||
id: sdl_display
|
|
||||||
update_interval: 1s
|
|
||||||
auto_clear_enabled: false
|
|
||||||
show_test_card: true
|
show_test_card: true
|
||||||
dimensions:
|
dimensions:
|
||||||
width: 450
|
width: 450
|
||||||
@ -95,13 +94,7 @@ Linux instructions above. See https://learn.microsoft.com/en-us/windows/wsl/inst
|
|||||||
Build and run
|
Build and run
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The ``esphome`` command will not automatically run the build file on the ``host`` platform. Instead use ``esphome compile yourfile.yaml``
|
The ``esphome run yourfile.yaml`` command will compile and automatically run the build file on the ``host`` platform.
|
||||||
then locate the executable file called ``program`` within the ``.esphome`` build tree:
|
|
||||||
|
|
||||||
.. code-block:: sh
|
|
||||||
|
|
||||||
`find .esphome -name program`
|
|
||||||
|
|
||||||
|
|
||||||
See Also
|
See Also
|
||||||
--------
|
--------
|
||||||
|
@ -23,17 +23,23 @@ configure wifi - network will automatically be available using the host computer
|
|||||||
|
|
||||||
# Example configuration entry
|
# Example configuration entry
|
||||||
host:
|
host:
|
||||||
mac_address: "98:35:69:ab:f6:79"
|
mac_address: "06:35:69:ab:f6:79"
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
- **mac_address** (**Optional**, MAC address): A dummy MAC address to use when communicating with HA.
|
- **mac_address** (**Optional**, MAC address): A dummy MAC address to use when communicating with HA.
|
||||||
|
|
||||||
|
Build and run
|
||||||
|
-------------
|
||||||
|
|
||||||
|
The ``esphome run yourfile.yaml`` command will compile and automatically run the build file on the ``host`` platform.
|
||||||
|
|
||||||
|
|
||||||
See Also
|
See Also
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
- :ref:`SDL display <sdl>`
|
||||||
- :doc:`esphome`
|
- :doc:`esphome`
|
||||||
- :doc:`/components/time/host`
|
- :doc:`/components/time/host`
|
||||||
- :ghedit:`Edit`
|
- :ghedit:`Edit`
|
||||||
|
Loading…
Reference in New Issue
Block a user