Integrate Duet into the Homematic via CAN-BUS
-
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. -
@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.
-
@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 -
@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) -
@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 ?
-
@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.
In this example for a heat pump -
@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.
-
@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? -
@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.