Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Integrate Duet into the Homematic via CAN-BUS

    General Discussion
    3
    9
    139
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dogma2k
      Dogma2k last edited by

      Is it possible to read out sensor values and other things via the CAN bus?
      I'm just doing a little tinkering at home and came across a way to integrate CAN bus into the Homematic system.

      T3P3Tony 1 Reply Last reply Reply Quote 0
      • T3P3Tony
        T3P3Tony administrators @Dogma2k last edited by

        @dogma2k the Duet uses a CAN-FD bus for communication between the mainboard and the expansion boards. That prototcol is not designed for what you want to do - the mainboard is not sending its temperatures etc on that bus.

        I suggest you use the Ethernet post and query the information from the object model over http.

        www.duet3d.com

        Dogma2k 1 Reply Last reply Reply Quote 1
        • Dogma2k
          Dogma2k @T3P3Tony last edited by

          @t3p3tony
          It's a shame that it doesn't work that way, but thanks for the quick answer.
          Can you tell me how it works with HTTP?
          I can't do it somehow. At first I thought that one would take the address of the printer and then use the data point designation from the object model, but it didn't work

          T3P3Tony 1 Reply Last reply Reply Quote 0
          • T3P3Tony
            T3P3Tony administrators @Dogma2k last edited by

            @dogma2k see here if you are running in stand alone mode:
            https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests
            and here for SBC mode
            https://github.com/Duet3D/DuetSoftwareFramework/wiki/REST-API-(v3.4-b4-and-later)

            www.duet3d.com

            Dogma2k 1 Reply Last reply Reply Quote 0
            • dc42
              dc42 administrators last edited by

              @dogma2k I had a quick look at Homematic but it appeared to be 100% proprietary and I found no description of the protocols it uses. Can you link to the information you found about integrating with CAN ?

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • Dogma2k
                Dogma2k @T3P3Tony last edited by

                @t3p3tony
                Thank you again, but I'm still pretty new to the subject and somehow I can't see how I should do something. Are there any other descriptions that you know about.

                @dc42
                I wanted to integrate it into the iobroker, there I can install an instance with which I can then read out the BUS via an RPi + MCP2515 CAN BUS module.
                Screenshot_6.jpg
                In this example for a heat pump

                T3P3Tony 1 Reply Last reply Reply Quote 0
                • T3P3Tony
                  T3P3Tony administrators @Dogma2k last edited by

                  @dogma2k I linked to the API documentation designed if you are writing an application to interface with a Duet over the network. I don't know homematic or which types of network or bus it can use other canbus, or how flexible it is to send custom queries.

                  www.duet3d.com

                  Dogma2k 1 Reply Last reply Reply Quote 0
                  • Dogma2k
                    Dogma2k @T3P3Tony last edited by

                    @t3p3tony
                    In principle it is very flexible and there are tons of adapters that you can install (you just have to know which ones). Would it work with an HTTP parser, for example?

                    T3P3Tony 1 Reply Last reply Reply Quote 0
                    • T3P3Tony
                      T3P3Tony administrators @Dogma2k last edited by

                      @dogma2k possibly. a parser is often used to get information from a http reply. you still need to send the right commands to the duet.

                      www.duet3d.com

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA