Innovo Wiki

Innovo Wiki

Loading the knowledge...

Media Device Configuration

Estimated reading: 7 minutes

The Driver uses a static IP address. Please assign a static IP address or using DHCP Static Reservation from your Router to guarantee that the media Device will always have the same IP Address.

Device Configuration – Apple TV

You must first setup the Magic Cube device and Pair Magic Cube with the Apple TV.

Apple TV Setup:

Disable All Airplay Passwords in the Apple TV.  The driver doesn’t support Airplay passwords.

Set Airplay to accept all connections from Local Network

Set Sleep to Never

Make sure Home Sharing is turned on.

Restart Apple TV before starting to pair.

Note for the ATV 3.  Only transport functions work.  Channel and Feedback controls need to be removed from the interface.

  • Plug in the Home Assistant (HA) device into the power and network
  • Access the HA Page directly or using the Magic Cube Console.  See Magic Cube Documentation using the link below
  • https://wiki.innovo.net/aura/access-ha/

Setup the Apple TV on Magic Cube

  • HA will automatically discover all Apple TV’s on the network:
  • Make sure your Apple TV is running TVOS 15 or higher
  • IF A PIN CODE IS REQUESTED, BUT NONE IS SHOWN ON THE SCREEN
    • This can happen when pairing the AirPlay protocol in case the access settings are wrong. On your Apple TV, navigate to Settings, find the AirPlay menu and make sure that the access setting is set to “Everyone on the same network” and try again.

If HA didn’t discover the AppleTV

Manual configuration steps

If there wasn’t any discovered automatically, don’t worry! You can set up a manual integration entry:

  • Browse to your Magic Cube instance.
  • In the sidebar click on Devices & Integrations.
  • In the bottom right, click on the Add Integration button.
  • From the list, search and select “Apple TV”.
  • Follow the instruction on screen to complete the set up.

Go To Configuration —-> Devices and Services:

Pair the Apple TV with Magic Cube

  • Pair your ATV with HA involves three pairing codes.  Each code will pair a specific protocol that is needed to control and read meta data from the ATV.
  • When HA finds your ATV, click on Configure.  You will be then presnted with a screen.  Click Sumbit
  • The first pairing code for AirPlay will appear on your ATV.  Enter this code into this window and click Submit
  • The second pairing code for Companion will appear on your ATV.  Enter this code into this window and click Submit
  • The third pairing code for RAOP will appear on your ATV.  Enter this code into this window and click Submit
  • If successful, you will get the successful screen.  If the pairing was not successful start the process again.
  • Then Add the ATV to a room.  The room choice doesn’t really matter.  This will give us the addressing we need.

Device Configuration – Fire TV

Disable Screensaver Time out and Sleep Timer

Enable ADB Debugging on Your Fire TV Stick

Before you move on to one of the 2 methods below, you need to follow these steps first on your Fire Stick.

  • On your Fire TV device, navigate to Settings > My Fire TV > Developer Options and turn ON both options (Apps from Unknown Sources and ADB Debugging).
  • When connecting from ADB for the first time, the Fire TV Stick shows a secure connection screen and you have to check a box to confirm that it’s OK to connect to your PC.  There’s also a box to remember this choice.
  • Find and take note of your Fire Stick’s IP address by going to Settings > System > About > Network.
  • Download and Install ADBLink
  • adbLink (jocala.com)
  • Open adbLink on your computer.
  • Click the New button
  • In Description, give your Fire TV Stick a name.
  • In Address, type the IP address of your Fire TV Stick that you took note of earlier.
  • Click the Save button.
  • Click the Connect button
  • You should see your Fire TV Stick’s IP or name show in the Connected Devices box, and you should see the text “IP connection” in the Connection Status box.
  • If so, you’re ready to go.
  • NOTE: If you’re having trouble connecting when you’ve done this before, try toggling ADB Debugging off and on again following the steps from the previous section.

Change Sleep/Screensaver Settings via adbLink Utility

Method 1 – Preferred

Once you have your adbLink connected to your Fire Stick, select the “Utility” menu at the top and then click on “Set timers”

Device Configuration – Android TV (Shows up as Android TV Remote)

  • Access the HA Page directly or using the Magic Cube Console.  See Magic Cube Documentation using the link below
  • https://wiki.innovo.net/aura/access-ha/
  • HA will automatically discover all Android TVs on the network. If an instance was found, it will be shown as Discovered. You can then set it up right away.

In ADB 5.5, there is Button called Edit Timers rather than a Utility Menu Item.  Use that Button.

A new window will pop up that looks like this…

SET SLEEP OFF

If you select “never” from the Fire TV’s screensaver settings, the Sleep Off current value becomes 0.      

DO NOT SET SCREENSAVER Current Value to 0.  

If you select “Screensaver Off” from the Fire TV’s screensaver settings, the screensaver timer gets set to 2147460000, which is about 24 days. Setting a value of 0 does not disable the screensaver.   

All you need to do is select “Sleep Off” and optionally “Screensaver off” and click the “OK” button.   

Method 2  – Change Sleep/Screensaver Settings via adbLink Command Line Shell

If method #1A didn’t work  Once your adbLink is connected to your Fire TV Stick (from the previous section), then click the “ADB Shell” button to open a command line shell.

Tip: If you are using a Mac and happen to get the error that says “Error Creating Command File”, the solution is to close adbLink, move the program file to your desktop and open it there.  Then, you should be able to open the ADB shell without the error.

How to Run ADB Shell Commands

Copy the commands below, and then simply right-click in the ADB Shell window to paste.  Or, you can just type it in.  Hit the enter key to run the command.

Get Current Screensaver and Sleep Timeout Settings

settings get system screen off timeout

•     The default screensaver value is 300000, which is 5 minutes.  If the screensaver setting in FireOS settings was set to “Never”, so this setting value was set to 2147460000, which is about 24 days.

settings get secure sleep_timeout

• The default sleep value is 1200000, which is 20 minutes.   This is the setting that you can’t change in FireOS settings.  But, you can here!  

Save New Settings for Screensaver and Sleep Timeout

settings put system screen_off_timeout 2147460000

•     Running this command will disable your screensaver if it isn’t already.  You could also do this in the FireOS settings, but this also gives you the ability to select an amount of time which is not available in the settings drop-down.

settings put secure sleep_timeout 0

•     Running this command will stop your Fire TV Stick from going to sleep by itself.  The value “0” here actually disables the sleep timeout feature.

When you’re done, you can run the “get” commands from above once again to make sure the setting took properly.

Device Configuration – GenericTV

  • Access the HA Page directly or using the Magic Cube Console.  See Magic Cube Documentation using the link below
  • https://wiki.innovo.net/aura/access-ha/
  • HA will automatically discover all the TVs that are Generic on the network.

Manual configuration steps

If there wasn’t any discovered automatically, don’t worry! You can set up a manual integration entry:

  • Browse to your Magic Cube instance.
  • In the sidebar click on Devices & Integrations
  • In the bottom right, click on the Add Integration button.
  • From the list, search and select the TV.
  • Follow the instructions on the screen to complete the setup.
CONTENTS