Hi Particle Community!
I just purchased 2 Particle Electron 2G.
I’ve looked through the community for something like this, but I can’t find any that can help.
Is it possible to get a trigger from Electron1 where the ACTION results in a signal sent to Electron2?
I have an Electron1 that measures temperature in a house, it reaches 25 degrees Celsius which is the trigger for IFTTT. The ACTION will then be to send a signal to Electron2 that will turn on a fan. Is this concept possible? if so, how can I do this?
I’ve done some more reading in the guide.
Is it possible for Electron1 to publish an event with
particle.publish(EventName); and Electron2 is subscribed to this event with
Particle.subscribe(EventName, theHandler);, where the handler turns on a fan, based on the response from the subscription from the Electron2 publish?
I figured it is possible with the EDIT 1 method from reading: https://docs.particle.io/reference/firmware/photon/#particle-subscribe-
I’ll leave it here incase someone else wants to know if this is possible.