Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus

    This topic has been deleted. Only users with topic management privileges can see it.
    • RaspiUser
      RaspiUser @crycode last edited by

      @crycode sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

      Sind bei beiden die richtigen Remote-IP-Adressen eingetragen?

      .... jein ... die Bit Rate stand auf 500kbit statt auf 20 ...

      Ich Trottel habe meine eigene Anleitung nicht richtig umgesetzt .... 😠 😰 🤒
      Ich war der Meinung (#339), Adapter grün = alles gut ...

      Vielen vielen Dank, dass Du dir die Zeit genommen hast !!!!!!! 👍

      1 Reply Last reply Reply Quote 1
      • Elektroniker86
        Elektroniker86 last edited by

        Guten Abend,

        das setzten der Werte klappt irgendwie nicht mehr. Ich weiß nicht genau seit wann es nicht mehr funktioniert ich ändere nicht ständig die Werte der Anlage.
        Das abfragen funktioniert anscheinend. die Temperaturen passen und der aktuelle Betriebsmodus passt auch. Ich glaube es stimmt nur etwas mit dem setzen nicht. Wollte die Raumtemperatur 1 um 1 Grad erhöhen. Aber die WP bekommt den Wert nicht mit wenn ich es an der Anlage ändere dann bekommt es der Can Adapter mitgeteilt. Hat sich vielleicht was geändert bei nem Update?
        Hier die konfig:

        Screenshot 2024-01-18 192915.png

        Screenshot 2024-01-18 192843.png

        Screenshot 2024-01-18 192934.png

        Ich habe mehrere Datenpunkte ausprobiert, das Setzen funktioniert bei keinem der ausprobierten Datenpunkte.

        Vielen Dank im voraus!

        C crycode 2 Replies Last reply Reply Quote 0
        • C
          cb187 @Elektroniker86 last edited by

          @elektroniker86

          Hat sich was an deinem Setup geändert?
          Zb mal die Rotex zurück gesetzt oder andere Sachen?

          Elektroniker86 1 Reply Last reply Reply Quote 0
          • RaspiUser
            RaspiUser last edited by

            @crycode
            ... ich benötiege (wieder einmal) deinen Sachverstand ...:

            Da mein Raspi Pi (bzgl. Hardware) an seine Grenzen kam bin ich in eine QNAP VM umgezogen.

            • neue IP der VM im Raspi Zero can0 (der an der Wärmepumoe) geändert, sonst ist ja dort nix passiert ...
            • komplette neue Installation gemäß "Anleitung" (incl. IP des Zero und ohne copy&Paste Fehler 🙄 ) auf dem vcan0 in der VM ...
            • der Adapter ist grün, die Befehle candump -tA -x can0 bzw. ...vcan0 zeigen jede Menge Daten, aber es kommt im ioBroker nix an.

            Muss man in einer virtuellen ioBroker Umgebung an der cannelloni-vcan0.service etwas ändern ?!
            Der Status gibt zumindest eine Fehlermeldung aus ... 🤷‍♂️

            iobroker@VM-ioBroker:~$ sudo systemctl status cannelloni-vcan0.service
            ● cannelloni-vcan0.service - Cannelloni for vcan0
                Loaded: loaded (/etc/systemd/system/cannelloni-vcan0.service; enabled; preset: enabled)
                Active: activating (auto-restart) (Result: exit-code) since Fri 2024-01-19 09:37:43 CET; 713ms ago
               Process: 52896 ExecStart=/usr/local/bin/cannelloni -I vcan0 -R 192.168.178.92 (code=exited, status=203/EXEC)
              Main PID: 52896 (code=exited, status=203/EXEC)
                   CPU: 1ms
            
            Jan 19 09:37:43 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
            Jan 19 09:37:43 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
            iobroker@VM-ioBroker:~$ sudo nano /etc/systemd/system/cannelloni-vcan0.service
             GNU nano 7.2                                   /etc/systemd/system/cannelloni-vcan0.service
            [Unit]
            Description=Cannelloni for vcan0
            After=network.target
            Requires=vcan0-setup.service
            
            [Service]
            ExecStart=/usr/local/bin/cannelloni -I vcan0 -R 192.168.178.92
            Environment=LD_LIBRARY_PATH=/usr/local/lib
            Restart=always
            RestartSec=3s
            User=nobody
            Group=nogroup
            
            [Install]
            WantedBy=multi-user.target
            
            

            Wieder ein Flüchtigkeitsfehler ?!

            C crycode 2 Replies Last reply Reply Quote 0
            • C
              cb187 @RaspiUser last edited by

              @raspiuser du tust dir aber auch immer stress an mit diesem Canneloni🤣

              RaspiUser 1 Reply Last reply Reply Quote 0
              • RaspiUser
                RaspiUser @cb187 last edited by

                @cb187 sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

                stress an mit diesem Canneloni

                ... aber ein Kabel zwischen Raspi ud VM wäre noch mehr Stress ... sagt meine Frau ... 😳

                C 1 Reply Last reply Reply Quote 0
                • C
                  cb187 @RaspiUser last edited by

                  @raspiuser ne kein kabel.

                  RaspiUser 1 Reply Last reply Reply Quote 0
                  • RaspiUser
                    RaspiUser @cb187 last edited by

                    @cb187 sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

                    @raspiuser ne kein kabel.

                    ... was meinst Du ?!

                    1 Reply Last reply Reply Quote 0
                    • Elektroniker86
                      Elektroniker86 @cb187 last edited by

                      @cb187

                      Nee die Anlage habe ich jetzt nicht neu gestartet dafür den Rest, was davon abhängt natürlich da ich die Werte aus der Anlage auslesen kann, denke ich liegt es vielleicht an was anderem ......?

                      Adapter sieht nämlich seit dem ich das eingerichtet habe vor knapp 2 Jahren ein bisschen anders aus. Deshalb dachte ich nur.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        cb187 @Elektroniker86 last edited by

                        @elektroniker86

                        Mhm komisch.Also die ids usw sind alles gleich geblieben im Adapter.Habe die auch für mein projekt verwendet.

                        1 Reply Last reply Reply Quote 0
                        • crycode
                          crycode Developer @RaspiUser last edited by

                          @raspiuser sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

                          ... ich benötiege (wieder einmal) deinen Sachverstand ...

                          Scheint als würde der Service nicht starten (können).

                          Schau mal sudo journalctl -u cannelloni-vcan0.service ob er da irgendwelche Fehler meldet.

                          Ansonsten versuch mal per Hand den cannelloni zu starten: cannelloni -I vcan0 -R 192.168.178.92

                          RaspiUser 1 Reply Last reply Reply Quote 1
                          • crycode
                            crycode Developer @Elektroniker86 last edited by

                            @elektroniker86 Am Adapter hat sich seit längerem nichts wirklich geändert. Die Konfiguration wird zudem auch nur aktualisiert, wenn du das aktiv durch z.B. einen erneuten Import anstößt.
                            Eventuell mal wirklich versuchen die Anlage neu zu starten.

                            1 Reply Last reply Reply Quote 0
                            • RaspiUser
                              RaspiUser @crycode last edited by

                              @crycode sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

                              Scheint als würde der Service nicht starten (können).

                              Danke, dass Du Dich kümmerst ...

                              Hier das Resultat beider Befehle:

                              iobroker@VM-ioBroker:~$ sudo journalctl -u cannelloni-vcan0.service
                              Jan 11 14:56:11 VM-ioBroker systemd[1]: [🡕] /etc/systemd/system/cannelloni-vcan0.service:11: Special user nobody configured, this is not safe!
                              Jan 11 14:56:33 VM-ioBroker (nnelloni)[1308]: cannelloni-vcan0.service: Failed to locate executable /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:33 VM-ioBroker systemd[1]: Started cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:33 VM-ioBroker (nnelloni)[1308]: cannelloni-vcan0.service: Failed at step EXEC spawning /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:33 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
                              Jan 11 14:56:33 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
                              Jan 11 14:56:36 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Scheduled restart job, restart counter is at 1.
                              Jan 11 14:56:36 VM-ioBroker systemd[1]: Stopped cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:36 VM-ioBroker systemd[1]: Started cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:36 VM-ioBroker (nnelloni)[1309]: cannelloni-vcan0.service: Failed to locate executable /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:36 VM-ioBroker (nnelloni)[1309]: cannelloni-vcan0.service: Failed at step EXEC spawning /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:36 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
                              Jan 11 14:56:36 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
                              Jan 11 14:56:39 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Scheduled restart job, restart counter is at 2.
                              Jan 11 14:56:39 VM-ioBroker systemd[1]: Stopped cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:40 VM-ioBroker systemd[1]: Started cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:40 VM-ioBroker (nnelloni)[1310]: cannelloni-vcan0.service: Failed to locate executable /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:40 VM-ioBroker (nnelloni)[1310]: cannelloni-vcan0.service: Failed at step EXEC spawning /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:40 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
                              Jan 11 14:56:40 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
                              Jan 11 14:56:43 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Scheduled restart job, restart counter is at 3.
                              Jan 11 14:56:43 VM-ioBroker systemd[1]: Stopped cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:43 VM-ioBroker systemd[1]: Started cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:43 VM-ioBroker (nnelloni)[1315]: cannelloni-vcan0.service: Failed to locate executable /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:43 VM-ioBroker (nnelloni)[1315]: cannelloni-vcan0.service: Failed at step EXEC spawning /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:43 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
                              Jan 11 14:56:43 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
                              Jan 11 14:56:46 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Scheduled restart job, restart counter is at 4.
                              Jan 11 14:56:46 VM-ioBroker systemd[1]: Stopped cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:46 VM-ioBroker systemd[1]: Started cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:46 VM-ioBroker (nnelloni)[1316]: cannelloni-vcan0.service: Failed to locate executable /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:46 VM-ioBroker (nnelloni)[1316]: cannelloni-vcan0.service: Failed at step EXEC spawning /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:46 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
                              Jan 11 14:56:46 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
                              Jan 11 14:56:49 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Scheduled restart job, restart counter is at 5.
                              Jan 11 14:56:49 VM-ioBroker systemd[1]: Stopped cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:49 VM-ioBroker systemd[1]: Started cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:49 VM-ioBroker (nnelloni)[1317]: cannelloni-vcan0.service: Failed to locate executable /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:49 VM-ioBroker (nnelloni)[1317]: cannelloni-vcan0.service: Failed at step EXEC spawning /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:49 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
                              Jan 11 14:56:49 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
                              Jan 11 14:56:52 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Scheduled restart job, restart counter is at 6.
                              Jan 11 14:56:52 VM-ioBroker systemd[1]: Stopped cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:53 VM-ioBroker systemd[1]: Started cannelloni-vcan0.service - Cannelloni for vcan0.
                              Jan 11 14:56:53 VM-ioBroker (nnelloni)[1318]: cannelloni-vcan0.service: Failed to locate executable /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:53 VM-ioBroker (nnelloni)[1318]: cannelloni-vcan0.service: Failed at step EXEC spawning /usr/local/bin/cannelloni: No such file or directory
                              Jan 11 14:56:53 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Main process exited, code=exited, status=203/EXEC
                              Jan 11 14:56:53 VM-ioBroker systemd[1]: cannelloni-vcan0.service: Failed with result 'exit-code'.
                              
                              iobroker@VM-ioBroker:~$ cannelloni -I vcan0 -R 192.168.178.92
                              -bash: cannelloni: Kommando nicht gefunden.
                              iobroker@VM-ioBroker:~$
                              
                              

                              Was mir als "Nicht-LINUX-Kenner" noch auffällt:
                              Nachdem ersten "sudo"-Befehl verlangt die VM einmalig das Passwort ... 🤷‍♂️

                              crycode 1 Reply Last reply Reply Quote 0
                              • crycode
                                crycode Developer @RaspiUser last edited by

                                @raspiuser sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

                                /usr/local/bin/cannelloni: No such file or directory

                                Es gibt offenbar cannelloni nicht. Kann es sein, dass du vergessen hast, das zu kompilieren/installieren? 😉

                                Dass sudo dein Benutzerpasswort braucht ist unter Linux eigentlich normal. Nur auf dem Raspi ist das vereinfacht. 😄

                                RaspiUser 1 Reply Last reply Reply Quote 1
                                • RaspiUser
                                  RaspiUser @crycode last edited by

                                  @crycode sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

                                  Kann es sein, dass du vergessen hast ....

                                  Mitterweile glaube ich, dass ich zu jedem Fehler fähig bin ... 🤒 🤕 😵 😰

                                  Ich habe diese Befehle (nochmal?) eingegeben ...

                                  sudo apt install can-utils
                                  sudo apt install build-essential cmake git   
                                  git clone https://github.com/mguentner/cannelloni.git
                                  cd cannelloni
                                  cmake -DCMAKE_BUILD_TYPE=Release
                                  make      
                                  sudo make install
                                  

                                  Das kam raus ... (als LINUX-Laie sehe ich, dass da etwas nicht simmt ... aber wie beheben ...)

                                  login as: iobroker
                                  iobroker@192.168.178.120's password:
                                  Linux VM-ioBroker 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09                                     -29) x86_64
                                  
                                  The programs included with the Debian GNU/Linux system are free software;
                                  the exact distribution terms for each program are described in the
                                  individual files in /usr/share/doc/*/copyright.
                                  
                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Sun Jan 21 11:19:53 2024 from 192.168.178.67
                                  iobroker@VM-ioBroker:~$ iob stop
                                  iobroker@VM-ioBroker:~$ sudo apt install can-utils
                                  Paketlisten werden gelesen… Fertig
                                  Abhängigkeitsbaum wird aufgebaut… Fertig
                                  Statusinformationen werden eingelesen… Fertig
                                  can-utils ist schon die neueste Version (2020.11.0-1).
                                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
                                  iobroker@VM-ioBroker:~$ sudo apt install build-essential cmake git
                                  Paketlisten werden gelesen… Fertig
                                  Abhängigkeitsbaum wird aufgebaut… Fertig
                                  Statusinformationen werden eingelesen… Fertig
                                  build-essential ist schon die neueste Version (12.9).
                                  cmake ist schon die neueste Version (3.25.1-1).
                                  git ist schon die neueste Version (1:2.39.2-1.1).
                                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
                                  iobroker@VM-ioBroker:~$ git clone https://github.com/mguentner/cannelloni.git
                                  Schwerwiegend: Zielpfad 'cannelloni' existiert bereits und ist kein leeres Verzeichnis.
                                  iobroker@VM-ioBroker:~$ cd cannelloni
                                  iobroker@VM-ioBroker:~/cannelloni$ cmake -DCMAKE_BUILD_TYPE=Release
                                  CMake Warning:
                                    No source or binary directory provided.  Both will be assumed to be the
                                    same as the current working directory, but note that this warning will
                                    become a fatal error in future CMake releases.
                                  
                                  
                                  -- Could NOT find SCTP (missing: SCTP_LIBRARY SCTP_INCLUDE_DIR)
                                  -- SCTP not found. cannelloni will be build without SCTP support.
                                  -- Install lksctp-tools for SCTP.
                                  -- Configuring done
                                  -- Generating done
                                  -- Build files have been written to: /home/iobroker/cannelloni
                                  iobroker@VM-ioBroker:~/cannelloni$ make
                                  [  5%] Building CXX object CMakeFiles/addsources.dir/inet_address.cpp.o
                                  In file included from /usr/include/c++/12/string:40,
                                                   from /home/iobroker/cannelloni/inet_address.h:4,
                                                   from /home/iobroker/cannelloni/inet_address.cpp:1:
                                  In static member function ‘static constexpr std::char_traits<char>::char_type* std::char_traits<char>::copy(char_type*, const char_type*, std::size_t)’,
                                      inlined from ‘static constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:423:21,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.tcc:532:22,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:2171:19,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(size_type, const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:1928:22,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:3541:36,
                                      inlined from ‘std::string formatSocketAddress(const SocketStringAddress&)’ at /home/iobroker/cannelloni/inet_address.cpp:92:29:
                                  /usr/include/c++/12/bits/char_traits.h:431:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict]
                                    431 |         return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
                                        |                                        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
                                  cc1plus: all warnings being treated as errors
                                  make[2]: *** [CMakeFiles/addsources.dir/build.make:104: CMakeFiles/addsources.dir/inet_address.cpp.o] Fehler 1
                                  make[1]: *** [CMakeFiles/Makefile2:116: CMakeFiles/addsources.dir/all] Fehler 2
                                  make: *** [Makefile:136: all] Fehler 2
                                  iobroker@VM-ioBroker:~/cannelloni$ sudo make install
                                  [  5%] Building CXX object CMakeFiles/addsources.dir/inet_address.cpp.o
                                  In file included from /usr/include/c++/12/string:40,
                                                   from /home/iobroker/cannelloni/inet_address.h:4,
                                                   from /home/iobroker/cannelloni/inet_address.cpp:1:
                                  In static member function ‘static constexpr std::char_traits<char>::char_type* std::char_traits<char>::copy(char_type*, const char_type*, std::size_t)’,
                                      inlined from ‘static constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:423:21,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.tcc:532:22,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:2171:19,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::insert(size_type, const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:1928:22,
                                      inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::operator+(const _CharT*, __cxx11::basic_string<_CharT, _Traits, _Allocator>&&) [with _CharT = char; _Traits = char_traits<char>; _Alloc = allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:3541:36,
                                      inlined from ‘std::string formatSocketAddress(const SocketStringAddress&)’ at /home/iobroker/cannelloni/inet_address.cpp:92:29:
                                  /usr/include/c++/12/bits/char_traits.h:431:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict]
                                    431 |         return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
                                        |                                        ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
                                  cc1plus: all warnings being treated as errors
                                  make[2]: *** [CMakeFiles/addsources.dir/build.make:104: CMakeFiles/addsources.dir/inet_address.cpp.o] Fehler 1
                                  make[1]: *** [CMakeFiles/Makefile2:116: CMakeFiles/addsources.dir/all] Fehler 2
                                  make: *** [Makefile:136: all] Fehler 2
                                  iobroker@VM-ioBroker:~/cannelloni$
                                  
                                  

                                  Es gibt einen canneloni-Ordner ...

                                  b7f88e8d-4eb3-4987-88ee-77afc952a0e2-grafik.png

                                  ... aber an der richtigen Stelle ?

                                  crycode 1 Reply Last reply Reply Quote 0
                                  • crycode
                                    crycode Developer @RaspiUser last edited by

                                    @raspiuser Da hat der Build nicht geklappt.
                                    Den Infos nach ist das wohl ein Bug in gcc-12/g++-12 (dem Compiler).

                                    Mit gcc-11/g++-11 sollte es funktionieren (im cannelloni-Verzeichnis):

                                    sudo apt install gcc-11 g++-11
                                    export CC=gcc-11
                                    export CXX=g++-11
                                    rm -f CMakeCache.txt
                                    cmake -DCMAKE_BUILD_TYPE=Release
                                    make
                                    sudo make install
                                    

                                    Bei der Ausgabe vom cmake [...] Befehl, sollte u.a. folgendes enthalten sein, was dir zeigt, dass gcc-11/g++-11 verwendet werden:

                                    -- The C compiler identification is GNU 11.3.0
                                    -- The CXX compiler identification is GNU 11.3.0
                                    
                                    RaspiUser 1 Reply Last reply Reply Quote 1
                                    • RaspiUser
                                      RaspiUser @crycode last edited by RaspiUser

                                      @crycode sagte in Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus:

                                      Da hat der Build nicht geklappt.

                                      ... aber jetzt ... die Werte kommen (wieder) an ... Vielen Dank für deine Hilfe !!!

                                      Und ich bin ein wenig beruhigt, dass nicht ich unmittelbar das Problem war (oder ?!)

                                      Muss / sollte ich die Anleitung (s. erster Beitrag) anpassen ?

                                      EDIT:
                                      ... und sollte man (ich) etwas im Dateisystem o.ä. aufräumen ?

                                      crycode 1 Reply Last reply Reply Quote 0
                                      • crycode
                                        crycode Developer @RaspiUser last edited by

                                        @raspiuser Immer gerne 🙂 Nein, du warst (diesmal) nicht das Problem 😄
                                        Im Dateisystem brauchst du da eigentlich nichts aufräumen.
                                        Die Anleitung könnte man um einen entsprechenden Hinweis ergänzen.

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          ViennaTom last edited by ViennaTom

                                          @crycode Erstmal alle Daumen hoch !!!

                                          Ich habe jetzt auch versucht meine Altherma Echo-2 (Baujahr 2022/23) über CAN-Bus zu steuern (Die UART-Schnittstelle an X-10A erlaubt leider/vermutlich nur das Auslesen von Betriebsdaten).
                                          An meiner Altherma ist am X3 des MMI eine Mischstation (EKMIKPOAF) für einen 2.ten Heizkreis angeschlossen.
                                          Ich verwende einen ESP32 und bin zunächst an der 20kBit Baudrate gescheitert.
                                          Wie sich herausgestellt hat, arbeitet dieser CAN-Bus aber mit 50kBit und auch die Frames sehen ganz anders aus als die von euch dokumentierten.

                                          Es werden hier die folgenden Can-IDs verwendet:
                                          Can-ID,Daten, Frequenz

                                          • 0000 , 0101, 1x

                                          • 0081, 810001FFFFFFFFFF, 1x

                                          • 058A, 4F17250064000000, ~2/Sekunde
                                            4B2225002A010000
                                            606D250000000000

                                          • 060A, 4017250000000000, ~2/Sekunde
                                            4022250000000000
                                            2B6D2500C2010000

                                          • 06CA, 8000200000000405, alle 5 Sekunden
                                            4000200000000000

                                          • 070A, 7F, alle 3 Sekunden

                                          • 0701, 05, alle 3 Sekunden

                                          058A 4F17 könnte die Stellung des 3-Wege Ventils sein (100%)
                                          058A 4B22 dürfte der little endian Temperaturwert des Sensors sein (28-32°C)
                                          060A 2B6D sieht auch noch einem Temperaturwert aus 45.0°C
                                          Nur scheinen leider alle Register im Zusammenhang mit der Mischergruppe zu stehen 😞
                                          *

                                          Laut Installationshandbuch EHS157034 (RO-CON) verwendet diese auch den CAN-Bus gemeinsam mit der Mischergruppe ....

                                          Die Mischstation steuert ein Dreiwegeventil, bis zu zwei PWM-Pumpen und kann einen Temperaturfühler auslesen.
                                          Bis jetzt werden aber immer nur die gezeigten Werte gesendet. Ich werde noch einen Aktuatortest machen um zu sehen ob sich die Werte wenigstens dann ändern.

                                          Kannst du mit den gezeigten Frames was anfangen ? Gibt es vielleicht eine zweite CAN-Schnittstelle für die von euch gezeigte Implementierung ? Muß ich die Altherma vielleicht umkonfigurieren, daß sie eine Steuerung erlaubt ? Auf Abfrageframes 0680 31 00 XX reagiert die Schnittstelle mit Ignoranz 😉

                                          Danke für deine bisherige Arbeit und vielleicht kannst du mir ja weiterhelfen, denn die ONECTA App ist wohl nur ein schlechter Scherz ...

                                          LG, Tom

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            cb187 @ViennaTom last edited by

                                            @viennatom

                                            Hi ich glaube das ist keine CAN Verbindung.Du misst mal gucken da gibts nen extra Projekt für den Anschluss x10.

                                            V 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            669
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            canbus canbus adapter rotex hpsu
                                            25
                                            498
                                            67749
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo