Thank you, would you mind doing a quick dump of your config? I tried and still can’t get it to build.
Thanks for the tip - I thought I’d bricked my config while adding my water meter to the same device, but it was just due to the upgrade. Downgrading to 2023.10.6 also got it up and running again.
If it’s any help, this is my config. I’d bounced around using starryalley’s fork, and then muneeb’s, which I found resolved a number of the issues I was having with WW1’s original repo.
substitutions:
device_name: powerpal-gateway
friendly_name: Powerpal Gateway
esphome:
name: ${device_name}
platform: ESP32
board: esp32dev
on_boot:
then:
- lambda: |-
powerpal_ble_powerpal->daily_pulses_ = id(powerpal_daily_pulses_backup) ;
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
api:
encryption:
key: !secret esphome_key
ota:
password: !secret esphome_secret
external_components:
- source:
type: git
url: https://github.com/muneeb1990/esphome
ref: powerpal_ble
components: [ powerpal_ble ]
time:
- platform: homeassistant
id: homeassistant_time
globals:
- id: powerpal_daily_pulses_backup
type: int
restore_value: true
esp32_ble_tracker:
ble_client:
- mac_address: !secret powerpal_mac_address
id: powerpal
sensor:
# Electricity Metering
- platform: powerpal_ble
ble_client_id: powerpal
power:
name: "Powerpal Power"
daily_energy:
name: "Powerpal Daily Energy"
daily_pulses:
name: "Powerpal Daily Pulses"
energy:
name: "Powerpal Total Energy"
battery_level:
name: "Powerpal Battery"
watt_hours:
name: "Powerpal Watt Hours_json"
cost:
name: "Powerpal Cost_json"
timestamp:
name: "Powerpal Timestamp_json"
pulses:
name: "Powerpal Pulses_json"
pairing_code: !secret powerpal_pairing_code
notification_interval: 1 # get updates every 1 minute
pulses_per_kwh: 1000
time_id: homeassistant_time
cost_per_kwh: 0.38
- platform: homeassistant
id: ha_daily_pulses
entity_id: sensor.powerpal_daily_pulses
on_value:
then:
- globals.set:
id: powerpal_daily_pulses_backup
value: !lambda 'return int(x);'_secret
external_components:
- source: github://starryalley/esphome@powerpal_ble_fix_compile_error
components: [ ble_client, powerpal_ble ]
esp32_ble_tracker:
ble_client:
- mac_address: !secret powerpal_mac_address
id: powerpal
sensor:
# Electricity Metering
- platform: powerpal_ble
ble_client_id: powerpal
power:
name: "Powerpal Power"
accuracy_decimals: 0
energy:
name: "Powerpal Total Energy"
accuracy_decimals: 3
battery_level:
name: "Powerpal Battery"
pairing_code: !secret powerpal_pairing_code
notification_interval: 1 # get updates every 1 minute
pulses_per_kwh: 1000
cost_per_kwh: 0.29
I also have cloud publishing working consistently using the HA automation described way back.
EDIT: realised I had an old config hanging around, which wasn’t actually the one I got working - updated my post with my actual working config.
Thank you so much! i’ll flash a new ESP tomorrow and take it for a spin!
I got it working, but not using the code above. I had to modify and tweak and eventually got it to push to a fresh ESPHome device (https://amzn.to/3tZzMWl)
My steps were;
- Flash using Web - ESPHome and connect to WiFi
- Deploy standard Bluetooth Proxy in HA to pickup the MAC Address of the Powerpal device, as it was not on a sticker or on the original packaging. I used the below YAML to provision the ESP Device, in the ESPHome add-on.
esphome:
name: esphome-web-bb7d28 #THE NAME OF YOUR ESP Device
friendly_name: Bluetooth Proxy #THE FRIENDLY NAME YOU WOULD LIKE
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true
# Enable this block to pickup local BLE devices in the ESPHome Device Logs
text_sensor:
- platform: ble_scanner
name: "BLE Devices Scanner"
bluetooth_proxy:
active: true
- Once deployed, the log will report local BLE devices, and their MAC address, including the Powerpal.
- Deploy the below code on the ESP Home device replacing the bluetooth proxy. In my case i have 2 so i kept one as a bluetooth proxy and setup the below code on the ESP i wanted to act as the Powerpal relay
substitutions:
device_name: esphome-web-2a46e0 #THE NAME OF YOUR ESP Device
friendly_name: Powerpal Gateway #THE FRIENDLY NAME OF YOUR ESP Device
esphome:
name: ${device_name}
platform: ESP32
board: "esp32dev"
on_boot:
then:
- lambda: |-
powerpal_ble_powerpal->daily_pulses_ = id(powerpal_daily_pulses_backup) ;
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
level: DEBUG
api:
ota:
external_components:
- source:
type: git
url: https://github.com/muneeb1990/esphome
ref: powerpal_ble
components: [ powerpal_ble ]
time:
- platform: homeassistant
id: homeassistant_time
esp32_ble_tracker:
ble_client:
- mac_address: XX:XX:XX:XX:XX:XX #PUT YOUR MAC ADDRESS HERE - NO QUOTES IS IMPORTANT
id: powerpal
switch:
- platform: restart
name: "Powerpal Monitor Reboot"
globals:
- id: powerpal_daily_pulses_backup
type: int
restore_value: true
sensor:
- platform: powerpal_ble
ble_client_id: powerpal
power:
name: "Powerpal Power"
daily_energy:
name: "Powerpal Daily Energy"
daily_pulses:
name: "Powerpal Daily Pulses"
energy:
name: "Powerpal Total Energy"
battery_level:
name: "Powerpal Battery"
watt_hours:
name: "Powerpal Watt Hours_json"
cost:
name: "Powerpal Cost_json"
timestamp:
name: "Powerpal Timestamp_json"
pulses:
name: "Powerpal Pulses_json"
pairing_code: 000000 #PUT THE PAIRING CODE FOUND WITH YOUR POWERPAL HERE
notification_interval: 1
pulses_per_kwh: 1000
#http_request_id: powerpal_cloud_uploader
time_id: homeassistant_time # daily energy still works without a time_id, but recommended to include one to properly handle daylight savings, etc.
#cost_per_kwh: 0.30 #dollars per kWh
- platform: homeassistant
id: ha_daily_pulses
entity_id: sensor.powerpal_daily_pulses
on_value:
then:
- globals.set:
id: powerpal_daily_pulses_backup
value: !lambda 'return int(x);'
- Once the above was deployed on the ESP i started to receive data in the entities. Important is to note that the MAC address and the pairing code should not be in quotes - they should be bare, if you put them in quotes, it compiles but doesn’t work
- I then used the “Powerpal Total Energy” entity in the energy screen and it took about 2 hours for data to start showing correctly.
It’s important to get the name right, to match the esphome-web-XXXXX name when provisioned as this is the name it looks up to find the IP of the device to deploy - for simplicity, keep this the same, and change the friendly name only - i now get flawless deployments.
Thanks for this, just used this to get mine going.
HI all. I have been having some recent issues with the powerpal and esphome. So, I got my powerpal probably mid 2022 and set it up and got it working. Over the last 18 months, I have probably replaced the esp32 a few times and the one I am using at the moment has an external antenna on it, as I used to get network dropouts.
However, over the past 2-3 days, I have noticed that is just appears to hang, and doesn’t send any data, a couple of times it has happened overnight, onetime I had to reboot it, but the other it seemed to start working again (after about 3.5 hours) Just now, I noticed it hadn’t sent any logs for about 15 mins, so I opened ESPHome and connected, and it wasn’t connecting to the powerpal or sending any data. I connected to it via the app (which I hadn’t used since I got it) and it connected and showed all the data.
Eventually I did a reboot, and it started connecting again. So, I am wondering if it my esp32 which is losing Bluetooth, even though it’s about 1 meter from the powerpal (via a wall). I am scheduling a nightly reboot at 3am in case that helps but does anyone have any suggestions. Should I increase the logging level, should I reflash the esp32, or maybe buy a new one.
I am also noticing I am getting a few of these errors
[20:11:00][W][component:214]: Component esp32_ble took a long time for an operation (0.10 s).
[20:11:00][W][component:215]: Components should block for at most 20-30ms.
Me too, seems after recent update ESP Home version upgrades - did you update recently by chance?
Thinking of trying to downgrade
I have updated it. However I think it might have had issues whilst I was away over xmas, which was running on an older version…
So far a nightly reboot seems to have stopped the issue of it hanging, but I would prefer not to do that.
hi All. So I thought that a nightly reboot might have fixed it, however it had another hang today, for about 2 hours. The Powerpal External Powerpal Pulses_json was on zero for a while. However, it seems to have fixed itself. Usually that Powerpal External Powerpal Pulses_json changes every minute.
I was thinking maybe it’s my ESP module. The reason I am thinking is every time I try and upgrade the ESP version OTA it runs & compiles and then fails to upload. I originally thought it was because it was at the edge of my Wi-Fi, but I am now thinking maybe it runs out of the flash memory, this might explain why it sometimes hangs and does not accept and data,
I was thinking of maybe getting these ESP modules https://amzn.asia/d/b1weDqX since they have 16mb of flash.
So should I spend the money.
My connection also seems to be hanging in recent weeks(similar to you, hangs for a few hours and then automatically resumes per normal), the board does not pick up and pulses from the Powerpal. Strange thing is I have not updated my ESP unit for almost a year(when it took me days to sort out a compile issue after applying a routine update, I vowed not to update it again once it was running ok).
I’ve been planning on doing a recompile(maybe on a new board all together) so let me know if you do decide to experiment with a different board to get some ideas on how we could resolve it.
I’ve now put in place a Node-RED flow to reboot it automatically when the data goes stale - using the last_updated time stamp on the entity. This isn’t great because you end up missing pulses, you still get close to daily total but I have notice little bits of deltas between reporting and bill.
Clearly an issue somewhere but beyond my capability.
Let us know how you go with a bigger flash memory - it’s plausible it’s memory related but don’t know why only recently.
I’ve been following this thread for quite a while trying to pull the Powerpal data into the energy view in Home Assistant. I’ve finally got it working thanks to this post that steps it all out.
Hi All. So I thought I would give an update. I did purchase one of these ESP32 with more memory, and I set it up last weekend.
I disabled my nightly reboot, and up until today, it seemed to be working fine, but again I noticed it stop providing data for about 1 hour. So I have power cycled it and will again setup the nightly reboot
I am thinking since this issue appears to be not just me, and there are others in this forum who have the issue, it is either the Powerpal’s are starting to have issues (mine is 18 months old) or the code is not 100%, but I am leaning more towards the powepal playing up. Of course I can’t really prove it, and I don’t know if there is a way to power cycle the actual powerpal device, as it appears to be fully enclosed, but I will go any have a look in a minute.
Thanks for the update and Shane it’s not as simple of a fix. I managed to get a new Powerpal device as I complained to them about the issue and they said my battery was low so decided to issue a new one. Haven’t gotten around to setting it up yet as it means having to rebuild my script on my ESP32 and working through those issues. If I get around to setting it up and linking it to HA, will post an update on how it goes after a week or so
Did you get the uploading to the Powerpal web site working?
I’m not sure why, but I get errors when I try to enable this…
HI. Would you be able to provide some details on how you trigger this automation. I don’t use node-red, but if you could point me in the correct direction, that would be great. I am thinking if I can reboot it when say the Powerpal Timestamp_json doesn’t change for 5 or 10 mins, as it is probably a good indicator that there is no data been sent
Below is how mine looks and you can certainly tell when it is hanging.
HI All, so I have found some more information. I was just randomly looking at my powerpal and noticed the wattage was at 0 (zero) which is impossible, since the TV and Computer is on (plus all the other things which use power in the house) so i rebooted it, but it still was showing zero, So I went to the meter box, and removed and re-added the light cable, as well as move the powerpal from on top of the meter box to inside it. I think I have noticed in the past, that when it is a hot day, and since my meter box is on the east side of my house, the heat can affect the device, after a few pulses, it appeared to be working correctly. However, the fact that it was sending zero wattage, makes me think again it is the actual device, which is causing issues,
Below is the logs I exported
INFO ESPHome 2023.12.9
INFO Reading configuration /config/esphome/powerpal-new.yaml...
INFO Updating https://github.com/muneeb1990/esphome@powerpal_ble
INFO Detected timezone 'Australia/Sydney'
INFO Starting log output from 192.168.1.115 using esphome API
INFO Successfully connected to powerpal-new @ 192.168.1.115 in 0.080s
INFO Successful handshake with powerpal-new @ 192.168.1.115 in 0.445s
[10:12:02][I][app:102]: ESPHome version 2023.12.9 compiled on Feb 24 2024, 10:13:29
[10:12:02][C][wifi:573]: WiFi:
[10:12:02][C][wifi:405]: Local MAC: A8:42:E3:24:F2:F4
[10:12:02][C][wifi:410]: SSID: [redacted]
[10:12:02][C][wifi:411]: IP Address: 192.168.1.115
[10:12:02][C][wifi:413]: BSSID: [redacted]
[10:12:02][C][wifi:414]: Hostname: 'powerpal-new'
[10:12:02][C][wifi:416]: Signal strength: -72 dB ▂▄▆█
[10:12:02][C][wifi:420]: Channel: 9
[10:12:02][C][wifi:421]: Subnet: 255.255.255.0
[10:12:02][C][wifi:422]: Gateway: 192.168.1.1
[10:12:02][C][wifi:423]: DNS1: 192.168.1.20
[10:12:02][C][wifi:424]: DNS2: 192.168.1.10
[10:12:02][C][logger:439]: Logger:
[10:12:02][C][logger:440]: Level: DEBUG
[10:12:02][C][logger:441]: Log Baud Rate: 115200
[10:12:02][C][logger:443]: Hardware UART: UART0
[10:12:02][C][homeassistant.time:010]: Home Assistant Time:
[10:12:02][C][homeassistant.time:011]: Timezone: 'AEST-10AEDT,M10.1.0,M4.1.0/3'
[10:12:02][C][restart:068]: Restart Switch 'Powerpal Monitor Reboot'
[10:12:02][C][restart:070]: Icon: 'mdi:restart'
[10:12:02][C][restart:091]: Restore Mode: always OFF
[10:12:02][C][esp32_ble:374]: ESP32 BLE:
[10:12:02][C][esp32_ble:376]: MAC address: A8:42:E3:24:F2:F6
[10:12:02][C][esp32_ble:377]: IO Capability: none
[10:12:03][C][ble_client:027]: BLE Client:
[10:12:03][C][ble_client:028]: Address: EE:01:95:C7:8D:D8
[10:12:03][C][mdns:115]: mDNS:
[10:12:03][C][mdns:116]: Hostname: powerpal-new
[10:12:03][C][ota:097]: Over-The-Air Updates:
[10:12:03][C][ota:098]: Address: powerpal-new.local:3232
[10:12:03][C][api:139]: API Server:
[10:12:03][C][api:140]: Address: powerpal-new.local:6053
[10:12:03][C][api:142]: Using noise encryption: YES
[10:12:03][C][powerpal_ble:013]: POWERPAL
[10:12:03][C][powerpal_ble:014]: Battery 'Powerpal Battery'
[10:12:03][C][powerpal_ble:014]: Device Class: 'battery'
[10:12:03][C][powerpal_ble:014]: State Class: ''
[10:12:03][C][powerpal_ble:014]: Unit of Measurement: '%'
[10:12:03][C][powerpal_ble:014]: Accuracy Decimals: 0
[10:12:03][C][powerpal_ble:015]: Power 'Powerpal Power'
[10:12:03][C][powerpal_ble:015]: Device Class: 'power'
[10:12:03][C][powerpal_ble:015]: Accuracy Decimals: 0
[10:12:03][C][powerpal_ble:016]: Daily Energy 'Powerpal Daily Energy'
[10:12:03][C][powerpal_ble:016]: Device Class: 'energy'
[10:12:03][C][powerpal_ble:016]: State Class: 'total_increasing'
[10:12:03][C][powerpal_ble:016]: Unit of Measurement: 'kWh'
[10:12:03][C][powerpal_ble:016]: Accuracy Decimals: 3
[10:12:03][C][powerpal_ble:017]: Total Energy 'Powerpal Total Energy'
[10:12:03][C][powerpal_ble:017]: Device Class: 'energy'
[10:12:03][C][powerpal_ble:017]: State Class: 'total_increasing'
[10:12:03][C][powerpal_ble:017]: Unit of Measurement: 'kWh'
[10:12:03][C][powerpal_ble:017]: Accuracy Decimals: 3
[10:12:03][C][homeassistant.sensor:030]: Homeassistant Sensor 'ha_daily_pulses'
[10:12:03][C][homeassistant.sensor:030]: State Class: ''
[10:12:03][C][homeassistant.sensor:030]: Unit of Measurement: ''
[10:12:03][C][homeassistant.sensor:030]: Accuracy Decimals: 1
[10:12:03][C][homeassistant.sensor:031]: Entity ID: 'sensor.powerpal_daily_pulses'
[10:12:06][D][powerpal_ble:379]: [EE:01:95:C7:8D:D8] Received Notification
[10:12:06][D][powerpal_ble:390]: Recieved measurement notify event
[10:12:06][D][powerpal_ble:049]: Meaurement: DEC(20): 0x0cecec6501000020dc5700200090d003ff00ffff
[10:12:06][I][powerpal_ble:064]: Timestamp: 1710025740, Pulses: 1, Average Watts within interval: 18.750000 W, Daily Pulses: 6178
[10:12:06][D][sensor:094]: 'Powerpal Power': Sending state 18.75000 W with 0 decimals of accuracy
[10:12:06][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[10:12:06][D][sensor:094]: 'Powerpal Pulses_json': Sending state 1.00000 with 0 decimals of accuracy
[10:12:06][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 3.00000 with 0 decimals of accuracy
[10:12:06][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1710025728.00000 with 0 decimals of accuracy
[10:12:06][D][sensor:094]: 'Powerpal Total Energy': Sending state 1.93094 kWh with 3 decimals of accuracy
[10:12:06][D][sensor:094]: 'Powerpal Daily Energy': Sending state 1.93094 kWh with 3 decimals of accuracy
[10:12:06][W][component:214]: Component esp32_ble took a long time for an operation (0.10 s).
[10:12:06][W][component:215]: Components should block for at most 20-30ms.
[10:13:06][D][powerpal_ble:379]: [EE:01:95:C7:8D:D8] Received Notification
[10:13:06][D][powerpal_ble:390]: Recieved measurement notify event
[10:13:06][D][powerpal_ble:049]: Meaurement: DEC(20): 0x48ecec6500000020dc5700200090d003ff00ffff
[10:13:06][I][powerpal_ble:064]: Timestamp: 1710025800, Pulses: 0, Average Watts within interval: 0.000000 W, Daily Pulses: 6179
[10:13:06][D][sensor:094]: 'Powerpal Power': Sending state 0.00000 W with 0 decimals of accuracy
[10:13:06][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[10:13:06][D][sensor:094]: 'Powerpal Pulses_json': Sending state 0.00000 with 0 decimals of accuracy
[10:13:06][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 0.00000 with 0 decimals of accuracy
[10:13:06][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1710025856.00000 with 0 decimals of accuracy
[10:13:06][D][sensor:094]: 'Powerpal Total Energy': Sending state 1.93094 kWh with 3 decimals of accuracy
[10:13:06][D][sensor:094]: 'Powerpal Daily Energy': Sending state 1.93094 kWh with 3 decimals of accuracy
[10:13:06][W][component:214]: Component esp32_ble took a long time for an operation (0.11 s).
[10:13:06][W][component:215]: Components should block for at most 20-30ms.
[10:13:23][D][switch:012]: 'Powerpal Monitor Reboot' Turning ON.
[10:13:23][D][switch:055]: 'Powerpal Monitor Reboot': Sending state OFF
[10:13:23][I][restart:016]: Restarting device...
[10:13:23][I][app:134]: Rebooting safely...
INFO Processing expected disconnect from ESPHome API for powerpal-new @ 192.168.1.115
WARNING Disconnected from API
INFO Successfully connected to powerpal-new @ 192.168.1.115 in 7.170s
INFO Successful handshake with powerpal-new @ 192.168.1.115 in 0.198s
[10:13:36][D][api.connection:1121]: Home Assistant 2024.2.5 (192.168.1.10): Connected successfully
[10:13:36][D][time:045]: Synchronized time: 2024-03-10 10:13:36
[10:13:36][D][esp32_ble_client:053]: [0] [EE:01:95:C7:8D:D8] Found device
[10:13:36][I][esp32_ble_client:069]: [0] [EE:01:95:C7:8D:D8] 0x01 Attempting BLE connection
[10:13:39][I][esp32_ble_client:201]: [0] [EE:01:95:C7:8D:D8] Connected
[10:13:43][I][esp32_ble_client:270]: [0] [EE:01:95:C7:8D:D8] auth complete. remote BD_ADDR: ee0195c78dd8
[10:13:43][I][powerpal_ble:406]: [EE:01:95:C7:8D:D8] Writing pairing code to Powerpal
[10:13:44][D][powerpal_ble:295]: [EE:01:95:C7:8D:D8] ESP_GATTC_WRITE_CHAR_EVT (Write confirmed)
[10:13:46][D][powerpal_ble:218]: [EE:01:95:C7:8D:D8] ESP_GATTC_READ_CHAR_EVT (Received READ)
[10:13:46][D][powerpal_ble:225]: Recieved reading_batch_size read event
[10:13:46][D][powerpal_ble:038]: DEC(4): 0x01000000
[10:13:46][D][powerpal_ble:218]: [EE:01:95:C7:8D:D8] ESP_GATTC_READ_CHAR_EVT (Received READ)
[10:13:46][I][powerpal_ble:284]: Recieved serial_number read event
[10:13:46][I][powerpal_ble:286]: Powerpal apikey: 3a6f8891-0b5a-45bd-91bd-aa6a99215e7a
[10:13:47][D][powerpal_ble:218]: [EE:01:95:C7:8D:D8] ESP_GATTC_READ_CHAR_EVT (Received READ)
[10:13:47][I][powerpal_ble:275]: Recieved uuid read event
[10:13:47][I][powerpal_ble:277]: Powerpal device id: 0002fa39
[10:13:48][D][powerpal_ble:218]: [EE:01:95:C7:8D:D8] ESP_GATTC_READ_CHAR_EVT (Received READ)
[10:13:48][D][powerpal_ble:254]: Recieved battery read event
[10:13:48][D][powerpal_ble:042]: Battery: DEC(1): 0x63
[10:13:48][D][sensor:094]: 'Powerpal Battery': Sending state 99.00000 % with 0 decimals of accuracy
[10:13:49][D][powerpal_ble:218]: [EE:01:95:C7:8D:D8] ESP_GATTC_READ_CHAR_EVT (Received READ)
[10:13:49][D][powerpal_ble:261]: Recieved firmware read event
[10:13:49][D][powerpal_ble:038]: DEC(5): 0x023c00252a
[10:13:50][D][powerpal_ble:218]: [EE:01:95:C7:8D:D8] ESP_GATTC_READ_CHAR_EVT (Received READ)
[10:13:50][D][powerpal_ble:268]: Recieved led sensitivity read event
[10:13:50][D][powerpal_ble:038]: DEC(1): 0x09
[10:14:06][D][powerpal_ble:379]: [EE:01:95:C7:8D:D8] Received Notification
[10:14:06][D][powerpal_ble:390]: Recieved measurement notify event
[10:14:06][D][powerpal_ble:049]: Meaurement: DEC(20): 0x84ecec6500000020dc5700200090d003ff00ffff
[10:14:06][I][powerpal_ble:064]: Timestamp: 1710025860, Pulses: 0, Average Watts within interval: 0.000000 W, Daily Pulses: 0
[10:14:06][D][sensor:094]: 'Powerpal Power': Sending state 0.00000 W with 0 decimals of accuracy
[10:14:06][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[10:14:06][D][sensor:094]: 'Powerpal Pulses_json': Sending state 0.00000 with 0 decimals of accuracy
[10:14:06][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 0.00000 with 0 decimals of accuracy
[10:14:06][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1710025856.00000 with 0 decimals of accuracy
[10:14:06][D][sensor:094]: 'Powerpal Total Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[10:14:06][D][sensor:094]: 'Powerpal Daily Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[10:14:06][W][component:214]: Component esp32_ble took a long time for an operation (0.11 s).
[10:14:06][W][component:215]: Components should block for at most 20-30ms.
[10:15:06][D][powerpal_ble:379]: [EE:01:95:C7:8D:D8] Received Notification
[10:15:06][D][powerpal_ble:390]: Recieved measurement notify event
[10:15:06][D][powerpal_ble:049]: Meaurement: DEC(20): 0xc0ecec6500000020dc5700200090d003ff00ffff
[10:15:06][I][powerpal_ble:064]: Timestamp: 1710025920, Pulses: 0, Average Watts within interval: 0.000000 W, Daily Pulses: 0
[10:15:06][D][sensor:094]: 'Powerpal Power': Sending state 0.00000 W with 0 decimals of accuracy
[10:15:06][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[10:15:06][D][sensor:094]: 'Powerpal Pulses_json': Sending state 0.00000 with 0 decimals of accuracy
[10:15:06][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 0.00000 with 0 decimals of accuracy
[10:15:06][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1710025984.00000 with 0 decimals of accuracy
[10:15:06][D][sensor:094]: 'Powerpal Total Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[10:15:06][D][sensor:094]: 'Powerpal Daily Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[10:15:06][W][component:214]: Component esp32_ble took a long time for an operation (0.11 s).
[10:15:06][W][component:215]: Components should block for at most 20-30ms.
[10:16:06][D][powerpal_ble:379]: [EE:01:95:C7:8D:D8] Received Notification
[10:16:06][D][powerpal_ble:390]: Recieved measurement notify event
[10:16:06][D][powerpal_ble:049]: Meaurement: DEC(20): 0xfcecec6500000020dc5700200090d003ff00ffff
[10:16:06][I][powerpal_ble:064]: Timestamp: 1710025980, Pulses: 0, Average Watts within interval: 0.000000 W, Daily Pulses: 0
[10:16:06][D][sensor:094]: 'Powerpal Power': Sending state 0.00000 W with 0 decimals of accuracy
[10:16:06][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[10:16:06][D][sensor:094]: 'Powerpal Pulses_json': Sending state 0.00000 with 0 decimals of accuracy
[10:16:06][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 0.00000 with 0 decimals of accuracy
[10:16:06][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1710025984.00000 with 0 decimals of accuracy
[10:16:06][D][sensor:094]: 'Powerpal Total Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[10:16:06][D][sensor:094]: 'Powerpal Daily Energy': Sending state 0.00000 kWh with 3 decimals of accuracy
[10:16:06][W][component:214]: Component esp32_ble took a long time for an operation (0.11 s).
[10:16:06][W][component:215]: Components should block for at most 20-30ms.
[10:17:06][D][powerpal_ble:379]: [EE:01:95:C7:8D:D8] Received Notification
[10:17:06][D][powerpal_ble:390]: Recieved measurement notify event
[10:17:08][D][powerpal_ble:049]: Meaurement: DEC(20): 0x38edec6506000020dc5700200090d003ff00ffff
[10:17:08][I][powerpal_ble:064]: Timestamp: 1710026040, Pulses: 6, Average Watts within interval: 112.500000 W, Daily Pulses: 0
[10:17:08][D][sensor:094]: 'Powerpal Power': Sending state 112.50000 W with 0 decimals of accuracy
[10:17:08][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[10:17:08][D][sensor:094]: 'Powerpal Pulses_json': Sending state 6.00000 with 0 decimals of accuracy
[10:17:08][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 19.00000 with 0 decimals of accuracy
[10:17:08][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1710025984.00000 with 0 decimals of accuracy
[10:17:08][D][sensor:094]: 'Powerpal Total Energy': Sending state 0.00187 kWh with 3 decimals of accuracy
[10:17:08][D][sensor:094]: 'Powerpal Daily Energy': Sending state 0.00187 kWh with 3 decimals of accuracy
[10:17:08][W][component:214]: Component esp32_ble took a long time for an operation (0.11 s).
[10:17:08][W][component:215]: Components should block for at most 20-30ms.
[10:18:06][D][powerpal_ble:379]: [EE:01:95:C7:8D:D8] Received Notification
[10:18:06][D][powerpal_ble:390]: Recieved measurement notify event
[10:18:06][D][powerpal_ble:049]: Meaurement: DEC(20): 0x74edec6516000020dc5700200090d003ff00ffff
[10:18:06][I][powerpal_ble:064]: Timestamp: 1710026100, Pulses: 22, Average Watts within interval: 412.500000 W, Daily Pulses: 6
[10:18:06][D][sensor:094]: 'Powerpal Power': Sending state 412.50000 W with 0 decimals of accuracy
[10:18:06][D][sensor:094]: 'Powerpal Cost_json': Sending state 0.00000 with 11 decimals of accuracy
[10:18:06][D][sensor:094]: 'Powerpal Pulses_json': Sending state 22.00000 with 0 decimals of accuracy
[10:18:06][D][sensor:094]: 'Powerpal Watt Hours_json': Sending state 70.00000 with 0 decimals of accuracy
[10:18:06][D][sensor:094]: 'Powerpal Timestamp_json': Sending state 1710026112.00000 with 0 decimals of accuracy
[10:18:06][D][sensor:094]: 'Powerpal Total Energy': Sending state 0.00875 kWh with 3 decimals of accuracy
[10:18:06][D][sensor:094]: 'Powerpal Daily Energy': Sending state 0.00875 kWh with 3 decimals of accuracy
[10:18:06][W][component:214]: Component esp32_ble took a long time for an operation (0.11 s).
[10:18:06][W][component:215]: Components should block for at most 20-30ms.
[10:18:29][I][ota:117]: Boot seems successful, resetting boot loop counter.
[10:18:29][D][esp32.preferences:114]: Saving 1 preferences to flash...
[10:18:29][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed