Defining groups programatically

mottibz
Posts: 24
Joined: Tue Jun 02, 2020 12:20 pm

Defining groups programatically

Postby mottibz » Fri Sep 08, 2023 10:29 am

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!

ESP_Piyush
Posts: 296
Joined: Wed Feb 20, 2019 7:02 am

Re: Defining groups programatically

Postby ESP_Piyush » Fri Sep 08, 2023 11:20 am

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.

mottibz
Posts: 24
Joined: Tue Jun 02, 2020 12:20 pm

Re: Defining groups programatically

Postby mottibz » Fri Sep 08, 2023 11:53 am

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!

Who is online

Users browsing this forum: No registered users and 21 guests