# ESPHOME et MiFlora (HHCCJCY01)

**URL:** <https://forum.hacf.fr/t/esphome-et-miflora-hhccjcy01/23508>\
**Category:** Entraide Home Assistant\
**Created:** [Mai 3, 2023, 1:31 UTC](https://forum.hacf.fr/t/esphome-et-miflora-hhccjcy01/23508 "2023-05-03T13:31:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Mai 3, 2023, 3:09 UTC](https://forum.hacf.fr/t/esphome-et-miflora-hhccjcy01/23508/7 "2023-05-03T15:09:45Z")

</div>

Bonjour,  
J'ai 4 Mii Flora et 10 LYWSD03MMC ( thermomètre carré Xiaomi ). J'ai 2 Atom Lite flasher avec ESPHOME Bluetooth Proxies [ESPHome Bluetooth Proxy](https://esphome.github.io/bluetooth-proxies/) et les mii flora sont installer par l'intégration Xiaomi BLE, et les LYWSD03MMC sont flasher avec le firmware [ATC\_MiThermometer](https://github.com/pvvx/ATC_MiThermometer) et installer par BTHOME.

Tous ca pour te dire, que j'ai rien configurer sur les ESP. C'est le Bluetooth proxy qui scanne en permanence les capteurs.

 ![ble prox](https://forum.hacf.fr/uploads/default/original/3X/4/8/4819782404fceb59e99375717d59491e6b3e8775.png)  
 ![xiaomi ble3](https://forum.hacf.fr/uploads/default/original/3X/4/a/4a3cdb3e717a8b4ec23e79c1585580e3a6c4b7a3.png)

mon config.yaml:

```auto
substitutions:
  name: atom-bluetooth-proxy-854638
  friendly_name: Bluetooth Proxy 854638
packages:
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/m5stack-atom-lite.yaml@main
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: ekgwc7IAjVi+I1oMeRBhNYCIg+uSX+xxxxxxxxxxxx

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

sensor:
  - platform: wifi_signal
    name: "WiFi Signal dB"
    id: wifi_signal_db
    update_interval: 60s
    entity_category: "diagnostic"

  - platform: copy
    source_id: wifi_signal_db
    name: "WiFi Signal Percent"
    filters:
      - lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
    unit_of_measurement: "Signal %"
    entity_category: "diagnostic"

  - platform: uptime
    name: "BLE Proxy Uptime"

  - platform: internal_temperature
    name: "Internal Temperature"

switch:
  - platform: restart
    name: "BLE Proxy Restart"

binary_sensor:
  - platform: status
    name: "BLE Proxy Statut"

```

Ou ta sur le github les exemples suivant l'esp [GitHub - esphome/bluetooth-proxies: This repo hosts known, tested devices that can serve as Bluetooth proxies for Home Assistant. · GitHub](https://github.com/esphome/bluetooth-proxies)

---

_[View the full topic](https://forum.hacf.fr/t/esphome-et-miflora-hhccjcy01/23508)._
