-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
build error with esp-idf #2086
Comments
Could you please try cleaning build files first ( |
Apart of a typo on your |
When I cleaned, fixed the typo and rebuild I get exactly the same error. Using arduino framework builds without any issues. Any other suggestions? |
Could you please share the content of |
I removed the usage of the wifi.yaml. The code then looks like below but still has the same issue substitutions:
###### CHANGE ME ######
device_name: "nspanel1"
wifi_ssid: "StumpelAP"
wifi_password: "xxxxxxxxxx"
##### CHANGE ME #####
##### DO NOT CHANGE ANYTHING! #####
nextion_update_url: "http://192.168.178.87:8123/local/nspanel.tft"
##### addon-configuration #####
## addon_climate ##
# addon_climate_heater_relay: "1" # possible values: 1/2
##### CHANGE ME END #####
packages:
remote_package:
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
ref: main
files:
- nspanel_esphome.yaml # Core package
# - nspanel_esphome_advanced.yaml # activate advanced (legacy) elements - can be useful for troubleshooting
# - nspanel_esphome_addon_climate_cool.yaml # activate for local climate (cooling) control
# - nspanel_esphome_addon_climate_heat.yaml # activate for local climate (heater) control
refresh: 300s
##### My customization - Start #####
##### My customization - End #####
esphome:
compile_process_limit: 1
web_server:
port: 80
button:
# Adds a button to put the panel to sleep
- name: ${device_name} Sleep
id: force_sleep
platform: template
icon: mdi:sleep
on_press:
then:
- logger.log: Button Sleep pressed
- lambda: |-
if (id(current_page).state != "screensaver") id(disp1).goto_page("screensaver");
# Adds a button to wake-up the panel (similar to the existing service)
- name: ${device_name} Wake-up
id: force_wake_up
platform: template
icon: mdi:alarm
on_press:
then:
- logger.log: Button Wake-up pressed
- lambda: |-
if (id(current_page).state == "screensaver") id(disp1).goto_page(id(wakeup_page_name).state.c_str());
// id(timer_page).execute(id(wakeup_page_name).state.c_str()); // enable this if you want page timeout to be reset
id(timer_sleep).execute();
id(timer_dim).execute();
esp32:
framework:
type: esp-idf
#type: arduino |
btw, building it with the HA integration goes okay wrt this problem |
I've tried via command line (under Win11) with no issues.
|
Oh, we can compile under Windows in fraction of speed? I am going to look into this now. |
You can run the ESPHome dashboard also. 😉 |
Ya just tried and esphome run name.yaml does it all, prompts if want OTA or USB serial at end. I can specify the nspanel name on the cli and that works, but if I want to run multiple on same command line not sure how to default to OTA. |
TFT Version
4.3.6
ESPHome Version
4.3.6
Blueprint Version
4.3.6
Panel Model
EU
What is the bug?
When I try to build the 4.3.6 with the command line (esphome compile .\nspanel-1.yaml i get the following error
Steps to Reproduce
see above
Your Panel's YAML
ESPHome Logs
No response
Home Assistant Logs
No response
The text was updated successfully, but these errors were encountered: