-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESPHome Compilation Errors (example yaml) with ESPHome v2022.12.3 #3
Comments
Same issues for me plus a couple of others INFO Reading configuration /config/esphome/powerpal.yaml...
|
I have same issue: Powerpal works with previous versions, but HA has deprecated "AP password" for "AP KEY" and all my ESPHome devices need updating. ConfigurationYAML
Compilation Logs
|
The fork created by @muneeb1990 (https://github.com/muneeb1990/esphome/tree/powerpal_ble/esphome/components/powerpal_ble) seems to solve this problem. However, do not use a local ble_client in the external components. |
Same compile problem for me and sadly this is the first time I have used ESPHome so no clue how to fix it! |
@CV8R I solved the problem by doing the following:
I hope this helps |
@HSB-collab Thanks. Invaluable info and can confirm it works well with Home Assistant in 2024. |
Actually @KmanOz there is a better solution because @muneeb1990 has put the solution on his github site due to another breaking change - see https://community.home-assistant.io/t/powerpal-smart-energy-monitor/263713/312.
|
Confirmed that this worked for me and ESPHome compiled. |
Hi @muneeb1990, I noticed your code does not contain the code for uploading the data to powerpal. However, this facility is available in @WeekendWarrior1's code. Any reason why this was not done? I tried to copy parts of the code from @WeekendWarrior1 to yours. But it didn't work. |
Code I'm using:
In home assistant, I have Automation:
This seems to work. |
What's the rest command? |
Using the example powerpal_ble.yaml, and ESPHome v2012.12.3 (simply changing the board from "wemos_d1_mini32" to "esp32dev")- the Install compilation consistently fails with errors relating to the ble_tracker.cpp component and in incompatible return type.
ESPHome yaml file and compile log are attached.
Is this a possibly a breaking change in the ESPHome core framework since your powerpal_ble component was devised? I'm sorry that I'm new to ESPHome custom components and framework source code, so I can only report to you what I'm encountering - not sure what code changes might resolve these errors.
Compile Log: logs_powerpalble-3e5538_compile_errors.txt
YAML File: powerpalble-3e5538_yaml.txt
The text was updated successfully, but these errors were encountered: