Code Monkey home page Code Monkey logo

esphome-igrill's People

Contributors

bascht74 avatar bendikwa avatar lukasq avatar paulantondeen avatar pieslinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esphome-igrill's Issues

Home Assistant sensors with device class 'GAS' do not support state class 'measurement'

The problem

As configured, the component reports the propane level to Home Assistant as a sensor with device class SensorDeviceClass.GAS, and a state class of measurement, which results in a log warning in Home Assistant version 2023.4.6.

Relevant Logs

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:497
Integration: Sensor (documentation, issues)
First occurred: 10:44:30 AM (1 occurrences)
Last logged: 10:44:30 AM

Entity sensor.esphome_igrill_igrill3_propane (<class 'homeassistant.components.esphome.sensor.EsphomeSensor'>) is using state class 'measurement' which is impossible considering device class ('gas') it is using; expected None or one of 'total_increasing', 'total'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+esphome%22

Confirmed working on Weber Pulse 1000

I can confirm this integration works with the Weber Pulse 1000.

Obviously only 1 setpoint, 1 actual temperature, and 2 probes as the device doesn't have more than that.

Leaving propane_level in YAML for an iGrill v2 causes incorrect readings (+~2 degrees C) for unplugged thermometers

If you leave the propane_level element in the iGrill yaml when attaching to an igrill 2 (which doesn't have a propane level measurement), the unplugged thermometers give a +~2 degree reading (vs 0).

Removing the element removes the artifacts.

Without the propane_level element:

[21:42:07][D][igrill:274]: Requesting read of all probe values
[21:42:07][D][sensor:127]: 'IGrill v2 battery': Sending state 87.00000 % with 0 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 1': Sending state 20.00000 °C with 2 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 2': Sending state -0.00000 °C with 2 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 3': Sending state -0.00000 °C with 2 decimals of accuracy
[21:42:07][D][sensor:127]: 'IGrill v2 temp 4': Sending state -0.00000 °C with 2 decimals of accuracy
[21:42:07][W][igrill:094]: Error reading char at handle 0x6e69, status=1

With the the propane_level element included:

[21:44:58][D][igrill:274]: Requesting read of all probe values
[21:44:58][D][sensor:127]: 'IGrill v2 battery': Sending state 85.00000 % with 0 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 1': Sending state 19.00000 °C with 2 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 2': Sending state 1.97104 °C with 2 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 3': Sending state 1.97104 °C with 2 decimals of accuracy
[21:44:58][D][sensor:127]: 'IGrill v2 temp 4': Sending state 1.97104 °C with 2 decimals of accuracy

Validating Pulse2000

Thanks for the awesome work, this is really a lot nicer than the RPI version!

I want to validate the Pulse 2000, do I have to specify anything in the config for that model?
It see's the Pulse 2000 and provides the mac
image

But then with this yaml:

external_components:
  - source: github://bendikwa/[email protected]

esp32_ble_tracker:

#igrill_ble_listener:

ble_client:
  - mac_address: 70:91:8F:7A:CB:09
    id: igrill_device

sensor:
  - platform: igrill
    ble_client_id: igrill_device
    update_interval: 30s # default
    send_value_when_unplugged: true # default
    unplugged_probe_value: 0 # default
    temperature_probe1:
      name: "Pulse 2000 temp 1"
      unit_of_measurement: "°C" # default
    temperature_probe2:
      name: "Pulse 2000 temp 2"
      unit_of_measurement: "°C" # default
    temperature_probe3:
      name: "Pulse 2000 temp 3"
      unit_of_measurement: "°C" # default
    temperature_probe4:
      name: "Pulse 2000 temp 4"
      unit_of_measurement: "°C" # default

I get this:
image

status of igrill bt connection

Thank you for providing this it is awesome !
is there a way of providing a status of the igrill connection status. I see you do this by unplugging the probe - set to 0
for automation purposes

No IGrill device connected

Just installed on ESPHome 2023.6.2 using HA 2023.6.3

Getting the MAC adress for my iGrill2 work right away but when trying to connect I get the error "No IGrill device connected".
Enabling Verbose logging doesn't reveal any more clues to the problem.

[18:11:31][V][bluetooth_proxy:033]: Proxying packet from iGrill_V2 - 70:91:8F:05:0F:9C. RSSI: -86 dB
[18:11:31][I][igrill_ble_listener:029]: Found IGrill device Name: iGrill_V2 (MAC: 70:91:8F:05:0F:9C)
[18:11:31][D][esp32_ble_client:048]: [3] [70:91:8F:05:0F:9C] Found device
[18:11:31][V][bluetooth_proxy:033]: Proxying packet from  - 53:F2:AE:BF:D0:0D. RSSI: -68 dB
[18:11:31][D][esp32_ble_tracker:213]: Pausing scan to make connection...
[18:11:31][V][esp32_ble:178]: (BLE) gap_event_handler - 18
[18:11:31][I][esp32_ble_client:064]: [3] [70:91:8F:05:0F:9C] 0x00 Attempting BLE connection
[18:11:44][D][igrill:336]: No IGrill device connected
[18:12:14][D][igrill:336]: No IGrill device connected
[18:12:44][D][igrill:336]: No IGrill device connected
[18:13:14][D][igrill:336]: No IGrill device connected
[18:13:44][D][igrill:336]: No IGrill device connected
[18:14:14][D][igrill:336]: No IGrill device connected
[18:14:44][D][igrill:336]: No IGrill device connected

I have disconnected from the iGrill App on my iPhone and even removed the Bluetooth connection from the BT settings and restarted the iGrill but still no luck.

I have successfully been running BT Proxy on this ESP32 up til now. Could that be the problem? That the device is trying to server both BT Proxy and iGrill? Shouldn't it be able to handle both at the same time?

Any help on how to troubleshoot this further is appreciated.

Problem with unit of measurement

Hi,

I am quite new with ESPHome but the process seems to work ok. I was able to follow all the process and the board had been recognized and it is reading the values from the iGrill v2. The problem is that in the logs the unit of measurement is F (farenheit) instead C (Celsius). So, for instance is showing 18F when the iGrill is showing 18C.

I tried also editing the "unit_of_measurement" with unit_of_measurement: "°C", without luck. Is still showing F

esphome:
  name: igrill
  friendly_name: iGrill

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "XXXXXXXXXXXXXXXXXXXXXXXXX"

ota:
  password: "XXXXXXXXXXXXXXXXXXXXX"

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Igrill Fallback Hotspot"
    password: "XXXXXXXXXXX"

captive_portal:

# iGrill External Components
external_components:
  - source: github://bendikwa/[email protected]

# iGrill bluetooth listener
esp32_ble_tracker:
#igrill_ble_listener:

# iGrill setup
ble_client:
  - mac_address: XX:XX:XX:XX:XX:XX
    id: igrill_device
    on_connect:
      then:
        - binary_sensor.template.publish:
            id: igrill_connection_bin
            state: on
    on_disconnect:
      then:
        - binary_sensor.template.publish:
            id: igrill_connection_bin
            state: off

binary_sensor:
  - platform: template
    name: "iGrill estado"
    id: igrill_connection_bin
    device_class: connectivity
    entity_category: diagnostic

sensor:
  - platform: igrill
    ble_client_id: igrill_device
    update_interval: 30s # default
    battery_level:
      name: "iGrill batería"
    temperature_probe1:
      name: "iGrill sonda 1"
      unit_of_measurement: "°C"  
    temperature_probe2:
      name: "iGrill sonda 2"
      unit_of_measurement: "°C"
    temperature_probe3:
      name: "iGrill sonda 3"
      unit_of_measurement: "°C"
    temperature_probe4:
      name: "iGrill sonda 4"
      unit_of_measurement: "°C"

Is there something wrong in my yaml file?

The unit of this entity changed from '' to '°C'.

ESPHome
Current version: 2023.11.1

Core
2023.11.2
Supervisor
2023.11.3
Operating System
Frontend
20231030.2

Sometimes, I notice that my graphs stop updating - when I click on a sensor, it doesn't show the current value it's just 'stuck' on a previous value (if you will).

The sensor always shows the correct numerical value for the point in time, it's just the historical state that gets 'stuck'.

probe_graph

When I then check:

Developer -> Statistics it shows:

The unit of this entity changed from '' to '°C'.

As soon as I 'Fix It' the graph then continues to populate - you can see in the screentshot above, when it stops updating and then when I 'Fix It' it continues drawing.

Has anyone else seen this? Checking the ESPHome logs, it does indeed show the Celsius units - I can perhaps only assume that at some point, it doesn't and causes the sensor/entity to get a value but no specified Units?

[15:03:05][D][igrill:330]: Requesting read of all values
[15:03:05][D][sensor:094]: 'iGrill V2 Battery': Sending state 100.00000 % with 0 decimals of accuracy
[15:03:06][D][sensor:094]: 'iGrill V2 Probe 1': Sending state 133.00000 °C with 2 decimals of accuracy
[15:03:06][D][sensor:094]: 'iGrill V2 Probe 2': Sending state 75.00000 °C with 2 decimals of accuracy
[15:03:06][D][sensor:094]: 'iGrill V2 Probe 3': Sending state 76.00000 °C with 2 decimals of accuracy
[15:03:06][D][sensor:094]: 'iGrill V2 Probe 4': Sending state 0.00000 °C with 2 decimals of accuracy

Could not find components folder for source. Please check the source contains a 'components' or 'esphome/components' folder.

Possibly since upgrading to 2023.9.0 (I'm afraid I didn't check the status prior to upgrading) but I've started to see the below - when I try to update the iGrill node.

INFO ESPHome 2023.9.0
INFO Reading configuration /config/esphome/igrill-ble-gateway.yaml...
Failed config

external_components: [source /config/esphome/igrill-ble-gateway.yaml:2]
  - 
    Could not find components folder for source. Please check the source contains a 'components' or 'esphome/components' folder.
    source: github://bendikwa/[email protected]

I can see a 'components' folder on the github repo, so maybe something changed in the requirements of this folder? Scanning through the release notes for 2023.9.0 nothing immediately popped out to me.

Has anyone else seen this? I did check the 'closed' issues and couldn't see anything - the source is certainly still there.

external_components:
  - source: github://bendikwa/[email protected]  

esphome:
  name: igrill-ble-gateway
  friendly_name: igrill-ble-gateway

iGrill device shows as 'offline' in the ESPHome add-on, but it is on the network and is ping-able from HA.

Adding Support for Connect controllers?

Hello, thank you for creating this integration!

Are there plans to add support for Weber Connect controllers that have bluetooth capability? Many new Weber grills already include these. I understand that it is not "iGrill", however I would imagine it could be similar.

I have the new device and can contribute with hacking/inspecting, reverse-engineering, (some coding) and testing. I have software engineering background, however I do not have a lot of knowledge around BT protocols. I have already pulled in info on BT service and characteristics UUIDs and can more info:

10:53:47.1200: discovered services: ( "Device Information", FD97, "03064A75-6E65-81DE-A4B2-940B4C6F6B69", "01014A75-6E65-81DE-A4B2-940B4C6F6B69", "03034A75-6E65-81DE-A4B2-940B4C6F6B69" ) 10:53:47.1820: discovered characteristics for service 180A: ( "Manufacturer Name String", "Model Number String", "Serial Number String", "Hardware Revision String", "Firmware Revision String", "Software Revision String", "System ID", "IEEE Regulatory Certification", "PnP ID" ) 10:53:47.2590: discovered characteristics for service 01014A75-6E65-81DE-A4B2-940B4C6F6B69: ( "31014A75-6E65-81DE-A4B2-940B4C6F6B69", "31024A75-6E65-81DE-A4B2-940B4C6F6B69", "31034A75-6E65-81DE-A4B2-940B4C6F6B69", "31044A75-6E65-81DE-A4B2-940B4C6F6B69", "31054A75-6E65-81DE-A4B2-940B4C6F6B69", "31064A75-6E65-81DE-A4B2-940B4C6F6B69", "31084A75-6E65-81DE-A4B2-940B4C6F6B69" ) 10:53:47.3610: discovered characteristics for service 03034A75-6E65-81DE-A4B2-940B4C6F6B69: ( "43014A75-6E65-81DE-A4B2-940B4C6F6B69", "43024A75-6E65-81DE-A4B2-940B4C6F6B69", "43034A75-6E65-81DE-A4B2-940B4C6F6B69", "43044A75-6E65-81DE-A4B2-940B4C6F6B69", "43054A75-6E65-81DE-A4B2-940B4C6F6B69", "43064A75-6E65-81DE-A4B2-940B4C6F6B69", "43074A75-6E65-81DE-A4B2-940B4C6F6B69", "43094A75-6E65-81DE-A4B2-940B4C6F6B69", "430A4A75-6E65-81DE-A4B2-940B4C6F6B69" ) 10:53:47.4370: discovered characteristics for service 03064A75-6E65-81DE-A4B2-940B4C6F6B69: ( "44014A75-6E65-81DE-A4B2-940B4C6F6B69", "44024A75-6E65-81DE-A4B2-940B4C6F6B69" ) 10:53:47.4380: state changed to 'Connected'. 10:53:47.6920: received update from characteristic 2A25___180A: <DATA REDACTED> 10:53:47.7660: received update from characteristic 2A23___180A: <DATA REDACTED> 10:53:47.7960: received update from characteristic 2A27___180A: <> 10:53:47.8260: received update from characteristic 2A28___180A: <DATA REDACTED> 10:53:47.8570: received update from characteristic 2A29___180A: <DATA REDACTED> 10:53:47.8870: received update from characteristic 2A24___180A: <DATA REDACTED> 10:53:53.5420: state changed to 'Disconnected'. User initiated device disconnection. 10:53:53.5430: disconnected in underlying BLE layer.

Thanks in advance if anyone wants to join in this effort!

iGrill V2 with two probs cause reboots?

Hi,

I have a V2 and only 2 probes connected.
This seems to cause problems:

[D][esp-idf:000]: I (1235) phy_init: phy_version 46ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6656
load:0x40078000,len:14848
load:0x40080400,len:3792
entry 0x40080694
I (28) boot: ESP-IDF 4.4.2 2nd stage bootloader
I (28) boot: compile time 00:43:26
I (28) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed      : 40MHz
I (42) boot.esp32: SPI Mode       : DIO
I (47) boot.esp32: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (57) boot: Partition Table:
I (60) boot: ## Label            Usage          Type ST Offset   Length
I (67) boot:  0 otadata          OTA data         01 00 00009000 00002000
I (75) boot:  1 phy_init         RF data          01 01 0000b000 00001000
I (82) boot:  2 app0             OTA app          00 10 00010000 001c0000
I (90) boot:  3 app1             OTA app          00 11 001d0000 001c0000
I (97) boot:  4 nvs              WiFi data        01 02 00390000 0006d000
I (105) boot: End of partition table
I (109) boot_comm: chip revision: 1, min. application chip revision: 0
I (116) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=32bd0h (207824) map
I (200) esp_image: segment 1: paddr=00042bf8 vaddr=3ffbdb60 size=05308h ( 21256) load
I (209) esp_image: segment 2: paddr=00047f08 vaddr=40080000 size=08110h ( 33040) load
I (222) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=db598h (898456) map
I (548) esp_image: segment 4: paddr=0012b5c0 vaddr=40088110 size=149d0h ( 84432) load
I (583) esp_image: segment 5: paddr=0013ff98 vaddr=50000000 size=00010h (    16) load
I (597) boot: Loaded app from partition at offset 0x10000
I (597) boot: Disabling RNG early entropy source...
I (609) cpu_start: Pro cpu up.
I (609) cpu_start: Starting app cpu, entry point is 0x4008223c
I (0) cpu_start: App cpu up.
I (625) cpu_start: Pro cpu start user code
I (625) cpu_start: cpu freq: 160000000
I (625) cpu_start: Application information:
I (630) cpu_start: Project name:     bluetooth
I (635) cpu_start: App version:      2022.12.3
I (640) cpu_start: Compile time:     Dec 24 2022 00:42:47
I (646) cpu_start: ELF file SHA256:  354ab3ad170706b6...
I (652) cpu_start: ESP-IDF:          4.4.2
I (657) heap_init: Initializing. RAM available for dynamic allocation:
I (664) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (670) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (676) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (682) heap_init: At 3FFCB060 len 00014FA0 (83 KiB): DRAM
I (688) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (695) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (701) heap_init: At 4009CAE0 len 00003520 (13 KiB): IRAM
I (709) spi_flash: detected chip: gd
I (712) spi_flash: flash io: dio
I (717) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
[I][logger:258]: Log initialized
[C][ota:469]: There have been 1 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[D][esp-idf:000]: I (238) BTDM_INIT: BT controller compile version [bf9c077]

[D][esp-idf:000]: I (1200) system_api: Base MAC address is not set

[D][esp-idf:000]: I (1207) system_api: read default base MAC address from EFUSE

[D][esp-idf:000]: I (1210) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07

[D][esp32_ble_tracker:327]: Starting scan...
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]:   Local MAC: 94:B9:7E:AB:96:D8
[D][esp-idf:000]: I (1853) wifi:
[D][esp-idf:000]: wifi driver task: 3ffde750, prio:23, stack:6656, core=0
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1858) wifi:
[D][esp-idf:000]: wifi firmware version: eeaa27d
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1869) wifi:
[D][esp-idf:000]: wifi certification version: v7.0
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1869) wifi:
[D][esp-idf:000]: config NVS flash: enabled
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1879) wifi:
[D][esp-idf:000]: config nano formating: disabled
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1900) wifi:
[D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1910) wifi:
[D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1920) wifi:
[D][esp-idf:000]: Init management short buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1940) wifi:
[D][esp-idf:000]: Init dynamic tx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1951) wifi:
[D][esp-idf:000]: Init static rx buffer size: 1600
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1961) wifi:
[D][esp-idf:000]: Init static rx buffer num: 10
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1971) wifi:
[D][esp-idf:000]: Init dynamic rx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1982) wifi_init: rx ba win: 6

[D][esp-idf:000]: I (1992) wifi_init: tcpip mbox: 32

[D][esp-idf:000]: I (1992) wifi_init: udp mbox: 6

[D][esp-idf:000]: I (1992) wifi_init: tcp mbox: 6

[D][esp-idf:000]: I (2002) wifi_init: tcp tx win: 5744

[D][esp-idf:000]: I (2012) wifi_init: tcp rx win: 5744

[D][esp-idf:000]: I (2022) wifi_init: tcp mss: 1440

[D][esp-idf:000]: I (2022) wifi_init: WiFi IRAM OP enabled

[D][esp-idf:000]: I (2032) wifi_init: WiFi RX IRAM OP enabled

[D][esp-idf:000]: I (2047) wifi:
[D][esp-idf:000]: mode : sta (94:b9:7e:ab:96:d8)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (2053) wifi:
[D][esp-idf:000]: enable tsf
[D][esp-idf:000]: 

[D][esp-idf:000]: I (2064) wifi:
[D][esp-idf:000]: Set ps type: 1

[D][esp-idf:000]: 

[D][wifi:386]: Starting scan...
[D][esp-idf:000]: W (2075) wifi:
[D][esp-idf:000]: Error! Should use default active scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!

[D][esp-idf:000]: 

[D][igrill:279]: No IGrill device connected
[D][esp-idf:000]: I (2097) wifi:
[D][esp-idf:000]: Set ps type: 1

[D][esp-idf:000]: 

[D][wifi:401]: Found networks:
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 13
[D][wifi:447]:     RSSI: -48 dB
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 13
[D][wifi:447]:     RSSI: -69 dB
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 1
[D][wifi:447]:     RSSI: -77 dB
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 5
[D][wifi:447]:     RSSI: -81 dB
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[I][wifi:257]: WiFi Connecting to 'IOT-LOTZ'...
[D][esp-idf:000]: I (5706) wifi:
[D][esp-idf:000]: new:<13,0>, old:<1,0>, ap:<255,255>, sta:<13,0>, prof:1
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6519) wifi:
[D][esp-idf:000]: state: init -> auth (b0)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6524) wifi:
[D][esp-idf:000]: state: auth -> assoc (0)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6530) wifi:
[D][esp-idf:000]: state: assoc -> run (10)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6541) wifi:
[D][esp-idf:000]: connected with IOT-LOTZ, aid = 41, channel 13, BW20, bssid = e2:63:da:23:3c:3e
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6542) wifi:
[D][esp-idf:000]: security: WPA2-PSK, phy: bgn, rssi: -48
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6561) wifi:
[D][esp-idf:000]: pm start, type: 1

[D][esp-idf:000]: 

[D][esp-idf:000]: W (6581) wifi:
[D][esp-idf:000]: <ba-add>idx:0 (ifx:0, e2:63:da:23:3c:3e), tid:6, ssn:1, winSize:64
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6625) wifi:
[D][esp-idf:000]: AP's beacon interval = 102400 us, DTIM period = 1
[D][esp-idf:000]: 

[D][esp-idf:000]: I (7350) esp_netif_handlers: sta ip: 192.168.175.83, mask: 255.255.255.0, gw: 192.168.175.1

[C][wifi:363]:   SSID: [redacted]
[C][wifi:364]:   IP Address: 192.168.175.83
[C][wifi:366]:   BSSID: [redacted]
[C][wifi:367]:   Hostname: 'bluetooth'
[C][wifi:369]:   Signal strength: -47 dB ▂▄▆█
[C][wifi:373]:   Channel: 13
[C][wifi:374]:   Subnet: 255.255.255.0
[C][wifi:375]:   Gateway: 192.168.175.1
[C][wifi:376]:   DNS1: 192.168.175.1
[C][wifi:377]:   DNS2: 0.0.0.0
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: bluetooth.local:3232
[C][ota:097]:   Using Password.
[C][api:025]: Setting up Home Assistant API server...
[I][app:062]: setup() finished successfully!
[I][app:102]: ESPHome version 2022.12.3 compiled on Dec 24 2022, 00:42:47
[C][wifi:504]: WiFi:
[C][wifi:362]:   Local MAC: 94:B9:7E:AB:96:D8
[C][wifi:363]:   SSID: [redacted]
[C][wifi:364]:   IP Address: 192.168.175.83
[C][wifi:366]:   BSSID: [redacted]
[C][wifi:367]:   Hostname: 'bluetooth'
[C][wifi:369]:   Signal strength: -47 dB ▂▄▆█
[C][wifi:373]:   Channel: 13
[C][wifi:374]:   Subnet: 255.255.255.0
[C][wifi:375]:   Gateway: 192.168.175.1
[C][wifi:376]:   DNS1: 192.168.175.1
[C][wifi:377]:   DNS2: 0.0.0.0
[C][logger:293]: Logger:
[C][logger:294]:   Level: DEBUG
[C][logger:295]:   Log Baud Rate: 115200
[C][logger:296]:   Hardware UART: UART0
[C][igrill:351]:   Temperature 'IGrill temp 1'
[C][igrill:351]:     Device Class: 'temperature'
[C][igrill:351]:     State Class: 'measurement'
[C][igrill:351]:     Unit of Measurement: '°C'
[C][igrill:351]:     Accuracy Decimals: 2
[C][igrill:352]:   Temperature 'IGrill temp 2'
[C][igrill:352]:     Device Class: 'temperature'
[C][igrill:352]:     State Class: 'measurement'
[C][igrill:352]:     Unit of Measurement: '°C'
[C][igrill:352]:     Accuracy Decimals: 2
[C][igrill:355]:   Battery Level 'IGrill battery'
[C][igrill:355]:     Device Class: 'battery'
[C][igrill:355]:     State Class: 'measurement'
[C][igrill:355]:     Unit of Measurement: '%'
[C][igrill:355]:     Accuracy Decimals: 0
[C][esp32_ble_tracker:870]: BLE Tracker:
[C][esp32_ble_tracker:871]:   Scan Duration: 300 s
[C][esp32_ble_tracker:872]:   Scan Interval: 320.0 ms
[C][esp32_ble_tracker:873]:   Scan Window: 30.0 ms
[C][esp32_ble_tracker:874]:   Scan Type: ACTIVE
[C][esp32_ble_tracker:875]:   Continuous Scanning: True
[C][ble_client:027]: BLE Client:
[C][ble_client:028]:   Address: 70:91:8F:10:2A:86
[C][mdns:103]: mDNS:
[C][mdns:104]:   Hostname: bluetooth
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: bluetooth.local:3232
[C][ota:097]:   Using Password.
[C][api:138]: API Server:
[C][api:139]:   Address: bluetooth.local:6053
[C][api:141]:   Using noise encryption: YES
[D][esp32_ble_client:048]: [0] [70:91:8F:10:2A:86] Found device
[D][esp32_ble_tracker:216]: Pausing scan to make connection...
[I][esp32_ble_client:064]: [0] [70:91:8F:10:2A:86] 0x00 Attempting BLE connection
[D][esp-idf:000]: W (8440) wifi:
[D][esp-idf:000]: <ba-add>idx:1 (ifx:0, e2:63:da:23:3c:3e), tid:0, ssn:1, winSize:64
[D][esp-idf:000]: 

[D][igrill:028]: Setting encryption
[I][igrill:021]: Connected successfully!
[D][api:102]: Accepted ::FFFF:192.168.175.214
[I][esp32_ble_client:256]: [0] [70:91:8F:10:2A:86] auth complete. remote BD_ADDR: 70918f102a86
[D][api.connection:918]: Home Assistant 2022.12.8 (::FFFF:192.168.175.214): Connected successfully
[D][igrill:183]: No service found at service 63C70000-4A82-4261-95FF-92CF32477861
[D][igrill:183]: No service found at service 9d610c43-ae1d-41a9-9b09-3c7ecd5c6035
[I][igrill:156]: Detected model: IGrill V2
[D][igrill:058]: Starting autheintication process
[D][igrill:288]: Sending app challenge with all '0's
[D][esp32_ble_tracker:327]: Starting scan...
[D][igrill:076]: App challenge written
[D][igrill:311]: Requesting read of encrypted device response from device
[D][igrill:300]: Sending encrypted device response back to device.
[D][igrill:082]: Authentication complete
[D][sensor:127]: 'IGrill battery': Sending state 26.00000 % with 0 decimals of accuracy
[D][sensor:127]: 'IGrill temp 1': Sending state 25.00000 °C with 2 decimals of accuracy
[D][sensor:127]: 'IGrill temp 2': Sending state 25.00000 °C with 2 decimals of accuracy
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x400dbae2  PS      : 0x00060530  A0      : 0x800d9af3  A1      : 0x3ffcf780  
A2      : 0x00000000  A3      : 0x00000000  A4      : 0x00000001  A5      : 0x00060523  
A6      : 0x000033e1  A7      : 0x00007530  A8      : 0x801a5b88  A9      : 0x3ffcf970  
A10     : 0x3ffcfbe8  A11     : 0x3ffdf4f0  A12     : 0x3ffdf4f0  A13     : 0x3ffdf4f0  
A14     : 0x400e0488  A15     : 0x00060023  SAR     : 0x0000000a  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000058  LBEG    : 0x40082e8d  LEND    : 0x40082e95  LCOUNT  : 0x00000027  


Backtrace:0x400dbadf:0x3ffcf7800x400d9af0:0x3ffcf7b0 0x400d9e57:0x3ffcf7d0 0x400d9e85:0x3ffcf7f0 0x400d6bd2:0x3ffcf810 0x401a5829:0x3ffcf840 0x400d8dfb:0x3ffcf860 0x401a5ac5:0x3ffcf970 0x401a5b85:0x3ffcf990 0x400dedc8:0x3ffcf9b0 0x400e0d4e:0x3ffcf9e0 0x400d6c56:0x3ffcfa00 




ELF file SHA256: 354ab3ad170706b6

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6656
load:0x40078000,len:14848
load:0x40080400,len:3792
entry 0x40080694
I (27) boot: ESP-IDF 4.4.2 2nd stage bootloader
I (27) boot: compile time 00:43:26
I (28) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (38) boot.esp32: SPI Speed      : 40MHz
I (42) boot.esp32: SPI Mode       : DIO
I (47) boot.esp32: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (57) boot: Partition Table:
I (60) boot: ## Label            Usage          Type ST Offset   Length
I (68) boot:  0 otadata          OTA data         01 00 00009000 00002000
I (75) boot:  1 phy_init         RF data          01 01 0000b000 00001000
I (82) boot:  2 app0             OTA app          00 10 00010000 001c0000
I (90) boot:  3 app1             OTA app          00 11 001d0000 001c0000
I (97) boot:  4 nvs              WiFi data        01 02 00390000 0006d000
I (105) boot: End of partition table
I (109) boot_comm: chip revision: 1, min. application chip revision: 0
I (116) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=32bd0h (207824) map
I (200) esp_image: segment 1: paddr=00042bf8 vaddr=3ffbdb60 size=05308h ( 21256) load
I (209) esp_image: segment 2: paddr=00047f08 vaddr=40080000 size=08110h ( 33040) load
I (223) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=db598h (898456) map
I (548) esp_image: segment 4: paddr=0012b5c0 vaddr=40088110 size=149d0h ( 84432) load
I (583) esp_image: segment 5: paddr=0013ff98 vaddr=50000000 size=00010h (    16) load
I (597) boot: Loaded app from partition at offset 0x10000
I (597) boot: Disabling RNG early entropy source...
I (609) cpu_start: Pro cpu up.
I (609) cpu_start: Starting app cpu, entry point is 0x4008223c
I (595) cpu_start: App cpu up.
I (625) cpu_start: Pro cpu start user code
I (625) cpu_start: cpu freq: 160000000
I (625) cpu_start: Application information:
I (630) cpu_start: Project name:     bluetooth
I (635) cpu_start: App version:      2022.12.3
I (640) cpu_start: Compile time:     Dec 24 2022 00:42:47
I (646) cpu_start: ELF file SHA256:  354ab3ad170706b6...
I (652) cpu_start: ESP-IDF:          4.4.2
I (657) heap_init: Initializing. RAM available for dynamic allocation:
I (664) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (670) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (676) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (682) heap_init: At 3FFCB060 len 00014FA0 (83 KiB): DRAM
I (689) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (695) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (701) heap_init: At 4009CAE0 len 00003520 (13 KiB): IRAM
I (709) spi_flash: detected chip: gd
I (712) spi_flash: flash io: dio
I (717) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
[I][logger:258]: Log initialized
[C][ota:469]: There have been 2 suspected unsuccessful boot attempts.
[D][esp32.preferences:113]: Saving 1 preferences to flash...
[D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[I][app:029]: Running through setup()...
[D][esp-idf:000]: I (238) BTDM_INIT: BT controller compile version [bf9c077]

[D][esp-idf:000]: I (1202) system_api: Base MAC address is not set

[D][esp-idf:000]: I (1204) system_api: read default base MAC address from EFUSE

[D][esp-idf:000]: I (1217) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07

[D][esp32_ble_tracker:327]: Starting scan...
[C][wifi:037]: Setting up WiFi...
[C][wifi:038]:   Local MAC: 94:B9:7E:AB:96:D8
[D][esp-idf:000]: I (1846) wifi:
[D][esp-idf:000]: wifi driver task: 3ffde738, prio:23, stack:6656, core=0
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1850) wifi:
[D][esp-idf:000]: wifi firmware version: eeaa27d
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1862) wifi:
[D][esp-idf:000]: wifi certification version: v7.0
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1862) wifi:
[D][esp-idf:000]: config NVS flash: enabled
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1872) wifi:
[D][esp-idf:000]: config nano formating: disabled
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1893) wifi:
[D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1903) wifi:
[D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1913) wifi:
[D][esp-idf:000]: Init management short buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1933) wifi:
[D][esp-idf:000]: Init dynamic tx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1944) wifi:
[D][esp-idf:000]: Init static rx buffer size: 1600
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1954) wifi:
[D][esp-idf:000]: Init static rx buffer num: 10
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1964) wifi:
[D][esp-idf:000]: Init dynamic rx buffer num: 32
[D][esp-idf:000]: 

[D][esp-idf:000]: I (1975) wifi_init: rx ba win: 6

[D][esp-idf:000]: I (1985) wifi_init: tcpip mbox: 32

[D][esp-idf:000]: I (1985) wifi_init: udp mbox: 6

[D][esp-idf:000]: I (1985) wifi_init: tcp mbox: 6

[D][esp-idf:000]: I (1995) wifi_init: tcp tx win: 5744

[D][esp-idf:000]: I (2005) wifi_init: tcp rx win: 5744

[D][esp-idf:000]: I (2015) wifi_init: tcp mss: 1440

[D][esp-idf:000]: I (2015) wifi_init: WiFi IRAM OP enabled

[D][esp-idf:000]: I (2025) wifi_init: WiFi RX IRAM OP enabled

[D][esp-idf:000]: I (2039) wifi:
[D][esp-idf:000]: mode : sta (94:b9:7e:ab:96:d8)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (2046) wifi:
[D][esp-idf:000]: enable tsf
[D][esp-idf:000]: 

[D][esp-idf:000]: I (2057) wifi:
[D][esp-idf:000]: Set ps type: 1

[D][esp-idf:000]: 

[D][wifi:386]: Starting scan...
[D][esp-idf:000]: W (2068) wifi:
[D][esp-idf:000]: Error! Should use default active scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!

[D][esp-idf:000]: 

[D][igrill:279]: No IGrill device connected
[D][esp-idf:000]: I (2091) wifi:
[D][esp-idf:000]: Set ps type: 1

[D][esp-idf:000]: 

[D][wifi:401]: Found networks:
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 13
[D][wifi:447]:     RSSI: -48 dB
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 13
[D][wifi:447]:     RSSI: -67 dB
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 1
[D][wifi:447]:     RSSI: -76 dB
[I][wifi:445]: - 'IOT-LOTZ' [redacted]▂▄▆█
[D][wifi:446]:     Channel: 5
[D][wifi:447]:     RSSI: -79 dB
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[D][wifi:450]: - [redacted] [redacted]▂▄▆█
[I][wifi:257]: WiFi Connecting to 'IOT-LOTZ'...
[D][esp-idf:000]: I (5633) wifi:
[D][esp-idf:000]: new:<13,0>, old:<1,0>, ap:<255,255>, sta:<13,0>, prof:1
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6449) wifi:
[D][esp-idf:000]: state: init -> auth (b0)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6456) wifi:
[D][esp-idf:000]: state: auth -> assoc (0)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6463) wifi:
[D][esp-idf:000]: state: assoc -> run (10)
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6475) wifi:
[D][esp-idf:000]: connected with IOT-LOTZ, aid = 41, channel 13, BW20, bssid = e2:63:da:23:3c:3e
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6477) wifi:
[D][esp-idf:000]: security: WPA2-PSK, phy: bgn, rssi: -47
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6491) wifi:
[D][esp-idf:000]: pm start, type: 1

[D][esp-idf:000]: 

[D][esp-idf:000]: W (6510) wifi:
[D][esp-idf:000]: <ba-add>idx:0 (ifx:0, e2:63:da:23:3c:3e), tid:6, ssn:0, winSize:64
[D][esp-idf:000]: 

[D][esp-idf:000]: I (6553) wifi:
[D][esp-idf:000]: AP's beacon interval = 102400 us, DTIM period = 1
[D][esp-idf:000]: 

[D][esp-idf:000]: I (7342) esp_netif_handlers: sta ip: 192.168.175.83, mask: 255.255.255.0, gw: 192.168.175.1

[C][wifi:362]:   Local MAC: 94:B9:7E:AB:96:D8
[C][wifi:363]:   SSID: [redacted]
[C][wifi:364]:   IP Address: 192.168.175.83
[C][wifi:366]:   BSSID: [redacted]
[C][wifi:367]:   Hostname: 'bluetooth'
[C][wifi:369]:   Signal strength: -47 dB ▂▄▆█
[C][wifi:373]:   Channel: 13
[C][wifi:374]:   Subnet: 255.255.255.0
[C][wifi:375]:   Gateway: 192.168.175.1
[C][wifi:376]:   DNS1: 192.168.175.1
[C][wifi:377]:   DNS2: 0.0.0.0
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: bluetooth.local:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[C][api:025]: Setting up Home Assistant API server...
[I][app:062]: setup() finished successfully!
[I][app:102]: ESPHome version 2022.12.3 compiled on Dec 24 2022, 00:42:47
[C][wifi:504]: WiFi:
[C][wifi:362]:   Local MAC: 94:B9:7E:AB:96:D8
[C][wifi:363]:   SSID: [redacted]
[C][wifi:364]:   IP Address: 192.168.175.83
[C][wifi:366]:   BSSID: [redacted]
[C][wifi:367]:   Hostname: 'bluetooth'
[C][wifi:369]:   Signal strength: -47 dB ▂▄▆█
[C][wifi:373]:   Channel: 13
[C][wifi:374]:   Subnet: 255.255.255.0
[C][wifi:375]:   Gateway: 192.168.175.1
[C][wifi:376]:   DNS1: 192.168.175.1
[C][wifi:377]:   DNS2: 0.0.0.0
[C][logger:293]: Logger:
[C][logger:294]:   Level: DEBUG
[C][logger:295]:   Log Baud Rate: 115200
[C][logger:296]:   Hardware UART: UART0
[C][igrill:351]:   Temperature 'IGrill temp 1'
[C][igrill:351]:     Device Class: 'temperature'
[C][igrill:351]:     State Class: 'measurement'
[C][igrill:351]:     Unit of Measurement: '°C'
[C][igrill:351]:     Accuracy Decimals: 2
[C][igrill:352]:   Temperature 'IGrill temp 2'
[C][igrill:352]:     Device Class: 'temperature'
[C][igrill:352]:     State Class: 'measurement'
[C][igrill:352]:     Unit of Measurement: '°C'
[C][igrill:352]:     Accuracy Decimals: 2
[C][igrill:355]:   Battery Level 'IGrill battery'
[C][igrill:355]:     Device Class: 'battery'
[C][igrill:355]:     State Class: 'measurement'
[C][igrill:355]:     Unit of Measurement: '%'
[C][igrill:355]:     Accuracy Decimals: 0
[C][esp32_ble_tracker:870]: BLE Tracker:
[C][esp32_ble_tracker:871]:   Scan Duration: 300 s
[C][esp32_ble_tracker:872]:   Scan Interval: 320.0 ms
[C][esp32_ble_tracker:873]:   Scan Window: 30.0 ms
[C][esp32_ble_tracker:874]:   Scan Type: ACTIVE
[C][esp32_ble_tracker:875]:   Continuous Scanning: True
[C][ble_client:027]: BLE Client:
[C][ble_client:028]:   Address: 70:91:8F:10:2A:86
[C][mdns:103]: mDNS:
[C][mdns:104]:   Hostname: bluetooth
[C][ota:093]: Over-The-Air Updates:
[C][ota:094]:   Address: bluetooth.local:3232
[C][ota:097]:   Using Password.
[W][ota:103]: Last Boot was an unhandled reset, will proceed to safe mode in 8 restarts
[C][api:138]: API Server:
[C][api:139]:   Address: bluetooth.local:6053
[C][api:141]:   Using noise encryption: YES
[D][esp32_ble_client:048]: [0] [70:91:8F:10:2A:86] Found device
[D][esp32_ble_tracker:216]: Pausing scan to make connection...
[I][esp32_ble_client:064]: [0] [70:91:8F:10:2A:86] 0x00 Attempting BLE connection
[D][igrill:028]: Setting encryption
[I][igrill:021]: Connected successfully!
[I][esp32_ble_client:256]: [0] [70:91:8F:10:2A:86] auth complete. remote BD_ADDR: 70918f102a86
[D][igrill:183]: No service found at service 63C70000-4A82-4261-95FF-92CF32477861
[D][igrill:183]: No service found at service 9d610c43-ae1d-41a9-9b09-3c7ecd5c6035
[I][igrill:156]: Detected model: IGrill V2
[D][igrill:058]: Starting autheintication process
[D][igrill:288]: Sending app challenge with all '0's
[D][esp32_ble_tracker:327]: Starting scan...
[D][igrill:076]: App challenge written
[D][igrill:311]: Requesting read of encrypted device response from device
[D][igrill:300]: Sending encrypted device response back to device.
[D][igrill:082]: Authentication complete
[D][sensor:127]: 'IGrill battery': Sending state 26.00000 % with 0 decimals of accuracy
[D][sensor:127]: 'IGrill temp 1': Sending state 24.00000 °C with 2 decimals of accuracy
[D][sensor:127]: 'IGrill temp 2': Sending state 24.00000 °C with 2 decimals of accuracy
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x400dbae2  PS      : 0x00060130  A0      : 0x800d9af3  A1      : 0x3ffcf780  
A2      : 0x00000000  A3      : 0x00000000  A4      : 0x00000001  A5      : 0x00060123  
A6      : 0x00003c7e  A7      : 0x00007530  A8      : 0x801a5b88  A9      : 0x3ffcf970  
A10     : 0x3ffcfbe8  A11     : 0x3ffde030  A12     : 0x3ffde030  A13     : 0x3ffde030  
A14     : 0x400e0488  A15     : 0x3ffe7a14  SAR     : 0x0000000a  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000058  LBEG    : 0x40082e8d  LEND    : 0x40082e95  LCOUNT  : 0x00000027  


Backtrace:0x400dbadf:0x3ffcf7800x400d9af0:0x3ffcf7b0 0x400d9e57:0x3ffcf7d0 0x400d9e85:0x3ffcf7f0 0x400d6bd2:0x3ffcf810 0x401a5829:0x3ffcf840 0x400d8dfb:0x3ffcf860 0x401a5ac5:0x3ffcf970 0x401a5b85:0x3ffcf990 0x400dedc8:0x3ffcf9b0 0x400e0d4e:0x3ffcf9e0 0x400d6c56:0x3ffcfa00 




ELF file SHA256: 354ab3ad170706b6

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6656
load:0x40078000,len:14848
load:0x40080400,len:3792
entry 0x40080694
I (27) boot: ESP-IDF 4.4.2 2nd stage bootloader
I (27) boot: compile time 00:43:26
I (28) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (38) boot.esp32: SPI Speed      : 40MHz
I (42) boot.esp32: SPI Mode       : DIO
I (47) boot.esp32: SPI Flash Size : 4MB
I (51) boot: Enabling RNG early entropy source...
I (57) boot: Partition Table:
I (60) boot: ## Label            Usage          Type ST Offset   Length
I (68) boot:  0 otadata          OTA data         01 00 00009000 00002000
I (75) boot:  1 phy_init         RF data          01 01 0000b000 00001000
I (82) boot:  2 app0             OTA app          00 10 00010000 001c0000
I (90) boot:  3 app1             OTA app          00 11 001d0000 001c0000
I (97) boot:  4 nvs              WiFi data        01 02 00390000 0006d000
I (105) boot: End of partition table
I (109) boot_comm: chip revision: 1, min. application chip revision: 0
I (116) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=32bd0h (207824) map
I (200) esp_image: segment 1: paddr=00042bf8 vaddr=3ffbdb60 size=05308h ( 21256) load
I (209) esp_image: segment 2: paddr=00047f08 vaddr=40080000 size=08110h ( 33040) load
I (222) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=db598h (898456) map
I (548) esp_image: segment 4: paddr=0012b5c0 vaddr=40088110 size=149d0h ( 84432) load
I (583) esp_image: segment 5: paddr=0013ff98 vaddr=50000000 size=00010h (    16) load
I (597) boot: Loaded app from partition at offset 0x10000
I (597) boot: Disabling RNG early entropy source...
I (609) cpu_start: Pro cpu up.
I (609) cpu_start: Starting app cpu, entry point is 0x4008223c
I (595) cpu_start: App cpu up.
I (625) cpu_start: Pro cpu start user code
I (625) cpu_start: cpu freq: 160000000
I (625) cpu_start: Application information:
I (630) cpu_start: Project name:     bluetooth
I (635) cpu_start: App version:      2022.12.3
I (640) cpu_start: Compile time:     Dec 24 2022 00:42:47
I (646) cpu_start: ELF file SHA256:  354ab3ad170706b6...
I (652) cpu_start: ESP-IDF:          4.4.2
I (657) heap_init: Initializing. RAM available for dynamic allocation:
I (664) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (670) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (676) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (682) heap_init: At 3FFCB060 len 00014FA0 (83 KiB): DRAM
I (689) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (695) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (701) heap_init: At 4009CAE0 len 00003520 (13 KiB): IRAM
I (709) spi_flash: detected chip: gd
I (712) spi_flash: flash io: dio
I (717) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Terminal disconnected: NetworkError: The device has been lost.

YAML:

external_components:
  - source: github://bendikwa/[email protected]
    refresh: 0s
    
substitutions:
  upper_devicename: Bluetooth
  devicename: bluetooth
  device_description: "Bluetooth receiver"

esphome:
  name: $devicename
  comment: "${device_description}"

esp32:
  board: m5stack-atom
#  board: esp32dev
  framework:
    type: esp-idf
    version: recommended

wifi:
  reboot_timeout: 2min
  ssid: !secret wifi_ssid
  password: !secret wifi_password
#  enable_btm: true
#  enable_rrm: true

logger:
  #level: VERBOSE #Change the log level as required; during testing verbose is helpful. 

esp32_ble_tracker:

api:
  reboot_timeout: 9999 min
  encryption: 
    key: !secret encryption_key

ota:
  password: !secret ota_password

ble_client:
  - mac_address: 70:91:8F:10:2A:86
    id: igrillv2

sensor:
  - platform: igrill
    ble_client_id: igrillv2
    update_interval: 30s # default
    battery_level:
      name: "IGrill battery"
    temperature_probe1:
      name: "IGrill temp 1"
    temperature_probe2:
      name: "IGrill temp 2"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.