Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brink bypass ino fails to compile #7

Open
crazypaddo opened this issue Jun 30, 2023 · 9 comments
Open

brink bypass ino fails to compile #7

crazypaddo opened this issue Jun 30, 2023 · 9 comments

Comments

@crazypaddo
Copy link

hello i tryed to use your version off the brink wtw to mqtt, but the version with bypass fails to compile in arduino?
i already got it working with the other version you modified and would like to see the tps info.
thank you for your time and effort regards marco

c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenThermC2Eiib': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:19: multiple definition of _ZN9OpenThermC2Eiib'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:19: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenThermC2Eiib': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:19: multiple definition of _ZN9OpenThermC1Eiib'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:19: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm7isReadyEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:43: multiple definition of _ZN9OpenTherm7isReadyEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:43: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm9readStateEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:47: multiple definition of _ZN9OpenTherm9readStateEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:47: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14setActiveStateEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:51: multiple definition of _ZN9OpenTherm14setActiveStateEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:51: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm12setIdleStateEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:55: multiple definition of _ZN9OpenTherm12setIdleStateEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:55: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14activateBoilerEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:58: multiple definition of _ZN9OpenTherm14activateBoilerEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:58: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm5beginEPFvvEPFvm23OpenThermResponseStatusE': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:24: multiple definition of _ZN9OpenTherm5beginEPFvvEPFvm23OpenThermResponseStatusE'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:24: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm5beginEPFvvE': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:37: multiple definition of _ZN9OpenTherm5beginEPFvvE'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:37: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm7sendBitEb': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:63: multiple definition of _ZN9OpenTherm7sendBitEb'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:63: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm15sendRequestAyncEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:71: multiple definition of _ZN9OpenTherm15sendRequestAyncEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:71: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm12sendResponseEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:107: multiple definition of _ZN9OpenTherm12sendResponseEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:107: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm21getLastResponseStatusEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:124: multiple definition of _ZN9OpenTherm21getLastResponseStatusEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:124: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm15handleInterruptEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:128: multiple definition of _ZN9OpenTherm15handleInterruptEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:128: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm6parityEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:215: multiple definition of _ZN9OpenTherm6parityEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:215: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14getMessageTypeEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:228: multiple definition of _ZN9OpenTherm14getMessageTypeEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:228: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm9getDataIDEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:233: multiple definition of _ZN9OpenTherm9getDataIDEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:233: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm12buildRequestE20OpenThermMessageType18OpenThermMessageIDj': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:236: multiple definition of _ZN9OpenTherm12buildRequestE20OpenThermMessageType18OpenThermMessageIDj'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:236: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm13buildResponseE20OpenThermMessageType18OpenThermMessageIDj': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:250: multiple definition of _ZN9OpenTherm13buildResponseE20OpenThermMessageType18OpenThermMessageIDj'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:250: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm15isValidResponseEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:256: multiple definition of _ZN9OpenTherm15isValidResponseEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:256: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14isValidRequestEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:263: multiple definition of _ZN9OpenTherm14isValidRequestEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:263: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm7processEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:177: multiple definition of _ZN9OpenTherm7processEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:177: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm11sendRequestEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:97: multiple definition of _ZN9OpenTherm11sendRequestEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:97: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm3endEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:269: multiple definition of _ZN9OpenTherm3endEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:269: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14statusToStringE23OpenThermResponseStatus': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:276: multiple definition of _ZN9OpenTherm14statusToStringE23OpenThermResponseStatus'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:276: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm19messageTypeToStringE20OpenThermMessageType': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:287: multiple definition of _ZN9OpenTherm19messageTypeToStringE20OpenThermMessageType'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:287: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm27buildSetBoilerStatusRequestEbbbbb': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:303: multiple definition of _ZN9OpenTherm27buildSetBoilerStatusRequestEbbbbb'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:303: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm32buildGetBoilerTemperatureRequestEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:315: multiple definition of _ZN9OpenTherm32buildGetBoilerTemperatureRequestEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:315: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm7isFaultEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:321: multiple definition of _ZN9OpenTherm7isFaultEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:321: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm22isCentralHeatingActiveEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:325: multiple definition of _ZN9OpenTherm22isCentralHeatingActiveEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:325: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm16isHotWaterActiveEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:329: multiple definition of _ZN9OpenTherm16isHotWaterActiveEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:329: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm9isFlameOnEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:333: multiple definition of _ZN9OpenTherm9isFlameOnEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:333: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm15isCoolingActiveEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:337: multiple definition of _ZN9OpenTherm15isCoolingActiveEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:337: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm12isDiagnosticEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:341: multiple definition of _ZN9OpenTherm12isDiagnosticEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:341: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZNK9OpenTherm7getUIntEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:346: multiple definition of _ZNK9OpenTherm7getUIntEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:346: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZNK9OpenTherm5getU8Em': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:352: multiple definition of _ZNK9OpenTherm5getU8Em'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:352: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZNK9OpenTherm8getFloatEm': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:355: multiple definition of _ZNK9OpenTherm8getFloatEm'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:355: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm17temperatureToDataEf': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:361: multiple definition of _ZN9OpenTherm17temperatureToDataEf'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:361: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm32buildSetBoilerTemperatureRequestEf': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:309: multiple definition of _ZN9OpenTherm32buildSetBoilerTemperatureRequestEf'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:309: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm15setBoilerStatusEbbbbb': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:370: multiple definition of _ZN9OpenTherm15setBoilerStatusEbbbbb'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:370: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm20setBoilerTemperatureEf': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:374: multiple definition of _ZN9OpenTherm20setBoilerTemperatureEf'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:374: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm20getBoilerTemperatureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:379: multiple definition of _ZN9OpenTherm20getBoilerTemperatureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:379: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm20getReturnTemperatureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:385: multiple definition of _ZN9OpenTherm20getReturnTemperatureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:385: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14setDHWSetpointEf': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:389: multiple definition of _ZN9OpenTherm14setDHWSetpointEf'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:389: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm17getDHWTemperatureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:396: multiple definition of _ZN9OpenTherm17getDHWTemperatureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:396: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm13getModulationEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:402: multiple definition of _ZN9OpenTherm13getModulationEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:402: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm11getPressureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:407: multiple definition of _ZN9OpenTherm11getPressureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:407: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm8getFaultEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:412: multiple definition of _ZN9OpenTherm8getFaultEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:412: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm11getBrinkTSPE13BrinkTSPindex': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:417: multiple definition of _ZN9OpenTherm11getBrinkTSPE13BrinkTSPindex'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:417: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm11setBrinkTSPE13BrinkTSPindexh': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:425: multiple definition of _ZN9OpenTherm11setBrinkTSPE13BrinkTSPindexh'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:425: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm12getBrink2TSPE13BrinkTSPindex': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:437: multiple definition of _ZN9OpenTherm12getBrink2TSPE13BrinkTSPindex'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:437: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm12setBrink2TSPE13BrinkTSPindext': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:452: multiple definition of _ZN9OpenTherm12setBrink2TSPE13BrinkTSPindext'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:452: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm10getVentRPME18OpenThermMessageID': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:480: multiple definition of _ZN9OpenTherm10getVentRPME18OpenThermMessageID'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:480: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm16getVentFaultCodeEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:488: multiple definition of _ZN9OpenTherm16getVentFaultCodeEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:488: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14getVentilationEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:494: multiple definition of _ZN9OpenTherm14getVentilationEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:494: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm14setVentilationEj': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:503: multiple definition of _ZN9OpenTherm14setVentilationEj'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:503: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm26getVentSupplyInTemperatureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:516: multiple definition of _ZN9OpenTherm26getVentSupplyInTemperatureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:516: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm27getVentSupplyOutTemperatureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:521: multiple definition of _ZN9OpenTherm27getVentSupplyOutTemperatureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:521: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm27getVentExhaustInTemperatureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:526: multiple definition of _ZN9OpenTherm27getVentExhaustInTemperatureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:526: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm28getVentExhaustOutTemperatureEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:532: multiple definition of _ZN9OpenTherm28getVentExhaustOutTemperatureEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:532: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm18getFaultIndicationEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:537: multiple definition of _ZN9OpenTherm18getFaultIndicationEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:537: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm18getVentilationModeEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:542: multiple definition of _ZN9OpenTherm18getVentilationModeEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:542: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm15getBypassStatusEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:547: multiple definition of _ZN9OpenTherm15getBypassStatusEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:547: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm24getBypassAutomaticStatusEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:552: multiple definition of _ZN9OpenTherm24getBypassAutomaticStatusEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:552: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm23getDiagnosticIndicationEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:557: multiple definition of _ZN9OpenTherm23getDiagnosticIndicationEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:557: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm17getBypassPositionEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:563: multiple definition of _ZN9OpenTherm17getBypassPositionEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:563: first defined here
c:/users/genms/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\libraries\OpenTherm_Library\OpenTherm.cpp.o: in function _ZN9OpenTherm13getBypassModeEv': E:\genms\Documents\Arduino\libraries\OpenTherm_Library\src/OpenTherm.cpp:568: multiple definition of _ZN9OpenTherm13getBypassModeEv'; E:\AppData\Local\Temp\arduino\sketches\5B29A746A9A20F79891C22DD0347BC4D\sketch\OpenTherm.cpp.o:E:\genms\Documents\Arduino\Brink_HR_bypass/OpenTherm.cpp:568: first defined here
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

@raf1000
Copy link
Owner

raf1000 commented Jul 10, 2023

Hello, this error can be produced if in addtion to "OpenTherm.cpp" file you have another "???.cpp" file in your ..libraries\OpenTherm_Library\

@crazypaddo
Copy link
Author

crazypaddo commented Jul 10, 2023 via email

@crazypaddo
Copy link
Author

Hi sir, you where right about the double file in the library folder opentherm.
Thank you.
But now the unit is constantly turning off and on again?
How should i adjust the speed off the fans?
As soon as i modify the speed off the fans the unit goes crazy.
Opentherm values are al over the place.
I use homeassistant maybee i did someting wrong, but with the old version it worked perfect.
I also have a bypass that i modified to use servos to open en close the 2 bypass valves and use the relay output from the wtw to tell the esp the bypass should open ore close.
Because brink refused to deliver me the parts needed to fix this piece of crap from brink.
Thanks again for your time and effort
Regards marco

@yorikq
Copy link

yorikq commented Sep 11, 2023

Hi!
I have a another problem with verify program.
Here is the debug code:
`/Users/kamil/Desktop/OpenTherm - Arduino/Brink_HR_bypass2/Brink_HR_bypass2.ino: In function 'void setup()':
/Users/kamil/Desktop/OpenTherm - Arduino/Brink_HR_bypass2/Brink_HR_bypass2.ino:133:14: warning: 'void handleInterrupt()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
133 | ot.begin(handleInterrupt);
| ^~~~~~~~~~~~~~~
/Users/kamil/Desktop/OpenTherm - Arduino/Brink_HR_bypass2/Brink_HR_bypass2.ino:56:22: note: declared here
56 | void ICACHE_RAM_ATTR handleInterrupt() {
| ^~~~~~~~~~~~~~~
/Users/kamil/Desktop/OpenTherm - Arduino/Brink_HR_bypass2/Brink_HR_bypass2.ino:133:29: warning: 'void handleInterrupt()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
133 | ot.begin(handleInterrupt);
| ^
/Users/kamil/Desktop/OpenTherm - Arduino/Brink_HR_bypass2/Brink_HR_bypass2.ino:56:22: note: declared here
56 | void ICACHE_RAM_ATTR handleInterrupt() {
| ^~~~~~~~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp: In member function 'bool OpenTherm::sendRequestAync(long unsigned int)':
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:74:29: warning: 'bool OpenTherm::isReady()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
74 | const bool ready = isReady();
| ^
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:41:22: note: declared here
41 | bool ICACHE_RAM_ATTR OpenTherm::isReady()
| ^~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp: In member function 'long unsigned int OpenTherm::sendRequest(long unsigned int)':
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:99:18: warning: 'bool OpenTherm::isReady()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
99 | while (!isReady()) {
| ^
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:41:22: note: declared here
41 | bool ICACHE_RAM_ATTR OpenTherm::isReady()
| ^~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp: In member function 'void OpenTherm::handleInterrupt()':
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:129:14: warning: 'bool OpenTherm::isReady()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
129 | if (isReady())
| ^
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:41:22: note: declared here
41 | bool ICACHE_RAM_ATTR OpenTherm::isReady()
| ^~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:131:28: warning: 'int OpenTherm::readState()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
131 | if (isSlave && readState() == HIGH) {
| ^
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:46:21: note: declared here
46 | int ICACHE_RAM_ATTR OpenTherm::readState() {
| ^~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:141:17: warning: 'int OpenTherm::readState()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
141 | if (readState() == HIGH) {
| ^
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:46:21: note: declared here
46 | int ICACHE_RAM_ATTR OpenTherm::readState() {
| ^~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:151:54: warning: 'int OpenTherm::readState()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
151 | if ((newTs - responseTimestamp < 750) && readState() == LOW) {
| ^
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:46:21: note: declared here
46 | int ICACHE_RAM_ATTR OpenTherm::readState() {
| ^~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:164:45: warning: 'int OpenTherm::readState()' is deprecated: Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM [-Wdeprecated-declarations]
164 | response = (response << 1) | !readState();
| ^
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:46:21: note: declared here
46 | int ICACHE_RAM_ATTR OpenTherm::readState() {
| ^~~~~~~~~
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp: In member function 'bool OpenTherm::setBrink2TSP(BrinkTSPindex, uint16_t)':
/Users/kamil/Documents/Arduino/libraries/OpenTherm/OpenTherm.cpp:477:1: error: control reaches end of non-void function [-Werror=return-type]
477 | }
| ^
cc1plus: some warnings being treated as errors

exit status 1

Compilation error: exit status 1`

I need help with it.
Thanks!

@yorikq
Copy link

yorikq commented Sep 11, 2023

I found solution:
I function bool OpenTherm::setBrink2TSP(BrinkTSPindex first_index, uint16_t value) need to change if to else if and add else with return 0;

Here is correct function:
bool OpenTherm::setBrink2TSP(BrinkTSPindex first_index, uint16_t value) {

	if (first_index > 4 || first_index < 0) return 0;
	if (value < 0) value = 0;
	if (value > 400) value = 400;

	if (value <= 255) 
{
		unsigned int TSPdata = value;
		TSPdata |= (unsigned int)first_index << 8;
 	unsigned long response =  sendRequest(buildRequest(OpenThermRequestType::WRITE_DATA, OpenThermMessageID::VentTSPEntry, TSPdata) );
		return isValidResponse(response);
} else if (value > 255)
{
	unsigned int TSPdata = value - 256;
		TSPdata |= (unsigned int)first_index << 8;
	unsigned long response1 =  sendRequest(buildRequest(OpenThermRequestType::WRITE_DATA, OpenThermMessageID::VentTSPEntry, TSPdata) );
	delay(200);
	TSPdata = 1;
		TSPdata |= ((unsigned int)first_index + 1) << 8;
	unsigned long response2 =  sendRequest(buildRequest(OpenThermRequestType::WRITE_DATA, OpenThermMessageID::VentTSPEntry, TSPdata) );
		return ( isValidResponse(response1) && isValidResponse(response2) );
} else {
	return 0;
}

}

@raf1000
Copy link
Owner

raf1000 commented Sep 17, 2023

Hi,
The error description seems strigthforward and easy to correct: "Use IRAM_ATTR in place of ICACHE_RAM_ATTR to move functions into IRAM"
When I have elaborated the code a few years ago ICACHE_RAM_ATTR was included in the Opetherm Libray. I am using sill the old libray (as well as Old Arduino IDE) and and I do not have such an error. My understadning is that you have new opetherm library or/end recent Arduino IDE?

Regarding the proposed code correction I think that it does not change anything and the last condition will not be fullfiiled unless value is not a number...

if (value <=255 )
{
return;
}
else if (value > 255)
{
return;
}
else // this condition will not be checked as previous conditions covrs all possible cases and have returns
return;

PS it would be good to create a separte issue as I am confused if you are answering your issue or issue of another person

@crazypaddo
Copy link
Author

hello raf,
i think i found the cause off some problems i had, first a bad solder joint on the power supply pcb i made, second i used the wrong board in arduino ide. i found out because i tryed to use servos to move the bypass valves, but that dint work untill i changed the board definitions in arduino.
but i would like to ask how to use the hwcp? when i publisch brink/HWCP/set 1 nothing seem to happen?
i want to create a topic to test the motion off the servos to open and close the bypass to test the servos if they work correct before i mount everything back in the housing.
regards marco

@raf1000
Copy link
Owner

raf1000 commented Sep 19, 2023

In OpenHAB you have the following definition:

  • id: hw_circulation_pump
    channelTypeUID: mqtt:switch
    label: Hot Water circulation pump
    description: ""
    configuration:
    commandTopic: brink/HWCP/set
    retained: false
    qos: 0
    stateTopic: brink/HWCP/get
    off: "0"
    on: "1"

hence, you need to use string "1" instead of number 1..
and you need to have connected signal to the HWCPin = 14 in Wemos D1! This is not a part of Master OpenTherm Shield.

@crazypaddo
Copy link
Author

hi again thank you for your responce, i understand its not part off opentherm shield.
i dont know but there is something strange going on.
and i dont know if it is the code ore something else, but got me puzzled.
i dont seem to get the payload from brink/HWCP/set "1".
i looked up the pubsubclient and opened the example code mqtt_esp8266 to see if that would work on my hardware.
i modified it for my hardware.
that code is almost the same but with out opentherm and no arduino ota code implemented.
when i upload that code and publisch a message to inTopic i see the message been print in the serial terminal. when i run your example i see subscribed to brink/+/set ? i dont understand that because thats the inTopic used in the example the comes with pubsubclient. that does work. scratching my bold head.
so how does the code know to listen to brink/HWCP/set ? i clearly dont understant exactly how i should handle the callback. regards marco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants