I bought a Harmony a while ago and I got tired of not being able to run arbitrary stuff through wifi.
Emulated Hue worked, but creating switches was too cumbersome and you can only map the Home Control buttons to it.
Luckily, Harmony can control Roku through wifi too, and the Roku API is well documented, so I implemented it in python:
With this, you can map all the buttons on the Harmony remote to Roku keys, which fire events you can use in automations.
You can create multiple roku servers if you run out of the predefined buttons.
I’ve been only using asyncio for a few days and my python is quite rusty so it may crash / burn your pi.
Only tested it with Harmony, but it could work with other Roku remotes.
Currently using it to control my NAD amplifier’s volume through WIFI instead of IR.
Follow the README and the Harmony app should auto discover it.
Bug reports are welcome:)