C# library for connecting to and controlling the Logitech Harmony Hub.
Include the HarmonyHub class library project in your solution to use the functionality.
To better understand what it does and how, play with the HarmonyConsole project:
HarmonyConsole usage:
-i, --ip Required. IP Address of Harmony Hub.
-u, --user Required. Logitech Username
-p, --pass Required. Logitech Password
-d, --device Device ID
-c, --command Command to send to device
-s, --start Activity ID to start
-l, --list List devices or activities
-g, --get Get Current Activity
-o, --off Turn entire system off
--help Display this help screen.
For example, to use the console application to get the current activity on the HarmonyHub at IP 10.0.0.1:
HarmonyConsole.exe -i 10.0.0.1 -u email@example.com -p password -g
Check out the PROTOCOL.md for current progress, or see the original linked below.
With thanks to petele and jterrace for their work on pyharmony which pointed me in the right direction, first found via Pete's Blog. Also to the guys behind the HarmonyHubControl project on Sourceforge who have implemented a C++ version of similar code.
Same as the pyharmony guys - now I can talk to the Hub I need to understand more about the protocol.