Make your Arduino accessible from anywhere via the Yaler relay.
Setting up your device requires a relay domain. Please sign up to get one.
This tutorial works with any Arduino setup supporting the Adafruit CC3000 library, e.g. the Adafruit or SparkFun breakout.
Using another setup? See how to access your Arduino WiFi, the Arduino WiFi101, the Arduino Ethernet or the Arduino Yún.
Follow these steps to add the Yaler_CC3000_Server library to your Arduino IDE.
Yaler_CC3000_Server.zip
C:\Users\USER_NAME\Documents\Arduino\Libraries\Yaler_CC3000_ServerOn Mac OS X extract the ZIP to
~/Documents/Arduino/libraries/Yaler_CC3000_Server
File > Examples > Yaler_CC3000_Server > YalerWebService
Yaler_CC3000_Server server("try.yaler.io", 80, "gsiot-ffmq-ttd5");How to adapt an existing Arduino Web service to make it accessible from the Web.
#include <Yaler_CC3000_Server.h>
Adafruit_CC3000_Server server(80);with the line
Yaler_CC3000_Server server("try.yaler.io", 80, "RELAY_DOMAIN"); // Use YOUR relay domain#include <Adafruit_CC3000.h> #include <Yaler_CC3000_Server.h> ... //Adafruit_CC3000_Server server(80); Yaler_CC3000_Server server("try.yaler.io", 80, "RELAY_DOMAIN"); // Use YOUR relay domain void setup() { ... } void loop() { ... }
This library is still in beta. Found a bug or design issue? Let us know.
This work by Yaler GmbH is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.