Official source code for PushingBox

Hello,
I just published a source code to connect your Core to PushingBox:

You can now easily send Push Notification, Email, Tweet and more directly from your Core…
Please tell me if the code can be improved or if you have a special request.

4 Likes

Ah. I :heart: how simple it is on the :spark: core side.

It seems like IFTTT to me :smiley:

Hi Clem,

Thanks for the code, I cant seem to get it to work though. I added a couple of lines to help get the serial to work for me.

digitalWrite(LED,HIGH); // Light the onboard LED so you know it's time to open your Serial Terminal
Serial.begin(9600);
while(!Serial.available()); // wait here for user to press ENTER in Serial Terminal
digitalWrite(LED,LOW);

After that everything shows up in the terminal normally

SSID: MYSSID
Core IP: 192.168.1.9
Gateway: 192.168.1.1
Mask: 255.255.255.0
WiFi RSSI: -59
pinDevid1 is HIGH
closing... connecting... connected
sent! - RSSI:-59

pinDevid1 is LOW
pinDevid1 is HIGH
closing... connecting... connected
sent! - RSSI:-59

pinDevid1 is LOW
pinDevid1 is HIGH
closing... connecting... connected
sent! - RSSI:-61

However its not triggering the scenario

how is security handled on pushingbox it all seems to be http…

what’s to stop anyone using your devid to spam you?

You’re right, it’s all HTTP because PushingBox was made to be triggered by small devices that can’t manage HTTPS.
In case someone has your private DeviceID and spams you, you can simply generate a new one.

Hi @clem

Its up and running now… did you make some changes in the last day?