Coder Social home page Coder Social logo

Comments (5)

jdrozdnovak avatar jdrozdnovak commented on June 26, 2024

I tried as well, without any issues.
Just make sure you included the UART and sensor part in the config and the .h file is uploaded to the esphome folder

from esphome-p1reader.

Anteus avatar Anteus commented on June 26, 2024

From Home Assistant running on a Pi or other arm linux? Running 64 kernel and 32 userland might be a factor as well.

from esphome-p1reader.

jdrozdnovak avatar jdrozdnovak commented on June 26, 2024

@Anteus that's a good point. I am on x86.

from esphome-p1reader.

Anteus avatar Anteus commented on June 26, 2024

Got better error message on 2021.10.0 seems to be missing package for aarch64.

Warning! Could not find the package with 'Update' requirements for your system 'linux_aarch64'

Full:
`INFO Reading configuration /config/esphome/p1reader.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esp-p1reader (board: nodemcu; framework: arduino; platform: platformio/espressif8266 @ 2.6.2)

HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:

  • framework-arduinoespressif8266 3.20704.0 (2.7.4)
  • tool-esptool 1.413.0 (4.13)
  • tool-esptoolpy 1.20800.0 (2.8.0)
  • toolchain-xtensa 2.40802.200502 (4.8.2)
    Library Manager: Installing Update
    Warning! Could not find the package with 'Update' requirements for your system 'linux_aarch64'
    Dependency Graph
    |-- 1.2.3
    | |-- 1.0
    |-- 1.3.0
    | |-- 1.2.3
    | | |-- 1.0
    | |-- 1.0
    | |-- 1.0
    |-- 1.0
    |-- 1.2
    | |-- 1.0
    |-- 0.1.3
    | |-- 1.10018.1
    |-- 1.1.1
    | |-- 1.0
    Compiling /data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_connection.cpp.o
    sh: 1: xtensa-lx106-elf-g++: not found
    Compiling /data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_frame_helper.cpp.o
    sh: 1: xtensa-lx106-elf-g++: not found
    Compiling /data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_pb2.cpp.o
    sh: 1: xtensa-lx106-elf-g++: not found
    *** [/data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_connection.cpp.o] Error 127
    Compiling /data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_pb2_service.cpp.o
    *** [/data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_frame_helper.cpp.o] Error 127
    *** [/data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_pb2.cpp.o] Error 127
    sh: 1: xtensa-lx106-elf-g++: not found
    *** [/data/esp-p1reader/.pioenvs/esp-p1reader/src/esphome/components/api/api_pb2_service.cpp.o] Error 127
    ========================== [FAILED] Took 3.27 seconds ==========================`

from esphome-p1reader.

Anteus avatar Anteus commented on June 26, 2024

Run esphome locally from the terminal if using multiarch with 64 kernel and 32 userland.

To compile:
setarch arm esphome compile p1reader.yaml

from esphome-p1reader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.