jodur / ESPHOME-ITHO

ESPHOME version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile the image

poudenes opened this issue · comments

Hi,

I can't compile the image to flash my new Wemos D1. I don't know what to do:

ESPHome docker in HA version 2022.11.4

INFO Reading configuration /config/esphome/itho.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing itho (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- SPI @ 1.0
|-- ITHO-Lib @ 0.0.0+20221205095030.sha.4c34c78
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.4
|   |-- libsodium @ 1.10018.1
Compiling /data/itho/.pioenvs/itho/src/main.cpp.o
Compiling /data/itho/.pioenvs/itho/lib67b/ESP8266WiFi/WiFiClientSecureBearSSL.cpp.o
Compiling /data/itho/.pioenvs/itho/lib67b/ESP8266WiFi/WiFiServer.cpp.o
Compiling /data/itho/.pioenvs/itho/lib67b/ESP8266WiFi/WiFiServerSecureBearSSL.cpp.o
Compiling /data/itho/.pioenvs/itho/lib67b/ESP8266WiFi/WiFiUdp.cpp.o
Compiling /data/itho/.pioenvs/itho/lib67b/ESP8266WiFi/enable_wifi_at_boot_time.cpp.o
In file included from /data/itho/.piolibdeps/itho/ITHO-Lib/IthoCC1101.h:10,
                 from src/itho.h:2,
                 from src/main.cpp:40:
/data/itho/.piolibdeps/itho/ITHO-Lib/IthoPacket.h:9:1: warning: 'typedef' was ignored in this declaration
    9 | typedef enum IthoMessageType
      | ^~~~~~~
In file included from src/itho.h:2,
                 from src/main.cpp:40:
/data/itho/.piolibdeps/itho/ITHO-Lib/IthoCC1101.h:62:1: warning: 'typedef' was ignored in this declaration
   62 | typedef enum IthoReceiveStates
      | ^~~~~~~
/config/esphome/itho.yaml: In lambda function:
/config/esphome/itho.yaml:27:10: error: 'class IthoCC1101' has no member named 'setDeviceID'
   27 |           rf.setDeviceID(10,87,81); //ID for sending: 10,87,81 was used in old library
      |          ^~~~~~~~~~~
Compiling /data/itho/.pioenvs/itho/lib3ff/ESP8266mDNS/ESP8266mDNS.cpp.o
*** [/data/itho/.pioenvs/itho/src/main.cpp.o] Error 1
========================= [FAILED] Took 16.24 seconds =========================

Tried it to copy the config without any modifications and I get this now after flashing

[I][logger:258]: Log initialized
[C][ota:469]: There have been 4 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...
[D][switch:013]: 'FanSendLow' Turning ON.

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 3460, room 16 
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4 
tail 4
chksum 0xc9
csum 0xc9
v0007a2f0
~ld
[I][logger:258]: Log initialized
[C][ota:469]: There have been 5 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...
[D][switch:013]: 'FanSendLow' Turning ON.

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 3460, room 16 
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4 
tail 4
chksum 0xc9
csum 0xc9
v0007a2f0
~ld
[I][logger:258]: Log initialized
[C][ota:469]: There have been 6 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...
[D][switch:013]: 'FanSendLow' Turning ON.
commented

@poudenes , so compiling is no longer an issue. It now gets stuck on the "sendlow" command that is issued after boot.
I could be a issue with the ESP WIFI. Are sure the WIFI is connected?
You could remove the "sendlow" from the yaml, that is issued on boot

@poudenes , so compiling is no longer an issue. It now gets stuck on the "sendlow" command that is issued after boot.
I could be a issue with the ESP WIFI. Are sure the WIFI is connected?
You could remove the "sendlow" from the yaml, that is issued on boot

Then this is the result:

I][logger:258]: Log initialized
[C][ota:469]: There have been 3 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...

Did a clear config only with wifi etc. wifi is connected perfectly. So it isn't wifi issue.

Even with a new board (Arduino D1) and all wiring connected its not working.
Used the full original config also without any changed.

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 3460, room 16 
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4 
tail 4
chksum 0xc9
csum 0xc9
v00067530
~ld
[I][logger:258]: Log initialized
[C][ota:469]: There have been 2 suspected unsuccessful boot attempts.
[I][app:029]: Running through setup()...
[D][switch:013]: 'FanSendLow' Turning ON.

Can this error happen because I didn't wire the antenna on it?

commented

Got a friend facing the exact same issues,

Stuck in a bootloop after send low.

Got a friend facing the exact same issues,

Stuck in a bootloop after send low.

Yes and still I didn't solve it myself... It's the only module that runs on espeasy now. Rest is.over on esphome...

Got a friend facing the exact same issues,

Stuck in a bootloop after send low.

Did you solve it with that friend?

No new progress or news :( ? then I will close this issue.... Keep the ITHO running on ESPEasy then