Intigrating Glowfi.sh into my project

I just set up a glow.fish account and I have a piece of code that blinks and led and sends events to the particle cloud. How can I send this data to glow.fish. Here is the code

void setup(){
pinMode(D7, OUTPUT);
}

void loop(){
digitalWrite(D7, HIGH);
Spark.publish("ledStatus", "HIGH");
delay(1000);
digitalWrite(D7, LOW);
Spark.publish("ledStatus", "LOW");
delay(1000);
}

What have you tried so far?

I went to glowfi.sh and added an app and named it blink-led.I then got an auth key and an auth secret key.

Theres some introduction using a photon here : http://docs.glowfi.sh/docs/real-time-sensor-anomaly-detection, theres code linked below the video.

Seems you send json data over http, so reasonably straight forward.

1 Like