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.
Locked
User avatar
aidan_the_tinkerer
 
Posts: 50
Joined: Fri Nov 01, 2019 2:48 pm

Feed groups

Post by aidan_the_tinkerer »

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

User avatar
rwensley
 
Posts: 10
Joined: Sun Feb 09, 2014 4:08 pm

Re: Feed groups

Post by rwensley »

group updating.PNG
group updating.PNG (17.72 KiB) Viewed 278 times
Is there any update on this?

User avatar
aidan_the_tinkerer
 
Posts: 50
Joined: Fri Nov 01, 2019 2:48 pm

Re: Feed groups

Post by aidan_the_tinkerer »

Hoping to find out

User avatar
brubell
Learn User Page
 
Posts: 2010
Joined: Fri Jul 17, 2015 10:33 pm

Re: Feed groups

Post by brubell »

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!

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”