You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to esphome. I've managed to get a pool thermometer working ok but I'm trying to read the data from a BBQ thermometer I have and I'm struggling to figure out how I can do this and I'm hoping someone on here might be able to help. I bought this BBQ thermometer from Aldi (Australia) and it's branded as a Crofton Bluetooth Meat Thermometer. Here's a photo of the thermometer in question:
I ran nRF and found the device and its MAC address and some other data but I'm struggling to figure out how I can put this information into esphome and extract the temperature readings:
Here's my yaml:
esphome:
name: pool-temp
friendly_name: ESPHome Pool Temperature
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
api:
encryption:
key: "IVFi2E0NJFQI+LUCon2IH/Tj6is9mdEU+cHnLuQFy2Y="
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "ESPHome-pool-temp"
password: "xxx"
captive_portal:
esp32_ble_tracker:
on_ble_advertise:
- mac_address:
- 05:1C:16:A8:E2:79
then:
- lambda: |-
ESP_LOGD("ble_adv", "New BLE device");
ESP_LOGD("ble_adv", " address: %s", x.address_str().c_str());
ESP_LOGD("ble_adv", " name: %s", x.get_name().c_str());
ESP_LOGD("ble_adv", " Advertised service UUIDs:");
for (auto uuid : x.get_service_uuids()) {
ESP_LOGD("ble_adv", " - %s", uuid.to_string().c_str());
}
ESP_LOGD("ble_adv", " Advertised service data:");
for (auto data : x.get_service_datas()) {
ESP_LOGD("ble_adv", " - %s: (length %i)", data.uuid.to_string().c_str(), data.data.size());
}
ESP_LOGD("ble_adv", " Advertised manufacturer data:");
for (auto data : x.get_manufacturer_datas()) {
ESP_LOGD("ble_adv", " - %s: (length %i)", data.uuid.to_string().c_str(), data.data.size());
}
ble_client:
- mac_address: 05:1C:16:A8:E2:79
id: bbq_thermometer
#Need this option to scan for new devices
#text_sensor:
# - platform: ble_scanner
# name: "BLE Devices Scanner"
sensor:
- platform: inkbird_ibsth1_mini
mac_address: 49:22:05:28:08:7B
temperature:
name: "Inkbird IBS-P02B Temperature"
battery_level:
name: "Inkbird IBS-P02B Battery Level"
Here's the resultant log:
[10:18:35][D][esp32_ble_tracker:266]: Starting scan...
[10:18:48][D][sensor:094]: 'Inkbird IBS-P02B Temperature': Sending state 26.87000 °C with 1 decimals of accuracy
[10:18:48][D][sensor:094]: 'Inkbird IBS-P02B Battery Level': Sending state 0.00000 % with 0 decimals of accuracy
[10:18:49][D][sensor:094]: 'Inkbird IBS-P02B Temperature': Sending state 26.87000 °C with 1 decimals of accuracy
[10:18:49][D][sensor:094]: 'Inkbird IBS-P02B Battery Level': Sending state 0.00000 % with 0 decimals of accuracy
[10:18:51][D][ble_adv:039]: New BLE device
[10:18:51][D][ble_adv:040]: address: 05:1C:16:A8:E2:79
[10:18:51][D][ble_adv:041]: name: MBlack
[10:18:51][D][ble_adv:042]: Advertised service UUIDs:
[10:18:51][D][ble_adv:044]: - 0x1010
[10:18:51][D][ble_adv:046]: Advertised service data:
[10:18:51][D][ble_adv:050]: Advertised manufacturer data:
[10:18:51][D][ble_adv:052]: - 0xFF10: (length 12)
[10:18:51][D][esp32_ble_client:110]: [0] [05:1C:16:A8:E2:79] Found device
[10:18:51][D][esp32_ble_tracker:661]: Found device 05:1C:16:A8:E2:79 RSSI=-94
[10:18:51][D][esp32_ble_tracker:682]: Address Type: PUBLIC
[10:18:51][D][esp32_ble_tracker:684]: Name: 'MBlack'
[10:18:51][D][esp32_ble_tracker:215]: Pausing scan to make connection...
[10:18:51][W][component:232]: Component esp32_ble_tracker took a long time for an operation (69 ms).
[10:18:51][W][component:233]: Components should block for at most 30 ms.
[10:18:51][I][esp32_ble_client:067]: [0] [05:1C:16:A8:E2:79] 0x00 Attempting BLE connection
[10:19:21][D][esp32_ble_client:172]: [0] [05:1C:16:A8:E2:79] ESP_GATTC_DISCONNECT_EVT, reason 256
[10:19:21][D][esp32_ble_client:110]: [0] [05:1C:16:A8:E2:79] ESP_GATTC_OPEN_EVT
[10:19:21][W][esp32_ble_client:143]: [0] [05:1C:16:A8:E2:79] Connection failed, status=133
If anyone could please help, I'd really appreciate it :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I'm new to esphome. I've managed to get a pool thermometer working ok but I'm trying to read the data from a BBQ thermometer I have and I'm struggling to figure out how I can do this and I'm hoping someone on here might be able to help. I bought this BBQ thermometer from Aldi (Australia) and it's branded as a Crofton Bluetooth Meat Thermometer. Here's a photo of the thermometer in question:
I ran nRF and found the device and its MAC address and some other data but I'm struggling to figure out how I can put this information into esphome and extract the temperature readings:
Here's my yaml:
Here's the resultant log:
If anyone could please help, I'd really appreciate it :)
Beta Was this translation helpful? Give feedback.
All reactions