Some days ago I started to search for an easy way to have a basic remote control of my pc from openHAB. As I didn’t find anything I decided to write this simple binding that allows to discover the Unified Remote Server in the local network and creates the following channels:
I hope it can be useful for someone apart from me, I’ve been using it since yesterday.
If someone review the implementation and want to give me his thoughts or make some changes I will be grateful because I’m still getting I touch with the bindings design.
Hi. Thanks for the reply. Yes, it allows to send commands to the server through its web interface api. My initial motivation was to have access to the navigation keys on the HABPanel to open a game once I’ve turned on my gaming pc (has auto logon enabled) using the Wake On Lan binding.
No, this binding gives some basic interaction just with the api of the unified remote server program (https://www.unifiedremote.com), it couldn’t be used to interact with other services. Sorry for the confusion.
Nice binding, works well with the supported keys you’ve listed.
Wondering if it’s possible to send other commands/ key stokes? Ie send a key combination, like “CONTROL” + “b”. I want to do the equivalent of sending kb.stroke(“ctrl”,“b”); from a Unified Remote Custom Remote.
It is not possible, the keyboard remote is not implemented, I think I tried it but I was unable to make it work through the http API, but I hardly remember it.
I just take a quick look and it seems to be possible to send other keys though the API, I don’t know if it will work with key combinations, but I will try to do some tests next week.