1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

Add support for SMT100 Soil Moisture Sensor (#3654)

Co-authored-by: Dennis Piecha <d.piecha@ymail.com>
This commit is contained in:
piechade
2022-07-28 01:22:49 +02:00
committed by GitHub
parent c95acd2568
commit 2a49811f6e
7 changed files with 242 additions and 0 deletions

View File

@@ -270,6 +270,10 @@ uart:
tx_pin: GPIO4
rx_pin: GPIO5
baud_rate: 9600
- id: uart10
tx_pin: GPIO4
rx_pin: GPIO5
baud_rate: 9600
modbus:
uart_id: uart1
@@ -755,6 +759,19 @@ sensor:
temperature:
name: "mlxtemp"
oversampling: 2
- platform: smt100
uart_id: uart10
counts:
name: "Counts"
dielectric_constant:
name: "Dielectric Constant"
temperature:
name: "Temperature"
moisture:
name: "Moisture"
voltage:
name: "Voltage"
update_interval: 60s
time:
- platform: homeassistant