The use of the ESP8266 in the world of IoT

User avatar
By ulko
#31420 Hi,
I'm using PWM for 4 channels with SDK V1.3.0 for control of a RGBW lamp.
After perfect start and working for rather long time with changing colors, the PWM is out of control: Lamp is flickering with several colors.
This happens, when new commands via http are sent in short intervals.
System output then endless:
E:M 1592
E:M 1592
System then hangs up.
Any idea what the message means???
Regards
ulko
User avatar
By quanttom
#33704 Sorry to bring up an old topic.

I am getting a similar error when using a TCP client to get the weather from an online weather API. It works fine for a few hours, after a few hours it fails to retrieve the weather with that error being shown over and over again.

Here is a snipped from what is happening. I will try and debug this issue over the next while.
Code: Select allDownload: http://api.openweathermap.org:80/data/2.5/weather?id=6094817&units=metric&appid=<MY API KEY IS HERE>
+TCP connection
connect to: api.openweathermap.org
realloc 125 -> 256
===========
WIFI Status:
Successful connected
===========
DNS record found: api.openweathermap.org = 162.243.58.21
TcpConnection::connect result:, 0
OnConnected
TCP connected
onReadyToSendData: 0
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
E:M 1592
===========
WIFI Status:
Successful connected
===========
E:M 1592
E:M 1592
E:M 1592
TCP received: (null)
Failed onGetWeather
Server response: ''
TCP connection closing
-TCP connection