CONFIG: Android TV / Zank Remote

CONFIG: Android TV / Zank Remote

Overview

Chowmain's Android TV drivers for various home automation platforms utilise Zank Remote to control Google TV / Android TV / Fire TV devices.  All communications between the drivers and the Android device is done via the app.  Note that you must install and setup the application via the steps below before configuring the drivers.

Setup the device to a static IP Address

We recommend putting the Google TV / Android TV / Fire TV device onto a static IP or reserved IP address.

Enabling Developer Mode

The Zank Remote requires the following developer mode settings to be enabled to function properly

Developer Mode

  1. From the Home screen, select Settings >Device Preferences > About


  2. Now scroll down to Build and click on Build several (7x as of writing this manual) times until the message appears, "You are now a developer!"




USB Debugging

  1. From the Home screen select Settings > Device Preferences > Developer Options > USB Debugging and select OK



How do i install Zank Remote

Zank Remote can be downloaded from Google Play store.  You can also manually install Zank Remote by downloading the APK attached to bottom of this knowledgebase article.  Note if you download the APK you must install it by sideloading the APK.  Android Authority has a great article on how to sideload if you require instructions.  Alternatively you can follow the instructions on this Yahoo Hot to Geek article.

Once installed start the app.  It will prompt you to allow for USB debugging..

Disabling Auto Update

We also suggest disabling auto updates. When the device has a pending update is can affect the apps running in the background like Zank.

Troubleshooting a Zank Install on an AndroidTV device

Removing our driver and the control system from the equation, we can test that the Android TV device and the install of the Zank Android Remote app is functioning by using the following tests.

Required Software
Putty (or similar telnet app) https://putty.org/index.html

Using PuTTY

Use the following to configure PuTTY:
Host Name: The IP address of the Android TV device
Port: Must be 1029
Connection type: Telnet

When you click Open PuTTY should open a black window and not disconnect.
If it disconnects then there is an issue with the Zank Android Remote app set up on the Android TV device.

Using Packet Sender


Use the following to configure Packet Sender:
Name: can be anything
ASCII: dpadRight
HEX: (will be auto populated)
AddressThe IP address of the Android TV device
Port: 1028
Type: UDP (will default to TCP, please change this via the drop down list)
please note that the port numbers are different for PuTTY and Packet Sender

When you click the Send button, you won't get a response (see below) but the Android TV device should respond to the command

If the Android TV device doesn't react then it is either an issue with the install of Zank Android Remote app or there is a network device (usually an access point) that is dropping broadcast UDP traffic.
This is usually a setting in the network device that you can adjust.

Instructions for specific brands

Nvidia Shield / Generic Android TV

In the nvidia shield or any other generic Android TV device, you can disable auto update by performing the following steps

- Settings
- Device Preferences
- About
- System Upgrade
and turn AutoUpdate to off

FireTV

For the Fire TV, does not need to have auto update disabled.

Help! I am getting text to speech after i install Zank Remote.

On certain Android TV set top boxes this has been seen to happen.  You will need to disable "Google Voice Service Application” on the developer menu.
    • Related Articles

    • Control4 Hisense VIDAA - Remote Does Not Contain Numeric Keypad

      Some TV's in some regions are shipped with a remote control which does not contain a numeric keypad. A remote control must be purchased separately which includes the numeric keypad for setup with this driver.
    • CONTROL4 HIKVISION: Live view works locally but not remote

      If the camera’s live view functions correctly when connected locally through the Control4 iOS or Android app, but fails to display when accessed remotely (off-network), the issue is typically caused by the ‘Publicly Accessible’ option being enabled ...
    • Control4 Hisense VIDAA: TV control is erratic

      TV Control only works intermittently Solution Ensure that CEC is disabled on the TV. CEC can interfere with control particularly when devices power on or off Check the stability of the network connection. A wired connection is recommended for best ...
    • Control4 Hisense VIDAA: TV does not power on consistantly

      Symptoms TV does not consistently power on Solution Ensure that the TV MAC Address is correct and filled in. This driver relies on WOL for connections Ensure Wake On LAN/Wireless Network operates correctly in the driver. Ensure Wake on LAN/Wireless ...
    • Control4 Hisense VIDAA: TV Does not show pairing menu

      TV does not show pairing menu required to pair TV to control4. Solution Firmware for TV may not be compatible with this driver. Ensure the TV firmware is up to date. Ensure the TV is powered on and connected to the network. Ensure that the IP Address ...