I’ve got on Photon publishing various events and another set up subscribed to them.
The subscribing photon was unable to handle more than one subscription with Device OS 1.4.4. When I changed it to Device OS 1.2.1, it works.
Below are the two simple subscribe statements. With 1.4.4 whichever one came first in the file worked, and the second one never triggered. Swap the order and the one that is now first works, and the second doesn’t.
Particle.subscribe("LedOn", onHandler, MY_DEVICES); Particle.subscribe("LedOff", onHandler, MY_DEVICES);
Same exact code working fine for me on 1.2.1 and both trigger as expected. I’m just tinkering around at home, so this doesn’t post any real issues for me. But flagging in case others have the same issue or there is something that I’m missing and need to learn that may cause problems for me down the road!
There is this post that is close, but a different issue: Multiple Particle.subscribes strange behavior