Good stuff!
Hi Guys,
I have been screwing around for the last 3 days trying to get this all to work, but thanks to this thread⌠and stealing most of @Sabellwind yaml, i have finally got it connected and reading from powerpal!
One question, i am trying to now enable the http_request_id option so that the powerpal app continues to get updated remotely by ESPhome and be able to see the history on my phone.
Based on Sabellwinds yaml a couple of posts up, I have undone the commenting out on the http_request at the top (and the id option underneath) - and that compiles ok, however when i uncomment the http_request_id line under the sensor section - i get compilation error -
[http_request_id] is an invalid option for [sensor.powerpal_ble]. Please check the indentation.
any one got any ideas as to what i could have done wrong?
Hey Hughesy, I think youâre going to have to comment out anything http_request_id related as this functionality has not been working for some time, even since WeekendWarrior01 was upkeeping this project. The only thing that youâll miss out on is uploading to the Powerpal servers which to be honest isnât that important if youâve got a tight integration with HA.
Thanks for the heads up sabellwind - saves me countless hours of stuffing around pointlessly
Anyone had success upgrading ESPhome to 2023.11.x with a powerpal monitor? I upgraded from 2023.10.6 to 2023.11.6 last night and then it seemed to lost connection to powerpal through BLE. I rebooted several times and let it scan for 30min and still nothing. I didnât notice any error, just seems to be unable to connect to powerpal.
I had to downgrade back to 2023.10.6 for it to work again.
Working fine with 2023.11.6.
Thanks. Itâs weird that mine has been working fine in the past year up to 2023.10.6 but broken in 2023.11.6. Iâll find some time to try again, or maybe I will wait until 2023.12.x is out.
Hey @muneeb1990
Thankyou for ongoing support with this! I had a powerpal installed today, and using this code - integrated it straight to home assistant!
A couple of questions -
Is there a way to reduce the reporting interval?
I see in the code its set at 1 (min)
Also, is there still a way to get data sync with Powerpal cloud?
I saw some code, but it needs a Powerpal API key which I cant seem to find out how to get on AndroidâŚ
As far as I can tell, 1 min is the minimum interval that can be used and this is a limitation on the device itself (possibly a power saving feature).
If you restart the ESPhome device that is connecting to Powerpal and view Logs in ESPHome, it should publish the API key there. There is no way to upload data to Powerpal Cloud without it.
Hi Muneeb,
Managed to get the API key and cloud sync to work!
Thankyou for your speedy reply!!
@muneeb1990
Is there a way we can add backup and restore function for Total Energy?
At the moment it resets when the ESP device restarts.
what is the current way of getting the esp32 to even work. i keep getting compiling errors.
Total Energy values should persist through ESPHome and HA restarts as well as ESPHome upgrades.
Mine doesnât appear too! It resets to 0 when ESPHome is restarted.
Where do I start looking?
ESPhome as in the add-on OR ESP device connecting to Powerpal?
Has anyone got a working config file for an ESP32 they can share? I keep getting compile errors using the config file in the github repo⌠latest v of HA and ESPHome
The ESP device connecting to the powerpal
I used the one in this thread a few posts up from Sabellwind