Hello,
I am testing a light switch system where each switch is capable of controlling multiple bulbs via multiple groups stored on the switch. I have noticed in the example code, a default group ID is already defined via #define DEFAULT_GROUP_ID 0xB331.
I plan on generating my own group IDs, and hence have a 3 questions I would like to have answered.
- Is there a specific format or range that group IDs must follow in order to be valid (other than being 16 bits long)?
- Do you have any suggestions for generating unique group IDs during run time or on device startup?
- I'm considering using the short address of the first bulb found as the group ID. Do you foresee any issues this might cause?
Thank you very much for your time in answering these,
Angry Oatmeal