ESP8266 reset when get value


#1

Dear all
I have a trouble with ESP8266 when try example UbidotsGetValueWithDevice :

  • connect to my wifi network is good
  • when execute command
    float value = client.getValueWithDevice(DEVICE, VARIABLE); my esp8266 is reset

I try a lot of esp8266, it is still problem
I am using UbidotsMicroESP8266.h

Pls. help me


#2

Dear all
I think error in UbidotsMicroESP8266.h with my industrial account

#ifndef _UbidotsMicroESP8266_H_
#define _UbidotsMicroESP8266_H_
#endif

#include <ESP8266WiFi.h>
#include "WiFiUdp.h"

#ifndef TIME_SERVER
#define TIME_SERVER "pool.ntp.org"
#endif

#ifndef SERVER
#define SERVER "translate.ubidots.com"
#endif
#ifndef PORT
**#define PORT 9012**
#endif

#ifndef HTTPSERVER
#define HTTPSERVER "things.ubidots.com"
#endif
#ifndef HTTPPORT
#define HTTPPORT 80
#endif

#ifndef USER_AGENT
#define USER_AGENT "UbidotsESP8266"
#endif
#ifndef VERSION
#define VERSION "1.3"
#endif
#ifndef DEFAULT_DEVICE_NAME
#define DEFAULT_DEVICE_NAME "ESP8266"
#endif

#3

Greetings, you can find a raw example (without our library) in this link, in that way you can make a deeper debug to your actual issue.

All the best