November 2014 Summaries
6 posts from PubNub
Filter
Month:
Year:
Post Summaries
Back to Blog
In an innovative demonstration of how PubNub can power the Internet of Things (IoT), the author built a model house equipped with various IoT features, such as a garage door, lights, and a mobile app, to showcase real-time communication capabilities. This project aimed to illustrate PubNub's role as a real-time network enabling IoT devices to interact, akin to a CDN. The model house, crafted using laser-cut materials and assembled with Arduino components, faced challenges like scaling misalignments and connectivity issues, which were humorously attributed to the Ethernet shield resetting whenever the garage door was opened. Despite these obstacles, the project successfully highlighted the potential of IoT and home automation, with a narrative that invites readers to explore further in the series' second installment.
Nov 25, 2014
1,744 words in the original blog post.
ElasticSearch has enhanced scalable persistent services through its user-friendly scalability using symmetric nodes, though challenges remain in managing ElasticSearch across geographically distant clusters for fault-tolerance and recovery. This tutorial serves as a proof-of-concept for implementing ElasticSearch plugins to facilitate cross-cluster document replication and indexing, aiming to provoke discussion and inspire solutions for global, multi-data center replication despite not being production-ready. It involves configuring either the PubNubChanges or PubNubRiver plugins to propagate ElasticSearch index changes or index PubNub content, respectively, using PubNub's communication platform, with prerequisites including Java setup and a PubNub account. Debugging tools and scripts are provided to test and refine the communication process, requiring installations of Node.js, CoffeeScript, and PubNub, and involve editing scripts with specific publish and subscribe keys to manage document content and indexing.
Nov 24, 2014
650 words in the original blog post.
Adrian Fernandez introduces a tutorial on integrating PubNub with Texas Instruments' LaunchPad Development Kits to stream and visualize sensor data using Freeboard.io, highlighting the potential of combining embedded hardware with cloud services for Internet of Things applications. The LaunchPad kits, starting at $9.99, serve as low-cost, easy-to-use microcontroller development tools that can be programmed using Energia, an open-source IDE compatible with Wiring framework libraries. The tutorial involves connecting various sensors such as a potentiometer, moisture sensor, PIR motion sensor, and ambient light sensor to the LaunchPad, streaming their readings via PubNub, and visualizing the data on Freeboard.io. This setup enables developers to incorporate real-world information into applications, facilitating rapid prototyping of internet-connected devices. The Energia IDE supports both publishing data to PubNub and subscribing to channels for bi-directional communication, allowing the creation of scalable and flexible IoT solutions.
Nov 21, 2014
1,671 words in the original blog post.
PubNub offers a comprehensive solution for building and scaling customer support chat applications with features similar to ClickDesk and Pure Chat, including video, voice, and social integrations. The focus is on creating seamless user experiences for both desk agents and customer prospects, with an emphasis on secure, real-time communication facilitated by PubNub's global data stream network. Developers can utilize PubNub’s SDKs for mobile and web platforms to connect users through dedicated communication channels, enabling functionalities like presence detection and conversation history storage. Security is prioritized through advanced encryption and access controls, ensuring compliance with international standards. Getting started with PubNub requires signing up for an account to obtain API keys, which are used alongside various SDKs to develop robust chat applications without the need for dedicated servers.
Nov 20, 2014
2,065 words in the original blog post.
This tutorial provides a comprehensive guide on building a real-time voting application using D3.js and PubNub, emphasizing the visualization of live poll results as they happen. The process begins with setting up a basic HTML structure, followed by initializing a PubNub account to facilitate real-time data updates. The application dynamically updates a bar graph to reflect votes, utilizing D3.js for data visualization, where each vote modifies the graph's bars in accordance with the model's popularity in a sample beauty pageant scenario. A key feature discussed is PubNub's Storage & Playback capability, which ensures users joining late can see the current voting status by retrieving previously published messages. The tutorial invites exploration beyond the basics, suggesting creative applications like bubble charts for streaming data or live updating line graphs for financial information, with support through additional demos and tutorials.
Nov 18, 2014
1,492 words in the original blog post.
Remote configuration is essential for managing Internet of Things (IoT) devices, allowing users to control connected gadgets like garage doors, lights, and other smart devices from anywhere in the world. PubNub addresses this need by offering solutions to detect the real-time online or offline status of devices and maintain their state through its Storage & Playback features. By leveraging PubNub's tools such as the Presence API and specific tutorials for devices like Raspberry Pi and Arduino, users can remotely configure and control their IoT devices via web applications or browser interfaces. This capability extends beyond home automation to fields like agriculture, shipping, and logistics, enabling comprehensive and flexible control over smart technologies globally.
Nov 13, 2014
619 words in the original blog post.