Created
April 7, 2021 11:25
-
-
Save esbenr/38e29ea0ec8bf7a81a903b8079c6fafc to your computer and use it in GitHub Desktop.
ESPHome configuration for MiFlora BT -> WIFI gateway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: miflorahost | |
platform: ESP32 | |
board: esp32dev | |
wifi: | |
ssid: "your wifi ssid" | |
password: "your wifi password" | |
# Enable fallback hotspot (captive portal) in case wifi connection fails | |
ap: | |
ssid: "Miflorahost Fallback Hotspot" | |
password: "sdf" | |
captive_portal: | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
ota: | |
esp32_ble_tracker: | |
#scan_parameters: | |
# interval: 300ms | |
# window: 300ms | |
# duration: 120s | |
# active: false | |
sensor: | |
- platform: xiaomi_hhccjcy01 | |
mac_address: C4:7C:8D:6A:57:6C | |
temperature: | |
name: "MiFlora01 Temperature" | |
moisture: | |
name: "MiFlora01 Moisture" | |
illuminance: | |
name: "MiFlora01 Light" | |
conductivity: | |
name: "MiFlora01 Conductivity" | |
battery_level: | |
name: "MiFlora01 Battery" | |
- platform: xiaomi_hhccjcy01 | |
mac_address: 80:ea:ca:88:ea:33 | |
temperature: | |
name: "MiFlora02 Temperature" | |
moisture: | |
name: "MiFlora02 Moisture" | |
illuminance: | |
name: "MiFlora02 Light" | |
conductivity: | |
name: "MiFlora02 Conductivity" | |
battery_level: | |
name: "MiFlora02 Battery" | |
- platform: xiaomi_hhccjcy01 | |
mac_address: 80:ea:ca:89:21:ac | |
temperature: | |
name: "MiFlora03 Temperature" | |
moisture: | |
name: "MiFlora03 Moisture" | |
illuminance: | |
name: "MiFlora03 Light" | |
conductivity: | |
name: "MiFlora03 Conductivity" | |
battery_level: | |
name: "MiFlora03 Battery" | |
- platform: xiaomi_hhccjcy01 | |
mac_address: 80:ea:ca:88:e8:d2 | |
temperature: | |
name: "MiFlora04 Temperature" | |
moisture: | |
name: "MiFlora04 Moisture" | |
illuminance: | |
name: "MiFlora04 Light" | |
conductivity: | |
name: "MiFlora04 Conductivity" | |
battery_level: | |
name: "MiFlora04 Battery" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment