User Guide for DTI Automation models including: Control4 Android TV, Control4, Android TV

Android TV Overlay Control4 v3.odt

vivek pandya

Download

Control4 Android TV Notification


File Info : application/pdf, 16 Pages, 3.13MB

PDF preview unavailable. Download the PDF instead.

Android TV Overlay Control4 v3.1
Android TV Noti ication for Control4
INSTALLATION AND USAGE GUIDE

Contents
Install TV Overlay App...................................................................................................................................................................2 1. Install TvOverlay on your Android TV via PlayStore..............................................................................................2 2. Run TvOverlay and inish all setup steps:....................................................................................................................2
Driver Setup........................................................................................................................................................................................3 1. Add Driver iles into Composer........................................................................................................................................3 2. Add Light Driver into Project.............................................................................................................................................4 3. Send Test Noti ication...........................................................................................................................................................6
Use Cases..............................................................................................................................................................................................7 1. Door Lock Opened/Closed..............................................................................................................................................7 2. Camera Image noti ication when door Opened....................................................................................................9 3. Camera Video Live Stream noti ication when motion detected..................................................................11 4. Lighting Noti ication.......................................................................................................................................................13
Developer Information................................................................................................................................................................15 Driver Support................................................................................................................................................................................15
1

Install TV Overlay App
1. Install TvOverlay on your Android TV via PlayStore
2. Run TvOverlay and finish all setup steps:
 Draw over other apps permission: Permission required to create an overlay. Depending on the Android version and manufacturer this option may not be available on a system setting menu. In this case, you will have to enable it via ADB command. After enabling ADB on your AndroidTV, you can send the command using TvOverlay Remote or any other app or computer software that sends ADB commands. The ADB command is: adb shell appops set com.tabdeveloper.tvoverlay SYSTEM_ALERT_WINDOW allow
 Battery optimization: This step is optional but recommended to avoid the app being killed by the system. If you cannot access the system option to disable battery optimization, you may have to enable it via ADB command. After enabling ADB on your AndroidTV, you can send the command using TvOverlay Remote or any other app or computer software that sends ADB commands. The ADB command is: adb shell dumpsys deviceidle whitelist +com.tabdeveloper.tvoverlay
2

Driver Setup
1. Add Driver files into Composer.
a. Make sure you have downloaded and installed the latest version of Composer Pro from
dealer portal
b. Download latest driver iles from Email Zip File. or from this download link
c. The driver you have downloaded will be in a zip ile. Double click on this ile to open it
in your preferred zip program (WinZip, WinRAR, etc.).
d. put the c4i ile to My Documents\Control4\Drivers directory. If you are using Windows
7/8 this will be extracted to the libraries\Documents\Control4\Drivers directory.
e. You are now ready to add and con igure the driver via the Composer Pro software.
f. Note: While copy pasting driver into driver folder, ensure you overwrite with older
version, don't create multiple copies. Multiple copies of the driver lead to error in updates.
3

2. Add Light Driver into Project
a. Launch the Composer Pro application and connect to your project. b. In the System Design' page select the `Search' tab on the right-hand side. Make sure the
locale is selected.
c. Type in `Android TV Noti ication' in the search ield. d. Double click on the `Android TV Noti ication' driver to add it to your project. e. Once it is added, you can rename the driver as per your requirements.
4

f. Once you added the desired driver, navigate to properties tab of driver. g. Insert Activation key h. Insert Device IP address in Device IP address tab, make sure you have made this IP
static for the TV
i. Insert 5001 into Device Port tab
5

3. Send Test No fica on
a. Navigate to Actions tab and click on Send Test Noti ication, you'll see smiley face icon
noti ication.
b. it will re lected into LUA Output as below.
6

Use Cases
1. Door Lock Opened/Closed
To set the Door Open/Close Noti ication on TV here are the steps
a. In Composer, go to Programming section and select Door Sensor Event b. On right hand side select Android TV Noti ication Driver c. Select "Send Text Noti ication" in Device Speci ic Command as shown below.
7

1. Title: Displays the main title of the noti ication. 2. Message: The text you want to display in the noti ication. 3. Source: Information displayed as the source above the title. 4. Large Icon: The primary icon for the noti ication. 5. Small Icon: A smaller icon to complement the noti ication. 6. Small Icon Colour: The colour applied to the small icon. 7. Time: Speci ies the duration (in seconds) the noti ication will remain on the screen. If
set to zero, the noti ication will not display. 8. Corner: Determines which corner of the screen the noti ication appears. 9. Pause Media: Option to pause media playback (currently unsupported; always select
"NO").
You can insert any URL of the icon, but for best performance visit https://mdi.bessarabov.com/ and choose any icon you want and
paste MDI link in icon tab as shown below.
8

2. Camera Image no fica on when door Opened
If you want to show snapshot from a camera on screen when someone pressed the doorbell.
a. To do such, navigate to events for motion sensor and select when motion sensor detects motion event.
b. On right hand side select Android TV Noti ication Driver c. Select Send Text Noti ication with Image Option for this. d. Let's understand all properties we have here.
9

1. Title: Displays the main title of the noti ication. 2. Message: The text you want to display in the noti ication. 3. Source: Information displayed as the source above the title. 4. Large Icon: The primary icon for the noti ication. 5. Small Icon: A smaller icon to complement the noti ication. you can insert any URL of the icon, but for best performance visit https://mdi.bessarabov.com/ and choose any icon you want and paste MDI link in icon tab as shown below. 6. Small Icon Colour: The colour applied to the small icon. 7. Time: Speci ies the duration (in seconds) the noti ication will remain on the screen. If
set to zero, the noti ication will not display. 8. Image URL: Please insert link of Image along with username and password 9. Corner: Determines which corner of the screen the noti ication appears. 10. Pause Media: Option to pause media playback (currently unsupported; always select
"NO"). 10

3. Camera Video Live Stream no fica on when mo on detected
If you want to show video stream from a camera on screen when particular motion sensor detects the motion you can do this with this amazing option named Send text noti ication with video.
a. To do such navigate to events for motion sensor and select when motion sensor detects motion event.
b. On right hand side select Android TV Noti ication Driver c. Select Send Text Noti ication with Video Option for this. d. Let's understand all properties we have here.
11

1. Title: Displays the main title of the noti ication. 2. Message: The text you want to display in the noti ication. 3. Source: Information displayed as the source above the title. 4. Large Icon: The primary icon for the noti ication. 5. Small Icon: A smaller icon to complement the noti ication. you can insert any URL of the icon, but for best performance visit https://mdi.bessarabov.com/ and choose any icon you want and paste MDI link in icon tab as shown below. 6. Small Icon Colour: The colour applied to the small icon. 7. Time: Speci ies the duration (in seconds) the noti ication will remain on the screen. If set
to zero, the noti ication will not display. 8. Video URL: Please insert rts link of video along with username and password 9. Corner: Determines which corner of the screen the noti ication appears. 10. Pause Media: Option to pause media playback (currently unsupported; always select
"NO"). 12

4. Ligh ng No fica on
If we want ixed noti ication like notify about lights are on or weather noti ication you can use this ixed noti ication.
a. To do such navigate to events for motion sensor and select when motion sensor detects motion event.
b. On right hand side select Android TV Noti ication Driver c. Select Send Send Fixed Noti ication Option for this.
d. Let's understand all properties we have here.
13

Visible = YES
Only Icon Icon Message
1. ID: This is unique identi ier of any ixed noti ication, You can make it as per your requirement for your reference.
2. Visible: This is Status of noti ications, if you want to show noti ication set it to YES and if you want to hide it set it to NO
3. Message: The text you want to display in the noti ication. 4. Message Colour: The colour applied to the message. 5. Icon: A smaller icon to complement the no fica on. you can insert any URL of the icon, but for best performance visit https://mdi.bessarabov.com/ and choose any icon you want and paste MDI link in icon tab as shown below. 6. Icon Colour: The colour applied to the small icon. 7. Border Colour: The colour applied to the Border. 8. Background Colour: The colour applied to the Background. 9. Shape: You can choose desired shape of noti ication.
14

Developer Informa on
DTI Automa on Pvt. Ltd. 101-102, Goldcro complex, Jetalpur Road, Vadodara, Gujarat, India- 390016 Know more about us at www.d automa on.com
Driver Support
For any help/assistance in Integration of this driver with control4, please contact the Tech support Department in DTI write us at support@dtiautomation.com or call us at +91-6355627172 or +919601350488 15



References

Microsoft: Print To PDF