My re-batteried Powerpal worked fine for days, then today it stalled and refused to send any more updates. Exactly the same symptoms as when the battery went flat.
I thought my Powerpal was faulty, but having nothing really to lose I actually ended up going through a bizarrely useful debug session with ChatGPT. It suggested that manually sending the Powerpal a RTC clock update might get it going again, and it did! So if this happens to anyone else after a battery replacement, this is what Chatty came up with:
time:
- platform: homeassistant
id: homeassistant_time
button:
- platform: template
name: "Powerpal: Set Device Time (now)"
on_press:
- ble_client.ble_write:
id: powerpal
service_uuid: '59DAABCD-12F4-25A6-7D4F-55961DCE4205'
characteristic_uuid: '59DA0004-12F4-25A6-7D4F-55961DCE4205' # time
value: !lambda |-
uint32_t t = id(homeassistant_time).now().timestamp;
return std::vector<uint8_t>{
(uint8_t)(t ), (uint8_t)(t >> 8),
(uint8_t)(t >> 16), (uint8_t)(t >> 24)
};