Refactors ESPHome example
This commit is contained in:
parent
3c7180fefa
commit
ff97d080d7
3 changed files with 22 additions and 48 deletions
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
"storage_version": 1,
|
||||
"name": "parahub",
|
||||
"comment": null,
|
||||
"esphome_version": "1.17.0-dev",
|
||||
"src_version": 1,
|
||||
"arduino_version": "espressif32@1.12.4",
|
||||
"address": null,
|
||||
"esp_platform": "ESP32",
|
||||
"board": "lolin32",
|
||||
"build_path": "parahub",
|
||||
"firmware_bin_path": "parahub/.pioenvs/parahub/firmware.bin",
|
||||
"loaded_integrations": [
|
||||
"esp32_ble_tracker",
|
||||
"esphome",
|
||||
"logger",
|
||||
"parasite",
|
||||
"ruuvi_ble",
|
||||
"sensor",
|
||||
"xiaomi_ble"
|
||||
]
|
||||
}
|
||||
1
hub/.gitignore
vendored
1
hub/.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
secrets.yaml
|
||||
# The platformio project that ESPHome produces.
|
||||
parahub
|
||||
.esphome
|
||||
|
|
|
|||
|
|
@ -3,37 +3,32 @@ esphome:
|
|||
platform: ESP32
|
||||
board: lolin32
|
||||
|
||||
#mqtt:
|
||||
# broker: raspberrypi
|
||||
# username: mqttuser
|
||||
# password: !secret mqtt_password
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
power_save_mode: none
|
||||
|
||||
mqtt:
|
||||
broker: CHANGE_ME
|
||||
username: CHANGE_ME
|
||||
password: !secret mqtt_password
|
||||
|
||||
esp32_ble_tracker:
|
||||
|
||||
#switch:
|
||||
# - platform: gpio
|
||||
# name: "Builtin LED"
|
||||
# pin:
|
||||
# number: 5
|
||||
# inverted: yes
|
||||
|
||||
sensor:
|
||||
- platform: parasite
|
||||
#mac_address: "01:02:03:04:05:06"
|
||||
mac_address: "06:05:04:03:02:01"
|
||||
# Doesn't matter.
|
||||
- platform: b_parasite
|
||||
mac_address: "f0:ca:f0:ca:00:01"
|
||||
humidity:
|
||||
name: "Parasite humidity"
|
||||
name: "bprst1 humidity"
|
||||
temperature:
|
||||
name: "bprst1 temperature"
|
||||
moisture:
|
||||
name: "bprst1 moisture"
|
||||
battery_voltage:
|
||||
name: "bprst1 battery_voltage"
|
||||
|
||||
#wifi:
|
||||
# ssid: !secret wifi_ssid
|
||||
# password: !secret wifi_password
|
||||
|
||||
#captive_portal:
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
#level: VERY_VERBOSE
|
||||
# level: VERY_VERBOSE
|
||||
|
||||
#ota:
|
||||
# password: !secret ota_password
|
||||
ota:
|
||||
password: !secret ota_password
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue