Already Arduino IDE for ESP developement, so we will be happy if pubnub expert will provide library for Arduino IDE(ESP8266 developement).
http://makezine.com/2015/04/01/installi ... ontroller/
Explore... Chat... Share...
String url = "http://pubsub.pubnub.com/publish/demo/demo/0/rkgtest/0/%22Hello%20World%22";
Serial.print("Requesting URL: ");
Serial.println(url);
// This will send the request to the serveg
client.print(String("GET ") + url + " HTTP/1.1\r\n" +
"Host: " + host + "\r\n" +
"Connection: Keep-Alive\r\n\r\n");
delay(10);
.....
WiFi connected
IP address:
192.168.1.5
connecting to http://pubsub.pubnub.com
Requesting URL: http://pubsub.pubnub.com/publish/demo/d ... 20World%22
HTTP/1.1 400 Bad Request
Server: nginx
Date: Sat, 01 Aug 2015 12:53:24 GMT
Content-Type: text/html
Content-Length: 166
Connection: close
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx</center>
</body>
</html>
closing connection
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]