Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days.
0

Feed groups
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Feed groups

by aidan_the_tinkerer on Mon Nov 29, 2021 4:58 pm

Hello,

I'm wondering how exactly the feed groups work as I haven't found many conclusive resources online. How many feeds can be connected? Does it eliminate these lines, for example, in the MQTT library:

Adafruit_MQTT_Publish airtemp = Adafruit_MQTT_Publish(&mqtt, AIO_USERNAME "/feeds/airtemp");

I'm hoping that it does because my sketch is getting pretty long and my Arduino Mega's SRAM is getting pretty full. Also, I'm hoping that this might work with both publishing and subscribing.

Thank you for your help.

Aidan

aidan_the_tinkerer
 
Posts: 42
Joined: Fri Nov 01, 2019 2:48 pm

Re: Feed groups

by rwensley on Tue Nov 30, 2021 6:53 pm

group updating.PNG
group updating.PNG (17.72 KiB) Viewed 200 times


Is there any update on this?

rwensley
 
Posts: 9
Joined: Sun Feb 09, 2014 4:08 pm

Re: Feed groups

by aidan_the_tinkerer on Wed Dec 01, 2021 1:22 pm

Hoping to find out

aidan_the_tinkerer
 
Posts: 42
Joined: Fri Nov 01, 2019 2:48 pm

Re: Feed groups

by brubell on Fri Dec 03, 2021 11:28 am

How many feeds can be connected?


There is not a set number.

Does it eliminate these lines, for example, in the MQTT library:


Yes, but, you'll need to subscribe to the group or publish to the group instead.

There's documentation about these actions here: https://io.adafruit.com/api/docs/mqtt.h ... in-a-group

Let me know if you have any further questions!

brubell
 
Posts: 1606
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.