ZLL Multiple addresses

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

Does anybody know if it is possible in Bitcloud V3.1.0 using the ZLL protocol  to give 1 controller multiple addresses?

 

My purpose is to have 1 controller that controls multiple color lights that can be individually addressed.

 

 

Thanks. 

Last Edited: Fri. Oct 16, 2015 - 12:38 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why not make part of the data payload to contain the sub-address of each of the various lights?

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I want to use standard zll commands.

The end result has to be compatible with the gateway and app that I'm currently using to control my lights (raspbee and harmonix).

 

Koen

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

So at what point you need multiple addresses assigned to one device?

 

Each device has its own address. If you want to send data to multiple device, you either send one message to each of them, or add them to a group and send a multicast message, or send a broadcast message.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for your response.

 

Maybe I formatted the question wrong.

Is it possible to have 1 controller (atmega256rfr2) controlling multiple lights that can be dimmed individually?

I thought it would certainly be possible if the controller simulated to have multiple addresses.

 

I Have a board that contains 1 controller (atmega256rfr2) and 6 led drivers.

But maybe there is a better way, if any. Do you know of a way to accomplish this?

 

Can I for example add more than 1 level control cluster?

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

This is how it works by default. One controller controls multiple lights. By default communication is broadcast, but you can select individual devices as well. For example on the RCB KeyRemote, the black button cycles through the lights. And when the light is selected, it will be controlled individually.

 

There is no need to register anything extra, it works like that out of the box.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is it possible to have 1 controller (atmega256rfr2) controlling multiple lights that can be dimmed individually?

 

It is possible by using multiple endpoints, where each endpoint represents a "HA/ZLL dimmable light".

 

The default BitCloud ZLL example application implements only one endpoint so you have to modify the sources.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks. That is was the answer I was looking for.

 

Do you have any idea where to start adding more endpoints on one controller?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I finally got what you want to do. Yes, it is possible to do that using multiple endpoints, but this will not work with any off the shelf hubs and remotes. They all expect to see only one endpoint.

 

It is also not very easy to do, the application and the rest of the system is not setup to do that. You need to start at the very beginning - in the main initialization function.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.