i have a bluetooth heartratemonitor (HRM) and wanted to get my heartrate into Home Assistant for further automatisation.
My yaml got me so far that i can track the rssi of the HRM but i could not figure out how to get the HR itself…
esphome: name: esp_hr platform: ESP32 board: esp-wrover-kit wifi: ssid: "geheim" password: "geheim" fast_connect: true # Optional manual IP manual_ip: static_ip: 192.168.1.155 gateway: 192.168.1.1 subnet: 255.255.255.0 time: - platform: sntp id: sntp_time captive_portal: logger: api: password: "geheim" ota: password: "geheim" sensor: - platform: template name: "Heart_rate" id: Heart_rate - platform: ble_rssi mac_address: F0:13:C3:B1:AC:67 name: "Heart_rate_rssi" esp32_ble_tracker: on_ble_service_data_advertise: - service_uuid: 2A37 then: - lambda: 'id(Heart_rate).publish_state(x);'
the service_uuid: 2A37 I found online, I also tried 1006 (the yaml editor complains that this is not a string) found on Bluetooth.com
is there any way to read all the data send by one device and then figure out the stuff you need?
that is the result from scanning BLE as I know:
[10:15:01][D][esp32_ble_tracker:544]: Found device F0:13:C3:B1:AC:67 RSSI=-49
[10:15:01][D][esp32_ble_tracker:565]: Address Type: PUBLIC
[10:15:01][D][esp32_ble_tracker:567]: Name: ‘TICKR FIT C601’