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
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.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- rwensley
- Posts: 10
- Joined: Sun Feb 09, 2014 4:08 pm
Re: Feed groups
Is there any update on this?
- aidan_the_tinkerer
- Posts: 50
- Joined: Fri Nov 01, 2019 2:48 pm
Re: Feed groups
Hoping to find out
- brubell
- Learn User Page
- Posts: 2010
- Joined: Fri Jul 17, 2015 10:33 pm
Re: Feed groups
There is not a set number.How many feeds can be connected?
Yes, but, you'll need to subscribe to the group or publish to the group instead.Does it eliminate these lines, for example, in the MQTT library:
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!
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.