1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-17 17:23:45 +01:00

Add support for a01nyub (#4863)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
André Cirne
2023-08-07 01:22:18 +01:00
committed by GitHub
parent 62fed4c1eb
commit 1495fada90
6 changed files with 142 additions and 3 deletions

View File

@@ -34,9 +34,14 @@ spi:
miso_pin: GPIO23
uart:
tx_pin: GPIO22
rx_pin: GPIO23
baud_rate: 115200
- id: uart115200
tx_pin: GPIO22
rx_pin: GPIO23
baud_rate: 115200
- id: uart9600
tx_pin: GPIO22
rx_pin: GPIO23
baud_rate: 9600
ota:
safe_mode: true
@@ -58,6 +63,7 @@ time:
tuya:
time_id: sntp_time
uart_id: uart115200
status_pin:
number: 14
inverted: true
@@ -73,6 +79,7 @@ select:
pipsolar:
id: inverter0
uart_id: uart115200
sx1509:
- id: sx1509_hub
@@ -229,6 +236,7 @@ sensor:
name: inverter0_pv_charging_power
- platform: hrxl_maxsonar_wr
name: Rainwater Tank Level
uart_id: uart115200
filters:
- sliding_window_moving_average:
window_size: 12
@@ -257,6 +265,10 @@ sensor:
name: Ufire Temperature
ph:
name: Ufire pH
- platform: a01nyub
id: a01nyub_sensor
name: "a01nyub Distance"
uart_id: uart9600
#
# platform sensor.apds9960 requires component apds9960