 
     }
     // DEBUG
-    Particle.publish("Color_Recieved", System.deviceID() + "~" + receivedHue + "~" + receivedSaturation + "~" + receivedValue);
+    Particle.publish("Color_Recieved", selfName + "~" + receivedHue + "~" + receivedSaturation + "~" + receivedValue);
     // END DEBUG
-    baseColor = CHSV(receivedHue, receivedSaturation, receivedValue);
+    if(receivedID ==otherName ){
+        baseColor = CHSV(receivedHue, receivedSaturation, receivedValue);
+    }
 }
+

int receivedHue = 0;
int receivedSaturation = 0;
int receivedValue = 0;

String receivedID;
CHSV baseColor;

void setup() {
    Particle.subscribe("Beacon Update", ColorUpdate, MY_DEVICES);



void ColorUpdate(const char *name, const char *data) {
    String receivedID;
    if (data) {
        
        char input[64];
        strcpy(input,data);
        char *p;
