Skip to content

Viessmann Optolink ESPHome #153

Description

@CajonCP4

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions