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.
    • crycode
      crycode Developer @RaspiUser last edited by

      @raspiuser In deiner Config steht vcan0, aber das Interface heißt can0. 😉

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

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

        In deiner Config steht vcan0, aber das Interface heißt can0.

        nö ... vcan0 ist richtig ... Ich habe / hatte ja bereits ein funktionsfähige Anbindung (siehe #280).

        (Ich habe wirklich "nur" eine frische Bullseye / Bookworm Karte mit Backitup eingesetzt. Und dann ist ja vcan0 immer noch richtig ... funktioniert unter Buster ja einwandfrei ...)

        Ich klone die Buster Karte und upgrade dann DIESE Installation ohne ein ganz frische Installation ... vielleicht ist dann die Lösung ...

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

          @raspiuser Ah moment... du hast den Adapter ja auf einem anderen System laufen und das CAN-Interface vom Raspi mittel Cannelloni weitergegeben, richtig?
          Den Cannelloni Service hast du auf beiden Seiten richtig eingerichtet?
          Dann schau mal ins Log von den Services, ob dort irgendwelche Fehler gemeldet werden:

          sudo journalctl -u cannelloni-can0.service
          

          bzw.

          sudo journalctl -u cannelloni-vcan0.service
          

          Wahrscheinlich klemmt da irgendwas, wodurch dann van0 auf deinem ioBroker System nicht richtig verfügbar ist.

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

            @crycode
            ... ich war mir nicht sicher auf welchem System ich die Logs erstellen soll und habe mal (laienhaft) beide abgefragt ...

            Hier die Ausgabe auf dem ioBroker Raspi Pi4:

            pi@ioBroker-Raspi:~ $ sudo journalctl -u cannelloni-can0.service
            -- No entries --
            pi@ioBroker-Raspi:~ $ sudo journalctl -u cannelloni-vcan0.service
            -- No entries --
            pi@ioBroker-Raspi:~ $
            

            Und hier auf dem vcan0 Raspi Zero:

            pi@ioBroker-Zero:~ $ sudo journalctl -u cannelloni-vcan0.service
            -- Logs begin at Sat 2023-07-22 18:08:42 CEST, end at Mon 2023-07-24 12:10:35 CE
            -- No entries --
            lines 1-2/2 (END)
            pi@ioBroker-Zero:~ $ sudo journalctl -u cannelloni-can0.service
            -- Logs begin at Sat 2023-07-22 18:08:42 CEST, end at Mon 2023-07-24 12:11:16 CE
            Jul 22 18:09:09 ioBroker-Zero systemd[1]: Started Cannelloni for can0.
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: INFO:udpthread.cpp[158]:run:UDPTh
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: ERROR:canthread.cpp[88]:start:CAN
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: INFO:canthread.cpp[108]:run:CANTh
            lines 1-5/5 (END)...skipping...
            -- Logs begin at Sat 2023-07-22 18:08:42 CEST, end at Mon 2023-07-24 12:11:16 CEST. --
            Jul 22 18:09:09 ioBroker-Zero systemd[1]: Started Cannelloni for can0.
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: INFO:udpthread.cpp[158]:run:UDPThread up and running
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: ERROR:canthread.cpp[88]:start:CAN_FD is not supported on >can0<
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: INFO:canthread.cpp[108]:run:CANThread up and running
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            lines 1-5/5 (END)
            -- Logs begin at Sat 2023-07-22 18:08:42 CEST, end at Mon 2023-07-24 12:11:16 CEST. --
            Jul 22 18:09:09 ioBroker-Zero systemd[1]: Started Cannelloni for can0.
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: INFO:udpthread.cpp[158]:run:UDPThread up and running
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: ERROR:canthread.cpp[88]:start:CAN_FD is not supported on >can0<
            Jul 22 18:09:10 ioBroker-Zero cannelloni[556]: INFO:canthread.cpp[108]:run:CANThread up and running
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            ~
            lines 1-5/5 (END)
            
            
            crycode 1 Reply Last reply Reply Quote 0
            • crycode
              crycode Developer @RaspiUser last edited by

              @raspiuser Auf dem Raspi Zero sieht soweit gut aus.
              Mach mal auf dem ioBroker Raspi:

              sudo systemctl restart cannelloni-vcan0.service
              sudo systemctl status cannelloni-vcan0.service
              sudo journalctl -u cannelloni-vcan0.service
              

              Das startet den Service neu, fragt den Status ab und gibt das Log aus.

              Hat der Raspi Zero nach dem Update noch die gleiche IP-Adresse?
              Falls nicht, musst du in der Datei /etc/systemd/system/cannelloni-vcan0.service auf dem ioBroker Raspi anpassen.

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

                @crycode
                ... sieht wohl so aus, dass ich (erstmal) canneloni auf dem Raspi einrichten muss, oder ?

                pi@ioBroker-Raspi:~ $ sudo systemctl restart cannelloni-vcan0.service
                Failed to restart cannelloni-vcan0.service: Unit cannelloni-vcan0.service not found.
                pi@ioBroker-Raspi:~ $ sudo systemctl status cannelloni-vcan0.service
                Unit cannelloni-vcan0.service could not be found.
                pi@ioBroker-Raspi:~ $ sudo journalctl -u cannelloni-vcan0.service
                -- No entries --
                pi@ioBroker-Raspi:~ $
                
                

                EDIT:

                so, oder ? (siehe auch "meine" Anleitung ab Seite 4 ...)

                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

                usw.

                Während der Installation kam diese Fehlermeldung:

                Job for vcan0-setup.service failed because the control process exited with error code.
                See "systemctl status vcan0-setup.service" and "journalctl -xeu vcan0-setup.service" for details.
                

                Nachdem ich dann diesem Wunsch entsprochen habe kam dann dieser ewig lange Text (mit dem ich als Laie nix anfangen kann ...):

                pi@ioBroker-Raspi:~ $ systemctl status vcan0-setup.service
                × vcan0-setup.service - Setup vcan0
                     Loaded: loaded (/etc/systemd/system/vcan0-setup.service; enabled; preset: >
                     Active: failed (Result: exit-code) since Mon 2023-07-24 14:43:18 CEST; 1s >
                    Process: 1241 ExecStart=/usr/local/sbin/vcan0-setup.sh start (code=exited, >
                   Main PID: 1241 (code=exited, status=203/EXEC)
                        CPU: 6ms
                
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Starting vcan0-setup.service - Setup>
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed to>
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed at>
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Main process ex>
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Failed with res>
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Failed to start vcan0-setup.service >
                lines 1-13/13 (END)...skipping...
                × vcan0-setup.service - Setup vcan0
                     Loaded: loaded (/etc/systemd/system/vcan0-setup.service; enabled; preset: enabled)
                     Active: failed (Result: exit-code) since Mon 2023-07-24 14:43:18 CEST; 1s ago
                    Process: 1241 ExecStart=/usr/local/sbin/vcan0-setup.sh start (code=exited, status=203/EXEC)
                   Main PID: 1241 (code=exited, status=203/EXEC)
                        CPU: 6ms
                
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Starting vcan0-setup.service - Setup vcan0...
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed to execute /usr/local/sbin/vcan0-setup.sh: Exec format error
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed at step EXEC spawning /usr/local/sbin/vcan0-setup.sh: Exec forma>
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Main process exited, code=exited, status=203/EXEC
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Failed with result 'exit-code'.
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Failed to start vcan0-setup.service - Setup vcan0.
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ...skipping...
                × vcan0-setup.service - Setup vcan0
                     Loaded: loaded (/etc/systemd/system/vcan0-setup.service; enabled; preset: enabled)
                     Active: failed (Result: exit-code) since Mon 2023-07-24 14:43:18 CEST; 1s ago
                    Process: 1241 ExecStart=/usr/local/sbin/vcan0-setup.sh start (code=exited, status=203/EXEC)
                   Main PID: 1241 (code=exited, status=203/EXEC)
                        CPU: 6ms
                
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Starting vcan0-setup.service - Setup vcan0...
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed to execute /usr/local/sbin/vcan0-setup.sh: Exec format error
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed at step EXEC spawning /usr/local/sbin/vcan0-setup.sh: Exec forma>
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Main process exited, code=exited, status=203/EXEC
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Failed with result 'exit-code'.
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Failed to start vcan0-setup.service - Setup vcan0.
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                × vcan0-setup.service - Setup vcan0
                     Loaded: loaded (/etc/systemd/system/vcan0-setup.service; enabled; preset: enabled)
                     Active: failed (Result: exit-code) since Mon 2023-07-24 14:43:18 CEST; 1s ago
                    Process: 1241 ExecStart=/usr/local/sbin/vcan0-setup.sh start (code=exited, status=203/EXEC)
                   Main PID: 1241 (code=exited, status=203/EXEC)
                        CPU: 6ms
                
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Starting vcan0-setup.service - Setup vcan0...
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed to execute /usr/local/sbin/vcan0-setup.sh: Exec format error
                Jul 24 14:43:18 ioBroker-Raspi (setup.sh)[1241]: vcan0-setup.service: Failed at step EXEC spawning /usr/local/sbin/vcan0-setup.sh: Exec forma>
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Main process exited, code=exited, status=203/EXEC
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: vcan0-setup.service: Failed with result 'exit-code'.
                Jul 24 14:43:18 ioBroker-Raspi systemd[1]: Failed to start vcan0-setup.service - Setup vcan0.
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                ~
                
                pi@ioBroker-Raspi:~ $ journalctl -xeu vcan0-setup.service
                ░░ Subject: A start job for unit vcan0-setup.service has begun execution
                ░░ Defined-By: systemd
                ░░ Support: https://www.debian.org/support
                ░░
                ░░ A start job for unit vcan0-setup.service has begun execution.
                ░░
                ░░ The job identifier is 9756.
                Jul 24 14:44:49 ioBroker-Raspi (setup.sh)[1333]: vcan0-setup.service: Failed to execute /usr/local/sbin/vcan0-setup.sh: Exec format error
                Jul 24 14:44:49 ioBroker-Raspi (setup.sh)[1333]: vcan0-setup.service: Failed at step EXEC spawning /usr/local/sbin/vcan0-setup.sh: Exec forma>
                ░░ Subject: Process /usr/local/sbin/vcan0-setup.sh could not be executed
                ░░ Defined-By: systemd
                ░░ Support: https://www.debian.org/support
                ░░
                ░░ The process /usr/local/sbin/vcan0-setup.sh could not be executed and failed.
                ░░
                ░░ The error number returned by this process is ERRNO.
                Jul 24 14:44:49 ioBroker-Raspi systemd[1]: vcan0-setup.service: Main process exited, code=exited, status=203/EXEC
                ░░ Subject: Unit process exited
                ░░ Defined-By: systemd
                ░░ Support: https://www.debian.org/support
                ░░
                ░░ An ExecStart= process belonging to unit vcan0-setup.service has exited.
                ░░
                ░░ The process' exit code is 'exited' and its exit status is 203.
                Jul 24 14:44:49 ioBroker-Raspi systemd[1]: vcan0-setup.service: Failed with result 'exit-code'.
                ░░ Subject: Unit failed
                ░░ Defined-By: systemd
                ░░ Support: https://www.debian.org/support
                ░░
                ░░ The unit vcan0-setup.service has entered the 'failed' state with result 'exit-code'.
                Jul 24 14:44:49 ioBroker-Raspi systemd[1]: Failed to start vcan0-setup.service - Setup vcan0.
                ░░ Subject: A start job for unit vcan0-setup.service has failed
                ░░ Defined-By: systemd
                ░░ Support: https://www.debian.org/support
                ░░
                ░░ A start job for unit vcan0-setup.service has finished with a failure.
                ░░
                ░░ The job identifier is 9756 and the job result is failed.
                lines 4118-4155/4155 (END)
                
                crycode 1 Reply Last reply Reply Quote 0
                • crycode
                  crycode Developer @RaspiUser last edited by

                  @raspiuser Ja, du musst natürlich Cannelloni installiert und alles eingerichtet haben. 😉

                  Failed to execute /usr/local/sbin/vcan0-setup.sh: Exec format error
                  

                  Da stimmt etwas mit dem vcan0-setup.sh Script nicht.

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

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

                    Da stimmt etwas mit dem vcan0-setup.sh Script nicht.

                    OK, Danke erstmal ...
                    Das einfachste für mich ist es, ich fange mit dem ioBroker-Raspi frisch an.
                    Auf dem CAN-Zero-Raspi sollte ja alles i.O. sein ... mit der "alten" Installation klappt es ja.

                    1 Reply Last reply Reply Quote 0
                    • hg6806
                      hg6806 Most Active last edited by

                      Hi,

                      leider kämpfe ich bei aktivem CAN Adapter noch immer mit einer hohen Prozessorlast.
                      Ich habe den CAN über ein CAN HAT am RasPi 4 4GB angeschlossen.

                      Wie und wo kann ich Abfragetimings einstellen? In der Instanz habe ich nichts gefunden.
                      V1.3.1 ist installiert

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

                        @hg6806 Bildschirmfoto 2023-09-29 um 09.58.24.png

                        Intervall !

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

                          @hg6806 Du kannst pro Parser die Option "Automatisch einen bestimmten Wert setzen" aktivieren/deaktivieren und dazu den jeweiligen Intervall in Millisekunden festlegen.
                          0ba74af8-776b-44b6-b63b-48e197b1368f-image.png

                          Bei sehr vielen aktiven Abfragen (oder sonst sehr hoher Aktivität auf dem Bus) steigt dann logischerweise die Last von deinem System.

                          hg6806 1 Reply Last reply Reply Quote 0
                          • hg6806
                            hg6806 Most Active @crycode last edited by

                            @crycode

                            Stimmt, den Intervall Wert kann man aber nur für recht wenige Werte eintragen. Hier habe ich als Minimalen Wert 10 Sek. sonst 1 Min oder auch länger.

                            Manche Abfrage Werte haben keine Intervall Angabe:

                            0e6e439c-2a61-4599-82fa-48ce832b7c8e-image.png

                            Kann man die Werte exportieren und dann einfach mal einen Teil löschen, ob es besser werte und dann das File wieder importieren? Die Last muss ja irgendwo herkommen. Ich glaube von dem Abfragen kommt das nicht.

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

                              @hg6806 Das Feld für den Intervall erscheint erst, wenn du den Haken für das automatische Setzen setzt. 😉

                              Du kannst deine Konfiguration exportieren (über Import/Export in der Konfig als json), dann einige Parser testweise löschen und später einfach die exportierte Konfig wieder importieren, um alles zurück zu haben.

                              Wie viele Abfragen hast du aktiv?

                              Hast du die "raw-States" aktiviert? Falls ja mach die mal aus.

                              Hast du mal auf dem Raspi geschaut, welcher Prozess die CPU-Last erzeugt?
                              Das müsste mit htop in einem Terminal zu sehen sein. (Falls nicht installiert: sudo apt install htop)

                              hg6806 1 Reply Last reply Reply Quote 0
                              • hg6806
                                hg6806 Most Active @crycode last edited by

                                @crycode

                                Was passiert, wenn der Haken fürs Automatische Setzen nicht gesetzt ist? Wann werden dann die Werte abgefragt bzw. erneuert?

                                Ich habe vielleicht 20 Abfragen aktiv

                                Ja, Raw-States ist angehakt. Ich "unchecke" das mal

                                Hier ist die Last von ioBroker. Ich hoffe das reicht.

                                317a9bf1-9828-48b5-8b74-578aa33658e8-image.png

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

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

                                  Was passiert, wenn der Haken fürs Automatische Setzen nicht gesetzt ist? Wann werden dann die Werte abgefragt bzw. erneuert?

                                  Dann werden die Werte nur abgefragt, wenn du es manuell oder z.B. über ein eigenes Script triggerst.

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

                                  Ich habe vielleicht 20 Abfragen aktiv

                                  20 sollten eigentlich ohne größere Probleme funktionieren.

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

                                    @cb187 Hi, danke für die gezeigten Blockly Scripts! Eine Frage habe ich: Woher kommt bei der Leistungsberechnung der Wert "Rotex Verbrauch" her? Müsste der nicht vom Stromzähler kommen?

                                    LG Earl

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

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

                                      @cb187 Hi, danke für die gezeigten Blockly Scripts! Eine Frage habe ich: Woher kommt bei der Leistungsberechnung der Wert "Rotex Verbrauch" her? Müsste der nicht vom Stromzähler kommen?

                                      LG Earl

                                      Doch kommt vom eigenen WP Zähler.Bin mittlerweile von einem Modbus Zähler auf Shelly 3em gewechselt.

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

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

                                        Modbus Zähler

                                        Ok, den kannte ich noch nicht. Hast den im Zählerschrank einbauen lassen, oder am Kabel von der WP?

                                        E Homoran C 3 Replies Last reply Reply Quote 0
                                        • E
                                          earl80 @earl80 last edited by

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

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

                                          Modbus Zähler

                                          Ok, den kannte ich noch nicht. Hast den im Zählerschrank einbauen lassen, oder am Kabel von der WP?

                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @earl80 last edited by

                                            @earl80 20230716_135341.jpg

                                            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

                                            924
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            canbus canbus adapter rotex hpsu
                                            25
                                            498
                                            67719
                                            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