harmony-ws
Control a Logitech Harmony Hub via the local network
Under the hood, this is a WebSocket implementation that works without XMPP. It is compatible with hub firmware 4.15.206 (released late December 2018) that broke errbody.
; const hub = '192.168.1.20'; hub hub ; // start an activity by id, name, or labelhub ; // listen for changes to the current activityhub; // press a button (on the current activity or a specific device)// optional second param is how long to hold the button (in milliseconds)// optional second/third param is which device to usehub ; // alias for startActivity('off')hub; // refresh the internal cachehub ;