Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Rotex HPSU / Daikin Altherma Wärmepumpe über ioBroker.canbus

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.6k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.9k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
canbuscanbus adapterrotex hpsu
522 Beiträge 25 Kommentatoren 105.2k Aufrufe 20 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • crycodeC crycode

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

    da kommt nix

    Hmm... das heißt dann aber, dass vom Adapter gar keine eingehenden Nachrichten gesehen werden.
    Kannst du mal einen candump auf das Interface auf beiden Raspis laufen lassen und dabei in den canbus.0.raw.send State {"id": 42, "data": [0]} schreiben? Eigentlich sollte vom candump dann eine Nachricht mit ID 2A und Daten 0 geloggt werden.

    Wenn das auch nicht klappt, dann stimmt irgendwas in deiner Konfiguration nicht.

    RaspiUserR Online
    RaspiUserR Online
    RaspiUser
    schrieb am zuletzt editiert von
    #357

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

    Wenn das auch nicht klappt, dann stimmt irgendwas in deiner Konfiguration nicht.

    ... das befürchte ich langsam auch ... nachdem ich weiter oben schon den dämlichen copy&paste-Fehler gemacht hatte ...
    Hier das Ergebnis von deinem letzten Vorschlag, paßt so ?

    RAW.jpg
    CAN.jpg

    Der Pi Zero, der an der Wärmepumpe sitzt, das scheint also i.O., richtig ?
    Ich schaue mir jetzt die Installation auf dem ioBroker Pi an ... oder kannst Du den Fehler eingrenzen ?

    crycodeC 1 Antwort Letzte Antwort
    0
    • RaspiUserR RaspiUser

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

      Wenn das auch nicht klappt, dann stimmt irgendwas in deiner Konfiguration nicht.

      ... das befürchte ich langsam auch ... nachdem ich weiter oben schon den dämlichen copy&paste-Fehler gemacht hatte ...
      Hier das Ergebnis von deinem letzten Vorschlag, paßt so ?

      RAW.jpg
      CAN.jpg

      Der Pi Zero, der an der Wärmepumpe sitzt, das scheint also i.O., richtig ?
      Ich schaue mir jetzt die Installation auf dem ioBroker Pi an ... oder kannst Du den Fehler eingrenzen ?

      crycodeC Offline
      crycodeC Offline
      crycode
      Developer
      schrieb am zuletzt editiert von
      #358

      @raspiuser Also die Kommunikation vom Adapter zur vcan0 Schnittstelle scheint schon mal zu funktionieren. Aber die Verbindung zwischen den beiden Raspis über Cannelloni nicht.
      Läuft denn auf beiden System der jeweilige SystemD-Service?
      sudo systemctl status cannelloni-can0.service auf ioBroker-Zero
      sudo systemctl status cannelloni-vcan0.service auf ioBroker-Raspi
      Sind bei beiden die richtigen Remote-IP-Adressen eingetragen?

      Meine Adapter: discord | canbus | ds18b20 | odl | radiohead

      RaspiUserR 1 Antwort Letzte Antwort
      1
      • crycodeC crycode

        @raspiuser Also die Kommunikation vom Adapter zur vcan0 Schnittstelle scheint schon mal zu funktionieren. Aber die Verbindung zwischen den beiden Raspis über Cannelloni nicht.
        Läuft denn auf beiden System der jeweilige SystemD-Service?
        sudo systemctl status cannelloni-can0.service auf ioBroker-Zero
        sudo systemctl status cannelloni-vcan0.service auf ioBroker-Raspi
        Sind bei beiden die richtigen Remote-IP-Adressen eingetragen?

        RaspiUserR Online
        RaspiUserR Online
        RaspiUser
        schrieb am zuletzt editiert von
        #359

        @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 .... :angry: :cold_sweat: :face_with_thermometer:
        Ich war der Meinung (#339), Adapter grün = alles gut ...

        Vielen vielen Dank, dass Du dir die Zeit genommen hast !!!!!!! :+1:

        1 Antwort Letzte Antwort
        1
        • Elektroniker86E Offline
          Elektroniker86E Offline
          Elektroniker86
          schrieb am zuletzt editiert von
          #360

          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 crycodeC 2 Antworten Letzte Antwort
          0
          • Elektroniker86E Elektroniker86

            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 Offline
            C Offline
            cb187
            schrieb am zuletzt editiert von
            #361

            @elektroniker86

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

            Elektroniker86E 1 Antwort Letzte Antwort
            0
            • RaspiUserR Online
              RaspiUserR Online
              RaspiUser
              schrieb am zuletzt editiert von
              #362

              @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 :face_with_rolling_eyes: ) 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 ... :man-shrugging:

              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 crycodeC 2 Antworten Letzte Antwort
              0
              • RaspiUserR RaspiUser

                @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 :face_with_rolling_eyes: ) 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 ... :man-shrugging:

                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 Offline
                C Offline
                cb187
                schrieb am zuletzt editiert von
                #363

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

                RaspiUserR 1 Antwort Letzte Antwort
                0
                • C cb187

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

                  RaspiUserR Online
                  RaspiUserR Online
                  RaspiUser
                  schrieb am zuletzt editiert von
                  #364

                  @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 ... :flushed:

                  C 1 Antwort Letzte Antwort
                  0
                  • RaspiUserR RaspiUser

                    @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 ... :flushed:

                    C Offline
                    C Offline
                    cb187
                    schrieb am zuletzt editiert von
                    #365

                    @raspiuser ne kein kabel.

                    RaspiUserR 1 Antwort Letzte Antwort
                    0
                    • C cb187

                      @raspiuser ne kein kabel.

                      RaspiUserR Online
                      RaspiUserR Online
                      RaspiUser
                      schrieb am zuletzt editiert von
                      #366

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

                      @raspiuser ne kein kabel.

                      ... was meinst Du ?!

                      1 Antwort Letzte Antwort
                      0
                      • C cb187

                        @elektroniker86

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

                        Elektroniker86E Offline
                        Elektroniker86E Offline
                        Elektroniker86
                        schrieb am zuletzt editiert von
                        #367

                        @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 Antwort Letzte Antwort
                        0
                        • Elektroniker86E Elektroniker86

                          @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 Offline
                          C Offline
                          cb187
                          schrieb am zuletzt editiert von
                          #368

                          @elektroniker86

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

                          1 Antwort Letzte Antwort
                          0
                          • RaspiUserR RaspiUser

                            @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 :face_with_rolling_eyes: ) 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 ... :man-shrugging:

                            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 ?!

                            crycodeC Offline
                            crycodeC Offline
                            crycode
                            Developer
                            schrieb am zuletzt editiert von
                            #369

                            @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

                            Meine Adapter: discord | canbus | ds18b20 | odl | radiohead

                            RaspiUserR 1 Antwort Letzte Antwort
                            1
                            • Elektroniker86E Elektroniker86

                              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!

                              crycodeC Offline
                              crycodeC Offline
                              crycode
                              Developer
                              schrieb am zuletzt editiert von
                              #370

                              @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.

                              Meine Adapter: discord | canbus | ds18b20 | odl | radiohead

                              1 Antwort Letzte Antwort
                              0
                              • crycodeC crycode

                                @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

                                RaspiUserR Online
                                RaspiUserR Online
                                RaspiUser
                                schrieb am zuletzt editiert von
                                #371

                                @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 ... :man-shrugging:

                                crycodeC 1 Antwort Letzte Antwort
                                0
                                • RaspiUserR RaspiUser

                                  @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 ... :man-shrugging:

                                  crycodeC Offline
                                  crycodeC Offline
                                  crycode
                                  Developer
                                  schrieb am zuletzt editiert von
                                  #372

                                  @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. 😄

                                  Meine Adapter: discord | canbus | ds18b20 | odl | radiohead

                                  RaspiUserR 1 Antwort Letzte Antwort
                                  1
                                  • crycodeC crycode

                                    @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. 😄

                                    RaspiUserR Online
                                    RaspiUserR Online
                                    RaspiUser
                                    schrieb am zuletzt editiert von
                                    #373

                                    @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 ... :face_with_thermometer: :face_with_head_bandage: :dizzy_face: :cold_sweat:

                                    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 ?

                                    crycodeC 1 Antwort Letzte Antwort
                                    0
                                    • RaspiUserR RaspiUser

                                      @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 ... :face_with_thermometer: :face_with_head_bandage: :dizzy_face: :cold_sweat:

                                      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 ?

                                      crycodeC Offline
                                      crycodeC Offline
                                      crycode
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #374

                                      @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
                                      

                                      Meine Adapter: discord | canbus | ds18b20 | odl | radiohead

                                      RaspiUserR 1 Antwort Letzte Antwort
                                      1
                                      • crycodeC crycode

                                        @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
                                        
                                        RaspiUserR Online
                                        RaspiUserR Online
                                        RaspiUser
                                        schrieb am zuletzt editiert von RaspiUser
                                        #375

                                        @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 ?

                                        crycodeC 1 Antwort Letzte Antwort
                                        0
                                        • RaspiUserR 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 ?

                                          crycodeC Offline
                                          crycodeC Offline
                                          crycode
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #376

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

                                          Meine Adapter: discord | canbus | ds18b20 | odl | radiohead

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          858

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe