Skip to content
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

Bug Esphome 2024.5.0 firmware update doesn't work. #2115

Closed
Lice2 opened this issue May 17, 2024 · 3 comments
Closed

Bug Esphome 2024.5.0 firmware update doesn't work. #2115

Lice2 opened this issue May 17, 2024 · 3 comments
Labels
Bug Identifies an issue where the system is not functioning as expected.

Comments

@Lice2
Copy link

Lice2 commented May 17, 2024

TFT Version

4.3.4

ESPHome Version

2024.5.0

Blueprint Version

4.3.7

Panel Model

EU

What is the bug?

I get the following error message:

INFO ESPHome 2024.5.0
INFO Reading configuration /config/esphome/nspanel.yaml...
Failed config

external_components: [source /data/packages/566b10a3/esphome/nspanel_esphome_core.yaml:25]
  - 
    Could not find components folder for source. Please check the source contains a 'components' or 'esphome/components' folder.
    source: 
      type: git
      url: https://github.com/Blackymas/NSPanel_HA_Blueprint
      ref: v4.3.7
    components: 
      - nspanel_ha_blueprint
    refresh: 300s
  - source: 
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: nextion-v435
    components: 
      - nextion
      - psram
    refresh: 300s
  - source: 
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: esp32ble-01
    components: 
      - esp32_ble_tracker
    refresh: 300s
  - source: 
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: adc-sampling
    components: 
      - adc
    refresh: 300s

I suspect it has something to do with my DNS settings.

substitutions:

###### CHANGE ME START ######

  device_name: "nspanel" 
  friendly_name: "NSPanel-Flur-Unten"
  wifi_ssid: "xxxxxx"
  wifi_password: !secret wifi_password

  nextion_update_url: "http://192.168.0.161:8123/local/nspanel_eu.tft" # URL to local tft File
#  nextion_update_url: "http://192.168.0.161:8123/local/nspanel_blank.tft" # URL to Blank Screen
#  nextion_update_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel_eu.tft" # URL to Github

##### CHANGE ME END #####


# Customization area
##### My customization - Start #####

# Set IP address manually
wifi:
  networks:
    - id: !extend wifi_default
      manual_ip:
        static_ip: 192.168.0.199
        gateway: 192.168.0.240
        subnet: 255.255.255.0
        dns1: 192.168.0.240
##### My customization - End #####



##### DO NOT CHANGE ANYTHING! #####

packages:
  ##### download esphome code from Github
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml # Basic package
      #- esphome/nspanel_esphome_addon_bluetooth_proxy.yaml # Bluetooth Proxy add-on package
    refresh: 300s
##### DO NOT CHANGE ANYTHING! #####

##### Temporary code #####
#external_components:
#  - source: github://pr#5829
#    components:
#      - nextion
#    refresh: 1s

Steps to Reproduce

I just wanted to install the latest esphome update.
Before, it always worked without any problems.

Your Panel's YAML

substitutions:

###### CHANGE ME START ######

  device_name: "nspanel" 
  friendly_name: "NSPanel-Flur-Unten"
  wifi_ssid: "xxxxxx"
  wifi_password: !secret wifi_password

  nextion_update_url: "http://192.168.0.161:8123/local/nspanel_eu.tft" # URL to local tft File
#  nextion_update_url: "http://192.168.0.161:8123/local/nspanel_blank.tft" # URL to Blank Screen
#  nextion_update_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel_eu.tft" # URL to Github

##### CHANGE ME END #####


# Customization area
##### My customization - Start #####

# Set IP address manually
wifi:
  networks:
    - id: !extend wifi_default
      manual_ip:
        static_ip: 192.168.0.199
        gateway: 192.168.0.240
        subnet: 255.255.255.0
        dns1: 192.168.0.240
##### My customization - End #####



##### DO NOT CHANGE ANYTHING! #####

packages:
  ##### download esphome code from Github
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml # Basic package
      #- esphome/nspanel_esphome_addon_bluetooth_proxy.yaml # Bluetooth Proxy add-on package
    refresh: 300s
##### DO NOT CHANGE ANYTHING! #####

##### Temporary code #####
#external_components:
#  - source: github://pr#5829
#    components:
#      - nextion
#    refresh: 1s

ESPHome Logs

INFO ESPHome 2024.5.0
INFO Reading configuration /config/esphome/nspanel.yaml...
Failed config

external_components: [source /data/packages/566b10a3/esphome/nspanel_esphome_core.yaml:25]
  - 
    Could not find components folder for source. Please check the source contains a 'components' or 'esphome/components' folder.
    source: 
      type: git
      url: https://github.com/Blackymas/NSPanel_HA_Blueprint
      ref: v4.3.7
    components: 
      - nspanel_ha_blueprint
    refresh: 300s
  - source: 
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: nextion-v435
    components: 
      - nextion
      - psram
    refresh: 300s
  - source: 
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: esp32ble-01
    components: 
      - esp32_ble_tracker
    refresh: 300s
  - source: 
      type: git
      url: https://github.com/edwardtfn/esphome
      ref: adc-sampling
    components: 
      - adc
    refresh: 300s

Home Assistant Logs

No response

@Lice2 Lice2 added the Bug Identifies an issue where the system is not functioning as expected. label May 17, 2024
@Lice2 Lice2 changed the title Bug Esphome firmware update doesn't work. Bug Esphome 2024.5.0 firmware update doesn't work. May 17, 2024
@edwardtfn
Copy link
Collaborator

@Lice2
Copy link
Author

Lice2 commented May 18, 2024

Yes.
Same Problem.
clean-nspanel

@Lice2
Copy link
Author

Lice2 commented May 18, 2024

Now it works. I restarted Home Assistant.
maybe that was it.
clean-nspanel-done

The firmware update now works too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Identifies an issue where the system is not functioning as expected.
Projects
None yet
Development

No branches or pull requests

2 participants