Zoran Roncevic
Published © GPL3+

Webhooking Particle Photon to AllThingsTalk

Tutorial for connecting Particle Photon with AllThingsTalk Maker platform.

BeginnerProtip30 minutes1,015
Webhooking Particle Photon to AllThingsTalk

Things used in this project

Hardware components

Photon
Particle Photon
×1

Software apps and online services

AllThingsTalk Maker
AllThingsTalk Maker

Story

Read more

Code

Photon code

C/C++
App for publishing event
int i=0;

void setup()
{

//nothing here for demo
}


void loop()
{

    char payload[255];
    snprintf(payload, sizeof(payload),"{\"v\": %d}",i);  

    Particle.publish("nista", payload,60,PRIVATE);
    delay(5000);
    i++
  
}

Credits

Zoran Roncevic

Zoran Roncevic

19 projects • 127 followers
Hackster Live ambassador in Serbia. Organizer of Maker NS community.

Comments

Add projectSign up / Login