openhab-addons/bundles/org.openhab.binding.unifiedremote
Holger Friedrich 1b122a53b9
Java 17 features (T-Z) (#15576)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-21 07:58:53 +02:00
..
src/main Java 17 features (T-Z) (#15576) 2023-09-21 07:58:53 +02:00
NOTICE [unifiedremote] Initial contribution (#8546) 2020-10-24 10:00:25 -07:00
pom.xml Apply spotless 2023-07-24 01:20:31 +02:00
README.md [Documentation] Markdown improvements t to z (#14371) 2023-04-11 12:54:54 +02:00

UnifiedRemote Binding

This binding integrates the Unified Remote Server.

Known Limitations: It needs the web interface to be enabled on the server settings to work.

Discovery

Discovery works on the default discovery UDP port 9511.

Thing Configuration

Only supported thing is 'Unified Remote Server Thing' which requires the Hostname to be correctly configured in order to work.

ThinTypeID description
server Unified Remote Server Thing
Config Type description
host String Unified Remote Server IP

Channels

channel type description
mouse-move String Relative mouse move in pixels. Expect number JSON array [x,y] ("[10,10]").
send-key String Use server key. Supported keys are: LEFT_CLICK, RIGHT_CLICK, LOCK, UNLOCK, SLEEP, SHUTDOWN, RESTART, LOGOFF, PLAY, PLAY, PAUSE, NEXT, PREVIOUS, STOP, VOLUME_MUTE, VOLUME_UP, VOLUME_DOWN, BRIGHTNESS_UP, BRIGHTNESS_DOWN, MONITOR_OFF, MONITOR_ON, ESCAPE, SPACE, BACK, LWIN, CONTROL, TAB, MENU, RETURN, UP, DOWN, LEFT, RIGHT

Full Example

Sample Thing

Thing unifiedremote:server:xx-xx-xx-xx-xx-xx [ host="192.168.1.10" ]

Sample Items

Group   pcRemote    "Living room PC"
String  PC_SendKey       "Send Key"                            (pcRemote)   {  channel="unifiedremote:server:xx-xx-xx-xx-xx-xx:send-key" }
String  PC_MouseMove       "Mouse Move"                            (pcRemote)   { channel="samsungtv:tv:livingroom:mouse-move" }