Particle Subscribe type behavior in LAN only scenario


I am inquiring as to the recommended method to have one Photon input control an output on the second Photon.
I have done this with particle subscribe but this scenario will be without Internet. The devices will have access to WiFi and will be on the same network.


The simplest would be TCP/UDP communication (assuming WiFi is paramount) but depending on your security demands you might need to invest some extra work into encryption.

Thanks ScruffR! Security on this application is not an issue. Do you recommend any example code to reference? My goal is a single input to a single output and long term stability. Not sure if periodic reboots ever x number of days would be a good idea or not as they will be located as a fairly remote location.

Stability is up to testing, but the docs do show use cases for TCPClient and UDP

1 Like