Electrolyseur E-Pool Technologie Justsalt

Merci c’est sympa, j’ai commandé. Pourrais-tu mettre le code en entier stp ? Merci

Oui je te colle ça dans la sem qd je serai chez moi le copier coller avce le smartphone c pas très pratique.

Pour info mon esp fait proxy pour les sondes plantes xiaomi ça marche très bien. Et ça permet aussi de piloter l’arrosage du jardin

esphome:
  name: esp-eth
  friendly_name: ESP-ETH
  #platform: ESP32
  ##oard: esp-wrover-kit

esp32:
  board: esp-wrover-kit
  framework:
    type: esp-idf
    #version: recommended
    #sdkconfig_options:
    #  COMPILER_OPTIMIZATION_SIZE: y

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO0_IN
  phy_addr: 1
  power_pin: GPIO16
  manual_ip:
   static_ip: 192.168.8.8
   gateway: 192.168.8.1
   subnet: 255.255.255.0
   dns1: 192.168.8.1

# Enable logging
logger:
  level: WARN
  baud_rate: 0
  
# Enable Home Assistant API
api:
  encryption:
    key: *

ota:
  platform: esphome
  password:*

#wifi:
#  ssid: !secret wifi_ssid
#  password: !secret wifi_password
#  manual_ip:
#    static_ip: !secret wifi_espeth_ip
#    gateway: !secret wifi_gtw
#    subnet: !secret wifi_sub
#    dns1: !secret wifi_dns1

  # Enable fallback hotspot (captive portal) in case wifi connection fails
#  ap:
#    ssid: "Esp-Eth Fallback Hotspot"
#    password:*

#captive_portal:

web_server:
  port: 80  

#  JustSalt
substitutions:
  mac_justsalt: "*"
  service_uuid: '09912756-7b32-4629-aeb1-b309d9a338ae'
  characteristic_uuid: 'ef785c24-22bb-463d-b651-0b7445ba091c'
  characteristic_uuid_write: '4d32c5e5-2bb5-45c6-8c89-6f59bb3930d2'

bluetooth_proxy:
  active: true

esp32_ble_tracker:
  scan_parameters:
    #interval: 1100ms
    #window: 1100ms
    active: true

time:
  - platform: homeassistant
    id: homeassistant_time_5m
    on_time:
      - seconds: 0
        minutes: /5
        then:
          - switch.turn_off: ble_switch_com
          - delay: 20s
          - switch.turn_on: ble_switch_com

ble_client:
  - mac_address:  ${mac_justsalt}
    auto_connect: true
    id: JustSaltPro
    on_connect:
      then:
        - ble_client.numeric_comparison_reply:
            id: JustSaltPro
            accept: True


binary_sensor:
#  - platform: gpio
 ##   pin: GPIO14
 ##   name: "Compteur Deblit piscine"
  ##  internal: true
  ##  filters:
  #    - delayed_off: 10ms

  - platform: ble_presence
    mac_address: ${mac_justsalt}
    name: Electolyseur

  - platform: template  
    id: InjPHM
    name: "Injection PH-"
  
  - platform: template  
    id: InjPHP
    name: "Injection PH+"

number:
  - platform: template
    id: orp_consigne_new
    name: "ORP Consigne"
    icon: "mdi:flash-triangle-outline"
    unit_of_measurement: "mV"
    min_value: 200
    max_value: 900
    step: 10
    optimistic: true
    on_value: 
      then:
        - ble_client.ble_write:
            id: JustSaltPro
            service_uuid: ${service_uuid}
            characteristic_uuid: ${characteristic_uuid_write}
            value: !lambda |-
              //float state = std::stof(id(orp_consigne_new).state);
              ESP_LOGD("ORPconsigne", "Option consigne change:  %f", id(orp_consigne_new).state);   
              uint8_t statehex = id(orp_consigne_new).state / 10;
              return {0x00, 0x06, 0x03, 0x35, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

  - platform: template
    id: orp_alarme_consigne
    name: "ORP Alarme Consigne"
    icon: "mdi:alarm"
    unit_of_measurement: "h"
    min_value: 12
    max_value: 96
    step: 6
    optimistic: true
    on_value: 
      then:
        - ble_client.ble_write:
            id: JustSaltPro
            service_uuid: ${service_uuid}
            characteristic_uuid: ${characteristic_uuid_write}
            value: !lambda |-
              //float state = std::stof(id(orp_consigne_new).state);
              ESP_LOGD("ORPalarmeconsigne", "Option consigne change:  %f", id(orp_alarme_consigne).state);   
              uint8_t statehex = id(orp_alarme_consigne).state;
              return {0x00, 0x06, 0x03, 0x37, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
         
  - platform: template
    id: ph_consigne
    name: "PH Consigne"
    icon: "mdi:ph"
    unit_of_measurement: "ph"
    min_value: 6.8
    max_value: 7.6
    step: 0.1
    optimistic: true
    on_value: 
      then:
        - ble_client.ble_write:
            id: JustSaltPro
            service_uuid: ${service_uuid}
            characteristic_uuid: ${characteristic_uuid_write}
            value: !lambda |-
              ESP_LOGD("PHconsigne", "Option consigne change:  %f", id(ph_consigne).state);   
              uint8_t statehex = id(ph_consigne).state * 10;
              return {0x00, 0x06, 0x03, 0x30, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
        
  - platform: template
    id: vol_consigne
    name: "Volume Consigne"
    icon: "mdi:cup-water"
    unit_of_measurement: "m3"
    min_value: 10
    max_value: 200
    step: 10
    optimistic: true
    on_value: 
      then:
        - ble_client.ble_write:
            id: JustSaltPro
            service_uuid: ${service_uuid}
            characteristic_uuid: ${characteristic_uuid_write}
            value: !lambda |-
              ESP_LOGD("volconsigne", "Option consigne change:  %f", id(vol_consigne).state);   
              uint8_t statehex = id(vol_consigne).state;
              return {0x00, 0x06, 0x03, 0x11, 0x02, 0x00, statehex, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

  - platform: template
    id: acide_consigne
    name: "acide Consigne"
    icon: "mdi:skull-crossbones-outline"
    unit_of_measurement: "%"
    min_value: 5
    max_value: 55
    step: 1
    optimistic: true
    on_value: 
      then:
        - ble_client.ble_write:
            id: JustSaltPro
            service_uuid: ${service_uuid}
            characteristic_uuid: ${characteristic_uuid_write}
            value: !lambda |-
              ESP_LOGD("acideconsigne", "Option consigne change:  %f", id(acide_consigne).state);   
              uint8_t statehex = id(acide_consigne).state;
              return {0x00, 0x06, 0x03, 0x32, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

  - platform: template
    id: production_consigne
    name: "production Consigne"
    icon: "mdi:cog-outline"
    unit_of_measurement: "%"
    min_value: 10
    max_value: 100
    step: 1
    optimistic: true
    on_value: 
      then:
        - ble_client.ble_write:
            id: JustSaltPro
            service_uuid: ${service_uuid}
            characteristic_uuid: ${characteristic_uuid_write}
            value: !lambda |-
              ESP_LOGD("productionconsigne", "Option consigne change:  %f", id(production_consigne).state);   
              uint8_t statehex = id(production_consigne).state;
              return {0x00, 0x06, 0x03, 0x33, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

  - platform: template
    id: inversion_consigne
    name: "inversion Consigne"
    icon: "mdi:alarm"
    unit_of_measurement: "h"
    min_value: 2
    max_value: 24
    step: 1
    optimistic: true
    on_value: 
      then:
        - ble_client.ble_write:
            id: JustSaltPro
            service_uuid: ${service_uuid}
            characteristic_uuid: ${characteristic_uuid_write}
            value: !lambda |-
              ESP_LOGD("inversionconsigne", "Option consigne change:  %f", id(inversion_consigne).state);   
              uint8_t statehex = id(inversion_consigne).state;
              return {0x00, 0x06, 0x03, 0x39, 0x01, statehex, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};


text_sensor:
  - platform: version
    name: ESPHome Version
  
#  - platform: wifi_info
#    ssid:
#      name: WiFi
  
  - id: ble_name2
    name: "Name"
    platform: template 

  - id: version_logiciel
    name: "version logiciel"
    platform: template 
  
  - id: slave
    name: "Slave"
    platform: template 
   
  - id: idcode
    name: "ID Code"
    platform: template  

  - platform: template
    name: "MAC bt"
    id: JustSalt_macbt_textsensor
  
  - platform: template
    name: "nom bt"
    id: JustSalt_nombt_textsensor
  
  - platform: template
    name: "SN"
    id: JustSalt_sn_textsensor

  - platform: template
    name: "temp90"
    id: JustSalt_90_textsensor
  
  - platform: template
    name: "temp91"
    id: JustSalt_91_textsensor

  - platform: template
    name: "temp9D"
    id: JustSalt_9d_textsensor
  
  - platform: template
    name: "tempD0"
    id: JustSalt_d0_textsensor

  - platform: template
    name: "tempE1"
    id: JustSalt_e1_textsensor

  - platform: template
    name: "tempE2"
    id: JustSalt_e2_textsensor
      
  - platform: template
    name: "tempE4"
    id: JustSalt_e4_textsensor
  
  - platform: template
    name: "tempA3"
    id: JustSalt_a3_textsensor

  - platform: template
    name: "Date etalonage PH"
    id: JustSalt_temp12_textsensor

  - platform: template
    name: "Date etalonage ORP"
    id: JustSalt_temp13_textsensor
    

sensor:
#  - platform: wifi_signal
#    name: Wifi signal
#    update_interval: 60s

  - platform: uptime
    name: Uptime

  # Débit d'eau instantané (0 après 10s)
  #- platform: pulse_meter        
  #  name: "Debit piscine"
  #  pin:
  #   number: GPIO14
  #   inverted: true
  #   mode:
  #      input: true
  #      pullup: true
  #  internal_filter: 10ms
  #  icon: mdi:water
  #  timeout: 60s
  #  unit_of_measurement: 'l/mn'
  #  filters:
  #    - multiply: 0.104895  # Conversion factor to L/min (1 pulse per second = 0.104895 L/min) Calculé à partir de 572 impulsions par litre,
  
  - platform: template
    name: "temp02"
    id: JustSalt_temp02_sensor
    accuracy_decimals: 0
    on_value:
      then:
        - lambda: |- 
            if (id(sensor_state).state == 1) {
              uint16_t temphex02 = id(JustSalt_temp02_sensor).raw_state;
              //ESP_LOGD(" --- temp 02 str", "%d", temphex02);
              id(InjPHM).publish_state((bool)((temphex02 & 0x000A) ));
              id(InjPHP).publish_state((bool)((temphex02 & 0x000C) ));
              }

  - platform: template
    name: "temp03"
    id: JustSalt_temp03_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp08"
    id: JustSalt_temp08_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp0B"
    id: JustSalt_temp0b_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp0C"
    id: JustSalt_temp0c_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp0D"
    id: JustSalt_temp0d_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "Compteur Heure total de fonctionnement"
    id: JustSalt_temp0e_sensor
    accuracy_decimals: 0
    unit_of_measurement: "h"
  
  - platform: template
    name: "minutes de fonctionement"
    id: JustSalt_temp0f_sensor
    unit_of_measurement: "min"
    accuracy_decimals: 0

  - platform: template
    name: "temp10"
    id: JustSalt_temp10_sensor
    accuracy_decimals: 0
 
  - platform: template
    name: "temp1f"
    id: JustSalt_temp1f_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp28"
    id: JustSalt_temp28_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp29"
    id: JustSalt_temp29_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp2A"
    id: JustSalt_temp2a_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp31"
    id: JustSalt_temp31_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp50"
    id: JustSalt_temp50_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp51"
    id: JustSalt_temp51_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp5F"
    id: JustSalt_temp5f_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp69"
    id: JustSalt_temp69_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp6A"
    id: JustSalt_temp6a_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp8F"
    id: JustSalt_temp8f_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "temp92"
    id: JustSalt_temp92_sensor
    accuracy_decimals: 0
      
  - platform: template
    name: "temp93"
    id: JustSalt_temp93_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp94"
    id: JustSalt_temp94_sensor
    accuracy_decimals: 0
      
  - platform: template
    name: "temp9B"
    id: JustSalt_temp9b_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp9C"
    id: JustSalt_temp9c_sensor
    accuracy_decimals: 0

  - platform: template
    name: "temp9D"
    id: JustSalt_temp9d_sensor
    accuracy_decimals: 0

  - platform: template
    name: "tempB0"
    id: JustSalt_tempb0_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "tempD1"
    id: JustSalt_tempd1_sensor
    accuracy_decimals: 0
  
  - platform: template
    name: "tempFE"
    id: JustSalt_tempfe_sensor
    accuracy_decimals: 0

  - platform: ble_rssi
    mac_address:  ${mac_justsalt}
    name: "JustSalt RSSI"  

  - platform: template
    name: "Temperature eau"
    id: JustSalt_temperature_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "pH"
    id: JustSalt_ph_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:ph
  
  - platform: template
    name: "ORP"
    id: JustSalt_orp_sensor
    unit_of_measurement: "mV"
    accuracy_decimals: 0
    state_class: measurement
    device_class: voltage
  
  - platform: template
    name: "TDS"
    id: JustSalt_tds_sensor
    unit_of_measurement: "g/L"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:water-opacity

  - platform: ble_client
    ble_client_id: JustSaltPro
    name: "traitement"
    id: sensor_state    
    service_uuid: ${service_uuid} #'09912756-7b32-4629-aeb1-b309d9a338ae'
    characteristic_uuid: ${characteristic_uuid} #'ef785c24-22bb-463d-b651-0b7445ba091c'
    type: characteristic
    # update_interval: 2m
    notify: True
    lambda: |-     
      std::string value2(x.begin(), x.end());
      std::string rawhex = format_hex_pretty((uint8_t *) value2.c_str(), value2.size()).c_str();
      //ESP_LOGW("raw_hex_boucle", "-- Recep Debut --");
      //ESP_LOGD("raw_hex", "%s", rawhex.c_str());
      rawhex.erase(std::remove(rawhex.begin(), rawhex.end(), '.'), rawhex.end());
      
      int index = 3;

      while (index +2 < x.size()) {
        uint8_t idvaleur = x[index];
        int taillevaleur = x[index + 1 ];
      
        switch (idvaleur) {
          case 0x00: { 
            }break;
      
          case 0x01: {
            uint8_t phhex = x[index + 2];
            float ph = static_cast<float>(phhex)/10;
            id(JustSalt_ph_sensor).publish_state(ph);
            }break;

          case 0x02: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp02_sensor).publish_state(temp);
            }break;

          case 0x03: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp03_sensor).publish_state(temp);
            }break;

          case 0x06: {
            uint16_t orphex = ((x[index + 2]<< 8) + (x[index +3]));
            float orp = static_cast<float>(orphex);
            id(JustSalt_orp_sensor).publish_state(orp);
            }break;

          case 0x08: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp08_sensor).publish_state(temp);
            }break;

          case 0x09: {
            uint16_t tempeauhex = ((x[index + 2]<< 8) + (x[index +3]));
            float tempeau = static_cast<float>(tempeauhex)/10;
            id(JustSalt_temperature_sensor).publish_state(tempeau);
            }break;
          
          case 0x0A: {
            uint8_t selhex = x[index + 2] ;
            float sel = static_cast<float>(selhex)/10;
            id(JustSalt_tds_sensor).publish_state(sel);
            }break;

          case 0x0B: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0b_sensor).publish_state(temp);
            }break;
          
          case 0x0C: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0c_sensor).publish_state(temp);
            }break;

          case 0x0D: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0d_sensor).publish_state(temp);
            }break;

          case 0x0E: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0e_sensor).publish_state(temp);
            }break;

          case 0x0F: {
            uint8_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp0f_sensor).publish_state(temp);
            }break;
          
          case 0x10: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp10_sensor).publish_state(temp);
            }break;

          case 0x11: {
            uint16_t volhex = ((x[index + 2]<< 8) + (x[index +3]));
            float vol = static_cast<float>(volhex);
            id(vol_consigne).publish_state(vol);
            }break;
          
          case 0x12: {
            uint8_t dayphex = (x[index + 3]);
            uint8_t monthphex = (x[index + 4]);
            uint8_t yearphex = (x[index +5]);
            int dayf = static_cast<int>(dayphex);
            int monthf = static_cast<int>(monthphex);
            int yearf = static_cast<int>(yearphex);
            std::string datestr =  std::to_string(dayf) + "/" + std::to_string(monthf) + "/20" + std::to_string(yearf);
            id(JustSalt_temp12_textsensor ).publish_state(datestr);
            }break;

          case 0x13: {
            uint8_t dayphex = (x[index + 3]);
            uint8_t monthphex = (x[index + 4]);
            uint8_t yearphex = (x[index +5]);
            int dayf = static_cast<int>(dayphex);
            int monthf = static_cast<int>(monthphex);
            int yearf = static_cast<int>(yearphex);
            std::string datestr =  std::to_string(dayf) + "/" + std::to_string(monthf) + "/20" + std::to_string(yearf);
            id(JustSalt_temp13_textsensor ).publish_state(datestr);
            }break;

          case 0x1F: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp1f_sensor).publish_state(temp);
            }break;
          
          case 0x28: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp28_sensor).publish_state(temp);
            }break;
          
          case 0x29: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp29_sensor).publish_state(temp);
            }break;
        
          case 0x2A: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp2a_sensor).publish_state(temp);
            }break;
          
          case 0x30: {
            uint8_t phchex = x[index + 2] ;
            float phc = static_cast<float>(phchex)/10;
            auto phcstr = value_accuracy_to_string (phc,1);
            id(ph_consigne).publish_state(phc);
            }break;
          
          case 0x31: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp31_sensor).publish_state(temp);
            }break;         

          case 0x32: {
            uint8_t acidehex = x[index + 2] ;
            float acide = static_cast<float>(acidehex);
            id(acide_consigne).publish_state(acide);
            }break;
          
          case 0x33: {
            uint8_t prodhex = x[index + 2] ;
            float prod = static_cast<float>(prodhex);
            id(production_consigne).publish_state(prod);
            }break;

          case 0x35: {
            uint8_t orpchex = x[index + 2] ;
            float orpc = static_cast<float>(orpchex)*10;
            id(orp_consigne_new).publish_state(orpc);
            }break;
          
          case 0x37: {
            uint8_t alarmeorphex = x[index + 2] ;
            float alarmeorp = static_cast<float>(alarmeorphex);
            id(orp_alarme_consigne).publish_state(alarmeorp);
            }break;
 
          case 0x39: {
            uint8_t inversionhex = x[index + 2] ;
            float inversionval = static_cast<float>(inversionhex);
            id(inversion_consigne).publish_state(inversionval);
            }break;

          case 0x50: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp50_sensor).publish_state(temp);
            }break;

          case 0x51: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp51_sensor).publish_state(temp);
            }break;

          case 0x5F: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp5f_sensor).publish_state(temp);
            }break;
          
          case 0x69: {
            uint32_t temphex = (x[index + 2]<< 24) + (x[index + 3]<< 16)+ (x[index + 4]<< 8) + (x[index +5]);
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp69_sensor).publish_state(temp);
            }break;

          case 0x6A: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp6a_sensor).publish_state(temp);
            }break;

          case 0x8F: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp8f_sensor).publish_state(temp);
            }break;
            
          case 0x90: {
            // 90.08.00.00.00.00.00.00.00.14.
            std::string tempstring = value2.substr((index + 2 ), taillevaleur);
            id(JustSalt_90_textsensor).publish_state(tempstring.c_str());
            }break;

          case 0x91: {
            //  91.08.00.00.00.00.00.06.6F.C3.
            std::string tempstring = value2.substr((index + 2 ), taillevaleur);
            id(JustSalt_91_textsensor).publish_state(tempstring.c_str());
            }break;
          
          case 0x92: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp92_sensor).publish_state(temp);
            }break;

          case 0x93: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp93_sensor).publish_state(temp);
            }break;

          case 0x94: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp94_sensor).publish_state(temp);
            }break;

          case 0x95: {
            uint32_t idcodehex = (x[index + 2]<< 24) + (x[index + 3]<< 16)+ (x[index + 4]<< 8) + (x[index +5]);
            float idcodefloat = static_cast<float>(idcodehex);
            std::string idcodestr = value_accuracy_to_string (idcodefloat,0);
            id(idcode).publish_state(idcodestr);
            }break;
          
          case 0x96: {
            std::string verlog = rawhex.substr((index + 2 )* 2, 2) + "." + rawhex.substr((index + 2 )* 2 + 2, 2);
            id(version_logiciel).publish_state(verlog);
            }break;
          
          case 0x97: {
            std::string slaveval = rawhex.substr((index + 2 )* 2, 2) + "." + rawhex.substr((index + 2 )* 2 + 2, 2);
            id(slave).publish_state(slaveval);
            }break;

          case 0x99: {
            //99.16.47.45.4E.5F.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.00.00.
            std::string tempstring = value2.substr((index + 2 ), taillevaleur);
            id(JustSalt_nombt_textsensor).publish_state(tempstring.c_str());
            }break;

          case 0x9A: {
            //9A.10.30.35.32.32.2D.30.34.33.39.35.33.2D.30.30.33.00.
            std::string tempstring = value2.substr((index + 2 ), taillevaleur);
            id(JustSalt_sn_textsensor).publish_state(tempstring.c_str());
            }break;

          case 0x9B: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp9b_sensor).publish_state(temp);
            }break;

          case 0x9C: {
            uint16_t temphex = ((x[index + 2]<< 8) + (x[index +3]));
            float temp = static_cast<float>(temphex);
            id(JustSalt_temp9c_sensor).publish_state(temp);
            }break;

          case 0x9D: {
            //  9D.08.00.00.00.00.00.00.01.FF
            std::string tempstring = rawhex.substr((index + 2 )* 2, 8);
            id(JustSalt_9d_textsensor).publish_state(tempstring);
            }break;
          
          case 0xA3: {
            //  E1.0F.18.04.11.11.00.33.00.00.88.00.F8.00.00.00.00
            std::string tempstring = rawhex.substr((index + 2 )* 2, 15);
            id(JustSalt_a3_textsensor).publish_state(tempstring);
            }break;
          
          case 0xB0: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_tempb0_sensor).publish_state(temp);
            }break;
  
          case 0xB1: {
            std::string tempstring = rawhex.substr((index + 2 )* 2, 12);
            id(JustSalt_macbt_textsensor).publish_state(tempstring);
            }break;
          
          case 0xD0: {
            //D0.06.30.00.00.00.00.00
            std::string tempstring = rawhex.substr((index + 2 )* 2, 6);
            id(JustSalt_d0_textsensor).publish_state(tempstring);
            }break;

          case 0xD1: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_tempd1_sensor).publish_state(temp);
            }break;
   
          case 0xFE: {
            uint8_t temphex = x[index + 2];
            float temp = static_cast<float>(temphex);
            id(JustSalt_tempfe_sensor).publish_state(temp);
            }break;
  
          case 0xE1: {
            //  E1.0F.18.04.11.11.00.33.00.00.88.00.F8.00.00.00.00
            std::string tempstring = rawhex.substr((index + 2 )* 2, 30);
            id(JustSalt_e1_textsensor).publish_state(tempstring);
            }break;
            
          case 0xE2: {
            // E2.0F.18.04.16.0A.22.10.00.00.00.41.3E.DC.00.00.00
            std::string tempstring = rawhex.substr((index + 2 )* 2, 30);
            id(JustSalt_e2_textsensor).publish_state(tempstring);
            }break;

          case 0xE4: {
            // E4.0F.18.04.12.15.00.00.46.00.0B.13.00.00.00.00.00
            std::string tempstring = rawhex.substr((index + 2 )* 2, 30);
            id(JustSalt_e4_textsensor).publish_state(tempstring);
            }break;

          default: {
              ESP_LOGW("raw_hex_boucle", "idvaleur Non implementee %d", idvaleur);
            };
          }
        index = index + 2 + taillevaleur ;
      }
      //ESP_LOGW("raw_hex_boucle", "-- Recep FIN --");
      return 1;


switch:      
  - platform: restart
    name: JustSalt_Gatway restart    

  - platform: ble_client
    id: ble_switch_com
    ble_client_id: JustSaltPro
    name: "Enable com JustSalt"

Merci je teste ça quand j’aurai reçu la « chose »

Bonjour, alors j’ai reçu ESP eth, je l’ai branché sur mon switch Poe mais rien ne s’allume. Qu’est ce que j’ai oublié ?? Comment on injecte du coup le code ?

Ce modèle n’est pas poe

Ah, comment on l’alimente du coup ?

Je l alimente avec ça PL2303 PL2303HX/PL2303TA USB Zu RS232 TTL Konverter Adapter Modul mit Staub-proof Abdeckung PL2303HX für arduino download kabel - AliExpress 502

Bien en version 5v

Tu dois pouvoir trouver sur Amazon aussi.

C est indispensable si tu en as pas Ca te permet d’injecter le code aussi. Une fois le code injecté les mises à jour peuvent être fait par réseau

Ah d’accord merci
j’ai pris ça Amazon.fr
j’espère que ça conviendra

oui je pense c’est équivalent, pour info pour le cablage j’ai suivi ce tuto:

oui c’est aussi sur ce tuto que je me suis basé pour commander sur amazon

bonjour
voici mon code :

substitutions:
  mac_justsalt: "18:C2:93:03:CC:FB"
  service_uuid: '09912756-7b32-4629-aeb1-b309d9a338ae'
  characteristic_uuid: 'ef785c24-22bb-463d-b651-0b7445ba091c'
                       # EF785C24-22BB-463D-B651-0B7445BA091C 
  characteristic_uuid_write: '4d32c5e5-2bb5-45c6-8c89-6f59bb3930d2'

esphome:
  name: est-poe-32
  friendly_name: EST-PoE-32

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "b8ca7d114e2ae67004c035e7cea8c7ff"
  platform: esphome

# wifi:                             #WiFi cannot be active at the same time as Ethernet, but useful to keep as a fallback
#   ssid: !secret wifi_ssid
#   password: !secret wifi_password

#   # Enable fallback hotspot (captive portal) in case wifi connection fails
#   ap:
#     ssid: "Est-Poe-32 Fallback Hotspot"
#     password: "taHUFO8DGHVi"

web_server:
  port: 80

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
  power_pin: GPIO12
  manual_ip:
    static_ip: 192.168.1.162
    gateway: 192.168.1.254
    subnet: 255.255.255.0

bluetooth_proxy:
  active: true

time:
  - platform: homeassistant
    id: homeassistant_time
    on_time:
      - seconds: 0
        minutes: /5
        then:
          - switch.turn_off: ble_switch_com
          - delay: 20s
          - switch.turn_on: ble_switch_com

esp32_ble_tracker:
  on_ble_advertise:
    - mac_address:
       - ${mac_justsalt}
      then:
        - lambda: |-
            ESP_LOGD("ble_adv", "New BLE device");
            ESP_LOGD("ble_adv", "  address: %s", x.address_str().c_str());
            ESP_LOGD("ble_adv", "  name: %s", x.get_name().c_str());
            id(ble_name2).publish_state(x.get_name().c_str());

ble_client:
  - mac_address:  ${mac_justsalt}
    auto_connect: true
    id: JustSaltPro
    on_connect:
      then:
        - ble_client.numeric_comparison_reply:
            id: JustSaltPro
            accept: True

i2c:
  - id: bus_a
    sda: 13
    scl: 14
    scan: true

sensor:
  - platform: bme280_i2c
    temperature:
      name: "BME280 Temperature"
      oversampling: 16x
      force_update: true        
    pressure:
      name: "BME280 Pressure"
      force_update: true 
    humidity:
      name: "BME280 Humidity"
      force_update: true 
    address: 0x76
    update_interval: 60s
  - platform: pulse_counter
    pin: 5
    force_update: true  
    unit_of_measurement: 'km/h'
    name: 'vitesse vent'
    filters:
      - multiply: 0.173
    update_interval: 5s

  - platform: uptime
    name: Uptime
  
  - platform: ble_rssi
    mac_address:  ${mac_justsalt}
    name: "JustSalt RSSI"  

  - platform: template
    name: "volume piscine"
    id: JustSalt_volume_sensor
    unit_of_measurement: "m3"
    
  - platform: template
    name: "JustSalt Temperature"
    id: JustSalt_temperature_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt Temperature Int"
    id: JustSalt_temperature_int_sensor
    unit_of_measurement: "°C"
    accuracy_decimals: 1
    state_class: measurement
    device_class: temperature
  
  - platform: template
    name: "JustSalt pH"
    id: JustSalt_ph_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 2
    state_class: measurement
    icon: mdi:ph
  
  - platform: template
    name: "JustSalt pH consigne"
    id: JustSalt_ph_consigne_sensor
    unit_of_measurement: "pH"
    accuracy_decimals: 2
    state_class: measurement
    icon: mdi:ph

  - platform: template
    name: "JustSalt ORP"
    id: JustSalt_orp_sensor
    unit_of_measurement: "mV"
    accuracy_decimals: 0
    state_class: measurement
    device_class: voltage
  
  - platform: template
    name: "JustSalt TDS"
    id: JustSalt_tds_sensor
    unit_of_measurement: "g/L"
    accuracy_decimals: 1
    state_class: measurement
    icon: mdi:water-opacity


  - platform: ble_client
    ble_client_id: JustSaltPro
    id: device_name
    service_uuid: '1800'  # Generic Access Profile
    characteristic_uuid: '2a00'  # Device Name
    type: characteristic
    lambda: |-
      std::string data_string(x.begin(), x.end());
      id(ble_name).publish_state(data_string.c_str());
      return (float)x.size();

  - platform: ble_client
    ble_client_id: JustSaltPro
    name: "traitement"
    id: sensor_state    
    service_uuid: '09912756-7b32-4629-aeb1-b309d9a338ae'
    characteristic_uuid: 'ef785c24-22bb-463d-b651-0b7445ba091c'
    type: characteristic
    update_interval: 30s
    notify: true
    lambda: |-      
      //ESP_LOGD("ble_client.receive", "start - value received with %d bytes: [%.*s]", x.size(), x.size(), &x[0]);
      std::string value2(x.begin(), x.end());
      std::string rawhex = format_hex_pretty((uint8_t *) value2.c_str(), value2.size()).c_str();
      //ESP_LOGD("raw_hex", "%s", rawhex.c_str());
      
      rawhex.erase(std::remove(rawhex.begin(), rawhex.end(), '.'), rawhex.end());
      //ESP_LOGD("raw_hex_stripped", "value received with %d bytes: [%.*s]", rawhex.size(), rawhex.c_str());
         
      switch (x.size()) {
       // case 71: {

       //   std::string temppart3 = rawhex.substr(30, 4);
       //   ESP_LOGD("chaine 71", "version : %s", temppart3.c_str());
       //   id(version_logiciel).publish_state(temppart3);
       //   }break;

        //case 76:{
        //  std::string temppart2 = rawhex.substr(10, 2);
        //  ESP_LOGD("chaine 76", "%s", temppart2.c_str());
        //  uint8_t phhex = x[5];
        //  float ph = static_cast<float>(phhex)/10;
        //  id(JustSalt_ph_sensor).publish_state(ph);

         // std::string temppart3 = rawhex.substr(44, 4);
         // ESP_LOGD("chaine 76", "%s", temppart3.c_str());
         // uint16_t tempeauhex = (x[22]<< 8) + x[23];
         // ESP_LOGD("chaine 76", "%x", tempeauhex);
         // float tempeau = static_cast<float>(tempeauhex)/10;
         // id(JustSalt_temperature_sensor).publish_state(tempeau);

         // std::string temppart1 = rawhex.substr(52, 2);
         // ESP_LOGD("chaine 76", "%s", temppart1.c_str());
         // uint8_t selhex = x[26] ;
         // float sel = static_cast<float>(selhex)/10;
         // id(JustSalt_tds_sensor).publish_state(sel);

         // std::string temppart4 = rawhex.substr(104, 2);
         // ESP_LOGD("chaine 76", "%s", temppart4.c_str());
         // uint8_t volhex = x[52] ;
         // float vol = static_cast<float>(volhex);
         // id(JustSalt_volume_sensor).publish_state(vol);
          
         // }break;

        //case 78:{
        //  std::string temppart2 = rawhex.substr(24, 2);
        //  ESP_LOGD("chaine 78", "%s", temppart2.c_str());
        //  uint8_t phhex = x[12];
        // float ph = static_cast<float>(phhex)/10;
        // id(JustSalt_ph_consigne_sensor).publish_state(ph);

        //  }break;//
        case 245:{
          
          ESP_LOGD("raw_hex", "%s", rawhex.c_str());
        
          std::string mystring = rawhex.substr(18,4);
          ESP_LOGD(">>>>> ... >>>> chaine 245", "%s", mystring.c_str());
          uint16_t tempeauhex = (x[18]<< 8) + x[19];
          ESP_LOGD(">>>>> ... >>>> valeur", "%x", tempeauhex);
          float tempeau = static_cast<float>(tempeauhex)/10;
          id(JustSalt_temperature_sensor).publish_state(tempeau);

          uint8_t phhex = x[5];
          float ph = static_cast<float>(phhex)/10;
          id(JustSalt_ph_sensor).publish_state(ph);

          uint8_t selhex = x[22] ;
          float sel = static_cast<float>(selhex)/10;
          id(JustSalt_tds_sensor).publish_state(sel);

          uint16_t orphex = (x[8] << 8) + x[9];
          ESP_LOGD("TAUX ORP", "%x", orphex);
          float orp = static_cast<float>(orphex);
          id(JustSalt_orp_sensor).publish_state(orp);

          }break;
      }
      return 1;
  
binary_sensor:
  - platform: gpio
    name: "vent nord"
    pin:
      number: 32
      mode: input
     # inverted: true
    
  - platform: gpio
    name: "vent sud"
    pin:
      number: 33
      mode: input
     # inverted: true
    
  - platform: gpio
    name: "vent ouest"
    pin:
      number: 34
      mode: input
     # inverted: true
    
  - platform: gpio
    name: "vent est"
    pin:
      number: 36
      mode: input
     # inverted: true

  - platform: ble_presence
    mac_address: ${mac_justsalt}
    name: JustSaltPro

    
switch:
  - platform: gpio
    name: "Pin 16"
    pin: 16
  - platform: gpio
    name: "Pin 4"
    pin: 4
  - platform: gpio
    name: "Pin 0"
    pin: 0
  - platform: gpio
    name: "Pin 2"
    pin: 2
  - platform: gpio
    name: "Pin 15"
    pin: 15
  - platform: restart
    name: JustSalt_Gatway restart    

  - platform: ble_client
    id: ble_switch_com
    ble_client_id: JustSaltPro
    name: "Enable com JustSalt"

text_sensor:
  - platform: version
    name: ESPHome Version
  #- platform: wifi_info
  #  ssid:
  #    name: WiFi

  - id: ble_name
    name: "Name BLE"
    platform: template 
  
  - id: ble_name2
    name: "Name"
    platform: template 


  - id: version_logiciel
    name: "version logiciel"
    platform: template 
  
  - id: Slave
    name: "Slave"
    platform: template 
  

cela fonctionnait pendant plusieures semaines et maintenant apres une mise a jour esphome (sans modif de code) ca marche plus , mon ph tds sont tous a NaN

voici les logs


[18:14:30][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:14:30][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:14:30][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:14:30][W][component:237]: Component esp32_ble_tracker took a long time for an operation (56 ms).
[18:14:30][W][component:238]: Components should block for at most 30 ms.
[18:14:30][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:14:30][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:14:30][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:14:30][I][ble_sensor:031]: [traitement] Connected successfully!
[18:14:30][I][ble_sensor:031]: [device_name] Connected successfully!
[18:14:30][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:14:30][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:14:30][W][ble_sensor:037]: [traitement] Disconnected!
[18:14:30][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:14:31][W][ble_sensor:037]: [device_name] Disconnected!
[18:14:31][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:14:31][W][component:237]: Component esp32_ble took a long time for an operation (60 ms).
[18:14:31][W][component:238]: Components should block for at most 30 ms.
[18:14:31][D][esp32_ble_tracker:270]: Starting scan...
[18:14:31][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:14:31][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:14:34][W][ble_sensor:123]: [traitement] Cannot poll, not connected
[18:14:36][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:14:36][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:14:38][D][sensor:094]: 'JustSalt RSSI': Sending state -61.00000 dBm with 0 decimals of accuracy
[18:14:38][D][ble_adv:071]: New BLE device
[18:14:38][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:14:38][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:14:38][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:14:38][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:14:38][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-61
[18:14:38][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:14:38][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:14:38][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:14:38][W][component:237]: Component esp32_ble_tracker took a long time for an operation (59 ms).
[18:14:38][W][component:238]: Components should block for at most 30 ms.
[18:14:38][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:14:38][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:14:38][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:14:38][I][ble_sensor:031]: [traitement] Connected successfully!
[18:14:38][I][ble_sensor:031]: [device_name] Connected successfully!
[18:14:38][D][esp32_ble_tracker:270]: Starting scan...
[18:14:39][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:14:39][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:14:39][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:14:39][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:14:39][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:14:39][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:14:39][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:14:39][D][ble_client:058]: All clients established, services released
[18:14:39][W][component:237]: Component esp32_ble took a long time for an operation (52 ms).
[18:14:39][W][component:238]: Components should block for at most 30 ms.
[18:14:39][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:14:41][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:14:41][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:14:44][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:14:44][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:14:44][W][ble_sensor:037]: [traitement] Disconnected!
[18:14:44][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:14:44][W][ble_sensor:037]: [device_name] Disconnected!
[18:14:44][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:14:44][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:14:44][D][ble_adv:071]: New BLE device
[18:14:44][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:14:44][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:14:44][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:14:44][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:14:44][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:14:44][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:14:44][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:14:44][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:14:44][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:14:44][W][component:238]: Components should block for at most 30 ms.
[18:14:44][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:14:44][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:14:44][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:14:44][I][ble_sensor:031]: [traitement] Connected successfully!
[18:14:44][I][ble_sensor:031]: [device_name] Connected successfully!
[18:14:44][D][esp32_ble_tracker:270]: Starting scan...
[18:14:44][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:14:44][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:14:44][W][ble_sensor:037]: [traitement] Disconnected!
[18:14:44][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:14:44][W][ble_sensor:037]: [device_name] Disconnected!
[18:14:45][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:14:46][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:14:46][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:14:51][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:14:51][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:14:51][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:14:51][D][ble_adv:071]: New BLE device
[18:14:51][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:14:51][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:14:51][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:14:51][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:14:51][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:14:51][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:14:51][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:14:51][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:14:51][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:14:51][W][component:238]: Components should block for at most 30 ms.
[18:14:51][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:14:52][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:14:52][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:14:52][I][ble_sensor:031]: [traitement] Connected successfully!
[18:14:52][I][ble_sensor:031]: [device_name] Connected successfully!
[18:14:52][D][esp32_ble_tracker:270]: Starting scan...
[18:14:52][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:14:52][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:14:52][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:14:52][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:14:52][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:14:52][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:14:52][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:14:52][D][ble_client:058]: All clients established, services released
[18:14:52][W][component:237]: Component esp32_ble took a long time for an operation (51 ms).
[18:14:52][W][component:238]: Components should block for at most 30 ms.
[18:14:52][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:14:53][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_READ_CHAR_EVT
[18:14:53][W][component:170]: Component ble_client.sensor cleared Warning flag
[18:14:53][D][text_sensor:064]: 'Name BLE': Sending state 'ePool Device'
[18:14:53][D][sensor:094]: 'device_name': Sending state 14.00000  with 0 decimals of accuracy
[18:14:56][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:14:56][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:14:57][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:14:57][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:14:57][W][ble_sensor:037]: [traitement] Disconnected!
[18:14:57][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:14:57][W][ble_sensor:037]: [device_name] Disconnected!
[18:14:57][W][component:157]: Component ble_client.sensor set Warning flag: unspecified
[18:14:57][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:14:57][D][sensor:094]: 'Uptime': Sending state 1131.08997 s with 0 decimals of accuracy
[18:14:59][D][sensor:094]: 'JustSalt RSSI': Sending state -57.00000 dBm with 0 decimals of accuracy
[18:14:59][D][ble_adv:071]: New BLE device
[18:14:59][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:14:59][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:14:59][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:14:59][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:14:59][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-57
[18:14:59][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:14:59][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:14:59][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:14:59][W][component:237]: Component esp32_ble_tracker took a long time for an operation (58 ms).
[18:14:59][W][component:238]: Components should block for at most 30 ms.
[18:14:59][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:14:59][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:14:59][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:14:59][I][ble_sensor:031]: [traitement] Connected successfully!
[18:14:59][I][ble_sensor:031]: [device_name] Connected successfully!
[18:14:59][D][esp32_ble_tracker:270]: Starting scan...
[18:15:00][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:15:00][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:15:00][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:15:00][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:15:00][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:15:00][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:15:00][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:15:00][D][ble_client:058]: All clients established, services released
[18:15:00][W][component:237]: Component esp32_ble took a long time for an operation (52 ms).
[18:15:00][W][component:238]: Components should block for at most 30 ms.
[18:15:00][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:15:00][D][switch:016]: 'Enable com JustSalt' Turning OFF.
[18:15:00][I][ble_client:043]: [18:C2:93:03:CC:FB] Disabling BLE client.
[18:15:00][I][esp32_ble_client:084]: [0] [18:C2:93:03:CC:FB] Disconnecting.
[18:15:00][D][switch:055]: 'Enable com JustSalt': Sending state OFF
[18:15:00][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:15:00][W][ble_sensor:037]: [traitement] Disconnected!
[18:15:00][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:15:00][W][ble_sensor:037]: [device_name] Disconnected!
[18:15:00][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:15:00][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 22
[18:15:01][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:01][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:01][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:01][D][ble_adv:071]: New BLE device
[18:15:01][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:01][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:01][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:02][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:15:02][D][ble_adv:071]: New BLE device
[18:15:02][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:02][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:02][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:02][D][sensor:094]: 'JustSalt RSSI': Sending state -55.00000 dBm with 0 decimals of accuracy
[18:15:02][D][ble_adv:071]: New BLE device
[18:15:02][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:02][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:02][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:02][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:02][D][ble_adv:071]: New BLE device
[18:15:02][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:02][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:02][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:02][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:15:02][D][ble_adv:071]: New BLE device
[18:15:03][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:03][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:03][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:03][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:15:03][D][ble_adv:071]: New BLE device
[18:15:03][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:03][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:03][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:04][D][sensor:094]: 'BME280 Temperature': Sending state 32.36828 °C with 1 decimals of accuracy
[18:15:04][D][sensor:094]: 'BME280 Pressure': Sending state 1004.31946 hPa with 1 decimals of accuracy
[18:15:04][D][sensor:094]: 'BME280 Humidity': Sending state 38.33984 % with 1 decimals of accuracy
[18:15:04][W][ble_sensor:123]: [traitement] Cannot poll, not connected
[18:15:06][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:06][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:08][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:15:08][D][ble_adv:071]: New BLE device
[18:15:08][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:08][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:08][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:09][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:15:09][D][ble_adv:071]: New BLE device
[18:15:09][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:09][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:09][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:09][D][sensor:094]: 'JustSalt RSSI': Sending state -61.00000 dBm with 0 decimals of accuracy
[18:15:09][D][ble_adv:071]: New BLE device
[18:15:09][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:09][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:09][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:09][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:15:09][D][ble_adv:071]: New BLE device
[18:15:09][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:09][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:09][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:10][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:15:10][D][ble_adv:071]: New BLE device
[18:15:10][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:10][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:10][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:11][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:11][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:15][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:15][D][ble_adv:071]: New BLE device
[18:15:15][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:15][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:15][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:15][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:15:15][D][ble_adv:071]: New BLE device
[18:15:15][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:15][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:15][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:15][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:15:15][D][ble_adv:071]: New BLE device
[18:15:15][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:15][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:15][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:16][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:16][D][ble_adv:071]: New BLE device
[18:15:16][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:16][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:16][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:16][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:16][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:16][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:15:16][D][ble_adv:071]: New BLE device
[18:15:16][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:16][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:16][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:16][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:15:16][D][ble_adv:071]: New BLE device
[18:15:16][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:16][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:16][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:17][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:17][D][ble_adv:071]: New BLE device
[18:15:17][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:17][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:17][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:20][D][switch:012]: 'Enable com JustSalt' Turning ON.
[18:15:20][D][switch:055]: 'Enable com JustSalt': Sending state ON
[18:15:21][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:21][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:21][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:21][D][ble_adv:071]: New BLE device
[18:15:21][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:21][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:21][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:21][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:15:21][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:15:21][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:15:21][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:15:21][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:15:21][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:15:21][W][component:238]: Components should block for at most 30 ms.
[18:15:21][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:15:22][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:15:22][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:15:22][I][ble_sensor:031]: [traitement] Connected successfully!
[18:15:22][I][ble_sensor:031]: [device_name] Connected successfully!
[18:15:22][D][esp32_ble_tracker:270]: Starting scan...
[18:15:22][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:15:22][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:15:22][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:15:22][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:15:22][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:15:22][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:15:22][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:15:22][D][ble_client:058]: All clients established, services released
[18:15:22][W][component:237]: Component esp32_ble took a long time for an operation (51 ms).
[18:15:22][W][component:238]: Components should block for at most 30 ms.
[18:15:22][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:15:26][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:26][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:27][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:15:27][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:15:27][W][ble_sensor:037]: [traitement] Disconnected!
[18:15:27][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:15:27][W][ble_sensor:037]: [device_name] Disconnected!
[18:15:27][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:15:30][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:15:30][D][ble_adv:071]: New BLE device
[18:15:30][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:30][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:30][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:30][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:15:30][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-56
[18:15:30][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:15:30][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:15:30][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:15:30][W][component:237]: Component esp32_ble_tracker took a long time for an operation (56 ms).
[18:15:30][W][component:238]: Components should block for at most 30 ms.
[18:15:30][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:15:30][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:15:30][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:15:30][I][ble_sensor:031]: [traitement] Connected successfully!
[18:15:30][I][ble_sensor:031]: [device_name] Connected successfully!
[18:15:30][D][esp32_ble_tracker:270]: Starting scan...
[18:15:31][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:31][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:31][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:15:31][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:15:31][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:15:31][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:15:31][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:15:31][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:15:31][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:15:31][D][ble_client:058]: All clients established, services released
[18:15:31][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:15:34][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_READ_CHAR_EVT
[18:15:34][W][ble_sensor:078]: Error reading char at handle 19, status=15
[18:15:34][W][ble_sensor:078]: Error reading char at handle 19, status=15
[18:15:35][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:15:35][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:15:35][W][ble_sensor:037]: [traitement] Disconnected!
[18:15:35][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:15:35][W][ble_sensor:037]: [device_name] Disconnected!
[18:15:35][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:15:36][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:36][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:40][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:15:40][D][ble_adv:071]: New BLE device
[18:15:40][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:40][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:40][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:40][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:15:40][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-56
[18:15:40][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:15:40][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:15:40][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:15:40][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:15:40][W][component:238]: Components should block for at most 30 ms.
[18:15:40][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:15:40][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:15:40][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:15:40][I][ble_sensor:031]: [traitement] Connected successfully!
[18:15:40][I][ble_sensor:031]: [device_name] Connected successfully!
[18:15:40][D][esp32_ble_tracker:270]: Starting scan...
[18:15:41][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:15:41][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:15:41][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:15:41][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:15:41][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:15:41][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:15:41][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:15:41][D][ble_client:058]: All clients established, services released
[18:15:41][W][component:237]: Component esp32_ble took a long time for an operation (51 ms).
[18:15:41][W][component:238]: Components should block for at most 30 ms.
[18:15:41][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:15:41][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:41][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:45][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:15:45][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:15:45][W][ble_sensor:037]: [traitement] Disconnected!
[18:15:45][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:15:45][W][ble_sensor:037]: [device_name] Disconnected!
[18:15:45][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:15:46][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:46][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:49][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:49][D][ble_adv:071]: New BLE device
[18:15:49][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:49][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:49][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:49][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:15:49][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:15:49][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:15:49][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:15:49][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:15:49][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:15:49][W][component:238]: Components should block for at most 30 ms.
[18:15:49][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:15:49][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:15:49][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:15:49][I][ble_sensor:031]: [traitement] Connected successfully!
[18:15:49][I][ble_sensor:031]: [device_name] Connected successfully!
[18:15:49][D][esp32_ble_tracker:270]: Starting scan...
[18:15:50][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:15:50][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:15:50][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:15:50][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:15:50][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:15:50][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:15:50][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:15:50][D][ble_client:058]: All clients established, services released
[18:15:50][W][component:237]: Component esp32_ble took a long time for an operation (53 ms).
[18:15:50][W][component:238]: Components should block for at most 30 ms.
[18:15:50][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:15:51][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:51][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:53][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_READ_CHAR_EVT
[18:15:53][W][component:170]: Component ble_client.sensor cleared Warning flag
[18:15:53][D][text_sensor:064]: 'Name BLE': Sending state 'ePool Device'
[18:15:53][D][sensor:094]: 'device_name': Sending state 14.00000  with 0 decimals of accuracy
[18:15:55][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:15:55][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:15:55][W][ble_sensor:037]: [traitement] Disconnected!
[18:15:55][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:15:55][W][ble_sensor:037]: [device_name] Disconnected!
[18:15:55][W][component:157]: Component ble_client.sensor set Warning flag: unspecified
[18:15:55][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:15:56][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:15:56][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:15:56][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:15:56][D][ble_adv:071]: New BLE device
[18:15:56][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:15:56][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:15:56][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:15:56][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:15:56][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:15:56][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:15:57][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:15:57][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:15:57][W][component:237]: Component esp32_ble_tracker took a long time for an operation (56 ms).
[18:15:57][W][component:238]: Components should block for at most 30 ms.
[18:15:57][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:15:57][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:15:57][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:15:57][I][ble_sensor:031]: [traitement] Connected successfully!
[18:15:57][I][ble_sensor:031]: [device_name] Connected successfully!
[18:15:57][D][esp32_ble_tracker:270]: Starting scan...
[18:15:57][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:15:57][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:15:57][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:15:57][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:15:57][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:15:57][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:15:57][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:15:57][D][ble_client:058]: All clients established, services released
[18:15:57][W][component:237]: Component esp32_ble took a long time for an operation (53 ms).
[18:15:57][W][component:238]: Components should block for at most 30 ms.
[18:15:57][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:15:57][D][sensor:094]: 'Uptime': Sending state 1191.08704 s with 0 decimals of accuracy
[18:16:01][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:01][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:02][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:02][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:02][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:02][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:02][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:02][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:02][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:16:02][D][ble_adv:071]: New BLE device
[18:16:02][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:02][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:02][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:02][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:02][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:16:02][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:02][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:02][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:02][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:16:02][W][component:238]: Components should block for at most 30 ms.
[18:16:02][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:03][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:03][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:03][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:03][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:03][D][esp32_ble_tracker:270]: Starting scan...
[18:16:03][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:03][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:03][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:03][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:03][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:03][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:04][D][sensor:094]: 'BME280 Temperature': Sending state 32.35070 °C with 1 decimals of accuracy
[18:16:04][D][sensor:094]: 'BME280 Pressure': Sending state 1004.34711 hPa with 1 decimals of accuracy
[18:16:04][D][sensor:094]: 'BME280 Humidity': Sending state 38.40527 % with 1 decimals of accuracy
[18:16:04][W][ble_sensor:123]: [traitement] Cannot poll, not connected
[18:16:06][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:06][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:06][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:16:06][D][ble_adv:071]: New BLE device
[18:16:06][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:06][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:06][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:06][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:06][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-56
[18:16:06][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:06][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:06][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:06][W][component:237]: Component esp32_ble_tracker took a long time for an operation (58 ms).
[18:16:06][W][component:238]: Components should block for at most 30 ms.
[18:16:06][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:06][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:06][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:06][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:06][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:06][D][esp32_ble_tracker:270]: Starting scan...
[18:16:07][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:16:07][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:16:07][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:16:07][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:16:07][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:16:07][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:16:07][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:16:07][D][ble_client:058]: All clients established, services released
[18:16:07][W][component:237]: Component esp32_ble took a long time for an operation (52 ms).
[18:16:07][W][component:238]: Components should block for at most 30 ms.
[18:16:07][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:16:11][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:11][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:12][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:12][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:12][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:12][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:12][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:12][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:15][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:16:15][D][ble_adv:071]: New BLE device
[18:16:15][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:15][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:15][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:15][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:15][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-64
[18:16:15][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:15][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:15][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:15][W][component:237]: Component esp32_ble_tracker took a long time for an operation (58 ms).
[18:16:15][W][component:238]: Components should block for at most 30 ms.
[18:16:15][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:15][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:15][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:15][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:15][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:15][D][esp32_ble_tracker:270]: Starting scan...
[18:16:16][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:16:16][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:16:16][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:16:16][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:16:16][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:16:16][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:16:16][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:16:16][D][ble_client:058]: All clients established, services released
[18:16:16][W][component:237]: Component esp32_ble took a long time for an operation (52 ms).
[18:16:16][W][component:238]: Components should block for at most 30 ms.
[18:16:16][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:16:16][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:16][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:20][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:20][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:20][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:20][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:20][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:20][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:21][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:21][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:23][D][sensor:094]: 'JustSalt RSSI': Sending state -57.00000 dBm with 0 decimals of accuracy
[18:16:23][D][ble_adv:071]: New BLE device
[18:16:23][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:23][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:23][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:23][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:23][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-57
[18:16:23][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:23][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:23][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:23][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:16:23][W][component:238]: Components should block for at most 30 ms.
[18:16:23][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:23][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:23][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:23][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:23][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:23][D][esp32_ble_tracker:270]: Starting scan...
[18:16:24][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:16:24][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:16:24][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:16:24][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:16:24][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:16:24][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:16:24][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:16:24][D][ble_client:058]: All clients established, services released
[18:16:24][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:16:26][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:26][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:28][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:28][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:28][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:28][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:28][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:28][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:31][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:31][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:31][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:16:31][D][ble_adv:071]: New BLE device
[18:16:31][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:31][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:31][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:31][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:31][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-64
[18:16:31][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:31][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:31][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:32][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:16:32][W][component:238]: Components should block for at most 30 ms.
[18:16:32][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:32][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:32][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:32][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:32][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:32][D][esp32_ble_tracker:270]: Starting scan...
[18:16:32][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:16:32][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:16:32][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:16:32][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:16:32][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:16:32][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:16:32][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:16:32][D][ble_client:058]: All clients established, services released
[18:16:32][W][component:237]: Component esp32_ble took a long time for an operation (51 ms).
[18:16:32][W][component:238]: Components should block for at most 30 ms.
[18:16:32][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:16:34][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_READ_CHAR_EVT
[18:16:34][W][ble_sensor:078]: Error reading char at handle 19, status=15
[18:16:34][W][ble_sensor:078]: Error reading char at handle 19, status=15
[18:16:36][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:36][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:37][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:37][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:37][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:37][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:37][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:37][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:37][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:16:37][D][ble_adv:071]: New BLE device
[18:16:37][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:37][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:37][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:37][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:37][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:16:37][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:37][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:37][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:37][W][component:237]: Component esp32_ble_tracker took a long time for an operation (58 ms).
[18:16:37][W][component:238]: Components should block for at most 30 ms.
[18:16:37][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:38][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:38][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:38][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:38][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:38][D][esp32_ble_tracker:270]: Starting scan...
[18:16:38][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:38][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:38][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:38][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:38][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:38][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:41][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:41][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:42][D][sensor:094]: 'JustSalt RSSI': Sending state -62.00000 dBm with 0 decimals of accuracy
[18:16:42][D][ble_adv:071]: New BLE device
[18:16:42][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:42][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:42][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:42][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:42][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-62
[18:16:42][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:42][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:42][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:42][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:16:42][W][component:238]: Components should block for at most 30 ms.
[18:16:42][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:42][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:42][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:42][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:42][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:42][D][esp32_ble_tracker:270]: Starting scan...
[18:16:43][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:16:43][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:16:43][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:16:43][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:16:43][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:16:43][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:16:43][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:16:43][D][ble_client:058]: All clients established, services released
[18:16:43][W][component:237]: Component esp32_ble took a long time for an operation (52 ms).
[18:16:43][W][component:238]: Components should block for at most 30 ms.
[18:16:43][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_WRITE_DESCR_EVT
[18:16:46][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:46][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:47][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:47][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:47][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:47][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:47][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:47][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:48][D][sensor:094]: 'JustSalt RSSI': Sending state -64.00000 dBm with 0 decimals of accuracy
[18:16:48][D][ble_adv:071]: New BLE device
[18:16:48][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:48][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:48][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:48][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:48][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-64
[18:16:48][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:48][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:48][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:48][W][component:237]: Component esp32_ble_tracker took a long time for an operation (57 ms).
[18:16:48][W][component:238]: Components should block for at most 30 ms.
[18:16:48][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:48][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:48][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:48][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:48][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:48][D][esp32_ble_client:172]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_DISCONNECT_EVT, reason 19
[18:16:48][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CLOSE_EVT
[18:16:48][W][ble_sensor:037]: [traitement] Disconnected!
[18:16:48][D][sensor:094]: 'traitement': Sending state nan  with 0 decimals of accuracy
[18:16:48][W][ble_sensor:037]: [device_name] Disconnected!
[18:16:48][D][sensor:094]: 'device_name': Sending state nan  with 0 decimals of accuracy
[18:16:48][W][component:237]: Component esp32_ble took a long time for an operation (67 ms).
[18:16:48][W][component:238]: Components should block for at most 30 ms.
[18:16:48][D][esp32_ble_tracker:270]: Starting scan...
[18:16:51][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:51][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:53][W][ble_sensor:123]: [device_name] Cannot poll, not connected
[18:16:55][D][sensor:094]: 'JustSalt RSSI': Sending state -56.00000 dBm with 0 decimals of accuracy
[18:16:55][D][ble_adv:071]: New BLE device
[18:16:55][D][ble_adv:072]:   address: 18:C2:93:03:CC:FB
[18:16:55][D][ble_adv:073]:   name: GEN_0323-047091-009
[18:16:55][D][text_sensor:064]: 'Name': Sending state 'GEN_0323-047091-009'
[18:16:55][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] Found device
[18:16:55][D][esp32_ble_tracker:669]: Found device 18:C2:93:03:CC:FB RSSI=-56
[18:16:55][D][esp32_ble_tracker:690]:   Address Type: PUBLIC
[18:16:55][D][esp32_ble_tracker:692]:   Name: 'GEN_0323-047091-009'
[18:16:55][D][esp32_ble_tracker:219]: Pausing scan to make connection...
[18:16:55][W][component:237]: Component esp32_ble_tracker took a long time for an operation (56 ms).
[18:16:55][W][component:238]: Components should block for at most 30 ms.
[18:16:55][I][esp32_ble_client:067]: [0] [18:C2:93:03:CC:FB] 0x00 Attempting BLE connection
[18:16:55][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_CONNECT_EVT
[18:16:55][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_OPEN_EVT
[18:16:55][I][ble_sensor:031]: [traitement] Connected successfully!
[18:16:55][I][ble_sensor:031]: [device_name] Connected successfully!
[18:16:55][D][esp32_ble_tracker:270]: Starting scan...
[18:16:56][D][pulse_counter:174]: 'vitesse vent': Retrieved counter: 0.00 pulses/min
[18:16:56][D][sensor:094]: 'vitesse vent': Sending state 0.00000 km/h with 2 decimals of accuracy
[18:16:56][D][esp32_ble_client:306]: [0] [18:C2:93:03:CC:FB] Event 46
[18:16:56][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_SEARCH_CMPL_EVT
[18:16:56][I][esp32_ble_client:227]: [0] [18:C2:93:03:CC:FB] Connected
[18:16:56][D][esp32_ble_client:188]: [0] [18:C2:93:03:CC:FB] cfg_mtu status 0, mtu 250
[18:16:56][D][esp32_ble_client:110]: [0] [18:C2:93:03:CC:FB] ESP_GATTC_REG_FOR_NOTIFY_EVT
[18:16:56][D][esp32_ble_client:296]: Wrote notify descriptor 2, properties=46
[18:16:56][D][ble_sensor:103]: Register for notify on EF785C24-22BB-463D-B651-0B7445BA091C complete
[18:16:56][D][ble_client:058]: All clients established, services released
[18:16:56][W][component:237]: Component esp32_ble took a long time for an operation (51 ms).
[18:16:56][W][component:238]: Components should block for at most 30 ms.

si quelqu’un pouvait m’aider a comprendre ?
merci

Tu as. re appairer ?

Bonjour ,
comme Cyber Chris là dit , essai de ré appairer le module avec l’électrolyseur .
J’ai fais plusieurs modification du programme pour l’adapter à mon matériel , je me suis rendu compte que cela ne fonctionnais pas . J’ai cherché , re -modifier . Il fallait simplement relancer l’appairage .

1 « J'aime »

Merci
L’appairage a résolu mon soucis

Bon, je me suis décidé à injecter le code mais à la compilation, j’ai cette erreur

NFO ESPHome 2024.6.6
INFO Reading configuration /config/esphome/esp-eth.yaml...
INFO Detected timezone 'Europe/Paris'
INFO Generating C++ source...
INFO Compiling app...
Processing esp-eth (board: esp-wrover-kit; framework: espidf; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - framework-espidf @ 3.40407.0 (4.4.7) 
 - tool-cmake @ 3.16.4 
 - tool-ninja @ 1.7.1 
 - toolchain-esp32ulp @ 2.35.0-20220830 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Removing an oudated IDF virtual environment
Error: Cannot remove an outdated IDF virtual environment. Please remove the `/root/.platformio/penv/.espidf-4.4.7` folder manually!
========================== [FAILED] Took 2.88 seconds ==========================

Et je ne sais pas comment la supprimer. Merci de votre aide
si j’essaie d’installer en direct j’ai ça

AssertionError: Error: Missing Python executable file `/root/.platformio/penv/.esp idf-4.4.7/bin/python`:

je me réponds, en installant la dernière Maj d’ESPHome, l’erreur a disparu

Génial, ça fonctionne nickel en ethernet. Encore merci Cyber_Chris pour les pistes et le code

Cool, c’est super stable en ethernet tu verras.

Juste une dernière question, est-ce que le code que tu m’as donné permet aussi de faire proxy bluetooth ? Merci