This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DALI Thread Protocol Implementation

Hi,

I am trying to implement DALI-104 (IEC-62386:104:2019) on top of Thread protocol.

I am using  Thread: CoAP Client and  Thread: CoAP Server  and want to configure these codes according to DALI-104 standards

I have a couple of questions regarding the backbone of the protocol:

  1. CoAP is a client-server protocol and I am not sure how to configure the devices correctly. Should I make all the luminaries server and the controller client? or what is the right configuration for this case?
  2. In DALI-104 standard, there is no any keyword client or server. Is it possible to implement CoAP without client-server model?

Best regards.

  • Hi orkunsengur,

    As you can see from the 104 over IP protocal stack, your implementation of DALI is mostly focused on the colored parts, which is out of our support scope. Our Thread examples already show the implementation of CoAP usages base on the Thread wireless network. DALI-104 is one application-level protocol dedicated to digital lighting control. We do not have much experience with it and it is better to discuss this implementation question on a DALI related forum, but I can try to give you suggestions after reading the DALI-104 specification. 

    Back to your questions, 

    1. The DELI specifications should have defined the roles of different kinds of devices. I did not read the detail, but from DALI-104 B.5.3.2 CoAP transport you can find their requirement on CoAP commination parameters. Based on my experience, due to the features of the CoAP client and server, the luminary normally plays the role of the CoAP server and the controller plays the role of the CoAP client. You need to check the DALI speciation on the roles of devices.

    2. That is true, but I think this may be covered by other DELI documents, also this is not necessary. Once you clearly know DELI device roles, you would be able to choose them naturally. CoAP has to work on the client-server model, this is defined by CoAP specification RFC7252.

     

    Best regards,

    Charlie

Related