Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Building a tvOS Smart Home Controller

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
3,230
Language
English
Hacker News Points
-
Summary

The blog post explores the process of developing a smart home controller application using tvOS, Raspberry Pi, and PubNub, focusing on the software side in a two-part series. It explains how to utilize Apple TV as a central command for IoT devices, leveraging tvOS for app development and PubNub for real-time data streaming. The post outlines the setup of the PubNub Swift SDK using CocoaPods, the creation of a PubNub instance for communication between devices, and the design of custom collection view cells to display IoT object states. It also details how the application manages device interactions such as controlling lights, monitoring a kettle's temperature, and adjusting a thermostat, highlighting the integration of different technologies to streamline smart home management directly from a TV interface.