I was working on a project that utilized 10 different webhooks at different times in the sketch. The photon documentation says you can register up to 20 webhooks with a single device, but the particle.subscribe( ) function says :
“NOTE: A device can register up to 4 event handlers. This means you can call Particle.subscribe() a maximum of 4 times; after that it will return false.”
Am I wrong to think I cannot get data from 10 separate webhooks in one sketch?
I can see the webhook data for all 10 in the console but when I try to print the data on an LCD screen I can’t seem to print more than 4 in one sketch. They all work and it doesn’t matter which 4 I choose as long as I don’t subscribe to more than 4.
Is that just the way it is? Is there a workaround or do I need to look at other ways or consolidating the webhook data before the photon makes the call.
Thanks for any advice.