haade-administrator / korvo-esphome

Utilise le micro array espressif esp32-korvo avec esphome et home assistant
https://haade.fr
11 stars 6 forks source link

Pin 0 Error in ESPHome #2

Open Biztactix-Ryan opened 8 months ago

Biztactix-Ryan commented 8 months ago

Trying to install using your documentation using ESPHome, Getting Pin 0 is used multiple times image

haade-administrator commented 8 months ago

what is you're version of esphome give me you're esp32korvo_esphome.yaml of use

Biztactix-Ryan commented 8 months ago

Running ESP Home 2023.12.9 which is apparently the latest. and I just copied and pasted the info from the blog. the Remote Package should just pull directly from your github right?

Copying and pasting in the ESPHome yaml file from the repo I get the following image

My ESPHome Yaml file

substitutions:
  device_name: "voiceassistant1" 
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password
  apikey: "A4oH0Ta3ZhVQ77Csr2o/xysQZzJ4fEy5BwXP3mHCUnA="

packages:
  ##### download esp32-korvo for esphome code from Github
  remote_package:
    url: https://github.com/haade-administrator/korvo-esphome
    ref: main
    files: [esp32korvo_esphome.yaml]
    refresh: 300s
aherbjornsen commented 7 months ago

I can confirm this problem, running ESPHome 2024.2.2

Edit. I assume this changed in 2023.12.0, from the changelog (https://esphome.io/changelog/2023.12.0.html):

Pin Reuse validation

There is a new validation performed on configurations to ensure that pins are not reused unintentionally. This is a common source of issues and generally a pin does not need to be reused across multiple components in a single configuration. Pins should only be reused in a very limited set of circumstances and seeing the error will generally mean that you need to reorganise your configuration to not reuse the pins. The error can be bypassed by specifically adding another config item to all of the duplicate pin definitions. See the Pin Schema for details.

janstadt commented 6 months ago

Is there any progress on this?

haade-administrator commented 6 months ago

it's merged and tested thank you

Biztactix-Ryan commented 6 months ago

Tested... Worked Perfectly... Thanks