esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 34 forks source link

Platform ble_rssi do not publish data on MQTT #6259

Open JanickGers85 opened 4 days ago

JanickGers85 commented 4 days ago

The problem

After upgrading to latest version no more RSSI data is published over MQTT. The value nan is repeatedly publish instead of the integer value, even if the required beacon is close to the device. The sensor worked correctly with the previous ESPHome version.

image

Which version of ESPHome has the issue?

2024.9.0

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

2024.9.2

What platform are you using?

ESP32-IDF

Board

esp32dev

Component causing the issue

ble_rssi

Example YAML snippet

substitutions:
  name_dash: presence-camerina
  name_underscore: presence_camerina
  room: camerina
esphome:
  name: presence-camerina
  build_path: build/presence-camerina
  friendly_name: ''
  area: ''
  platformio_options: {}
  includes: []
  libraries: []
  name_add_mac_suffix: false
  min_version: 2024.9.0
esp32:
  board: esp32dev
  framework:
    version: 4.4.7
    sdkconfig_options: {}
    advanced:
      ignore_efuse_mac_crc: false
    components: []
    source: ~3.40407.0
    platform_version: platformio/espressif32@5.4.0
    type: esp-idf
  flash_size: 4MB
  variant: ESP32
logger:
  baud_rate: 115200
  tx_buffer_size: 512
  deassert_rts_dtr: false
  hardware_uart: UART0
  level: DEBUG
  logs: {}
wifi:
  domain: ''
  reboot_timeout: 2min
  manual_ip:
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    static_ip: 192.168.1.64
    dns1: 0.0.0.0
    dns2: 0.0.0.0
  ap:
    ssid: presence-camerina
    password: --redacted--
    ap_timeout: 1min
  power_save_mode: LIGHT
  fast_connect: false
  enable_btm: false
  enable_rrm: false
  passive_scan: false
  enable_on_boot: true
  networks:
  - ssid: --redacted--
    password: --redacted--
    priority: 0.0
  use_address: 192.168.1.64
mqtt:
  broker: 192.168.1.217
  port: 1883
  username: --redacted--
  password: --redacted--
  discovery_object_id_generator: device_name
  discovery_unique_id_generator: mac
  reboot_timeout: 2min
  idf_send_async: false
  skip_cert_cn_check: false
  discovery: true
  discovery_retain: true
  discover_ip: true
  discovery_prefix: homeassistant
  use_abbreviations: true
  topic_prefix: presence-camerina
  keepalive: 15s
  birth_message:
    topic: presence-camerina/status
    payload: online
    qos: 0
    retain: true
  will_message:
    topic: presence-camerina/status
    payload: offline
    qos: 0
    retain: true
  shutdown_message:
    topic: presence-camerina/status
    payload: offline
    qos: 0
    retain: true
  log_topic:
    topic: presence-camerina/debug
    qos: 0
    retain: true
globals:
- id: env_factor
  type: float
  restore_value: true
  initial_value: '0.4'
- id: process_std_dev
  type: float
  restore_value: true
  initial_value: '0.3'
- id: std_dev
  type: float
  restore_value: true
  initial_value: '0.3'
esp32_ble_tracker:
  scan_parameters:
    interval: 1s
    continuous: true
    window: 1s
    duration: 3s
    active: true
sensor:
- platform: ble_rssi
  id: presence_camerina_cell_andrea_potenza_segnale
  ibeacon_uuid: --redacted--
  ibeacon_major: 100
  ibeacon_minor: 1
  internal: false
  name: Cell Andrea - Potenza segnale
  on_value:
  - then:
    - mqtt.publish_json:
        topic: room-presence/presence-camerina/last-scan-result
        payload: !lambda |-
          root["timestamp"] = millis();
          root["value"] = id(presence_camerina_cell_andrea_potenza_segnale).state;
        qos: 0
        retain: false
    - sensor.template.publish:
        id: presence_camerina_cell_andrea_distanza
        state: !lambda |-
          return pow(10, (-75 - id(presence_camerina_cell_andrea_potenza_segnale).state) / 10 * id(env_factor));
  disabled_by_default: false
  force_update: false
  unit_of_measurement: dBm
  accuracy_decimals: 0
  device_class: signal_strength
  state_class: measurement
- platform: wifi_signal
  name: Segnale WiFi dB
  id: wifi_signal_db
  update_interval: 10s
  entity_category: diagnostic
  disabled_by_default: false
  force_update: false
  unit_of_measurement: dBm
  accuracy_decimals: 0
  device_class: signal_strength
  state_class: measurement
- platform: copy
  source_id: wifi_signal_db
  name: Segnale WiFi %
  filters:
  - lambda: !lambda |-
      return min(max(2 * (x + 100.0), 0.0), 100.0);
  unit_of_measurement: '%'
  entity_category: diagnostic
  disabled_by_default: false
  force_update: false
  accuracy_decimals: 0
  device_class: signal_strength
  state_class: measurement
- platform: template
  id: presence_camerina_cell_andrea_distanza
  accuracy_decimals: 2
  device_class: distance
  state_class: measurement
  unit_of_measurement: m
  name: Cell Andrea - Distanza
  filters:
  - filter_out: .nan
  disabled_by_default: false
  force_update: false
  update_interval: 60s
- platform: combination
  name: Cell Andrea - Distanza (Kalman)
  id: presence_camerina_cell_andrea_distanza_kalman
  process_std_dev: 0.2
  sources:
  - source: presence_camerina_cell_andrea_distanza
    error: 1.0
  on_value:
  - then:
    - mqtt.publish_json:
        topic: myroomtracker/cell-andrea/camerina
        payload: !lambda |-
          root["id"] = "cell-andrea";
          root["name"] = "Cell Andrea";
          root["distance"] = id(presence_camerina_cell_andrea_distanza_kalman).state;
        qos: 0
        retain: false
  disabled_by_default: false
  force_update: false
  type: kalman
  accuracy_decimals: 2
  device_class: distance
  unit_of_measurement: m
- platform: bh1750
  i2c_id: bus_a
  name: Luminosità camerina
  address: 0x23
  update_interval: 1s
  disabled_by_default: false
  force_update: false
  unit_of_measurement: lx
  accuracy_decimals: 1
  device_class: illuminance
  state_class: measurement
- platform: bmp280_i2c
  i2c_id: bus_b
  address: 0x77
  update_interval: 1s
  temperature:
    id: bmp280_temp
    name: Temperatura camerina (BMP280)
    oversampling: 2X
    disabled_by_default: false
    force_update: false
    unit_of_measurement: °C
    accuracy_decimals: 1
    device_class: temperature
    state_class: measurement
  pressure:
    name: Pressione camerina
    disabled_by_default: false
    force_update: false
    unit_of_measurement: hPa
    accuracy_decimals: 1
    device_class: pressure
    state_class: measurement
    oversampling: 16X
  iir_filter: 'OFF'
- platform: aht10
  variant: AHT20
  i2c_id: bus_b
  address: 0x38
  update_interval: 1s
  temperature:
    name: Temperatura camerina (AHT20)
    id: aht20_temp
    accuracy_decimals: 1
    filters:
    - filter_out: 0.0
    - median:
        window_size: 3
        send_every: 3
        send_first_at: 1
    disabled_by_default: false
    force_update: false
    unit_of_measurement: °C
    device_class: temperature
    state_class: measurement
  humidity:
    name: Umidità camerina
    id: aht20_humidity
    accuracy_decimals: 1
    filters:
    - filter_out: 0.0
    - median:
        window_size: 3
        send_every: 3
        send_first_at: 1
    disabled_by_default: false
    force_update: false
    unit_of_measurement: '%'
    device_class: humidity
    state_class: measurement
- platform: template
  name: Temperatura camerina (media)
  icon: mdi:thermometer-lines
  unit_of_measurement: °C
  id: mean_temp
  lambda: !lambda |-
    float media = (id(bmp280_temp).state + id(aht20_temp).state) / 2.0;
    return media;
  update_interval: 1s
  accuracy_decimals: 1
  disabled_by_default: false
  force_update: false
number:
- platform: template
  id: presence_camerina_fattore_ambiente
  name: Fattore ambiente
  min_value: 0.1
  max_value: 4.0
  step: 0.1
  optimistic: true
  restore_value: true
  icon: mdi:home-analytics
  on_value:
  - then:
    - globals.set:
        id: env_factor
        value: !lambda |-
          return x;
  disabled_by_default: false
  mode: AUTO
  update_interval: 60s
  initial_value: 0.1
switch:
- platform: restart
  name: Riavvia
  disabled_by_default: false
  restore_mode: ALWAYS_OFF
  entity_category: config
  icon: mdi:restart
- platform: gpio
  name: Relè carica batteria dashboard
  pin:
    number: 13
    mode:
      output: true
      input: false
      open_drain: false
      pullup: false
      pulldown: false
    inverted: false
    ignore_pin_validation_error: false
    ignore_strapping_warning: false
    drive_strength: 20.0
  restore_mode: RESTORE_DEFAULT_OFF
  disabled_by_default: false
  interlock_wait_time: 0ms
- platform: gpio
  name: Semaforo rosso
  icon: mdi:traffic-light
  pin:
    number: 18
    mode:
      output: true
      input: false
      open_drain: false
      pullup: false
      pulldown: false
    inverted: false
    ignore_pin_validation_error: false
    ignore_strapping_warning: false
    drive_strength: 20.0
  restore_mode: RESTORE_DEFAULT_OFF
  disabled_by_default: false
  interlock_wait_time: 0ms
- platform: gpio
  name: Semaforo giallo
  icon: mdi:traffic-light
  pin:
    number: 19
    mode:
      output: true
      input: false
      open_drain: false
      pullup: false
      pulldown: false
    inverted: false
    ignore_pin_validation_error: false
    ignore_strapping_warning: false
    drive_strength: 20.0
  restore_mode: RESTORE_DEFAULT_OFF
  disabled_by_default: false
  interlock_wait_time: 0ms
- platform: gpio
  name: Semaforo verde
  icon: mdi:traffic-light
  pin:
    number: 32
    mode:
      output: true
      input: false
      open_drain: false
      pullup: false
      pulldown: false
    inverted: false
    ignore_pin_validation_error: false
    ignore_strapping_warning: false
    drive_strength: 20.0
  restore_mode: RESTORE_DEFAULT_OFF
  disabled_by_default: false
  interlock_wait_time: 0ms
i2c:
- id: bus_a
  sda: 21
  scl: 22
  scan: true
  sda_pullup_enabled: true
  scl_pullup_enabled: true
  frequency: 50000.0
- id: bus_b
  sda: 25
  scl: 14
  scan: true
  sda_pullup_enabled: true
  scl_pullup_enabled: true
  frequency: 50000.0
ota:
- platform: esphome
  password: --redacted--
  version: 2
  port: 3232

Anything in the logs that might be useful for us?

No specific error logs.

Additional information

This can be the PR that raise the error https://github.com/esphome/esphome/pull/7332

I've tried to reverse the SSID in the configuration without success.

ssieb commented 4 days ago

What do you see in the logs?

JanickGers85 commented 3 days ago

@ssieb This is what is printed during startup

[15:00:26][V][esp-idf:000]: I (20238554) MQTT_CLIENT: Client asked to disconnect

[15:00:32][W][component:170]: Component mqtt cleared Warning flag
[15:00:32][I][mqtt:284]: MQTT Connected!
[15:00:32][V][mqtt:383]: subscribe(topic='esphome/discover')
[15:00:32][V][mqtt:383]: subscribe(topic='esphome/ping/presence-camerina')
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:058]: Size after shrink 216 bytes
[15:00:32][V][mqtt:487]: Publish(topic='esphome/discover/presence-camerina' payload='{"ip":"192.168.1.64","name":"presence-camerina","version":"2024.9.0","mac":"0cb815d71a00","platform":"ESP32","board":"esp32dev","network":"wifi"}' retain=1 qos=2)
[15:00:32][V][mqtt.component:069]: 'Segnale WiFi dB': Sending discovery...
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:32][V][json:058]: Size after shrink 700 bytes
[15:00:32][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/segnale_wifi_db/config' payload='{"dev_cla":"signal_strength","unit_of_meas":"dBm","stat_cla":"measurement","name":"Segnale WiFi dB","ent_cat":"diagnostic","stat_t":"presence-camerina/sensor/segnale_wifi_db/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-wifisignal","obj_id":"presence-camerina_segnale_wifi_db","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"es
[15:00:32][V][mqtt.component:069]: 'Segnale WiFi %': Sending discovery...
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:32][V][json:058]: Size after shrink 700 bytes
[15:00:32][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/segnale_wifi__/config' payload='{"dev_cla":"signal_strength","unit_of_meas":"%","stat_cla":"measurement","name":"Segnale WiFi %","ent_cat":"diagnostic","stat_t":"presence-camerina/sensor/segnale_wifi__/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-fbd82b24","obj_id":"presence-camerina_segnale_wifi__","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp
[15:00:32][V][mqtt.component:069]: 'Cell Andrea - Distanza': Sending discovery...
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:32][V][json:058]: Size after shrink 692 bytes
[15:00:32][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/cell_andrea_-_distanza/config' payload='{"dev_cla":"distance","unit_of_meas":"m","stat_cla":"measurement","name":"Cell Andrea - Distanza","stat_t":"presence-camerina/sensor/cell_andrea_-_distanza/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-37e3027f","obj_id":"presence-camerina_cell_andrea_-_distanza","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"e
[15:00:32][V][mqtt.component:069]: 'Cell Andrea - Distanza (Kalman)': Sending discovery...
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:32][V][json:058]: Size after shrink 684 bytes
[15:00:32][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/cell_andrea_-_distanza__kalman_/config' payload='{"dev_cla":"distance","unit_of_meas":"m","name":"Cell Andrea - Distanza (Kalman)","stat_t":"presence-camerina/sensor/cell_andrea_-_distanza__kalman_/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-c575aea8","obj_id":"presence-camerina_cell_andrea_-_distanza__kalman_","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09
[15:00:32][V][mqtt.component:069]: 'Luminosità camerina': Sending discovery...
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:32][V][json:058]: Size after shrink 692 bytes
[15:00:32][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/luminosit___camerina/config' payload='{"dev_cla":"illuminance","unit_of_meas":"lx","stat_cla":"measurement","name":"Luminosità camerina","stat_t":"presence-camerina/sensor/luminosit___camerina/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-df5d84be","obj_id":"presence-camerina_luminosit___camerina","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp32
[15:00:32][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='118.1' retain=1 qos=0)
[15:00:32][V][mqtt.component:069]: 'Temperatura camerina (BMP280)': Sending discovery...
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:32][V][json:058]: Size after shrink 720 bytes
[15:00:32][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/temperatura_camerina__bmp280_/config' payload='{"dev_cla":"temperature","unit_of_meas":"°C","stat_cla":"measurement","name":"Temperatura camerina (BMP280)","stat_t":"presence-camerina/sensor/temperatura_camerina__bmp280_/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-98ea0aed","obj_id":"presence-camerina_temperatura_camerina__bmp280_","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 
[15:00:32][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.7' retain=1 qos=0)
[15:00:32][V][mqtt.component:069]: 'Pressione camerina': Sending discovery...
[15:00:32][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:32][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 684 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/pressione_camerina/config' payload='{"dev_cla":"pressure","unit_of_meas":"hPa","stat_cla":"measurement","name":"Pressione camerina","stat_t":"presence-camerina/sensor/pressione_camerina/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-13c85789","obj_id":"presence-camerina_pressione_camerina","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp32dev","mf":
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[15:00:33][V][mqtt.component:069]: 'Temperatura camerina (AHT20)': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 716 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/temperatura_camerina__aht20_/config' payload='{"dev_cla":"temperature","unit_of_meas":"°C","stat_cla":"measurement","name":"Temperatura camerina (AHT20)","stat_t":"presence-camerina/sensor/temperatura_camerina__aht20_/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-d4413539","obj_id":"presence-camerina_temperatura_camerina__aht20_","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.4' retain=1 qos=0)
[15:00:33][V][mqtt.component:069]: 'Umidità camerina': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 676 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/umidit___camerina/config' payload='{"dev_cla":"humidity","unit_of_meas":"%","stat_cla":"measurement","name":"Umidità camerina","stat_t":"presence-camerina/sensor/umidit___camerina/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-e0c0fe88","obj_id":"presence-camerina_umidit___camerina","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp32dev","mf":"Espre
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.3' retain=1 qos=0)
[15:00:33][V][mqtt.component:069]: 'Temperatura camerina (media)': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 688 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/temperatura_camerina__media_/config' payload='{"unit_of_meas":"°C","name":"Temperatura camerina (media)","ic":"mdi:thermometer-lines","stat_t":"presence-camerina/sensor/temperatura_camerina__media_/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-1fb59d14","obj_id":"presence-camerina_temperatura_camerina__media_","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)"
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.5' retain=1 qos=0)
[15:00:33][V][mqtt:383]: subscribe(topic='presence-camerina/switch/riavvia/command')
[15:00:33][V][mqtt.component:069]: 'Riavvia': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 676 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/switch/presence-camerina/riavvia/config' payload='{"name":"Riavvia","ic":"mdi:restart","ent_cat":"config","stat_t":"presence-camerina/switch/riavvia/state","cmd_t":"presence-camerina/switch/riavvia/command","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-switch-8988d731","obj_id":"presence-camerina_riavvia","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp32dev","mf":"Espressif","cns":[["m
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/switch/riavvia/state' payload='OFF' retain=1 qos=0)
[15:00:33][V][mqtt:383]: subscribe(topic='presence-camerina/switch/rel___carica_batteria_dashboard/command')
[15:00:33][V][mqtt.component:069]: 'Relè carica batteria dashboard': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 712 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/switch/presence-camerina/rel___carica_batteria_dashboard/config' payload='{"name":"Relè carica batteria dashboard","stat_t":"presence-camerina/switch/rel___carica_batteria_dashboard/state","cmd_t":"presence-camerina/switch/rel___carica_batteria_dashboard/command","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-switch-d8ac308e","obj_id":"presence-camerina_rel___carica_batteria_dashboard","dev":{"ids":"0cb815d71a00","name":"presence-camerina","s
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/switch/rel___carica_batteria_dashboard/state' payload='OFF' retain=1 qos=0)
[15:00:33][V][mqtt:383]: subscribe(topic='presence-camerina/switch/semaforo_rosso/command')
[15:00:33][V][mqtt.component:069]: 'Semaforo rosso': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 688 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/switch/presence-camerina/semaforo_rosso/config' payload='{"name":"Semaforo rosso","ic":"mdi:traffic-light","stat_t":"presence-camerina/switch/semaforo_rosso/state","cmd_t":"presence-camerina/switch/semaforo_rosso/command","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-switch-e9c1a2dd","obj_id":"presence-camerina_semaforo_rosso","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp32dev","mf":
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/switch/semaforo_rosso/state' payload='OFF' retain=1 qos=0)
[15:00:33][V][mqtt:383]: subscribe(topic='presence-camerina/switch/semaforo_giallo/command')
[15:00:33][V][mqtt.component:069]: 'Semaforo giallo': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 692 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/switch/presence-camerina/semaforo_giallo/config' payload='{"name":"Semaforo giallo","ic":"mdi:traffic-light","stat_t":"presence-camerina/switch/semaforo_giallo/state","cmd_t":"presence-camerina/switch/semaforo_giallo/command","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-switch-f2f11605","obj_id":"presence-camerina_semaforo_giallo","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp32dev",
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/switch/semaforo_giallo/state' payload='OFF' retain=1 qos=0)
[15:00:33][V][mqtt:383]: subscribe(topic='presence-camerina/switch/semaforo_verde/command')
[15:00:33][V][mqtt.component:069]: 'Semaforo verde': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 688 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/switch/presence-camerina/semaforo_verde/config' payload='{"name":"Semaforo verde","ic":"mdi:traffic-light","stat_t":"presence-camerina/switch/semaforo_verde/state","cmd_t":"presence-camerina/switch/semaforo_verde/command","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-switch-39d20d65","obj_id":"presence-camerina_semaforo_verde","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.9.0 (Sep 20 2024, 09:20:09)","mdl":"esp32dev","mf":
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/switch/semaforo_verde/state' payload='OFF' retain=1 qos=0)
[15:00:33][V][mqtt.component:069]: 'Cell Andrea - Potenza segnale': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 724 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/sensor/presence-camerina/cell_andrea_-_potenza_segnale/config' payload='{"dev_cla":"signal_strength","unit_of_meas":"dBm","stat_cla":"measurement","name":"Cell Andrea - Potenza segnale","stat_t":"presence-camerina/sensor/cell_andrea_-_potenza_segnale/state","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-sensor-36b8fa6d","obj_id":"presence-camerina_cell_andrea_-_potenza_segnale","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"2024.
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/cell_andrea_-_potenza_segnale/state' payload='nan' retain=1 qos=0)
[15:00:33][V][mqtt:383]: subscribe(topic='presence-camerina/number/fattore_ambiente/command')
[15:00:33][V][mqtt.component:069]: 'Fattore ambiente': Sending discovery...
[15:00:33][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:33][V][json:038]: Attempting to allocate 1024 bytes for JSON serialization
[15:00:33][V][json:058]: Size after shrink 768 bytes
[15:00:33][V][mqtt:487]: Publish(topic='homeassistant/number/presence-camerina/fattore_ambiente/config' payload='{"min":0.100000001,"max":4,"step":0.100000001,"name":"Fattore ambiente","ic":"mdi:home-analytics","stat_t":"presence-camerina/number/fattore_ambiente/state","cmd_t":"presence-camerina/number/fattore_ambiente/command","avty_t":"presence-camerina/status","uniq_id":"0cb815d71a00-number-ef4a4c9f","obj_id":"presence-camerina_fattore_ambiente","dev":{"ids":"0cb815d71a00","name":"presence-camerina","sw":"
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/number/fattore_ambiente/state' payload='0.500000' retain=1 qos=0)
[15:00:33][I][app:062]: setup() finished successfully!
[15:00:33][V][sensor:043]: 'Segnale WiFi dB': Received new state -58.000000
[15:00:33][D][sensor:094]: 'Segnale WiFi dB': Sending state -58.00000 dBm with 0 decimals of accuracy
[15:00:33][V][sensor:043]: 'Segnale WiFi %': Received new state -58.000000
[15:00:33][D][sensor:094]: 'Segnale WiFi %': Sending state 84.00000 % with 0 decimals of accuracy
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/segnale_wifi__/state' payload='84' retain=1 qos=0)
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/segnale_wifi_db/state' payload='-58' retain=1 qos=0)
[15:00:33][W][component:237]: Component wifi_signal.sensor took a long time for an operation (62 ms).
[15:00:33][W][component:238]: Components should block for at most 30 ms.
[15:00:33][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=118.1lx
[15:00:33][V][sensor:043]: 'Luminosità camerina': Received new state 118.056091
[15:00:33][D][sensor:094]: 'Luminosità camerina': Sending state 118.05609 lx with 1 decimals of accuracy
[15:00:33][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='118.1' retain=1 qos=0)
[15:00:34][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.541641
[15:00:34][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.54164 °C with 1 decimals of accuracy
[15:00:34][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.5' retain=1 qos=0)
[15:00:34][V][bmp280.sensor:158]: Sending conversion request...
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 2
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 7
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][W][component:237]: Component esp32_ble took a long time for an operation (153 ms).
[15:00:34][W][component:238]: Components should block for at most 30 ms.
[15:00:34][W][esp32_ble_tracker:114]: Too many BLE events to process. Some devices may not show up.
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=48380
[15:00:34][V][mqtt:487]: Publish(topic='presence-camerina/status' payload='online' retain=1 qos=0)
[15:00:34][I][app:100]: ESPHome version 2024.9.0 compiled on Sep 20 2024, 09:20:09
[15:00:34][C][wifi:600]: WiFi:
[15:00:34][C][wifi:428]:   Local MAC: 0C:B8:15:D7:1A:00
[15:00:34][C][wifi:433]:   SSID: [redacted]
[15:00:34][C][wifi:436]:   IP Address: 192.168.1.64
[15:00:34][C][wifi:440]:   BSSID: [redacted]
[15:00:34][C][wifi:441]:   Hostname: 'presence-camerina'
[15:00:34][C][wifi:443]:   Signal strength: -58 dB ▂▄▆█
[15:00:34][V][wifi:445]:   Priority: 0.0
[15:00:34][C][wifi:447]:   Channel: 4
[15:00:34][C][wifi:448]:   Subnet: 255.255.255.0
[15:00:34][C][wifi:449]:   Gateway: 192.168.1.1
[15:00:34][C][wifi:450]:   DNS1: 0.0.0.0
[15:00:34][C][wifi:451]:   DNS2: 0.0.0.0
[15:00:34][V][bh1750.sensor:151]: L result: 96.451614 -> Calculated mode=2, mtreg=254
[15:00:34][V][bmp280.sensor:158]: Sending conversion request...
[15:00:34][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.372459
[15:00:34][V][sensor:043]: 'Umidità camerina': Received new state 39.300251
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=27643
[15:00:34][C][logger:185]: Logger:
[15:00:34][C][logger:186]:   Level: VERBOSE
[15:00:34][C][logger:188]:   Log Baud Rate: 115200
[15:00:34][C][logger:189]:   Hardware UART: UART0
[15:00:34][D][bmp280.sensor:182]: Got temperature=23.7°C pressure=973.9hPa
[15:00:34][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.729414
[15:00:34][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.72941 °C with 1 decimals of accuracy
[15:00:34][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.7' retain=1 qos=0)
[15:00:34][V][sensor:043]: 'Pressione camerina': Received new state 973.890808
[15:00:34][D][sensor:094]: 'Pressione camerina': Sending state 973.89081 hPa with 1 decimals of accuracy
[15:00:34][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[15:00:34][W][component:237]: Component bmp280_base took a long time for an operation (60 ms).
[15:00:34][W][component:238]: Components should block for at most 30 ms.
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=5
[15:00:34][V][mqtt.idf:149]: MQTT_EVENT_PUBLISHED, msg_id=16856
[15:00:34][C][i2c.idf:075]: I2C Bus:
[15:00:34][C][i2c.idf:076]:   SDA Pin: GPIO21
[15:00:34][C][i2c.idf:077]:   SCL Pin: GPIO22
[15:00:34][C][i2c.idf:078]:   Frequency: 50000 Hz
[15:00:34][C][i2c.idf:084]:   Recovery: bus successfully recovered
[15:00:34][I][i2c.idf:094]: Results from i2c bus scan:
[15:00:34][I][i2c.idf:100]: Found i2c device at address 0x23
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=53237
[15:00:34][C][i2c.idf:075]: I2C Bus:
[15:00:34][C][i2c.idf:076]:   SDA Pin: GPIO25
[15:00:34][C][i2c.idf:077]:   SCL Pin: GPIO14
[15:00:34][C][i2c.idf:078]:   Frequency: 50000 Hz
[15:00:34][C][i2c.idf:084]:   Recovery: bus successfully recovered
[15:00:34][I][i2c.idf:094]: Results from i2c bus scan:
[15:00:34][I][i2c.idf:100]: Found i2c device at address 0x38
[15:00:34][I][i2c.idf:100]: Found i2c device at address 0x77
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=48878
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=7550
[15:00:34][C][template.sensor:022]: Template Sensor 'Cell Andrea - Distanza'
[15:00:34][C][template.sensor:022]:   Device Class: 'distance'
[15:00:34][C][template.sensor:022]:   State Class: 'measurement'
[15:00:34][C][template.sensor:022]:   Unit of Measurement: 'm'
[15:00:34][C][template.sensor:022]:   Accuracy Decimals: 2
[15:00:34][C][template.sensor:023]:   Update Interval: 60.0s
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=51947
[15:00:34][C][template.sensor:022]: Template Sensor 'Temperatura camerina (media)'
[15:00:34][C][template.sensor:022]:   State Class: ''
[15:00:34][C][template.sensor:022]:   Unit of Measurement: '°C'
[15:00:34][C][template.sensor:022]:   Accuracy Decimals: 1
[15:00:34][C][template.sensor:022]:   Icon: 'mdi:thermometer-lines'
[15:00:34][C][template.sensor:023]:   Update Interval: 1.0s
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=63288
[15:00:34][C][template.number:050]: Template Number 'Fattore ambiente'
[15:00:34][C][template.number:050]:   Icon: 'mdi:home-analytics'
[15:00:34][C][template.number:051]:   Optimistic: YES
[15:00:34][C][template.number:052]:   Update Interval: 60.0s
[15:00:34][V][mqtt.idf:121]: Event dispatched from event loop event_id=3
[15:00:34][V][mqtt.idf:140]: MQTT_EVENT_SUBSCRIBED, msg_id=43366
[15:00:34][C][switch.gpio:068]: GPIO Switch 'Relè carica batteria dashboard'
[15:00:34][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[15:00:34][C][switch.gpio:031]:   Pin: GPIO13
[15:00:34][C][switch.gpio:068]: GPIO Switch 'Semaforo rosso'
[15:00:34][C][switch.gpio:070]:   Icon: 'mdi:traffic-light'
[15:00:34][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[15:00:34][C][switch.gpio:031]:   Pin: GPIO18
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][C][switch.gpio:068]: GPIO Switch 'Semaforo giallo'
[15:00:34][C][switch.gpio:070]:   Icon: 'mdi:traffic-light'
[15:00:34][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[15:00:34][C][switch.gpio:031]:   Pin: GPIO19
[15:00:34][V][bh1750.sensor:151]: L result: 96.451614 -> Calculated mode=2, mtreg=254
[15:00:34][C][switch.gpio:068]: GPIO Switch 'Semaforo verde'
[15:00:34][C][switch.gpio:070]:   Icon: 'mdi:traffic-light'
[15:00:34][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[15:00:34][C][switch.gpio:031]:   Pin: GPIO32
[15:00:34][C][copy.sensor:015]: Copy Sensor 'Segnale WiFi %'
[15:00:34][C][copy.sensor:015]:   Device Class: 'signal_strength'
[15:00:34][C][copy.sensor:015]:   State Class: 'measurement'
[15:00:34][C][copy.sensor:015]:   Unit of Measurement: '%'
[15:00:34][C][copy.sensor:015]:   Accuracy Decimals: 0
[15:00:34][C][combination:016]: Combination Sensor: 'Cell Andrea - Distanza (Kalman)'
[15:00:34][C][combination:016]:   Device Class: 'distance'
[15:00:34][C][combination:016]:   State Class: ''
[15:00:34][C][combination:016]:   Unit of Measurement: 'm'
[15:00:34][C][combination:016]:   Accuracy Decimals: 2
[15:00:34][C][combination:017]:   Combination Type: kalman
[15:00:34][C][combination:039]:   Source Sensors:
[15:00:34][C][combination:042]:     - Cell Andrea - Distanza
[15:00:34][C][combination:057]:   Update variance: 0.000040 per ms
[15:00:34][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.551701
[15:00:34][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.55170 °C with 1 decimals of accuracy
[15:00:34][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.6' retain=1 qos=0)
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][C][bh1750.sensor:118]: BH1750 'Luminosità camerina'
[15:00:34][C][bh1750.sensor:118]:   Device Class: 'illuminance'
[15:00:34][C][bh1750.sensor:118]:   State Class: 'measurement'
[15:00:34][C][bh1750.sensor:118]:   Unit of Measurement: 'lx'
[15:00:34][C][bh1750.sensor:118]:   Accuracy Decimals: 1
[15:00:34][C][bh1750.sensor:119]:   Address: 0x23
[15:00:34][C][bh1750.sensor:124]:   Update Interval: 1.0s
[15:00:34][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:34][C][bmp280_i2c.sensor:022]:   Address: 0x77
[15:00:34][C][bmp280.sensor:132]: BMP280:
[15:00:34][C][bmp280.sensor:144]:   IIR Filter: OFF
[15:00:34][C][bmp280.sensor:145]:   Update Interval: 1.0s
[15:00:34][C][bmp280.sensor:147]:   Temperature 'Temperatura camerina (BMP280)'
[15:00:34][C][bmp280.sensor:147]:     Device Class: 'temperature'
[15:00:34][C][bmp280.sensor:147]:     State Class: 'measurement'
[15:00:34][C][bmp280.sensor:147]:     Unit of Measurement: '°C'
[15:00:34][C][bmp280.sensor:147]:     Accuracy Decimals: 1
[15:00:34][C][bmp280.sensor:148]:     Oversampling: 2x
[15:00:34][C][bmp280.sensor:149]:   Pressure 'Pressione camerina'
[15:00:34][C][bmp280.sensor:149]:     Device Class: 'pressure'
[15:00:35][C][bmp280.sensor:149]:     State Class: 'measurement'
[15:00:35][C][bmp280.sensor:149]:     Unit of Measurement: 'hPa'
[15:00:35][C][bmp280.sensor:149]:     Accuracy Decimals: 1
[15:00:35][C][bmp280.sensor:150]:     Oversampling: 16x
[15:00:35][V][bmp280.sensor:158]: Sending conversion request...
[15:00:35][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.363876
[15:00:35][D][sensor:094]: 'Temperatura camerina (AHT20)': Sending state 23.36388 °C with 1 decimals of accuracy
[15:00:35][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.4' retain=1 qos=0)
[15:00:35][V][sensor:043]: 'Umidità camerina': Received new state 39.334774
[15:00:35][D][sensor:094]: 'Umidità camerina': Sending state 39.30025 % with 1 decimals of accuracy
[15:00:35][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.3' retain=1 qos=0)
[15:00:35][W][component:237]: Component aht10.sensor took a long time for an operation (51 ms).
[15:00:35][W][component:238]: Components should block for at most 30 ms.
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][C][aht10:162]: AHT10:
[15:00:35][C][aht10:163]:   Address: 0x38
[15:00:35][C][aht10:167]:   Temperature 'Temperatura camerina (AHT20)'
[15:00:35][C][aht10:167]:     Device Class: 'temperature'
[15:00:35][C][aht10:167]:     State Class: 'measurement'
[15:00:35][C][aht10:167]:     Unit of Measurement: '°C'
[15:00:35][C][aht10:167]:     Accuracy Decimals: 1
[15:00:35][C][aht10:168]:   Humidity 'Umidità camerina'
[15:00:35][C][aht10:168]:     Device Class: 'humidity'
[15:00:35][C][aht10:168]:     State Class: 'measurement'
[15:00:35][C][aht10:168]:     Unit of Measurement: '%'
[15:00:35][C][aht10:168]:     Accuracy Decimals: 1
[15:00:35][D][bmp280.sensor:182]: Got temperature=23.7°C pressure=973.9hPa
[15:00:35][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.716719
[15:00:35][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.71672 °C with 1 decimals of accuracy
[15:00:35][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.7' retain=1 qos=0)
[15:00:35][V][sensor:043]: 'Pressione camerina': Received new state 973.924988
[15:00:35][D][sensor:094]: 'Pressione camerina': Sending state 973.92499 hPa with 1 decimals of accuracy
[15:00:35][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[15:00:35][W][component:237]: Component bmp280_base took a long time for an operation (56 ms).
[15:00:35][W][component:238]: Components should block for at most 30 ms.
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][C][restart:068]: Restart Switch 'Riavvia'
[15:00:35][C][restart:070]:   Icon: 'mdi:restart'
[15:00:35][C][restart:091]:   Restore Mode: always OFF
[15:00:35][C][ble_rssi:011]: BLE RSSI Sensor 'Cell Andrea - Potenza segnale'
[15:00:35][C][ble_rssi:011]:   Device Class: 'signal_strength'
[15:00:35][C][ble_rssi:011]:   State Class: 'measurement'
[15:00:35][C][ble_rssi:011]:   Unit of Measurement: 'dBm'
[15:00:35][C][ble_rssi:011]:   Accuracy Decimals: 0
[15:00:35][C][esp32_ble:391]: ESP32 BLE:
[15:00:35][C][esp32_ble:393]:   MAC address: 0C:B8:15:D7:1A:02
[15:00:35][C][esp32_ble:394]:   IO Capability: none
[15:00:35][C][esp32_ble_tracker:655]: BLE Tracker:
[15:00:35][C][esp32_ble_tracker:656]:   Scan Duration: 3 s
[15:00:35][C][esp32_ble_tracker:657]:   Scan Interval: 1000.0 ms
[15:00:35][C][esp32_ble_tracker:658]:   Scan Window: 1000.0 ms
[15:00:35][C][esp32_ble_tracker:659]:   Scan Type: ACTIVE
[15:00:35][C][esp32_ble_tracker:660]:   Continuous Scanning: True
[15:00:35][C][mdns:116]: mDNS:
[15:00:35][C][mdns:117]:   Hostname: presence-camerina
[15:00:35][V][mdns:118]:   Services:
[15:00:35][V][mdns:120]:   - _http, _tcp, 80
[15:00:35][V][mdns:122]:     TXT: version = 2024.9.0
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][D][esp32_ble_tracker:270]: Starting scan...
[15:00:35][V][sensor:043]: 'Cell Andrea - Potenza segnale': Received new state nan
[15:00:35][D][sensor:094]: 'Cell Andrea - Potenza segnale': Sending state nan dBm with 0 decimals of accuracy
[15:00:35][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[15:00:35][V][json:058]: Size after shrink 48 bytes
[15:00:35][V][mqtt:487]: Publish(topic='room-presence/presence-camerina/last-scan-result' payload='{"timestamp":7594,"value":null}' retain=0 qos=0)
[15:00:35][V][sensor:043]: 'Cell Andrea - Distanza': Received new state nan
[15:00:35][V][mqtt:487]: Publish(topic='presence-camerina/sensor/cell_andrea_-_potenza_segnale/state' payload='nan' retain=1 qos=0)
[15:00:35][W][component:237]: Component esp32_ble_tracker took a long time for an operation (62 ms).
[15:00:35][W][component:238]: Components should block for at most 30 ms.
[15:00:35][C][esphome.ota:073]: Over-The-Air updates:
[15:00:35][C][esphome.ota:074]:   Address: 192.168.1.64:3232
[15:00:35][C][esphome.ota:075]:   Version: 2
[15:00:35][C][esphome.ota:078]:   Password configured
[15:00:35][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=117.5lx
[15:00:35][V][sensor:043]: 'Luminosità camerina': Received new state 117.490143
[15:00:35][D][sensor:094]: 'Luminosità camerina': Sending state 117.49014 lx with 1 decimals of accuracy
[15:00:35][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='117.5' retain=1 qos=0)
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 2
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 7
[15:00:35][C][safe_mode:018]: Safe Mode:
[15:00:35][C][safe_mode:020]:   Boot considered successful after 60 seconds
[15:00:35][C][safe_mode:021]:   Invoke after 10 boot attempts
[15:00:35][C][safe_mode:023]:   Remain in safe mode for 300 seconds
[15:00:35][C][mqtt:145]: MQTT:
[15:00:35][C][mqtt:147]:   Server Address: 192.168.1.217:1883 (192.168.1.217)
[15:00:35][C][mqtt:148]:   Username: [redacted]
[15:00:35][C][mqtt:149]:   Client ID: [redacted]
[15:00:35][C][mqtt:151]:   Discovery IP enabled
[15:00:35][C][mqtt:154]:   Discovery prefix: 'homeassistant'
[15:00:35][C][mqtt:155]:   Discovery retain: YES
[15:00:35][C][mqtt:157]:   Topic Prefix: 'presence-camerina'
[15:00:35][C][mqtt:159]:   Log Topic: 'presence-camerina/debug'
[15:00:35][C][mqtt:162]:   Availability: 'presence-camerina/status'
[15:00:35][C][wifi_signal.sensor:010]: WiFi Signal 'Segnale WiFi dB'
[15:00:35][C][wifi_signal.sensor:010]:   Device Class: 'signal_strength'
[15:00:35][C][wifi_signal.sensor:010]:   State Class: 'measurement'
[15:00:35][C][wifi_signal.sensor:010]:   Unit of Measurement: 'dBm'
[15:00:35][C][wifi_signal.sensor:010]:   Accuracy Decimals: 0
[15:00:35][V][wifi_signal.sensor:010]:   Unique ID: '0cb815d71a00-wifisignal'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Segnale WiFi dB':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/segnale_wifi_db/state'
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Segnale WiFi %':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/segnale_wifi__/state'
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Cell Andrea - Distanza':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/cell_andrea_-_distanza/state'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Cell Andrea - Distanza (Kalman)':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/cell_andrea_-_distanza__kalman_/state'
[15:00:35][V][bh1750.sensor:151]: L result: 96.451614 -> Calculated mode=2, mtreg=254
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Luminosità camerina':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/luminosit___camerina/state'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Temperatura camerina (BMP280)':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/temperatura_camerina__bmp280_/state'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Pressione camerina':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/pressione_camerina/state'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Temperatura camerina (AHT20)':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/temperatura_camerina__aht20_/state'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Umidità camerina':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/umidit___camerina/state'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Temperatura camerina (media)':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/temperatura_camerina__media_/state'
[15:00:35][C][mqtt.switch:041]: MQTT Switch 'Riavvia': 
[15:00:35][C][mqtt.switch:042]:   State Topic: 'presence-camerina/switch/riavvia/state'
[15:00:35][C][mqtt.switch:042]:   Command Topic: 'presence-camerina/switch/riavvia/command'
[15:00:35][C][mqtt.switch:041]: MQTT Switch 'Relè carica batteria dashboard': 
[15:00:35][C][mqtt.switch:042]:   State Topic: 'presence-camerina/switch/rel___carica_batteria_dashboard/state'
[15:00:35][C][mqtt.switch:042]:   Command Topic: 'presence-camerina/switch/rel___carica_batteria_dashboard/command'
[15:00:35][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.540298
[15:00:35][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.54030 °C with 1 decimals of accuracy
[15:00:35][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.5' retain=1 qos=0)
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[15:00:35][C][mqtt.switch:041]: MQTT Switch 'Semaforo rosso': 
[15:00:35][C][mqtt.switch:042]:   State Topic: 'presence-camerina/switch/semaforo_rosso/state'
[15:00:35][C][mqtt.switch:042]:   Command Topic: 'presence-camerina/switch/semaforo_rosso/command'
[15:00:35][C][mqtt.switch:041]: MQTT Switch 'Semaforo giallo': 
[15:00:35][C][mqtt.switch:042]:   State Topic: 'presence-camerina/switch/semaforo_giallo/state'
[15:00:35][C][mqtt.switch:042]:   Command Topic: 'presence-camerina/switch/semaforo_giallo/command'
[15:00:35][C][mqtt.switch:041]: MQTT Switch 'Semaforo verde': 
[15:00:35][C][mqtt.switch:042]:   State Topic: 'presence-camerina/switch/semaforo_verde/state'
[15:00:35][C][mqtt.switch:042]:   Command Topic: 'presence-camerina/switch/semaforo_verde/command'
[15:00:35][C][mqtt.sensor:028]: MQTT Sensor 'Cell Andrea - Potenza segnale':
[15:00:35][C][mqtt.sensor:032]:   State Topic: 'presence-camerina/sensor/cell_andrea_-_potenza_segnale/state'
[15:00:36][C][mqtt.number:033]: MQTT Number 'Fattore ambiente':
[15:00:36][C][mqtt.number:034]:   State Topic: 'presence-camerina/number/fattore_ambiente/state'

This is some verbose logs around a few "starting scan" actions

[14:57:03][D][sensor:094]: 'Pressione camerina': Sending state 973.89618 hPa with 1 decimals of accuracy
[14:57:03][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:03][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:03][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.413040
[14:57:04][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41304 °C with 1 decimals of accuracy
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:04][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=129.9lx
[14:57:04][V][sensor:043]: 'Luminosità camerina': Received new state 129.940933
[14:57:04][D][sensor:094]: 'Luminosità camerina': Sending state 129.94093 lx with 1 decimals of accuracy
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='129.9' retain=1 qos=0)
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.270988
[14:57:04][D][sensor:094]: 'Temperatura camerina (AHT20)': Sending state 23.24409 °C with 1 decimals of accuracy
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.2' retain=1 qos=0)
[14:57:04][V][sensor:043]: 'Umidità camerina': Received new state 39.755154
[14:57:04][D][sensor:094]: 'Umidità camerina': Sending state 39.71605 % with 1 decimals of accuracy
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.7' retain=1 qos=0)
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:04][D][esp32_ble_tracker:270]: Starting scan...
[14:57:04][V][sensor:043]: 'Cell Andrea - Potenza segnale': Received new state nan
[14:57:04][D][sensor:094]: 'Cell Andrea - Potenza segnale': Sending state nan dBm with 0 decimals of accuracy
[14:57:04][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[14:57:04][V][json:058]: Size after shrink 48 bytes
[14:57:04][V][mqtt:487]: Publish(topic='room-presence/presence-camerina/last-scan-result' payload='{"timestamp":20035351,"value":null}' retain=0 qos=0)
[14:57:04][V][sensor:043]: 'Cell Andrea - Distanza': Received new state nan
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/cell_andrea_-_potenza_segnale/state' payload='nan' retain=1 qos=0)
[14:57:04][V][bmp280.sensor:158]: Sending conversion request...
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 2
[14:57:04][V][esp32_ble:331]: (BLE) gap_event_handler - 7
[14:57:04][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:04][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.584297
[14:57:04][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.58430 °C with 1 decimals of accuracy
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:04][V][sensor:043]: 'Pressione camerina': Received new state 973.900330
[14:57:04][D][sensor:094]: 'Pressione camerina': Sending state 973.90033 hPa with 1 decimals of accuracy
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:04][V][sensor:043]: 'Segnale WiFi dB': Received new state -57.000000
[14:57:04][D][sensor:094]: 'Segnale WiFi dB': Sending state -57.00000 dBm with 0 decimals of accuracy
[14:57:04][V][sensor:043]: 'Segnale WiFi %': Received new state -57.000000
[14:57:04][D][sensor:094]: 'Segnale WiFi %': Sending state 86.00000 % with 0 decimals of accuracy
[14:57:04][V][mqtt:487]: Publish(topic='presence-camerina/sensor/segnale_wifi__/state' payload='86' retain=1 qos=0)
[14:57:05][V][mqtt:487]: Publish(topic='presence-camerina/sensor/segnale_wifi_db/state' payload='-57' retain=1 qos=0)
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.414196
[14:57:05][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41420 °C with 1 decimals of accuracy
[14:57:05][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:05][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=130.4lx
[14:57:05][V][sensor:043]: 'Luminosità camerina': Received new state 130.393692
[14:57:05][D][sensor:094]: 'Luminosità camerina': Sending state 130.39369 lx with 1 decimals of accuracy
[14:57:05][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='130.4' retain=1 qos=0)
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.229218
[14:57:05][V][sensor:043]: 'Umidità camerina': Received new state 39.727879
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][bmp280.sensor:158]: Sending conversion request...
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:05][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:05][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.584297
[14:57:05][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.58430 °C with 1 decimals of accuracy
[14:57:05][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:05][V][sensor:043]: 'Pressione camerina': Received new state 973.895325
[14:57:05][D][sensor:094]: 'Pressione camerina': Sending state 973.89532 hPa with 1 decimals of accuracy
[14:57:05][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.414196
[14:57:06][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41420 °C with 1 decimals of accuracy
[14:57:06][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=130.6lx
[14:57:06][V][sensor:043]: 'Luminosità camerina': Received new state 130.620071
[14:57:06][D][sensor:094]: 'Luminosità camerina': Sending state 130.62007 lx with 1 decimals of accuracy
[14:57:06][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='130.6' retain=1 qos=0)
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.262978
[14:57:06][V][sensor:043]: 'Umidità camerina': Received new state 39.755154
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:06][V][bmp280.sensor:158]: Sending conversion request...
[14:57:06][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:06][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.594063
[14:57:06][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59406 °C with 1 decimals of accuracy
[14:57:06][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:06][V][sensor:043]: 'Pressione camerina': Received new state 973.916748
[14:57:06][D][sensor:094]: 'Pressione camerina': Sending state 973.91675 hPa with 1 decimals of accuracy
[14:57:06][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:06][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.419079
[14:57:07][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41908 °C with 1 decimals of accuracy
[14:57:07][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=130.8lx
[14:57:07][V][sensor:043]: 'Luminosità camerina': Received new state 130.846451
[14:57:07][D][sensor:094]: 'Luminosità camerina': Sending state 130.84645 lx with 1 decimals of accuracy
[14:57:07][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='130.8' retain=1 qos=0)
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.238945
[14:57:07][D][sensor:094]: 'Temperatura camerina (AHT20)': Sending state 23.23895 °C with 1 decimals of accuracy
[14:57:07][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.2' retain=1 qos=0)
[14:57:07][V][sensor:043]: 'Umidità camerina': Received new state 39.710045
[14:57:07][D][sensor:094]: 'Umidità camerina': Sending state 39.72788 % with 1 decimals of accuracy
[14:57:07][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.7' retain=1 qos=0)
[14:57:07][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][bmp280.sensor:158]: Sending conversion request...
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:07][D][esp32_ble_tracker:270]: Starting scan...
[14:57:07][V][sensor:043]: 'Cell Andrea - Potenza segnale': Received new state nan
[14:57:07][D][sensor:094]: 'Cell Andrea - Potenza segnale': Sending state nan dBm with 0 decimals of accuracy
[14:57:07][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[14:57:07][V][json:058]: Size after shrink 48 bytes
[14:57:07][V][mqtt:487]: Publish(topic='room-presence/presence-camerina/last-scan-result' payload='{"timestamp":20038418,"value":null}' retain=0 qos=0)
[14:57:07][V][sensor:043]: 'Cell Andrea - Distanza': Received new state nan
[14:57:07][V][mqtt:487]: Publish(topic='presence-camerina/sensor/cell_andrea_-_potenza_segnale/state' payload='nan' retain=1 qos=0)
[14:57:07][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:07][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.596601
[14:57:07][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59660 °C with 1 decimals of accuracy
[14:57:07][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:07][V][sensor:043]: 'Pressione camerina': Received new state 973.927185
[14:57:07][D][sensor:094]: 'Pressione camerina': Sending state 973.92719 hPa with 1 decimals of accuracy
[14:57:07][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:07][W][component:237]: Component bmp280_base took a long time for an operation (56 ms).
[14:57:07][W][component:238]: Components should block for at most 30 ms.
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 2
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 7
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.417774
[14:57:08][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41777 °C with 1 decimals of accuracy
[14:57:08][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=131.5lx
[14:57:08][V][sensor:043]: 'Luminosità camerina': Received new state 131.525589
[14:57:08][D][sensor:094]: 'Luminosità camerina': Sending state 131.52559 lx with 1 decimals of accuracy
[14:57:08][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='131.5' retain=1 qos=0)
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.230553
[14:57:08][V][sensor:043]: 'Umidità camerina': Received new state 39.688683
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][V][bmp280.sensor:158]: Sending conversion request...
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:08][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:08][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.591524
[14:57:08][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59152 °C with 1 decimals of accuracy
[14:57:08][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:08][V][sensor:043]: 'Pressione camerina': Received new state 973.909546
[14:57:08][D][sensor:094]: 'Pressione camerina': Sending state 973.90955 hPa with 1 decimals of accuracy
[14:57:08][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:08][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.415234
[14:57:09][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41523 °C with 1 decimals of accuracy
[14:57:09][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:09][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=132.0lx
[14:57:09][V][sensor:043]: 'Luminosità camerina': Received new state 131.978333
[14:57:09][D][sensor:094]: 'Luminosità camerina': Sending state 131.97833 lx with 1 decimals of accuracy
[14:57:09][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='132.0' retain=1 qos=0)
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.257065
[14:57:09][V][sensor:043]: 'Umidità camerina': Received new state 39.686871
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:09][V][bmp280.sensor:158]: Sending conversion request...
[14:57:09][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:09][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.591524
[14:57:09][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59152 °C with 1 decimals of accuracy
[14:57:09][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:09][V][sensor:043]: 'Pressione camerina': Received new state 973.897888
[14:57:09][D][sensor:094]: 'Pressione camerina': Sending state 973.89789 hPa with 1 decimals of accuracy
[14:57:09][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:09][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.415234
[14:57:10][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41523 °C with 1 decimals of accuracy
[14:57:10][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:10][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=132.5lx
[14:57:10][V][sensor:043]: 'Luminosità camerina': Received new state 132.544281
[14:57:10][D][sensor:094]: 'Luminosità camerina': Sending state 132.54428 lx with 1 decimals of accuracy
[14:57:10][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='132.5' retain=1 qos=0)
[14:57:10][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.226738
[14:57:10][D][sensor:094]: 'Temperatura camerina (AHT20)': Sending state 23.23055 °C with 1 decimals of accuracy
[14:57:10][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.2' retain=1 qos=0)
[14:57:10][V][sensor:043]: 'Umidità camerina': Received new state 39.663982
[14:57:10][D][sensor:094]: 'Umidità camerina': Sending state 39.68687 % with 1 decimals of accuracy
[14:57:10][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.7' retain=1 qos=0)
[14:57:10][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:10][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][V][bmp280.sensor:158]: Sending conversion request...
[14:57:10][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:10][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.589180
[14:57:10][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.58918 °C with 1 decimals of accuracy
[14:57:10][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:10][V][sensor:043]: 'Pressione camerina': Received new state 973.887634
[14:57:10][D][sensor:094]: 'Pressione camerina': Sending state 973.88763 hPa with 1 decimals of accuracy
[14:57:10][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:10][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:10][D][esp32_ble_tracker:270]: Starting scan...
[14:57:10][V][sensor:043]: 'Cell Andrea - Potenza segnale': Received new state nan
[14:57:10][D][sensor:094]: 'Cell Andrea - Potenza segnale': Sending state nan dBm with 0 decimals of accuracy
[14:57:10][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[14:57:10][V][json:058]: Size after shrink 48 bytes
[14:57:10][V][mqtt:487]: Publish(topic='room-presence/presence-camerina/last-scan-result' payload='{"timestamp":20041512,"value":null}' retain=0 qos=0)
[14:57:10][V][sensor:043]: 'Cell Andrea - Distanza': Received new state nan
[14:57:11][V][mqtt:487]: Publish(topic='presence-camerina/sensor/cell_andrea_-_potenza_segnale/state' payload='nan' retain=1 qos=0)
[14:57:11][W][component:237]: Component esp32_ble_tracker took a long time for an operation (71 ms).
[14:57:11][W][component:238]: Components should block for at most 30 ms.
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 2
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 7
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.409866
[14:57:11][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.40987 °C with 1 decimals of accuracy
[14:57:11][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:11][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=133.1lx
[14:57:11][V][sensor:043]: 'Luminosità camerina': Received new state 133.110229
[14:57:11][D][sensor:094]: 'Luminosità camerina': Sending state 133.11023 lx with 1 decimals of accuracy
[14:57:11][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='133.1' retain=1 qos=0)
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.256302
[14:57:11][V][sensor:043]: 'Umidità camerina': Received new state 39.711571
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][V][bmp280.sensor:158]: Sending conversion request...
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:11][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:11][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.594063
[14:57:11][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59406 °C with 1 decimals of accuracy
[14:57:11][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:11][V][sensor:043]: 'Pressione camerina': Received new state 973.919983
[14:57:11][D][sensor:094]: 'Pressione camerina': Sending state 973.91998 hPa with 1 decimals of accuracy
[14:57:11][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:11][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.412308
[14:57:12][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41231 °C with 1 decimals of accuracy
[14:57:12][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:12][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=133.7lx
[14:57:12][V][sensor:043]: 'Luminosità camerina': Received new state 133.676178
[14:57:12][D][sensor:094]: 'Luminosità camerina': Sending state 133.67618 lx with 1 decimals of accuracy
[14:57:12][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='133.7' retain=1 qos=0)
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.225594
[14:57:12][V][sensor:043]: 'Umidità camerina': Received new state 39.682388
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:12][V][bmp280.sensor:158]: Sending conversion request...
[14:57:12][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:12][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.594063
[14:57:12][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59406 °C with 1 decimals of accuracy
[14:57:12][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:12][V][sensor:043]: 'Pressione camerina': Received new state 973.895020
[14:57:12][D][sensor:094]: 'Pressione camerina': Sending state 973.89502 hPa with 1 decimals of accuracy
[14:57:12][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:13][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.412308
[14:57:13][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41231 °C with 1 decimals of accuracy
[14:57:13][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:13][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=134.4lx
[14:57:13][V][sensor:043]: 'Luminosità camerina': Received new state 134.355301
[14:57:13][D][sensor:094]: 'Luminosità camerina': Sending state 134.35530 lx with 1 decimals of accuracy
[14:57:13][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='134.4' retain=1 qos=0)
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:13][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.260880
[14:57:13][D][sensor:094]: 'Temperatura camerina (AHT20)': Sending state 23.25630 °C with 1 decimals of accuracy
[14:57:13][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.3' retain=1 qos=0)
[14:57:13][V][sensor:043]: 'Umidità camerina': Received new state 39.703846
[14:57:13][D][sensor:094]: 'Umidità camerina': Sending state 39.70385 % with 1 decimals of accuracy
[14:57:13][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.7' retain=1 qos=0)
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:13][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:13][V][bmp280.sensor:158]: Sending conversion request...
[14:57:13][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:13][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.596601
[14:57:13][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59660 °C with 1 decimals of accuracy
[14:57:13][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:13][V][sensor:043]: 'Pressione camerina': Received new state 973.913879
[14:57:13][D][sensor:094]: 'Pressione camerina': Sending state 973.91388 hPa with 1 decimals of accuracy
[14:57:13][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:13][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][D][esp32_ble_tracker:270]: Starting scan...
[14:57:14][V][sensor:043]: 'Cell Andrea - Potenza segnale': Received new state nan
[14:57:14][D][sensor:094]: 'Cell Andrea - Potenza segnale': Sending state nan dBm with 0 decimals of accuracy
[14:57:14][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[14:57:14][V][json:058]: Size after shrink 48 bytes
[14:57:14][V][mqtt:487]: Publish(topic='room-presence/presence-camerina/last-scan-result' payload='{"timestamp":20044575,"value":null}' retain=0 qos=0)
[14:57:14][V][sensor:043]: 'Cell Andrea - Distanza': Received new state nan
[14:57:14][V][mqtt:487]: Publish(topic='presence-camerina/sensor/cell_andrea_-_potenza_segnale/state' payload='nan' retain=1 qos=0)
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 2
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 7
[14:57:14][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.426453
[14:57:14][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.42645 °C with 1 decimals of accuracy
[14:57:14][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:14][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=134.7lx
[14:57:14][V][sensor:043]: 'Luminosità camerina': Received new state 134.694870
[14:57:14][D][sensor:094]: 'Luminosità camerina': Sending state 134.69487 lx with 1 decimals of accuracy
[14:57:14][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='134.7' retain=1 qos=0)
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.233986
[14:57:14][V][sensor:043]: 'Umidità camerina': Received new state 39.672470
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][bmp280.sensor:158]: Sending conversion request...
[14:57:14][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:14][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.591524
[14:57:14][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59152 °C with 1 decimals of accuracy
[14:57:14][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:14][V][sensor:043]: 'Pressione camerina': Received new state 973.907898
[14:57:14][D][sensor:094]: 'Pressione camerina': Sending state 973.90790 hPa with 1 decimals of accuracy
[14:57:14][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:14][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:14][V][sensor:043]: 'Segnale WiFi dB': Received new state -57.000000
[14:57:14][D][sensor:094]: 'Segnale WiFi dB': Sending state -57.00000 dBm with 0 decimals of accuracy
[14:57:14][V][sensor:043]: 'Segnale WiFi %': Received new state -57.000000
[14:57:14][D][sensor:094]: 'Segnale WiFi %': Sending state 86.00000 % with 0 decimals of accuracy
[14:57:14][V][mqtt:487]: Publish(topic='presence-camerina/sensor/segnale_wifi__/state' payload='86' retain=1 qos=0)
[14:57:14][V][mqtt:487]: Publish(topic='presence-camerina/sensor/segnale_wifi_db/state' payload='-57' retain=1 qos=0)
[14:57:15][W][component:237]: Component wifi_signal.sensor took a long time for an operation (57 ms).
[14:57:15][W][component:238]: Components should block for at most 30 ms.
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.423912
[14:57:15][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.42391 °C with 1 decimals of accuracy
[14:57:15][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=135.1lx
[14:57:15][V][sensor:043]: 'Luminosità camerina': Received new state 135.147629
[14:57:15][D][sensor:094]: 'Luminosità camerina': Sending state 135.14763 lx with 1 decimals of accuracy
[14:57:15][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='135.1' retain=1 qos=0)
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.248482
[14:57:15][V][sensor:043]: 'Umidità camerina': Received new state 39.674377
[14:57:15][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][bmp280.sensor:158]: Sending conversion request...
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:15][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.591524
[14:57:15][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59152 °C with 1 decimals of accuracy
[14:57:15][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:15][V][sensor:043]: 'Pressione camerina': Received new state 973.892883
[14:57:15][D][sensor:094]: 'Pressione camerina': Sending state 973.89288 hPa with 1 decimals of accuracy
[14:57:15][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:15][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.423912
[14:57:16][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.42391 °C with 1 decimals of accuracy
[14:57:16][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:16][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=135.3lx
[14:57:16][V][sensor:043]: 'Luminosità camerina': Received new state 135.260818
[14:57:16][D][sensor:094]: 'Luminosità camerina': Sending state 135.26082 lx with 1 decimals of accuracy
[14:57:16][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='135.3' retain=1 qos=0)
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.271561
[14:57:16][D][sensor:094]: 'Temperatura camerina (AHT20)': Sending state 23.24848 °C with 1 decimals of accuracy
[14:57:16][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.2' retain=1 qos=0)
[14:57:16][V][sensor:043]: 'Umidità camerina': Received new state 39.785004
[14:57:16][D][sensor:094]: 'Umidità camerina': Sending state 39.67438 % with 1 decimals of accuracy
[14:57:16][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.7' retain=1 qos=0)
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][V][bmp280.sensor:158]: Sending conversion request...
[14:57:16][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:16][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:16][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.589180
[14:57:16][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.58918 °C with 1 decimals of accuracy
[14:57:16][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:16][V][sensor:043]: 'Pressione camerina': Received new state 973.909363
[14:57:16][D][sensor:094]: 'Pressione camerina': Sending state 973.90936 hPa with 1 decimals of accuracy
[14:57:16][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][D][esp32_ble_tracker:270]: Starting scan...
[14:57:17][V][sensor:043]: 'Cell Andrea - Potenza segnale': Received new state nan
[14:57:17][D][sensor:094]: 'Cell Andrea - Potenza segnale': Sending state nan dBm with 0 decimals of accuracy
[14:57:17][V][json:038]: Attempting to allocate 512 bytes for JSON serialization
[14:57:17][V][json:058]: Size after shrink 48 bytes
[14:57:17][V][mqtt:487]: Publish(topic='room-presence/presence-camerina/last-scan-result' payload='{"timestamp":20047650,"value":null}' retain=0 qos=0)
[14:57:17][V][sensor:043]: 'Cell Andrea - Distanza': Received new state nan
[14:57:17][V][mqtt:487]: Publish(topic='presence-camerina/sensor/cell_andrea_-_potenza_segnale/state' payload='nan' retain=1 qos=0)
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 2
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 7
[14:57:17][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.418831
[14:57:17][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.41883 °C with 1 decimals of accuracy
[14:57:17][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:17][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=135.0lx
[14:57:17][V][sensor:043]: 'Luminosità camerina': Received new state 135.034439
[14:57:17][D][sensor:094]: 'Luminosità camerina': Sending state 135.03444 lx with 1 decimals of accuracy
[14:57:17][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='135.0' retain=1 qos=0)
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.230743
[14:57:17][V][sensor:043]: 'Umidità camerina': Received new state 39.683533
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][bmp280.sensor:158]: Sending conversion request...
[14:57:17][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:17][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.594063
[14:57:17][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59406 °C with 1 decimals of accuracy
[14:57:17][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:17][V][sensor:043]: 'Pressione camerina': Received new state 973.871704
[14:57:17][D][sensor:094]: 'Pressione camerina': Sending state 973.87170 hPa with 1 decimals of accuracy
[14:57:17][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:17][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.421272
[14:57:18][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.42127 °C with 1 decimals of accuracy
[14:57:18][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:18][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=134.4lx
[14:57:18][V][sensor:043]: 'Luminosità camerina': Received new state 134.355301
[14:57:18][D][sensor:094]: 'Luminosità camerina': Sending state 134.35530 lx with 1 decimals of accuracy
[14:57:18][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='134.4' retain=1 qos=0)
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.227882
[14:57:18][V][sensor:043]: 'Umidità camerina': Received new state 39.740849
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][bmp280.sensor:158]: Sending conversion request...
[14:57:18][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:18][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.591524
[14:57:18][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59152 °C with 1 decimals of accuracy
[14:57:18][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:18][V][sensor:043]: 'Pressione camerina': Received new state 973.887878
[14:57:18][D][sensor:094]: 'Pressione camerina': Sending state 973.88788 hPa with 1 decimals of accuracy
[14:57:18][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:18][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][sensor:043]: 'Temperatura camerina (media)': Received new state 23.420002
[14:57:19][D][sensor:094]: 'Temperatura camerina (media)': Sending state 23.42000 °C with 1 decimals of accuracy
[14:57:19][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__media_/state' payload='23.4' retain=1 qos=0)
[14:57:19][D][bh1750.sensor:159]: 'Luminosità camerina': Got illuminance=133.4lx
[14:57:19][V][sensor:043]: 'Luminosità camerina': Received new state 133.449783
[14:57:19][D][sensor:094]: 'Luminosità camerina': Sending state 133.44978 lx with 1 decimals of accuracy
[14:57:19][V][mqtt:487]: Publish(topic='presence-camerina/sensor/luminosit___camerina/state' payload='133.4' retain=1 qos=0)
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][sensor:043]: 'Temperatura camerina (AHT20)': Received new state 23.241425
[14:57:19][D][sensor:094]: 'Temperatura camerina (AHT20)': Sending state 23.23074 °C with 1 decimals of accuracy
[14:57:19][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__aht20_/state' payload='23.2' retain=1 qos=0)
[14:57:19][V][sensor:043]: 'Umidità camerina': Received new state 39.703178
[14:57:19][D][sensor:094]: 'Umidità camerina': Sending state 39.70318 % with 1 decimals of accuracy
[14:57:19][V][mqtt:487]: Publish(topic='presence-camerina/sensor/umidit___camerina/state' payload='39.7' retain=1 qos=0)
[14:57:19][V][bh1750.sensor:151]: L result: 111.290314 -> Calculated mode=2, mtreg=254
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][bmp280.sensor:158]: Sending conversion request...
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:19][D][bmp280.sensor:182]: Got temperature=23.6°C pressure=973.9hPa
[14:57:19][V][sensor:043]: 'Temperatura camerina (BMP280)': Received new state 23.596601
[14:57:19][D][sensor:094]: 'Temperatura camerina (BMP280)': Sending state 23.59660 °C with 1 decimals of accuracy
[14:57:19][V][mqtt:487]: Publish(topic='presence-camerina/sensor/temperatura_camerina__bmp280_/state' payload='23.6' retain=1 qos=0)
[14:57:19][V][sensor:043]: 'Pressione camerina': Received new state 973.903931
[14:57:19][D][sensor:094]: 'Pressione camerina': Sending state 973.90393 hPa with 1 decimals of accuracy
[14:57:19][V][mqtt:487]: Publish(topic='presence-camerina/sensor/pressione_camerina/state' payload='973.9' retain=1 qos=0)
[14:57:20][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:20][V][esp32_ble:331]: (BLE) gap_event_handler - 3
[14:57:20][D][esp32_ble_tracker:270]: Starting scan...
ssieb commented 3 days ago

Publishing nan like that means that it isn't seeing the device.

JanickGers85 commented 2 days ago

All ESPs (I have 6 of them) started always pushing nan when I've upgraded ESPHome 2024.9.0 and I compiled and pushed the firmware with the command

esphome update-all .

The beacon I use still sends signals.

I'm out of home right now but on monday I'll try to revert back to 2024.8.3, I'm sure it will work again. If so, there's defenitely an issue introduced in latest version.

I'll keep you updated, thanks.

itchensen commented 22 hours ago

I can confirm, that after updating to esphome 2023.9, my devices aren't recognized as well via ble_rssi integration publishing to mqtt. Devices aren't recognized in the logs at all while still sending the same beacons.

JanickGers85 commented 21 hours ago

I've seen a new version out and even changelog mention nothing about BLE tracker I gave a try, same issue.

I've reverted one of my devices to 2024.8.3 and now it publish RSSI strength over MQTT. This prove that it is an issue introduced with the latest version, starting from 2024.9.0.

Gloomyeye commented 10 hours ago

I also can confirm that the "normal" ESPHome integration (without MQTT connection) is not working anymore with 2024.9.0 / 2024.9.1. The ble_presence binary sensor is working, however the ble_rssi sensor sends onyl unknown value / no values.

my config for the sensors:

binary_sensor:
  - platform: ble_presence
    name: "Restmüll"
    id: esp32_ble_tracker_ibeacon_garbage
    icon: 'mdi:trash-can'
    ibeacon_uuid: ###
    ibeacon_major: 1000
    ibeacon_minor: 2000
    min_rssi: '-99'
    device_class: presence

sensor:
  - platform: ble_rssi
    name: "Restmüll RSSI"
    id: esp32_ble_tracker_ibeacon_garbage_rssi
    ibeacon_uuid: ###
    ibeacon_major: 1000
    ibeacon_minor: 2000 
bentoooooo commented 5 hours ago

Same problem here... sensor:

binary_sensor:

Presence based on iBeacon UUID

ble_presence working just fine, ble_rssi reporting: [00:30:58][D][sensor:094]: 'AAA': Sending state nan dBm with 0 decimals of accuracy [00:30:58][D][sensor:094]: 'AAA1': Sending state nan dBm with 0 decimals of accuracy