2nd relay
This commit is contained in:
		
							
								
								
									
										34
									
								
								plants.yaml
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								plants.yaml
									
									
									
									
									
								
							@@ -33,11 +33,21 @@ wifi:
 | 
				
			|||||||
    ssid: "Esp32S3N16R8 Fallback Hotspot"
 | 
					    ssid: "Esp32S3N16R8 Fallback Hotspot"
 | 
				
			||||||
    password: "v41VUZA7A1VA"
 | 
					    password: "v41VUZA7A1VA"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# light:
 | 
				
			||||||
 | 
					  # - platform: status_led
 | 
				
			||||||
 | 
					    # name: "Switch state"
 | 
				
			||||||
 | 
					    # pin: GPIO2
 | 
				
			||||||
 | 
					    # restore_mode: ALWAYS_OFF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
switch:
 | 
					switch:
 | 
				
			||||||
  - platform: gpio
 | 
					  - platform: gpio
 | 
				
			||||||
    pin: GPIO15
 | 
					    pin: GPIO15
 | 
				
			||||||
    inverted: true
 | 
					    inverted: true
 | 
				
			||||||
    name: "water pump relay"
 | 
					    name: "light pump"
 | 
				
			||||||
 | 
					  - platform: gpio
 | 
				
			||||||
 | 
					    pin: GPIO17
 | 
				
			||||||
 | 
					    inverted: true
 | 
				
			||||||
 | 
					    name: "heavy pump"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# temperature probe
 | 
					# temperature probe
 | 
				
			||||||
one_wire:
 | 
					one_wire:
 | 
				
			||||||
@@ -45,6 +55,13 @@ one_wire:
 | 
				
			|||||||
    pin: GPIO16
 | 
					    pin: GPIO16
 | 
				
			||||||
    id: probe1
 | 
					    id: probe1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# # ATH20+BMP280
 | 
				
			||||||
 | 
					# i2c:
 | 
				
			||||||
 | 
					#   sda: 17
 | 
				
			||||||
 | 
					#   scl: 18
 | 
				
			||||||
 | 
					#   scan: true
 | 
				
			||||||
 | 
					#   id: probe_ath_bmp_1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sensor:
 | 
					sensor:
 | 
				
			||||||
  - platform: dallas_temp
 | 
					  - platform: dallas_temp
 | 
				
			||||||
    one_wire_id: probe1
 | 
					    one_wire_id: probe1
 | 
				
			||||||
@@ -60,5 +77,20 @@ sensor:
 | 
				
			|||||||
    name: "soil moisture sensor, analog"
 | 
					    name: "soil moisture sensor, analog"
 | 
				
			||||||
    update_interval: 30s
 | 
					    update_interval: 30s
 | 
				
			||||||
    attenuation: auto
 | 
					    attenuation: auto
 | 
				
			||||||
 | 
					  # - platform: bmp280_i2c
 | 
				
			||||||
 | 
					  #   i2c_id: probe_ath_bmp_1
 | 
				
			||||||
 | 
					  #   update_interval: 60s
 | 
				
			||||||
 | 
					  #   temperature:
 | 
				
			||||||
 | 
					  #     name: "BMP temp"
 | 
				
			||||||
 | 
					  #     oversampling: 2x
 | 
				
			||||||
 | 
					  #   pressure:
 | 
				
			||||||
 | 
					  #     name: "BMP Pressure"
 | 
				
			||||||
 | 
					  # - platform: aht10
 | 
				
			||||||
 | 
					  #   i2c_id: probe_ath_bmp_1
 | 
				
			||||||
 | 
					  #   update_interval: 60s
 | 
				
			||||||
 | 
					  #   temperature:
 | 
				
			||||||
 | 
					  #     name: "AHT20 temp"
 | 
				
			||||||
 | 
					  #     id: aht20_temp
 | 
				
			||||||
 | 
					  #     accuracy_decimals: 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
captive_portal:
 | 
					captive_portal:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user