mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Add example
This commit is contained in:
		| @@ -21,7 +21,22 @@ directly through HassIO **with no programming experience required**. All you nee | |||||||
| is write YAML configuration files; the rest (over-the-air updates, compiling) is all | is write YAML configuration files; the rest (over-the-air updates, compiling) is all | ||||||
| handled by esphomeyaml. | handled by esphomeyaml. | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | [_View the esphomeyaml documentation here_](https://esphomelib.com/esphomeyaml/index.html) | ||||||
|  |  | ||||||
|  | ## Example | ||||||
|  |  | ||||||
|  | With esphomeyaml, you can go from a few lines of YAML straight to a custom-made | ||||||
|  | firmware. For example, to include a [DHT22](https://esphomelib.com/esphomeyaml/components/sensor/dht.html)  | ||||||
|  | temperature and humidity sensor, you just need to include 8 lines of YAML | ||||||
|  | in your configuration file: | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  | Then just click UPLOAD and the sensor will magically appear in Home Assistant: | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| ## Installation | ## Installation | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								esphomeyaml-edge/images/dht-example.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								esphomeyaml-edge/images/dht-example.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 17 KiB | 
| Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB | 
							
								
								
									
										
											BIN
										
									
								
								esphomeyaml-edge/images/temperature-humidity.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								esphomeyaml-edge/images/temperature-humidity.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 5.3 KiB | 
		Reference in New Issue
	
	Block a user