Page 1 of 1

Defining groups programatically

Posted: Fri Sep 08, 2023 10:29 am
by mottibz
Hello,
Is there a way to define groups (name + included devices) programatically from the ESP32 side?
It will be great if that is possible.
I am using the Arduino APIs but I assume that the IDF APIs can also be called from same code, right?
Thanks!

Re: Defining groups programatically

Posted: Fri Sep 08, 2023 11:20 am
by ESP_Piyush
Device Grouping is a cloud side concept and so, there is no way to create groups from the device side. However, for admin groups (shown on dashboard), there is a concept of creating dynamic groups based on node "type" and "model". Once you define such groups, any nodes satisfying those conditions will get added to those groups automatically.

Re: Defining groups programatically

Posted: Fri Sep 08, 2023 11:53 am
by mottibz
Yes, I have seen that feature in the dashboard but it looks like it is only for "nodes" groups, not for "devices" within nodes. If that is the case than it does not address my issue :-(
Thanks for clearing this!