pauln / esphome-linp-doorbell-g03

ESPHome custom component for linp-doorbell-g03
MIT License
44 stars 8 forks source link

An error occurred during installation. error: ArduinoQueue.h #34

Open BiznessDronss134 opened 2 weeks ago

BiznessDronss134 commented 2 weeks ago

Good afternoon, there was an error compiling the file 2024-11-06_13-31-00

INFO Reading configuration /config/esphome/linp-doorbell-g03.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing linp-doorbell-g03 (board: esp32doit-devkit-v1; framework: arduino; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Library Manager: Installing ArduinoQueue @ 1.2.3
Warning! Could not find the package with 'ArduinoQueue @ 1.2.3' requirements for your system 'linux_x86_64'
Dependency Graph
|-- AsyncTCP-esphome @ 2.1.4
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- noise-c @ 0.1.6
Compiling .pioenvs/linp-doorbell-g03/src/esphome/components/linp_doorbell/linp_doorbell.cpp.o
Compiling .pioenvs/linp-doorbell-g03/src/esphome/components/logger/logger_esp8266.cpp.o
Compiling .pioenvs/linp-doorbell-g03/src/esphome/components/logger/logger_host.cpp.o
Compiling .pioenvs/linp-doorbell-g03/src/esphome/components/logger/logger_libretiny.cpp.o
Compiling .pioenvs/linp-doorbell-g03/src/esphome/components/logger/logger_rp2040.cpp.o
Compiling .pioenvs/linp-doorbell-g03/src/esphome/components/md5/md5.cpp.o
In file included from src/esphome/components/linp_doorbell/linp_doorbell.cpp:1:
src/esphome/components/linp_doorbell/linp_doorbell.h:6:10: fatal error: ArduinoQueue.h: No such file or directory

**********************************************************************
* Looking for ArduinoQueue.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:ArduinoQueue.h"
* Web  > https://registry.platformio.org/search?q=header:ArduinoQueue.h
*
**********************************************************************

 #include "ArduinoQueue.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs/linp-doorbell-g03/src/esphome/components/linp_doorbell/linp_doorbell.cpp.o] Error 1
========================== [FAILED] Took 3.75 seconds ==========================

My configuration

  name: linp-doorbell-g03
  friendly_name: linp-doorbell-g03

esp32:
  board: esp32doit-devkit-v1
  framework:
    type: arduino

external_components:
  - source: github://pauln/esphome-linp-doorbell-g03@feature/external_components
    components: [ linp_doorbell ]

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "Bh/vOr9ePcHbN0BK9U6oVfYql92n3kpI="

ota:
  - platform: esphome
    password: "2080c2"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  fast_connect: true

  manual_ip:
    # Установите для этого IP-адрес ESP
    static_ip: 192.168.1.34
    # Установите для этого значение IP-адреса маршрутизатора. Часто заканчивается на .1
    gateway: 192.168.1.1
    # Подсеть сети. 255.255.255.0 работает для большинства домашних сетей.
    subnet: 255.255.255.0  
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Linp-Doorbell-G03"
    password: "HZjl9"

captive_portal:
sensor:
  - platform: linp_doorbell
    volume:
      name: "Doorbell volume"
    chime_playing:
      name: "Doorbell playing tune"
#    use_old_service_names: True

if I add

platformio_options:
    platform_packages:
      - framework-arduinoespressif32 @ https://github.com/pauln/arduino-esp32.git#solo-no-mac-crc/1.0.6

I get an error


INFO Reading configuration /config/esphome/doorbels.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing doorbels (board: esp32doit-devkit-v1; framework: arduino; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
Error! Failed to extract upstream toolchainconfigurations:
Bad package version `1.22.0-97-gc752ad5-5.2.0`
You can disable this feature via the `board_build.arduino.upstream_packages = no` setting in your `platformio.ini` file.```
BiznessDronss134 commented 2 weeks ago

pauln can you help?