Zoran Roncevic
Published © GPL3+

Webhooking Particle Photon to AllThingsTalk

Tutorial for connecting Particle Photon with AllThingsTalk Maker platform.

EasyProtip30 minutes501
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

18 projects • 111 followers
Hackster Live ambassador in Serbia. Organizer of Maker NS community.

Comments

Add projectSign up / Login