Multiple Photon Communication

I have two photons each with a DHT sensor sending their data to the same Thingspeak channel. I have one of the photons connected with a Dehumidifier. I want the dehumidifier to turn on whenever either of the sensors read a certain humidity/temperature. Without having to mess with sending all of the data from the other photon, is there a simple way to communicate the two? IE if the solo sensor reads a certain value then send a message or something to the “mother” that will then be in an IF statement to turn on the DEHU. ?

How are you sending the data to Thingspeak?
When you use Particle.publish() any device of yours can subscribe to that event too.

But since you are posting similar questions in multiple other threads: Double, tripple and even more posting the same or very similar questions isn’t received well in any community.

4 Likes

I think I figured it out via docs. I do apologize for my repetitiveness. I am new to this community thing.

I am now trying to find a sensor that will alert me whenever the bucket gets full. The bucket is at an angle towards a wall and gets closer to it once it fills up. Is there any button type sensor that once it is pushed in or touched could do what I said that you know of? Thank you.

Any button (e.g. microswitch), reed switch, IR bream breaker or even a hall sensor could be used for that.
Your mechanical setup is the deciding factor here.
In code you’d jusd digitalRead() the respective input.

1 Like