Navigation

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

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

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

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

      @crycode
      Hallo crycode, Danke für die erste Reaktion ...
      ... hier mal die Ausgabe von der CAN Schnittestelle mit der Buster-ioBroker-Installation:

      pi@ioBroker-Zero:~ $ ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
          link/ether b8:27:eb:d0:87:48 brd ff:ff:ff:ff:ff:ff
          inet 192.168.178.92/24 brd 192.168.178.255 scope global dynamic noprefixroute wlan0
             valid_lft 779125sec preferred_lft 671125sec
          inet6 2001:16b8:31eb:b00:9e43:b867:2c0d:b7f1/64 scope global dynamic mngtmpaddr noprefixroute
             valid_lft 6926sec preferred_lft 3326sec
          inet6 fe80::34ed:561e:3f0:216d/64 scope link
             valid_lft forever preferred_lft forever
      3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP group default qlen 10
          link/can
      pi@ioBroker-Zero:~ $ candump can0
        can0  10A   [7]  31 00 FA C0 B4 00 00
        can0  180   [7]  22 0A FA C0 B4 00 22
        can0  10A   [7]  31 00 FA C0 B4 00 00
        can0  180   [7]  22 0A FA C0 B4 00 22
      ^Cpi@ioBroker-Zero:~ $
      

      ... und hier dieselbe CAN Schnittstelle mit der Bookworm-ioBroker-Installation (bei Bullseye ebenso) ...

      pi@ioBroker-Zero:~ $ ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul                                                                             t qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host
             valid_lft forever preferred_lft forever
      2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP g                                                                             roup default qlen 1000
          link/ether b8:27:eb:d0:87:48 brd ff:ff:ff:ff:ff:ff
          inet 192.168.178.92/24 brd 192.168.178.255 scope global dynamic noprefixrout                                                                             e wlan0
             valid_lft 776270sec preferred_lft 668270sec
          inet6 2001:16b8:31eb:b00:9e43:b867:2c0d:b7f1/64 scope global dynamic mngtmpa                                                                             ddr noprefixroute
             valid_lft 6679sec preferred_lft 3079sec
          inet6 fe80::34ed:561e:3f0:216d/64 scope link
             valid_lft forever preferred_lft forever
      3: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP group default                                                                              qlen 10
          link/can
      pi@ioBroker-Zero:~ $ candump can0
        can0  300   [7]  86 00 FE 01 00 00 00
        can0  600   [7]  26 0A FE 01 00 00 00
        can0  300   [7]  26 0A FE 01 00 00 00
        can0  10A   [7]  C7 00 FE 01 00 00 00
        can0  10A   [7]  31 00 FA 01 48 00 00
        can0  10A   [7]  31 00 10 00 00 00 00
        can0  10A   [7]  31 00 FA 09 3C 00 00
        can0  180   [7]  66 79 FE 01 00 00 00
        can0  10A   [7]  67 00 FE 01 00 00 00
        can0  180   [7]  26 0A FE 01 00 00 00
        can0  10A   [7]  31 00 FA 01 48 00 00
        can0  10A   [7]  31 00 10 00 00 00 00
        can0  10A   [7]  31 00 FA 09 3C 00 00
        can0  500   [7]  26 0A FE 01 00 00 00
        can0  10A   [7]  37 00 FE 01 00 00 00
        can0  180   [7]  22 0A FA 01 48 00 00
        can0  10A   [7]  31 00 FA 01 48 00 00
        can0  10A   [7]  31 00 10 00 00 00 00
        can0  10A   [7]  31 00 FA 09 3C 00 00
        can0  10A   [7]  A7 00 FE 01 00 00 00
        can0  180   [7]  22 0A 10 40 61 00 00
        can0  10A   [7]  31 00 FA 01 48 00 00
        can0  180   [7]  22 0A FA 09 3C 00 01
        can0  10A   [7]  31 00 10 00 00 00 00
        can0  180   [7]  22 0A FA 01 48 00 00
        can0  10A   [7]  31 00 FA 09 3C 00 00
        can0  180   [7]  22 0A 10 40 61 00 00
        can0  180   [7]  22 0A FA 09 3C 00 01
        can0  180   [7]  22 0A FA 01 48 00 00
        can0  180   [7]  22 0A 10 40 61 00 00
        can0  180   [7]  22 0A FA 09 3C 00 01
        can0  180   [7]  22 0A FA 01 48 00 00
        can0  180   [7]  22 0A 10 40 61 00 00
        can0  180   [7]  22 0A FA 09 3C 00 01
        can0  180   [7]  20 0A 10 40 61 00 00
        can0  180   [7]  20 0A FA 09 3C 00 01
        can0  180   [7]  20 0A 01 00 00 00 00
        can0  180   [7]  20 0A FA 13 88 00 00
        can0  180   [7]  20 0A FA 01 F2 00 00
        can0  180   [7]  20 0A FA 01 22 17 00
        can0  180   [7]  20 0A FA 01 23 07 00
        can0  180   [7]  20 0A FA 01 24 17 00
        can0  180   [7]  20 0A FA 01 25 12 00
        can0  180   [7]  20 0A FA 01 26 1D 00
        can0  180   [7]  20 0A FA 01 12 03 00
        can0  180   [7]  20 0A 5A 02 00 00 00
        can0  180   [7]  20 0A FA 07 1B 00 FF
        can0  10A   [7]  31 00 FA C0 B4 00 00
        can0  180   [7]  D0 28 FA 07 1B 00 FF
        can0  180   [7]  20 0A FA 01 D6 01 77
        can0  180   [7]  20 0A FA 08 22 01 4A
        can0  180   [7]  20 0A 61 01 00 00 00
        can0  180   [7]  20 0A FA 06 9E 00 01
        can0  180   [7]  20 0A 0C 01 03 00 00
        can0  180   [7]  20 0A FA 0A 5D 00 02
        can0  180   [7]  20 0A FA 0A 2B 01 BE
        can0  180   [7]  20 0A 0E 01 BE 00 00
        can0  180   [7]  20 0A 0D 01 4A 00 00
        can0  180   [7]  20 0A 52 00 00 00 00
        can0  180   [7]  20 0A 5E 00 00 00 00
        can0  180   [7]  20 0A 5D 00 00 00 00
        can0  180   [7]  20 0A 53 00 00 00 00
        can0  180   [7]  20 0A FA 01 76 00 00
        can0  180   [7]  20 0A FA 02 F4 00 00
        can0  500   [7]  20 0A 10 50 00 00 00
        can0  500   [7]  20 0A FA 09 3C 00 01
        can0  500   [7]  20 0A 01 00 00 00 00
        can0  500   [7]  20 0A FA 13 88 00 00
        can0  500   [7]  20 0A FA 01 F2 00 00
        can0  500   [7]  20 0A 61 00 00 00 00
        can0  180   [7]  22 0A FA C0 B4 00 22
      pi@ioBroker-Zero:~ $
      

      In den ioBroker Einstellungen wurde NICHTS geändert. Ich habe das funktionsfähige Buster Backitup in die neue Installation eingespielt ... und dann passiert das o.g. ...

      Kannst Du etwas erkennen was schief läuft ?

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

        @raspiuser Hmm... sieht eigentlich gut aus. Prüfe mal deine Adapterconfig (besonders das Interface) und aktiviere mal das Debug-Log für die Adapterinstanz.

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

          @crycode

          ... hier der Log:

          canbus.0
          	2023-07-23 19:09:54.062	debug	Plugin sentry Initialize Plugin (enabled=true)
          canbus.0
          	2023-07-23 19:09:49.119	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          canbus.0
          	2023-07-23 19:09:49.118	debug	Plugin sentry destroyed
          canbus.0
          	2023-07-23 19:09:49.117	info	terminating
          canbus.0
          	2023-07-23 19:09:49.116	debug	cleaned everything up...
          canbus.0
          	2023-07-23 19:09:49.113	info	Got terminate signal TERMINATE_YOURSELF
          canbus.0
          	2023-07-23 19:09:30.656	error	Error starting can interface: Error: Error while creating channel
          canbus.0
          	2023-07-23 19:09:30.585	info	starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.canbus, node: v18.17.0, js-controller: 4.0.24
          canbus.0
          	2023-07-23 19:09:30.149	debug	Plugin sentry Initialize Plugin (enabled=true)
          canbus.0
          	2023-07-23 19:09:30.117	debug	States connected to redis: 127.0.0.1:9000
          canbus.0
          	2023-07-23 19:09:30.102	debug	States create User PubSub Client
          canbus.0
          	2023-07-23 19:09:30.101	debug	States create System PubSub Client
          canbus.0
          	2023-07-23 19:09:30.092	debug	Redis States: Use Redis connection: 127.0.0.1:9000
          canbus.0
          	2023-07-23 19:09:30.068	debug	Objects connected to redis: 127.0.0.1:9001
          canbus.0
          	2023-07-23 19:09:30.059	debug	Objects client initialize lua scripts
          canbus.0
          	2023-07-23 19:09:30.036	debug	Objects create User PubSub Client
          canbus.0
          	2023-07-23 19:09:30.033	debug	Objects create System PubSub Client
          canbus.0
          	2023-07-23 19:09:30.031	debug	Objects client ready ... initialize now
          canbus.0
          	2023-07-23 19:09:29.989	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
          canbus.0
          	2023-07-23 19:09:25.199	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          canbus.0
          	2023-07-23 19:09:25.194	info	terminating
          canbus.0
          	2023-07-23 19:09:25.190	info	Got terminate signal TERMINATE_YOURSELF
          canbus.0
          	2023-07-23 19:08:39.954	error	Error starting can interface: Error: Error while creating channel
          canbus.0
          	2023-07-23 19:08:39.877	info	starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.canbus, node: v18.17.0, js-controller: 4.0.24
          

          ... sonst passiert nix ... und hier die Einstellungen (ohne Änderungen zw. Buste rund Bookworm)

          f8669908-bdad-4235-b450-aee12e7d5def-grafik.png

          crycode 1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            665
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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