The use of the ESP8266 in the world of IoT

User avatar
By kurt.e.clothier
#23280 If anyone is interested, I recently created an IoT demo using the ESP8266 and the real time data streaming service PubNub. PubNub allows devices to publish messages to a secure channel which can be read by any other device (or web browser) in the world with the same keys and channel name.

The entire project is discussed here:
http://www.pubnub.com/blog/basic-iot-publishsubscribe-messaging-for-esp8266/

And the source code can be found here:
https://github.com/pubnub/pubnub-esp8266

I am relatively new to the ESP8266, and I would love some feedback from the community about how I am using it, or if you have any other comments or suggestions!

Full disclosure, I do work at PubNub, and I don't mean for this post to be an advertisement. (I'm an engineer, not in marketing!) I am really more interested on what anyone thinks about the project...
User avatar
By jeny
#24398
kurt.e.clothier wrote:If anyone is interested, I recently created an IoT demo using the ESP8266 and the real time data streaming service PubNub. PubNub allows devices to publish messages to a secure channel which can be read by any other device (or web browser) in the world with the same keys and channel name.

The entire project is discussed here:
http://www.pubnub.com/blog/basic-iot-publishsubscribe-messaging-for-esp8266/

And the source code can be found here:
https://github.com/pubnub/pubnub-esp8266

I am relatively new to the ESP8266, and I would love some feedback from the community about how I am using it, or if you have any other comments or suggestions!

Full disclosure, I do work at PubNub, and I don't mean for this post to be an advertisement. (I'm an engineer, not in marketing!) I am really more interested on what anyone thinks about the project...



Can you suggest to use use arduino Pubnub library with ESP8266 ArduinoIDE ????

I am more familier with ESP8266 project made in Arduino IDE, so love to use your arduino pubnub library , but during complilation, it hangs.
User avatar
By kurt.e.clothier
#24431 Sorry about that. No, I wouldn't expect the code to compile using Arduino IDE. This project is intended as a stand-alone device - that is, you are directly programming the ESP8266. I used the xtensa-tools GCC compiler and the official Espressif SDK. These are documented in the ESP8266 wiki.

I don't know if you are wanting to talk to this device from Arudino, or just program it using the Arduino IDE. I am planning to create a serial-based version of the firmware so you can publish and subscribe using an external controller (such as Arduino), but I have no intention of porting the code to other development environments.