esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
291 stars 34 forks source link

This board is unknown: heltec_wifi_kit_32_v3 #4365

Open Travis90x opened 1 year ago

Travis90x commented 1 year ago

The problem

I can't compile with ESP home or ESP home (dev) using this board: heltec_wifi_kit_32_v3

https://github.com/platformio/platformio-docs/blob/develop/boards/espressif32/heltec_wifi_kit_32_V3.rst https://docs.platformio.org/en/latest/boards/espressif32/heltec_wifi_kit_32_V3.html#debugging https://heltec.org/project/wifi-kit-32-v3/

It compile with v2 or with ArduinoIDE.

Which version of ESPHome has the issue?

2023.3.2

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

2023.3.5

What platform are you using?

ESP32

Board

heltec_wifi_kit_32_v3

Component causing the issue

platformIO

Example YAML snippet

esphome:
  name: esp32
  friendly_name: esp32

esp32:
  board: heltec_wifi_kit_32_V3
  framework:
    type: arduino

##############################################

esphome:
  name: heltec
  friendly_name: HELTEC

esp32:
  board: heltec_wifi_kit_32_V3
  variant: ESP32S3
  framework:
    type: arduino

Anything in the logs that might be useful for us?

INFO Reading configuration /config/esphome/esp32.yaml...
Failed config

esp32: [source /config/esphome/esp32.yaml:6]

  This board is unknown, please set the variant manually.
  board: heltec_wifi_kit_32_V3
  framework: 
    type: arduino

########################################################

INFO Reading configuration /config/esphome/heltec.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing heltec (board: heltec_wifi_kit_32_v3; framework: arduino; platform: platformio/espressif32 @ 5.2.0)
--------------------------------------------------------------------------------
Error: Unknown board ID 'heltec_wifi_kit_32_V3'

Additional information

No response

PaulSchulz commented 1 year ago

I have been able to compile for my Heltec Wifi LoRa 32 V3 board by using 'board: esp32-s3-devkitc-1'

I have a possible configuration for my board which I am trying to test, and shoud be able to do something similar for heltec_wifi_kit_32_v3

ssieb commented 1 year ago

That board will become available when esphome bumps the platformio version that is used.

PaulSchulz commented 1 year ago

I have found that following will at least compile:

esp32:
  board: heltec_wifi_kit_32_V3
  variant: esp32s3
  framework:
    type: arduino
    version: 2.0.9
    platform_version: 6.3.0
Travis90x commented 1 year ago

I have found that following will at least compile:

esp32:
  board: heltec_wifi_kit_32_V3
  variant: esp32s3
  framework:
    type: arduino
    version: 2.0.9
    platform_version: 6.3.0

Successfully created esp32s3 image. By default it use platform: platformio/espressif32 @ 5.3.0

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

PaulSchulz commented 8 months ago

The board still needs to be added to esphome (or platformio).

On Sat, 7 Oct 2023, 12:01 github-actions[bot], @.***> wrote:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

— Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/4365#issuecomment-1751547408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVLAPL3NJNQM2I3G7EFUTX6CWF5AVCNFSM6AAAAAAWJY645KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGU2DONBQHA . You are receiving this because you commented.Message ID: @.***>

bwims commented 4 months ago

As of 9 Feb 2024 I still had to use the trick above to get my board recognised. Who is responsible for updating the platformio default? Can't this be assigned to that person?

ssieb commented 4 months ago

Changing the platformio version involves a lot. It will happen eventually. But there shouldn't be any reason that you have to use that board definition. Use another compatible one.

bwims commented 4 months ago

Changing the platformio version involves a lot. It will happen eventually. But there shouldn't be any reason that you have to use that board definition. Use another compatible one.

A nice idea, but how do I find a compatible board with the correct pin assignments?

I need

SDA GPIO17 SCL GPIO18 Reset GPIO16

Does such a board exist?

It might be that there are peculiarities about this board. It has 2 buses each for i2c and SPI. I don't pretend to understand the ramifications, but when I used the same pin assignments with board: esp32-s3-devkitc-1 the bus interrogation found no devices.

ssieb commented 4 months ago

It's an S3. They're all the same for gpios. Come ask on discord if you need help configuring it.

Travis90x commented 1 month ago

Changing the platformio version involves a lot. It will happen eventually. But there shouldn't be any reason that you have to use that board definition. Use another compatible one.

A nice idea, but how do I find a compatible board with the correct pin assignments?

I need

SDA GPIO17 SCL GPIO18 Reset GPIO16

Does such a board exist?

It might be that there are peculiarities about this board. It has 2 buses each for i2c and SPI. I don't pretend to understand the ramifications, but when I used the same pin assignments with board: esp32-s3-devkitc-1 the bus interrogation found no devices.

This is my firmware https://github.com/Travis90x/supervised-installer/blob/main/automation/heltec_wifi_kit_32_v3_ESPHome_firmware.yaml

bwims commented 1 month ago

Changing the platformio version involves a lot. It will happen eventually. But there shouldn't be any reason that you have to use that board definition. Use another compatible one.

A nice idea, but how do I find a compatible board with the correct pin assignments? I need SDA GPIO17 SCL GPIO18 Reset GPIO16 Does such a board exist? It might be that there are peculiarities about this board. It has 2 buses each for i2c and SPI. I don't pretend to understand the ramifications, but when I used the same pin assignments with board: esp32-s3-devkitc-1 the bus interrogation found no devices.

This is my firmware https://github.com/Travis90x/supervised-installer/blob/main/automation/heltec_wifi_kit_32_v3_ESPHome_firmware.yaml

Many thanks! I'll give it a go!