Scriptlets
Embodiments disclosed herein are related to a method that can include displaying first content on a media display, receiving first data generated from or determined by an Internet of Things (IoT) device, and displaying second content in response to receiving the first data from the IoT device.
1. A method comprising:
displaying first content on a media display;
receiving first data generated from or determined by an Internet of Things (IoT) device, wherein the IoT device is a camera, and wherein the first data comprises image data from the camera; and
analyzing the image data from the camera to detect a human in the image data;
determining a demographic of the human;
selecting second content from a plurality of possible content options for display based on the demographic of the human, wherein a software controller extension selects the second content from the plurality of possible content options by determining that the second content is relevant to the detected human based on the determined demographic of the human; and
displaying the second content in response to receiving the first data from the IoT device,
wherein the software controller extension is created with an integrated development environment using an application programming interface.
2. The method of claim 1 further comprising:
analyzing the image data from the camera to detect a human in the image data;
determining whether the human is detected in the image data for more than a predetermined period of time; and
displaying the second content in response to detecting that the human is in the image data for more than the predetermined period of time.
3. The method of claim 1 wherein the demographic is a gender of the human or an age of the human.
4. The method of claim 1 further comprising:
establishing a connection with a Bluetooth device;
receiving identification information about a user of the Bluetooth device from the Bluetooth device; and
displaying the second content in response to receiving the identification information, wherein the second content is personalized to the user of the Bluetooth device based on the identification information.
5. The method of claim 1 further comprising determining the second content based on the first data from the IoT device.
6. A system comprising:
an Internet of Things (IoT) device;
a processor and a memory;
a software controller extension saved in the memory and executed by the processor, wherein the software controller extension is created with an integrated development environment using an application programming interface; and
a media display;
wherein the processor is configured to (a) provide first content to be displayed on the media display, (b) receive first data generated from or determined by the Internet of Things (IoT) device, wherein the IoT device is a camera, and wherein the first data comprises image data from the camera, (c) analyze the image data from the camera to detect a human in the image data, (d) determine a demographic of the human, (e) select second content from a plurality of possible content options for display based on the demographic of the human and (f) display second content in response to receiving the first data from the IoT device, and
wherein the software controller extension selects the second content from the plurality of possible content options by determining that the second content is relevant to the detected human based on the determined demographic of the human.
7. The system of claim 6 wherein the processor is further configured to analyze the image data from the camera to detect a human in the image data and determine whether the human is detected in the image data for more than a predetermined period of time, and
wherein the media display is configured to display the second content in response to the processor detecting that the human is in the image data for more than the predetermined period of time.
8. The system of claim 6 wherein the demographic is a gender of the human or an age of the human.
9. The system of claim 6 further comprising a Bluetooth receiver,
wherein the Bluetooth receiver is configured to establish a connection with a Bluetooth device and receive identification information about a user of the Bluetooth device from the Bluetooth device,
wherein the media display is configured to display the second content in response to the processor receiving the identification information, and
wherein the second content is personalized to the user of the Bluetooth device based on the identification information.
10. The system of claim 6 wherein the processor is further configured to determine the second content based on the first data from the IoT device.