Connecting a Arduino Micro with Adafruit CC3000 to a local server

I’m trying to test a local blynk server setup! but im having issues with the arduino not able to connect to the server!

1º run the server with no issues
2º run the client to test the server with no issues
3º run the iphone app, and connected to the server with no issues
4º created a dashboard with only a slider to run the neopixel demo from the library, copy/pasted the token from the app to the arduino code, uploaded it, the arduino pings and auths to the wifi on the network, the wireless is working as expected
5º when i enter play within the app, it says that the arduino wasnt found and when i go to the server/user log:

13:10:57.815 DEBUG - Activating dash 1 for user
13:10:57.820 TRACE - No device and Pin Mode message catch. Remembering.
13:10:57.820 ERROR - No device in session.
13:11:09.142 ERROR - No device in session.

it says no device in session, but im sure the auth token is correct! do i need to add the server ip/port on the arduino code besides the auth token?

char auth[] = "xxxxxxxxxxxx";

maybe im missing something? can someone please provide a checklist or a test arduino code to use with a arduino_micro+adafruit_cc3000+local_server

here is my example code:

//#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space

// These are the interrupt and control pins for СС3000
#define ADAFRUIT_CC3000_IRQ   3 //checked on the arduino wifi is working as expected
#define ADAFRUIT_CC3000_VBAT  5 //checked on the arduino 
#define ADAFRUIT_CC3000_CS    10 //checked on the arduino 

#include <SPI.h>
#include <Adafruit_CC3000.h>
#include <BlynkSimpleCC3000.h>
#include <Adafruit_NeoPixel.h>

#define PIN 6 //checked on the arduino 

Adafruit_NeoPixel strip = Adafruit_NeoPixel(5, PIN, NEO_GRB + NEO_KHZ800);

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "514fd42436254cd3abdb1f845c8608e2"; //checked on the arduino and app and log

void setup()
  Blynk.begin(auth, "dummy", "dummy", WLAN_SEC_WPA2); //checked on the arduino wifi works great

BLYNK_WRITE(1) //checked on the app v1 pin 
  int shift = param[0].asInt();
  for(int i=0; i< strip.numPixels(); i++)
    strip.setPixelColor(i, Wheel(((i * 256 / strip.numPixels()) + shift) & 255));

void loop()

// Input a value 0 to 255 to get a color value.
// The colours are a transition r - g - b - back to r.
uint32_t Wheel(byte WheelPos) {
  if(WheelPos < 85) {
   return strip.Color(WheelPos * 3, 255 - WheelPos * 3, 0);
  } else if(WheelPos < 170) {
   WheelPos -= 85;
   return strip.Color(255 - WheelPos * 3, 0, WheelPos * 3);
  } else {
   WheelPos -= 170;
   return strip.Color(0, WheelPos * 3, 255 - WheelPos * 3);

Exactly, see this example. For instance :

IPAddress server_ip (10, 0, 0, 10);
Blynk.begin(auth, server_ip, 8442);

1 Like

Thanks Dmitriy, thats what i thought.