Open phoenixxie0 opened 1 year ago
The additional log Library Manager: IRremoteESP8266@2.8.4 has been installed! Dependency Graph |-- AsyncTCP-esphome @ 1.2.2 |-- IRremoteESP8266 @ 2.8.4 |-- WiFi @ 2.0.0 |-- FS @ 2.0.0 |-- Update @ 2.0.0 |-- ESPAsyncWebServer-esphome @ 2.1.0 | |-- AsyncTCP-esphome @ 1.2.2 |-- DNSServer @ 2.0.0 |-- ESPmDNS @ 2.0.0 |-- Wire @ 2.0.0 |-- ArduinoJson @ 6.18.5 |-- HeatpumpIR @ 1.0.20 | |-- IRremoteESP8266 @ 2.8.4 |-- IRremoteESP8266 @ 2.7.12
/data/esp-ktyw-dt-1780/.piolibdeps/esp-ktyw-dt-1780/IRremoteESP8266@2.7.12/src/IRrecv.cpp: In member function 'uint32_t IRrecv::ticksLow(uint32_t, uint8_t, uint16_t)': /data/esp-ktyw-dt-1780/.piolibdeps/esp-ktyw-dt-1780/IRremoteESP8266@2.7.12/src/IRrecv.cpp:926:8: error: no matching function for call to 'max(int32_t, int)' 0)); ^
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.
Hi @phoenixxie0 were you able to resolve this?
@ferbulous Nope.
Workaround:
esphome:
name: ir-controller
friendly_name: IR controller
libraries:
# use the git version of a library used by a component
- IRremoteESP8266=https://github.com/predam/IRremoteESP8266.git#v2.8.6
The problem
ESP32-C3 with IRremoteESP8266 problem. We are already aware of the issue that occurs when compiling with the crankyoldgit/IRremoteESP8266 @ 2.7.12 version in ESP32-C3.
/data/esp-ktyw-dt-1780/.piolibdeps/esp-ktyw-dt-1780/IRremoteESP8266/src/IRrecv.cpp: In member function 'uint32_t IRrecv::ticksLow(uint32_t, uint8_t, uint16_t)': /data/esp-ktyw-dt-1780/.piolibdeps/esp-ktyw-dt-1780/IRremoteESP8266/src/IRrecv.cpp:926:8: error: no matching function for call to 'max(int32_t, int)' 0)); ^
But When we set -IRremoteESP8266 @ 2.8.4, it still downloads version 2.7.12 for compilation, as shown below.esphome:
name: esp-ktyw-dt-1780
platformio_options:
board_build.flash_mode: dio
board_build.mcu: esp32c3
libraries:
# use the git version of a library used by a component
- IRremoteESP8266@^2.8.4
Library Manager: Installing crankyoldgit/IRremoteESP8266 @ 2.7.12 INFO Installing crankyoldgit/IRremoteESP8266 @ 2.7.12 Downloading [##----------------------------------] 7% 00:01:23
And build FAILED with the same problem /data/esp-ktyw-dt-1780/.piolibdeps/esp-ktyw-dt-1780/IRremoteESP8266@2.7.12/src/IRrecv.cpp:926:8: error: no matching function for call to 'max(int32_t, int)' 0));
Which version of ESPHome has the issue?
v2023.2.2
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
Home Assistant 2023.2.5
What platform are you using?
ESP32
Board
ESP32-C3
Component causing the issue
IRremoteESP8266
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response