[TASK] Triop tank sensors
This commit is contained in:
5
.gitignore
vendored
Executable file
5
.gitignore
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
# Gitignore settings for ESPHome
|
||||
# This is an example and may include too much for your use-case.
|
||||
# You can modify this file to suit your needs.
|
||||
/.esphome/
|
||||
/secrets.yaml
|
||||
4
README.md
Executable file
4
README.md
Executable file
@@ -0,0 +1,4 @@
|
||||
Run a specific configuration with privileged to access to USB device:
|
||||
```sh
|
||||
docker run --rm --net host --privileged -v ./:/config -it ghcr.io/esphome/esphome run triop-tank.yaml
|
||||
```
|
||||
51
triop-tank.yaml
Executable file
51
triop-tank.yaml
Executable file
@@ -0,0 +1,51 @@
|
||||
esphome:
|
||||
name: triops
|
||||
|
||||
esp8266:
|
||||
board: nodemcuv2
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
password: "8zXQf2Bkam2oVt"
|
||||
|
||||
ota:
|
||||
password: "8zXQf2Bkam2oVt"
|
||||
|
||||
wifi:
|
||||
ssid: "Aperture"
|
||||
password: "cavie007"
|
||||
|
||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||
ap:
|
||||
ssid: "Triops Fallback Hotspot"
|
||||
password: "exjogUIFHifR"
|
||||
|
||||
captive_portal:
|
||||
|
||||
dallas:
|
||||
- pin: GPIO12
|
||||
|
||||
|
||||
i2c:
|
||||
# SDA is connected to pin D1
|
||||
sda: GPIO5
|
||||
# SCL is connected to pin D2
|
||||
scl: GPIO4
|
||||
scan: true
|
||||
|
||||
sensor:
|
||||
- platform: dallas
|
||||
address: 0x62012112cc9b8f28
|
||||
name: "Triop water temperature"
|
||||
id: triop_water_temp
|
||||
- platform: bmp280
|
||||
temperature:
|
||||
name: "Triop ambient temperature"
|
||||
oversampling: 4x
|
||||
pressure:
|
||||
name: "Triop ambient pressure"
|
||||
address: 0x76
|
||||
update_interval: 60s
|
||||
Reference in New Issue
Block a user