Hi, I don't know exactly where to post my issue, but maybe this is the right place. My goal is to read the switching times.
In the documentation "https://deploy-preview-2737--esphome.netlify.app/components/optolink.html" it says to implement like this:
text_sensor:
- platform: optolink
name: Heating schedule Monday
type: DAY_SCHEDULE
day_of_week: MONDAY
address: 0x2000
bytes: 56
but I receive this as an error
"/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/esphome/components/api/api_connection.cpp.o:(.literal._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x4): undefined reference to _ZN7esphome4text8TextCall9set_valueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' /data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/esphome/components/api/api_connection.cpp.o:(.literal._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x8): undefined reference to _ZN7esphome4text8TextCall7performEv'
/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/esphome/components/api/api_connection.cpp.o: in function _ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE': /data/build/heizungssteuerung/src/esphome/components/api/api_connection.cpp:866:(.text._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x4b): undefined reference to _ZN7esphome4text8TextCall9set_valueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE'
/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /data/build/heizungssteuerung/src/esphome/components/api/api_connection.cpp:867:(.text._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x53): undefined reference to _ZN7esphome4text8TextCall7performEv' /data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/main.cpp.o:(.literal._Z5setupv+0x1050): undefined reference to _ZTVN7esphome8optolink12OptolinkTextE'
/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/main.cpp.o:(.literal._Z5setupv+0x1054): undefined reference to `_ZTVN7esphome8optolink12OptolinkTextE'
collect2: error: ld returned 1 exit status
*** [.pioenvs/heizungssteuerung/firmware.elf] Error 1
========================= [FAILED] Took 19.34 seconds =========================" I tried the normal text component as well:
text:
- platform: optolink
name: Heating schedule Monday
type: DAY_SCHEDULE
day_of_week: MONDAY
address: 0x2000
bytes: 56
mod: TEXT
and I tried to put " whereever strings where needed, but no success. Thanks for helping! And big thanks for the time that has already been given to the project.
Hi, I don't know exactly where to post my issue, but maybe this is the right place. My goal is to read the switching times.
In the documentation "https://deploy-preview-2737--esphome.netlify.app/components/optolink.html" it says to implement like this:
text_sensor:
name: Heating schedule Monday
type: DAY_SCHEDULE
day_of_week: MONDAY
address: 0x2000
bytes: 56
but I receive this as an error
"/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/esphome/components/api/api_connection.cpp.o:(.literal._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x4): undefined reference to
_ZN7esphome4text8TextCall9set_valueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' /data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/esphome/components/api/api_connection.cpp.o:(.literal._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x8): undefined reference to_ZN7esphome4text8TextCall7performEv'/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/esphome/components/api/api_connection.cpp.o: in function
_ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE': /data/build/heizungssteuerung/src/esphome/components/api/api_connection.cpp:866:(.text._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x4b): undefined reference to_ZN7esphome4text8TextCall9set_valueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE'/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: /data/build/heizungssteuerung/src/esphome/components/api/api_connection.cpp:867:(.text._ZN7esphome3api13APIConnection12text_commandERKNS0_18TextCommandRequestE+0x53): undefined reference to
_ZN7esphome4text8TextCall7performEv' /data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/main.cpp.o:(.literal._Z5setupv+0x1050): undefined reference to_ZTVN7esphome8optolink12OptolinkTextE'/data/cache/platformio/packages/toolchain-xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/14.2.0/../../../../xtensa-esp-elf/bin/ld: .pioenvs/heizungssteuerung/src/main.cpp.o:(.literal._Z5setupv+0x1054): undefined reference to `_ZTVN7esphome8optolink12OptolinkTextE'
collect2: error: ld returned 1 exit status
*** [.pioenvs/heizungssteuerung/firmware.elf] Error 1
========================= [FAILED] Took 19.34 seconds =========================" I tried the normal text component as well:
text:
name: Heating schedule Monday
type: DAY_SCHEDULE
day_of_week: MONDAY
address: 0x2000
bytes: 56
mod: TEXT
and I tried to put " whereever strings where needed, but no success. Thanks for helping! And big thanks for the time that has already been given to the project.