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

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

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

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

      @elektroniker86 Super, ist doch schon mal was 🙂
      Den CAN Hat gibt es soweit ich weiß mit verschiedenen Quarzen. Meine Anleitung bezieht sich hardwaremäßig auf die oben darin beschriebe Schaltung von meinem eigenen Aufbau.

      Ob dein Adapter auf dem Slave-System läuft kannst du auch in der Prozessliste vom Raspi sehen. Dazu per SSH mal ps aufx ausführen. In der Ausgabe solltest du dann u.a. io.canbus.0 finden.

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

        @crycode

        Tip Top das es jetzt läuft, vielen lieben Dank für deine Mühe!!!
        Ich hab jetzt noch was im Log mit dem ich nichts anfangen kann.
        Anscheinend gibt es CAN Nachrichten die er nicht kennt?
        Kann man das irgendwie ändern oder beheben?

        
        
        canbus.0
        2022-03-15 19:56:00.836	info	undefined is not a valid state value for id "canbus.0.680.fac0f6"
        
        canbus.0
        2022-03-15 19:56:00.835	info	undefined is not a valid state value for id "canbus.0.680.fac102"
        
        canbus.0
        2022-03-15 19:56:00.835	info	undefined is not a valid state value for id "canbus.0.680.fac100"
        
        canbus.0
        2022-03-15 19:56:00.834	info	undefined is not a valid state value for id "canbus.0.680.fac0ff"
        
        canbus.0
        2022-03-15 19:56:00.834	info	undefined is not a valid state value for id "canbus.0.680.fac0fe"
        
        canbus.0
        2022-03-15 19:56:00.833	info	undefined is not a valid state value for id "canbus.0.680.fac0fd"
        
        canbus.0
        2022-03-15 19:56:00.833	info	undefined is not a valid state value for id "canbus.0.680.fac0fc"
        
        canbus.0
        2022-03-15 19:56:00.832	info	undefined is not a valid state value for id "canbus.0.680.fac0fa"
        
        smartmeter.0
        2022-03-15 19:56:00.826	info	Received 13 values, 6 updated
        
        canbus.0
        2022-03-15 19:56:00.693	info	undefined is not a valid state value for id "canbus.0.680.fac103"
        
        canbus.0
        2022-03-15 19:56:00.692	info	undefined is not a valid state value for id "canbus.0.680.fa0112"
        
        canbus.0
        2022-03-15 19:55:59.809	info	undefined is not a valid state value for id "canbus.0.680.04"
        
        canbus.0
        2022-03-15 19:55:59.809	info	undefined is not a valid state value for id "canbus.0.680.fa01d6"
        
        canbus.0
        2022-03-15 19:55:59.808	info	undefined is not a valid state value for id "canbus.0.680.16"
        
        canbus.0
        2022-03-15 19:55:59.808	info	undefined is not a valid state value for id "canbus.0.680.03"
        
        canbus.0
        2022-03-15 19:55:59.674	info	undefined is not a valid state value for id "canbus.0.680.fac103"
        
        canbus.0
        2022-03-15 19:55:59.673	info	undefined is not a valid state value for id "canbus.0.680.fa0112"
        
        canbus.0
        2022-03-15 19:55:58.800	info	undefined is not a valid state value for id "canbus.0.680.fac0f6"
        
        canbus.0
        2022-03-15 19:55:58.800	info	undefined is not a valid state value for id "canbus.0.680.fac102"
        
        canbus.0
        2022-03-15 19:55:58.799	info	undefined is not a valid state value for id "canbus.0.680.fac100"
        
        canbus.0
        2022-03-15 19:55:58.799	info	undefined is not a valid state value for id "canbus.0.680.fac0ff"
        
        canbus.0
        2022-03-15 19:55:58.799	info	undefined is not a valid state value for id "canbus.0.680.fac0fe"
        
        canbus.0
        2022-03-15 19:55:58.798	info	undefined is not a valid state value for id "canbus.0.680.fac0fd"
        
        canbus.0
        2022-03-15 19:55:58.798	info	undefined is not a valid state value for id "canbus.0.680.fac0fc"
        
        canbus.0
        2022-03-15 19:55:58.797	info	undefined is not a valid state value for id "canbus.0.680.fac0fa"
        
        canbus.0
        2022-03-15 19:55:58.662	info	undefined is not a valid state value for id "canbus.0.680.fac103"
        
        canbus.0
        2022-03-15 19:55:58.661	info	undefined is not a valid state value for id "canbus.0.680.fa0112"
        
        smartmeter.0
        2022-03-15 19:55:58.335	info	Received 13 values, 6 updated
        
        canbus.0
        2022-03-15 19:55:57.945	info	undefined is not a valid state value for id "canbus.0.680.fac106"
        
        canbus.0
        2022-03-15 19:55:57.936	info	undefined is not a valid state value for id "canbus.0.680.fac105"
        
        canbus.0
        2022-03-15 19:55:57.935	info	undefined is not a valid state value for id "canbus.0.680.fac104"
        
        canbus.0
        2022-03-15 19:55:57.934	info	undefined is not a valid state value for id "canbus.0.680.fa01da"
        
        canbus.0
        2022-03-15 19:55:57.792	info	undefined is not a valid state value for id "canbus.0.680.13"
        
        canbus.0
        2022-03-15 19:55:57.651	info	undefined is not a valid state value for id "canbus.0.680.fac103"
        
        canbus.0
        2022-03-15 19:55:57.650	info	undefined is not a valid state value for id "canbus.0.680.fa0112"
        
        unifi.0
        2022-03-15 19:55:57.362	debug	Update done
        
        unifi.0
        2022-03-15 19:55:57.355	debug	fetchVouchers: 1
        
        unifi.0
        2022-03-15 19:55:57.326	debug	fetchHealth: 5
        
        unifi.0
        2022-03-15 19:55:57.232	debug	fetchWlans: 3
        
        mihome-vacuum.1
        2022-03-15 19:55:57.012	info	State value to set for "mihome-vacuum.1.info.water_box" has to be type "string" but received type "boolean"
        
        unifi.0
        2022-03-15 19:55:56.957	debug	fetchDevices: 9
        
        unifi.0
        2022-03-15 19:55:56.856	debug	Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
        
        unifi.0
        2022-03-15 19:55:56.846	debug	Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
        
        canbus.0
        2022-03-15 19:55:56.789	info	undefined is not a valid state value for id "canbus.0.680.04"
        
        canbus.0
        2022-03-15 19:55:56.789	info	undefined is not a valid state value for id "canbus.0.680.fa01d6"
        
        canbus.0
        2022-03-15 19:55:56.788	info	undefined is not a valid state value for id "canbus.0.680.16"
        
        canbus.0
        2022-03-15 19:55:56.786	info	undefined is not a valid state value for id "canbus.0.680.03"
        
        canbus.0
        2022-03-15 19:55:56.781	info	undefined is not a valid state value for id "canbus.0.680.fac0f6"
        
        canbus.0
        2022-03-15 19:55:56.780	info	undefined is not a valid state value for id "canbus.0.680.fac102"
        
        canbus.0
        2022-03-15 19:55:56.780	info	undefined is not a valid state value for id "canbus.0.680.fac100"
        
        canbus.0
        2022-03-15 19:55:56.779	info	undefined is not a valid state value for id "canbus.0.680.fac0ff"
        
        canbus.0
        2022-03-15 19:55:56.779	info	undefined is not a valid state value for id "canbus.0.680.fac0fe"
        
        canbus.0
        2022-03-15 19:55:56.776	info	undefined is not a valid state value for id "canbus.0.680.fac0fd"
        
        canbus.0
        2022-03-15 19:55:56.776	info	undefined is not a valid state value for id "canbus.0.680.fac0fc"
        
        canbus.0
        2022-03-15 19:55:56.775	info	undefined is not a valid state value for id "canbus.0.680.fac0fa"
        
        unifi.0
        2022-03-15 19:55:56.736	info	State value to set for "unifi.0.default.clients.00:04:20:f6:1a:b2.noted" has to be type "boolean" but received type "string"
        
        unifi.0
        2022-03-15 19:55:56.594	info	State value to set for "unifi.0.default.clients.4c:60:de:5d:b9:15.noted" has to be type "boolean" but received type "string"
        
        ping.0
        2022-03-15 19:55:56.570	debug	Ping result for 192.168.1.58: false in -ms
        
        unifi.0
        2022-03-15 19:55:56.529	info	State value to set for "unifi.0.default.clients.f4:06:8d:ba:cd:e3.noted" has to be type "boolean" but received type "string"
        
        canbus.0
        2022-03-15 19:55:56.454	info	undefined is not a valid state value for id "canbus.0.680.fac103"
        
        canbus.0
        2022-03-15 19:55:56.374	info	undefined is not a valid state value for id "canbus.0.680.fa0112"
        
        unifi.0
        2022-03-15 19:55:56.386	info	State value to set for "unifi.0.default.clients.28:16:a8:5d:1d:2b.noted" has to be type "boolean" but received type "string"
        
        unifi.0
        2022-03-15 19:55:56.342	debug	fetchClients: 50
        
        unifi.0
        2022-03-15 19:55:56.314	debug	fetchSiteSysinfo: 1
        
        unifi.0
        2022-03-15 19:55:56.302	debug	fetchSites: default
        
        unifi.0
        2022-03-15 19:55:56.291	debug	Login successful
        
        unifi.0
        2022-03-15 19:55:56.116	debug	Update started
        
        smartmeter.0
        2022-03-15 19:55:55.841	info	Received 13 values, 5 updated
        
        canbus.0
        2022-03-15 19:55:55.375	info	undefined is not a valid state value for id "canbus.0.680.fac103"
        
        canbus.0
        2022-03-15 19:55:55.374	info	undefined is not a valid state value for id "canbus.0.680.fa0112"
        
        canbus.0
        2022-03-15 19:55:54.778	info	undefined is not a valid state value for id "canbus.0.680.fac0f6"
        
        canbus.0
        2022-03-15 19:55:54.777	info	undefined is not a valid state value for id "canbus.0.680.fac102"
        
        canbus.0
        2022-03-15 19:55:54.777	info	undefined is not a valid state value for id "canbus.0.680.fac100"
        
        canbus.0
        2022-03-15 19:55:54.776	info	undefined is not a valid state value for id "canbus.0.680.fac0ff"
        
        canbus.0
        2022-03-15 19:55:54.776	info	undefined is not a valid state value for id "canbus.0.680.fac0fe"
        
        canbus.0
        2022-03-15 19:55:54.775	info	undefined is not a valid state value for id "canbus.0.680.fac0fd"
        
        canbus.0
        2022-03-15 19:55:54.775	info	undefined is not a valid state value for id "canbus.0.680.fac0fc"
        
        canbus.0
        2022-03-15 19:55:54.774	info	undefined is not a valid state value for id "canbus.0.680.fac0fa"
        
        ping.0
        2022-03-15 19:55:54.564	debug	System command: /bin/ping -n -w 2 -c 1 192.168.1.58
        
        ping.0
        2022-03-15 19:55:54.564	debug	Pinging 192.168.1.58
        
        ping.0
        2022-03-15 19:55:54.564	debug	Ping result for 192.168.1.57: false in -ms
        
        canbus.0
        2022-03-15 19:55:54.468	info	undefined is not a valid state value for id "canbus.0.680.0e"
        
        canbus.0
        2022-03-15 19:55:54.375	info	undefined is not a valid state value for id "canbus.0.680.fac103"
        
        canbus.0
        2022-03-15 19:55:54.374	info	undefined is not a valid state value for id "canbus.0.680.fa0112"
        
        crycode 1 Reply Last reply Reply Quote 0
        • crycode
          crycode Developer @Elektroniker86 last edited by

          @elektroniker86 Huch... welche Version vom canbus-Adapter hast du installiert?
          Hast du für die States, die da angemeckert werden, die automatische Abfrage aktiviert? Ansonsten sollte der Adapter hier nichts in die 680.xxx States schreiben. Und selbst wenn das aktiviert hast, sollte er eigentlich nicht undefined sondern true da rein schreiben. 🤔 Zeig am besten mal einen Screenshot der Konfiguration von einem betroffenen Parser, oder einen Export deiner Adapterconfig.

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

            @crycode

            Ok, hier die Infos:

            Screenshot 2022-03-15 203813.jpg

            system.adapter.canbus.0.json

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

              @elektroniker86 Danke!
              In der Parser-Config fehlt der Eintrag für autoSetValue. Das sollte eigentlich auf true oder false gesetzt sein. Ist noch ein Bug im Adapter, den ich demnächst beheben werde. 😉
              Für deinen Fall musst du einfach dabei noch den Haken für "Zu setzender Wert" setzen, damit der jeweilige State im angegeben Intervall auf true gesetzt wird:
              d7af7807-37b2-4ed4-bbb8-697e88c12806-grafik.png
              Dann sollten auch die Meldungen im Log verschwinden 🙂

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

                @crycode
                Muss ich das bei allen Parsern machen ?

                Ich habe jetzt bei jedem abfragen Parser den ich benötige den Haken gesetzt.
                Die Meldungen im log sind weg aber ich kann keine Werte mehr setzen.... 😞

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

                  @elektroniker86 Bei allen, wo du das automatische Wert Setzen aktiviert hast. Schließlich müssen die States ja auf true gesetzt werden für die Abfragen.

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

                    @crycode
                    Die Meldungen im log sind weg aber ich kann keine Werte mehr setzen.... 😞

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

                      @elektroniker86 Bei den *-set Parsern darfst das automatische Wert Setzen nicht aktivieren, außer du willst das wirklich.
                      Nach jedem Setzen eines Wertes musst du den Wert neu abfragen, damit der aktuelle Wert in ioBroker übernommen wird.

                      Falls das auch nicht hilft... wie viele Werte lässt du automatisch in welchem Intervall abfragen? Ist dein Bus oder die Steuerung der Wärmepumpe damit eventuell überlastet?

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

                        @crycode Das ist komisch das automatische abfragen hat aber bevor ich die haken gesetzt habe ja auch funktioniert.

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

                          @crycode
                          Ok, geht wieder hatte bei einem abfrage Parser bei Intervall eine 10 drin stehen...

                          1 Reply Last reply Reply Quote 1
                          • E
                            euro @crycode last edited by

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

                            Bei verdrillten Leitungen und der relativ geringen Baudrate darf die Leitung dann auch durchaus etwas länger sein.

                            Moin
                            tolles Projekt crycode!
                            So eine Daikin wird ziemlich wahrscheinlich auch bei uns einziehen, daher komme ich nochmal auf die Kabellänge zurück.
                            Beim Einsatz von S/FTP Kabeln, wie lange schätzt du darf man das Kabel denn hier machen?
                            Wären 10m oder gar 15m noch realistisch funktional?

                            mfg STefan

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

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

                              Beim Einsatz von S/FTP Kabeln, wie lange schätzt du darf man das Kabel denn hier machen?
                              Wären 10m oder gar 15m noch realistisch funktional?

                              Auf jeden Fall. Bei verdrillten und geschirmten Adernpaaren sind beim CAN-Bus mit 20 kbit/s bis zu 3,3 km Kabellänge möglich.
                              Ich habe den ersten Post mal um ein paar Infos dazu erweitert.

                              1 Reply Last reply Reply Quote 0
                              • E
                                euro last edited by

                                perfekt, da sollte ich drunter bleiben 😁

                                mein ioB läuft in einem Pi im Docker, durchreichen vom CAN HAT sollte doch genauso gehen wie für enocean stick und jeelink clone funktionieren, oder gibt es sonstige Tips?

                                mfg STefan

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

                                  @euro Das CAN-Interface ist im System eine Netzwerkschnittstelle. Da hast du zwei Möglichkeiten, um das in den Docker-Container zu bekommen:

                                  Option 1 - Host-Netzwerk im Container verwenden.

                                  Mit dem Parameter --network=host beim Start des Docker-Containers, nutzt der Container das selbe Netzwerk wie der Host (dein Raspi). Inwiefern das bei dir Sinnvoll ist, musst du selbst entscheiden.

                                  Option 2 - Datenpakete vom can0 Interface per UDP an den Container leiten.

                                  Eine Anleitung dazu habe ich hier geschrieben: https://crycode.de/socketcan-ueber-ethernet-mit-cannelloni
                                  Die Anleitung nutzt zwei getrennte Rechner. Bei dir ist dann der eine Rechner dein Host und der zweite der Container. Hier sollte man noch dazu überlegen, wie man das sinnvoll in den Container einbaut, sodass das auch bei einem Neustart erhalten bleibt.

                                  1 Reply Last reply Reply Quote 1
                                  • E
                                    euro last edited by

                                    Danke!
                                    die option2 hab ich weiter oben schon gelesen

                                    ioBroker läuft schon im Netzwerk Host Mode, alle anderen Container haben ein dediziertes bekommen.
                                    Könnte dann evtl sogar recht einfach gehen

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

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

                                      ioBroker läuft schon im Netzwerk Host Mode

                                      Dann solltest du sogar direkt im Container das can0 Interface zur Verfügung haben. 🙂

                                      E 1 Reply Last reply Reply Quote 1
                                      • E
                                        euro @crycode last edited by

                                        hab grad mal mit Daikin telefoniert
                                        die neuen E Serien der Altherma die ab ~ April ausgeliefert werden, kommunizieren via modbus
                                        d.h. das CAN Modul wird bei mir wohl eh nicht mehr funktionieren

                                        lassen wir uns mal überraschen

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

                                          @euro Oh, das ist natürlich weniger schön... Aber gut zu wissen, danke für die Info!

                                          Vom Modbus habe ich bislang überhaupt keine Ahnung, aber für gibt es zumindest auch einen Adapter: https://github.com/ioBroker/ioBroker.modbus

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

                                            @crycode

                                            Moin,
                                            ich bin nicht so der script pro, deshalb die Frage zu deinem Script ganz oben zum triggern der Abfragen.
                                            Kann ich das so bei mir importieren oder muss ich es irgendwie auf meine Installation anpassen?
                                            Und ist das Script für ein Wert oder reicht dieses um alle Datenpunkte zu überwachen?

                                            Vielen Dank im voraus für deine Rückmeldung!

                                            crycode 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

                                            626
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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