Skip to content

Other Device Support

nicko88 edited this page Mar 21, 2024 · 9 revisions

Many other devices can be controlled by HTWebRemote without needing a specific device control type.

Here is a list of other confirmed working devices and how to control them.

AppleTV

Pyatv Method (python atvremote)

todo

Home Assistant Method

AppleTV needs to be discovered by Home Assistant as a Remote. There is also a one time task to set up the Bearer Token (then set up in the Device as part of the connection). The Token setup is found in HA: Profile -> Long Lived Access Tokens. Create one and copy the value.

NOTE: All AppleTVs are called by the same HTWebRemote device, the command has the actual entity id to differentiate which AppleTV is being controlled.


Example HTWebRemote Device Setup:

  • DEVICE=httppost
  • URL=http://HA-IP-ADDRESS:8123
  • AUTH=bearer:USER_KEY

Example HTWebRemote Command:

  • CMD=/api/services/remote/send_command
  • PARAM={"entity_id":"remote.master_bedroom_atv","command":"menu"}

Where master_bedroom_atv is the name set up in Home Assistant for the particular AppleTV Remote

MadVR Envy

todo

Lumagen

To control a Lumagen, you can use the generic rs232 device control since Lumagens don't have networking.

For this you need a USB to Serial adapter such as this: https://www.amazon.com/dp/B0759HSLP1

Kaleidescape Strato

todo

Zidoo Media Player Box

Zidoo can be controlled through a standard HTTP REST API.

Documentation for the Zidoo API and all its commands can be found here:

https://www.zidoo.tv/Support/developer/flag/control.html


Example HTWebRemote Device Setup:

  • DEVICE=httpget
  • URL=http://ZIDOO.IP.ADDR:9529

Example HTWebRemote Commands:

Press the Menu button:

  • CMD=/ZidooControlCenter/RemoteControl/sendkey?key=Key.Menu

Open an app:

  • CMD=/ZidooControlCenter/Apps/openApp?packageName=com.zidoo.audioplayer

You should be able to get a list of app package names by going to:

http://ZIDOO.IP.ADDR:9529/ZidooControlCenter/Apps/getApps

Global Caché IP2IR iTach TCP/IP to IR Converter

This is a good device if you want to control some IR device that doesn't have IP or rs232 control.

Buy this device here: https://www.amazon.com/dp/B003BFTKUC

You can access the iTach device by finding it's IP address on your network and entering it into a browser. From there, you can configure a static IP and set the mode of port 3 from regular single IR dongle to the IR blaster that can drive multiple devices from across the room (if need be).

To set up the iTach in HTWebRemote:

  1. Set up the iTach as a TCP Device in HTWebRemote Configure devices. Give it a name and IP_ADDRESS:4998 for IP2IR ethernet or wifi device, or port 4999 or 5000 for a serial device.
  2. Download iConvert Here: https://www.globalcache.com/downloads.html iTest and iLearn are helpful tools as well to ensure your iTach is working or for learning IR commands from a remote.
  3. Find the Hex Command on RemoteCentral.com (In this case, I wanted my TV Power - which is the first set: https://www.remotecentral.com/cgi-bin/codes/samsung/tv_functions/. (You can also use the iLearn utility to capture IR commands, and convert between Global Caché and Hex (CCF) formats.)
  4. Open iConvert and copy the hex command code in the top section. Choose Convert From: Hex To: Global Cache
  5. Click Convert.
  6. Copy the Global Cache code generated to CMD= on a button in HTWebRemote.
  7. Change the number after the colon depending on the port, for instance port 3 is the blaster. You can verify this by connecting to the IP address of the iTach in a browser, you may need to configure port 3 as a blaster if needed.
  8. Add a ,<CR> to the end of the CMD after the last number.

Here is an example using the port 3 blaster to command a Samsung TV Power On/Off:

Example HTWebRemote Device Setup:

  • DEVICE=tcp
  • IP:PORT=IP_ADDRESS:4998

Example HTWebRemote Commands:

  • CMD=sendir,1:3,1,38000,1,69,169,168,21,63,21,63,21,63,21,21,21,21,21,21,21,21,21,21,21,63,21,63,21,63,21,21,21,21,21,21,21,21,21,21,21,21,21,63,21,21,21,21,21,21,21,21,21,21,21,21,21,64,21,21,21,63,21,63,21,63,21,63,21,63,21,63,21,1794,169,168,21,21,21,3694,<CR>

Amazon Alexa Routines + Voice Monkey

Some devices such as Insteon lighting, Smart Plugs, and Smart Thermostats can be controlled by HTWR by setting up an Alexa Routine and then executing it via an API call to Voice Monkey.

An Example for controlling an Insteon Scene to dim lights.

  1. Using the Insteon Director App / Hub, create and name a scene.
  2. Integrate Insteon to Amazon Alexa: https://www.insteon.com/support-knowledgebase/2016/9/30/controlling-insteon-scenes-with-amazon-alexa
  3. Create a VoiceMonkey account by linking to your Amazon account. You will be asked to link your Amazon account and accept the notifications permissions. https://voicemonkey.io/start
  4. Create Voice Monkey Devices, such as Full Lights On. You also need to create an API Key once in Voice Monkey -> Settings -> API Credentials.
  5. Enable the Voice Monkey Skill on your Alexa App.
  6. In Alexa App - you should now see both the Insteon Scene and the Voice Monkey Device with similar name (Full Lights On), create a Routine when Voice Monkey Full Lights On is 'pressed' then execute the Full Lights on Scene. The Voice Monkey Devices show up as doorbells in Alexa.

Example HTWebRemote Device Setup:

  • DEVICE=httppost
  • URL=https://api.voicemonkey.io/trigger?access_token=your_api_token_here

Example HTWebRemote Commands:

Call a scene:

  • CMD=&monkey=theater-lights-full

Set Honeywell thermostat to 68 degrees:

  • CMD=&monkey=thermostat-68

Insteon

Amazon Alexa + Voice Monkey Method

See Above

Home Assistant Method

Triggering an INSTEON scene on or off is done via automations. Two services are provided to support this feature:

insteon.scene_on
group: (required) The INSTEON scene number to trigger.
insteon.scene_off
group: (required) The INSTEON scene to turn off

https://www.home-assistant.io/integrations/insteon#insteon-scenes

Lutron

To control a Lutron system, you need to have a Lutron Smart Bridge PRO.

todo