EasyManua.ls Logo

SunFounder TS-10 - Page 64

Default Icon
213 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder TS-10 10.1-inch Touch Screen
the configured WiFi fails. After 1 minute of unsuccessful WiFi connection attempts, the ESP will start a WiFi
hotspot (with the credentials from your configuration).
Now start to add other components. There are a lot of components in the ESPHome official website, including Sensor
Components, Output Components, Light Components, etc., Here we take Binary Light in Light Components as
an example.
Add the following code to the end of the .yaml file.
# Example configuration entry
light:
- platform: binary
name: "Desk Lamp"
output: light_output
output:
- id: light_output
platform: gpio
pin: GPIO16
60 Chapter 5. PROJECTS AND ACTIVITIES

Related product manuals