mqtt for shutter
This commit is contained in:
		
							
								
								
									
										17
									
								
								shutter.yaml
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								shutter.yaml
									
									
									
									
									
								
							@@ -16,17 +16,26 @@ api:
 | 
				
			|||||||
  encryption:
 | 
					  encryption:
 | 
				
			||||||
    key: !secret api_key
 | 
					    key: !secret api_key
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					mqtt:
 | 
				
			||||||
 | 
					  broker: mqtt.hadow.fr
 | 
				
			||||||
 | 
					  port: 18832
 | 
				
			||||||
 | 
					  username: fire
 | 
				
			||||||
 | 
					  password: !secret mqtt_password
 | 
				
			||||||
 | 
					  topic_prefix: "esp_shutter"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ota:
 | 
					ota:
 | 
				
			||||||
  - platform: esphome
 | 
					  - platform: esphome
 | 
				
			||||||
    password: !secret ota_password
 | 
					    password: !secret ota_password
 | 
				
			||||||
 | 
					
 | 
				
			||||||
wifi:
 | 
					wifi:
 | 
				
			||||||
  ssid: !secret wifi_ssid
 | 
					  ssid: !secret wifi_ssid2
 | 
				
			||||||
  password: !secret wifi_password
 | 
					  password: !secret wifi_password2
 | 
				
			||||||
  manual_ip:
 | 
					  manual_ip:
 | 
				
			||||||
    static_ip: 192.168.1.56
 | 
					    static_ip: 192.168.4.56
 | 
				
			||||||
    gateway: 192.168.0.1
 | 
					    gateway: 192.168.4.1
 | 
				
			||||||
    subnet: 255.255.255.0
 | 
					    subnet: 255.255.255.0
 | 
				
			||||||
 | 
					    dns1: 9.9.9.9
 | 
				
			||||||
 | 
					    dns2: 149.112.112.112
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Enable fallback hotspot (captive portal) in case wifi connection fails
 | 
					  # Enable fallback hotspot (captive portal) in case wifi connection fails
 | 
				
			||||||
  ap:
 | 
					  ap:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user