Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-M16v2 configure yaml for ESPhome
Hello can you help me with these errors:  
INFO Compiling app...
Processing 1n-energija (board: esp32dev; framework: arduino; platform: https://github.com/pioarduino/platform-e...ssif32.zip)
--------------------------------------------------------------------------------
INFO Package configuration completed successfully
INFO Package configuration completed successfully
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-arduinoespressif32 @ 3.2.1
- framework-arduinoespressif32-libs @ 5.4.0+sha.858a988d6e
- tool-esptoolpy @ 5.0.2
- tool-mklittlefs @ 3.2.0
- toolchain-xtensa-esp-elf @ 14.2.0+20241119
Dependency Graph
|-- Networking @ 3.2.1
|-- AsyncTCP @ 3.4.5
|-- WiFi @ 3.2.1
|-- FS @ 3.2.1
|-- Update @ 3.2.1
|-- ESPAsyncWebServer @ 3.7.10
|-- ESPmDNS @ 3.2.1
|-- noise-c @ 0.1.10
|-- Wire @ 3.2.1
|-- ArduinoJson @ 7.4.2
Compiling .pioenvs/1n-energija/src/ZMPT101B.cpp.o
Compiling .pioenvs/1n-energija/src/esphome/components/display/display_buffer.cpp.o
Compiling .pioenvs/1n-energija/src/esphome/components/display/rect.cpp.o
Compiling .pioenvs/1n-energija/src/esphome/components/esp32/core.cpp.o
src/ZMPT101B.cpp:9:6: error: redefinition of 'void esphome::zmpt101b::ZMPT101BSensor:Confusedetup()'
    9 | void ZMPT101BSensor:Confusedetup() {
      |      ^~~~~~~~~~~~~~
In file included from src/ZMPT101B.cpp:1:
src/zmpt101b_custom_sensor.h:23:8: note: 'virtual void esphome::zmpt101b::ZMPT101BSensor:Confusedetup()' previously defined here
  23 |  void setup() override {
      |        ^~~~~
src/ZMPT101B.cpp:14:6: error: redefinition of 'void esphome::zmpt101b::ZMPT101BSensor::update()'
  14 | void ZMPT101BSensor::update() {
      |      ^~~~~~~~~~~~~~
src/zmpt101b_custom_sensor.h:28:8: note: 'virtual void esphome::zmpt101b::ZMPT101BSensor::update()' previously defined here
  28 |  void update() override {
      |        ^~~~~~
*** [.pioenvs/1n-energija/src/ZMPT101B.cpp.o] Error 1
========================= [FAILED] Took 26.30 seconds =========================
Reply


Messages In This Thread
KC868-M16v2 configure yaml for ESPhome - by admin - 07-18-2023, 01:33 PM
RE: KC868-M16v2 configure yaml for ESPhome - by Savged - 09-05-2025, 01:08 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)