
HiSense produces excellent value TVs for residential and light commercial duty.
myServer 6 provides easy integration into the control system for reliable power on / off control and other basic commands.
The myServer 6 driver connects to the HiSense TV using the Roku Operating system.
There is no "Tune" command supported by Roku.
Supported commands for most Roku devices:
AddTV
AutoDiscover
Discover
Logging
Remove Devices
Set Active Device
Backspace
ChannelUp
ChannelDown
Down
Enter
Forward
Home
Info
Input AV1
Input HDMI1
InputHDMI2
InputHDMI3
InputHDMI4
InputTuner
InstantReplay
Keyboard
Launch
Left
LongPress: Roku Longpress is implemented as a KeyDown, wait 1.5 seconds then KeyUp.
Mute
Play
Power
Reverse
Right
Search
Select
Up
Volume
Roku setup:
Advanced system settings / Control by mobile apps / Network access (enabled)
Driver Installation:
Download the Roku driver from the myServer 6 Software Updater. The driver will self install.
Go to the Drivers section and select Configure for the Roku driver.
The supported commands are listed in the Commands drop down list.
Use the Discover command to find and all all Roku devices on the network.
Note the device ID for the Roku stick you would like to control.
You should now be able to send commands to the Roku player from myServer. Note that some commands only work when the Roku is on certain screens or activities.
To use Roku in the SportsBar template, Add
"setvariable|activeroom{{clientname}}roku_id~90" where 90 is the device ID for the Roku hardware.
to the activate-room.sportsbar macro.
If the TV runs Roku OS, then change the Roku driver device type to "TV" so the standard sports bar templates / macros understand it's a TV (for power All on / off control).
Roku's use port 7000 for communication and must be open for connection. The Roku Beacon communicates on port 8060.
If you cannot get the Roku driver to control Roku TVs, then possibly CEC might work:
https://support.roku.com/article/360034303013
If a URL (in chrome) shows "ECP command not allowed in Limited mode" then the Roku needs to be added to an account:
http://10.10.1.109:8060/query/apps
SmartRemote:
The new SmartRemote works well with Roku players / TVs.
The Roku doesn't support direct channel entry.
One thing we noticed is that the Roku player struggles with processing command sent quickly to it for tasks like scrolling up the Channel Guide.
Here is a workaround:
The Up / Down cursors work great to move up / down one channel at a time.
The Channel Up Short press can invoke: For|Loop##1##5##Macro|AV|{{active_roku_{{clientname}}}}~Up!Pause|0.05
This skips up 5 rows quickly (the 0.05 is how many miliseconds inbetween Up commands sent to the Roku)
Then Channel Up Long press can invoke: For|Loop##1##30##Macro|AV|{{active_roku_{{clientname}}}}~Up!Pause|0.05
For more aggressive channel up, this command skips 30 channels with each Long press.
To control power to individual HiSense TVs in the Sportsbar template:
Add to the api call on the scroller object in myDesigner 6:
/api/getpowercontrols?driver=samsungtizen,roku (omit samsungtizen if only HiSense TVs are used)