Hi all,
Is it possible in any way for a photon to check from which device a posted event is coming, other than having it encoded in event name or data fields? ie. is there some additional meta send along with the post to subscribed devices, which is for example available for webhooks?
context:
for a freshman course (Design Engineering for Physics Students) I’m teaching that had to move to an online / at home format because of the corona measures, we are building a de-centralised Rube Goldberg machine where each student group makes a part of the machine at home, that get’s triggered by an online signal and in the end, they hand off the signal to the next group.
given my students, there is a fair chance some of them will try to “troll” by posting events to trigger other groups before their time, thus breaking the chain.
I could, in theory, work with random strings for both topic and data, which I hand out to individual groups, so they don’t know what topic to listen to for the other groups. However, for overview and simplicity of the entire endeavour, it would be easier if they all could subscribe to the same topic, but than only react of a message comes from my central device.
I (don’t think) I can work with products, since they need the freedom to upload their own code to the Photon…
any help appreciated.