+

IoT

if this then that

Recipe

Trigger

Action

tabakaleraBOT@gmail.com

ASUNTO

twitter.com/TabakaleraBOT

Getting Started

Publish

Subscribe

// SIMPLEST SYNTAX

Particle.publish(String eventName);

 

// EXAMPLE DEVICE CODE

Particle.publish("Boiling!");

 

// SYNTAX FOR SENDING DATA

Particle.publish(String eventName, String data);

 

// EXAMPLE DEVICE CODE

Particle.publish("Boiling!", "212");

 

// THE COMPLETE VERSION, useful for making events private

Particle.publish(String eventName, String data, int ttl, PRIVATE);

 

// EXAMPLE DEVICE CODE

Particle.publish("Boiling!", "212", 60, PRIVATE);

IFTTT + Photon

By Yo Seba

IFTTT + Photon

  • 1,516