mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	Add new Component: Ultrasonic Distance Sensor JSN-SR04T (#6023)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| uart: | ||||
|   - id: uart_jsn_sr04t | ||||
|     tx_pin: | ||||
|       number: 4 | ||||
|     rx_pin: | ||||
|       number: 5 | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: jsn_sr04t | ||||
|     id: jsn_sr04t_sensor | ||||
|     name: "jsn_sr04t Distance" | ||||
|     uart_id: uart_jsn_sr04t | ||||
|     update_interval: 1s | ||||
							
								
								
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| uart: | ||||
|   - id: uart_jsn_sr04t | ||||
|     tx_pin: | ||||
|       number: 4 | ||||
|     rx_pin: | ||||
|       number: 5 | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: jsn_sr04t | ||||
|     id: jsn_sr04t_sensor | ||||
|     name: "jsn_sr04t Distance" | ||||
|     uart_id: uart_jsn_sr04t | ||||
|     update_interval: 1s | ||||
							
								
								
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| uart: | ||||
|   - id: uart_jsn_sr04t | ||||
|     tx_pin: | ||||
|       number: 17 | ||||
|     rx_pin: | ||||
|       number: 16 | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: jsn_sr04t | ||||
|     id: jsn_sr04t_sensor | ||||
|     name: "jsn_sr04t Distance" | ||||
|     uart_id: uart_jsn_sr04t | ||||
|     update_interval: 1s | ||||
							
								
								
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/jsn_sr04t/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| uart: | ||||
|   - id: uart_jsn_sr04t | ||||
|     tx_pin: | ||||
|       number: 17 | ||||
|     rx_pin: | ||||
|       number: 16 | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: jsn_sr04t | ||||
|     id: jsn_sr04t_sensor | ||||
|     name: "jsn_sr04t Distance" | ||||
|     uart_id: uart_jsn_sr04t | ||||
|     update_interval: 1s | ||||
							
								
								
									
										14
									
								
								tests/components/jsn_sr04t/test.esp8266.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/jsn_sr04t/test.esp8266.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| uart: | ||||
|   - id: uart_jsn_sr04t | ||||
|     tx_pin: | ||||
|       number: 4 | ||||
|     rx_pin: | ||||
|       number: 5 | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: jsn_sr04t | ||||
|     id: jsn_sr04t_sensor | ||||
|     name: "jsn_sr04t Distance" | ||||
|     uart_id: uart_jsn_sr04t | ||||
|     update_interval: 1s | ||||
							
								
								
									
										14
									
								
								tests/components/jsn_sr04t/test.rp2040.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tests/components/jsn_sr04t/test.rp2040.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| uart: | ||||
|   - id: uart_jsn_sr04t | ||||
|     tx_pin: | ||||
|       number: 4 | ||||
|     rx_pin: | ||||
|       number: 5 | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: jsn_sr04t | ||||
|     id: jsn_sr04t_sensor | ||||
|     name: "jsn_sr04t Distance" | ||||
|     uart_id: uart_jsn_sr04t | ||||
|     update_interval: 1s | ||||
		Reference in New Issue
	
	Block a user