[TASK] Renamed the triop sensors to betta sensors and added Sulawesi sensor config
This commit is contained in:
BIN
IMG20241111220902.jpg
Normal file
BIN
IMG20241111220902.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
25
README.md
25
README.md
@@ -1,4 +1,25 @@
|
|||||||
Run a specific configuration with privileged to access to USB device:
|
Run a specific configuration with privileged to access to USB device:
|
||||||
```sh
|
```sh
|
||||||
docker run --rm --net host --privileged -v ./:/config -it ghcr.io/esphome/esphome run triop-tank.yaml
|
docker run --rm --net host --privileged -v ./:/config -it ghcr.io/esphome/esphome run betta-tank.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or Sulawesi tank:
|
||||||
|
```sh
|
||||||
|
docker run --rm --net host --privileged -v ./:/config -it ghcr.io/esphome/esphome run sulawesi-tank.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
### Wiring
|
||||||
|
|
||||||
|
BMP280:
|
||||||
|
- VCC -> 3.3V
|
||||||
|
- GND -> GND
|
||||||
|
- SDA -> D1
|
||||||
|
- SCL -> D2
|
||||||
|
- SD0 -> GND (see https://github.com/esphome/issues/issues/6213)
|
||||||
|
|
||||||
|
DS18B20:
|
||||||
|
- VCC -> 3.3V
|
||||||
|
- GND -> GND
|
||||||
|
- DQ -> D6
|
||||||
|
|
||||||
|

|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
esphome:
|
esphome:
|
||||||
name: triops
|
name: betta-tank
|
||||||
|
|
||||||
esp8266:
|
esp8266:
|
||||||
board: nodemcuv2
|
board: nodemcuv2
|
||||||
@@ -20,7 +20,7 @@ wifi:
|
|||||||
|
|
||||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
ap:
|
ap:
|
||||||
ssid: "Triops Fallback Hotspot"
|
ssid: "Betta tank sensors"
|
||||||
password: "exjogUIFHifR"
|
password: "exjogUIFHifR"
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
@@ -39,13 +39,13 @@ i2c:
|
|||||||
sensor:
|
sensor:
|
||||||
- platform: dallas
|
- platform: dallas
|
||||||
address: 0x62012112cc9b8f28
|
address: 0x62012112cc9b8f28
|
||||||
name: "Triop water temperature"
|
name: "Betta tank water temperature"
|
||||||
id: triop_water_temp
|
id: betta_water_temp
|
||||||
- platform: bmp280
|
- platform: bmp280
|
||||||
temperature:
|
temperature:
|
||||||
name: "Triop ambient temperature"
|
name: "Betta tank ambient temperature"
|
||||||
oversampling: 4x
|
oversampling: 4x
|
||||||
pressure:
|
pressure:
|
||||||
name: "Triop ambient pressure"
|
name: "Betta tank ambient pressure"
|
||||||
address: 0x76
|
address: 0x76
|
||||||
update_interval: 60s
|
update_interval: 60s
|
||||||
51
sulawesi-tank.yaml
Normal file
51
sulawesi-tank.yaml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
esphome:
|
||||||
|
name: sulawesi-tank
|
||||||
|
|
||||||
|
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: "sulawesi tank sensors"
|
||||||
|
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: 0xe50121128cc45c28
|
||||||
|
name: "Sulawesi tank water temperature"
|
||||||
|
id: sulawesi_water_temp
|
||||||
|
- platform: bmp280
|
||||||
|
temperature:
|
||||||
|
name: "Sulawesi tank ambient temperature"
|
||||||
|
oversampling: 4x
|
||||||
|
pressure:
|
||||||
|
name: "Sulawesi tank ambient pressure"
|
||||||
|
address: 0x76
|
||||||
|
update_interval: 60s
|
||||||
Reference in New Issue
Block a user