Hi
I am trying to write an app that will allow my Logitech Harmony Companion control my TPLink Kasa smart plugs. Currently I need to use Alexa, which is fine, but I want everything on the remote
I have gotten the npm to allow me to create a node.js app that will control/ query the plug which I plan to run on my server, but what I can't work out is how/ if I can get the Harmony Hub to discover my server and effectively talk to it. (i.e. passing a command on a button press). I assume this must be possible in some way, as devices like Hue/ OpenHab use TCP/IP to talk to each other. I can see how OpenHab can talk to Harmony but not the other way around?
Thanks for any help!
I am trying to write an app that will allow my Logitech Harmony Companion control my TPLink Kasa smart plugs. Currently I need to use Alexa, which is fine, but I want everything on the remote

I have gotten the npm to allow me to create a node.js app that will control/ query the plug which I plan to run on my server, but what I can't work out is how/ if I can get the Harmony Hub to discover my server and effectively talk to it. (i.e. passing a command on a button press). I assume this must be possible in some way, as devices like Hue/ OpenHab use TCP/IP to talk to each other. I can see how OpenHab can talk to Harmony but not the other way around?
Thanks for any help!