It looks like I have some data. Maybe I didn’t wait long enough for earlier attempts. However the other thing I changed is the distance. The ESP32 was 3 meters away and I moved it closer (1m). In both situations the signal strength is about -50db. Is that reliable enough?
Would you be able to take a glance at the log - apologies for the long log but I thought I put it out there so that this can be verified properly? Is that what we’re expecting?
ESPHome 2023.5.4
INFO Reading configuration /config/esphome/esphome-web-36d5b8.yaml...
INFO Detected timezone 'Australia/Sydney'
INFO Starting log output from esphome-web-36d5b8.local using esphome API
INFO Successfully connected to esphome-web-36d5b8.local
[12:38:40][I][app:102]: ESPHome version 2023.5.4 compiled on May 27 2023, 00:37:04
[12:38:40][C][wifi:505]: WiFi:
[12:38:40][C][wifi:363]: Local MAC: AC:67:B2:36:D5:B8
[12:38:40][C][wifi:364]: SSID: 'The Meier Residence'[redacted]
[12:38:40][C][wifi:365]: IP Address: 192.168.2.107
[12:38:40][C][wifi:367]: BSSID: xx:xx:xx:xx:xx:xx [redacted]
[12:38:40][C][wifi:368]: Hostname: 'esphome-web-36d5b8'
[12:38:40][C][wifi:370]: Signal strength: -50 dB ▂▄▆█
[12:38:40][V][wifi:372]: Priority: 0.0
[12:38:40][C][wifi:374]: Channel: 11
[12:38:40][C][wifi:375]: Subnet: 255.255.255.0
[12:38:40][C][wifi:376]: Gateway: 192.168.2.1
[12:38:40][C][wifi:377]: DNS1: 192.168.2.1
[12:38:40][C][wifi:378]: DNS2: 0.0.0.0
[12:38:40][C][logger:301]: Logger:
[12:38:40][C][logger:302]: Level: VERY_VERBOSE
[12:38:40][C][logger:303]: Log Baud Rate: 115200
[12:38:40][C][homeassistant.time:010]: Home Assistant Time:
[12:38:40][C][homeassistant.time:011]: Timezone: 'AEST-10AEDT,M10.1.0,M4.1.0/3'
[12:38:40][C][restart:068]: Restart Switch 'Powerpal Monitor Reboot'
[12:38:40][C][restart:070]: Icon: 'mdi:restart'
[12:38:40][C][restart:091]: Restore Mode: always OFF
[12:38:40][C][esp32_ble:238]: ESP32 BLE:
[12:38:40][C][esp32_ble:240]: MAC address: AC:67:B2:36:D5:BA
[12:38:40][C][esp32_ble:241]: IO Capability: none
[12:38:40][C][ble_client:027]: BLE Client:
[12:38:40][C][ble_client:028]: Address: xx:xx:xx:xx:xx:xx
[12:38:40][C][mdns:108]: mDNS:
[12:38:40][C][mdns:109]: Hostname: esphome-web-36d5b8
[12:38:40][V][mdns:110]: Services:
[12:38:40][V][mdns:112]: - _esphomelib, _tcp, 6053
[12:38:40][V][mdns:114]: TXT: friendly_name = Powerpal Gateway
[12:38:40][V][mdns:114]: TXT: version = 2023.5.4
[12:38:40][V][mdns:114]: TXT: mac = ac67b236d5b8
[12:38:40][V][mdns:114]: TXT: platform = ESP32
[12:38:40][C][api:138]: API Server:
[12:38:40][C][api:139]: Address: esphome-web-36d5b8.local:6053
[12:38:40][C][api:141]: Using noise encryption: YES
[12:38:40][C][powerpal_ble:013]: POWERPAL
[12:38:40][C][powerpal_ble:014]: Battery 'Powerpal Battery'
[12:38:40][C][powerpal_ble:014]: Device Class: 'battery'
[12:38:40][C][powerpal_ble:014]: State Class: ''
[12:38:40][C][powerpal_ble:014]: Unit of Measurement: '%'
[12:38:40][C][powerpal_ble:014]: Accuracy Decimals: 0
[12:38:40][C][powerpal_ble:015]: Power 'Powerpal Power'
[12:38:40][C][powerpal_ble:015]: Device Class: 'power'
[12:38:40][C][powerpal_ble:015]: State Class: 'measurement'
[12:38:40][C][powerpal_ble:015]: Unit of Measurement: 'W'
[12:38:40][C][powerpal_ble:015]: Accuracy Decimals: 0
[12:38:40][C][powerpal_ble:016]: Daily Energy 'Powerpal Daily Energy'
[12:38:40][C][powerpal_ble:016]: Device Class: 'energy'
[12:38:40][C][powerpal_ble:016]: State Class: 'total_increasing'
[12:38:40][C][powerpal_ble:016]: Unit of Measurement: 'kWh'
[12:38:40][C][powerpal_ble:016]: Accuracy Decimals: 3
[12:38:40][C][powerpal_ble:017]: Total Energy 'Powerpal Total Energy'
[12:38:41][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:41][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:41][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:43][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:44][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:45][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:46][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:46][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:46][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:46][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:47][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:48][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:48][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:49][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:49][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:49][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:50][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:50][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:50][VV][api.service:512]: on_ping_request: PingRequest {}
[12:38:50][VV][api.service:043]: send_ping_response: PingResponse {}
[12:38:52][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:52][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:52][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=3814885 (now=3874888)
[12:38:52][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:53][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:55][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:55][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:55][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:56][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:56][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:57][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:57][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:58][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:58][V][esp32_ble:206]: (BLE) gattc_event [esp_gatt_if: 4] - 10
[12:38:58][V][esp32_ble_client:114]: [0] [xx:xx:xx:xx:xx:xx] gattc_event_handler: event=10 gattc_if=4
[12:38:58][D][powerpal_ble:379]: [xx:xx:xx:xx:xx:xx] Received Notification
[12:38:58][D][powerpal_ble:390]: Recieved measurement notify event
[12:38:58][D][powerpal_ble:049]: Meaurement: DEC(20): 0x88be72640a000020dc5700200090d003ff00ffff
[12:38:58][I][powerpal_ble:064]: Timestamp: 1685241480, Pulses: 10, Average Watts within interval: 750.000000 W, Daily Pulses: 810
[12:38:58][V][sensor:043]: 'Powerpal Power': Received new state 750.000000
[12:38:58][D][sensor:094]: 'Powerpal Power': Sending state 750.00000 W with 0 decimals of accuracy
[12:38:58][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2198823709
state: 750
missing_state: NO
}
[12:38:58][V][sensor:043]: 'Powerpal Cost_json': Received new state 0.000000
[12:38:58][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[12:38:58][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 667259054
state: 0
missing_state: NO
}
[12:38:58][V][sensor:043]: 'Powerpal Pulses_json': Received new state 10.000000
[12:38:58][D][sensor:094]: 'Powerpal Pulses_json': Sending state 10.00000 with 0 decimals of accuracy
[12:38:58][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 310469837
state: 10
missing_state: NO
}
[12:38:58][V][sensor:043]: 'Powerpal Watt Hours_json': Received new state 8.000000
[12:38:58][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 8.00000 with 0 decimals of accuracy
[12:38:58][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 4009656983
state: 8
missing_state: NO
}
[12:38:59][V][sensor:043]: 'Powerpal Timestamp_json': Received new state 1685241472.000000
[12:38:59][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1685241472.00000 with 0 decimals of accuracy
[12:38:59][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2168662107
state: 1.68524e+09
missing_state: NO
}
[12:38:59][V][sensor:043]: 'Powerpal Total Energy': Received new state 1.025000
[12:38:59][D][sensor:094]: 'Powerpal Total Energy': Sending state 1.02500 kWh with 3 decimals of accuracy
[12:38:59][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 3727478647
state: 1.025
missing_state: NO
}
[12:38:59][V][sensor:043]: 'Powerpal Daily Energy': Received new state 1.025000
[12:38:59][D][sensor:094]: 'Powerpal Daily Energy': Sending state 1.02500 kWh with 3 decimals of accuracy
[12:38:59][VV][api.service:140]: send_sensor_state_response: SensorStateResponse {
key: 2450714088
state: 1.025
missing_state: NO
}
[12:38:59][V][component:204]: Component esp32_ble took a long time for an operation (0.28 s).
[12:38:59][V][component:205]: Components should block for at most 20-30ms.
[12:38:59][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:59][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:38:59][VV][api.service:512]: on_ping_request: PingRequest {}
[12:38:59][VV][api.service:043]: send_ping_response: PingResponse {}
[12:39:00][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:39:00][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:39:00][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[12:39:00][V][esp32_ble:178]: (BLE) gap_event_handler - 3