My Harmony remote control features four dedicated smart home buttons. Three of them are currently associated to Hue bulbs and work flawlessly. Now I would like to assign the forth button to toggle the state of a TP Link HS110 switch where my Venta airwasher is connected. I followed this guide
but it doesn’t seem to work. The snippets of my config files look like:
I don’t use a Harmony remote but I do use the HS110. Do you see the HS110 switch in your entity list? Since that article you referenced was published, TP Link devices are added through the Integrations page instead of configuration.yaml.
Yes I can see the switch in the entity list and the switch works fine from HA, i.e., I can toggle it within the Lovelace webinterface. However, the switch cannot be included/discovered by the my Logitech Harmony.
Unfortunately, there are a lot of different forum postings and howtos online which differ considerably. It seems that things have changes quite often over the past year(s), even Logitech has closed the API for third party apps for a while. This all is a bit confusion and I have absolutely no clue how to tackle and solve the problem. Thus I was hoping to obtain some hints from someone who runs a similar setup and just know what’s really going on.
Maybe the problem is that I own and run a “real” HUE bridge too. I discovered a forum posting where it is stated that one can include either a “real” or an “emulated” bridge in the Logitech Harmony app. I not sure if this is really true or still applies because the posting was from early 2018 which was before Logitech has made the changes in their API.
You’re using old guides. Use the documentation. emulated_hue_hidden was removed 2 years ago. That’s how old the guide you are using is.
So For starters you want to do some research.
First, verify that logitech allows more than 1 hue hub. If it does…
Follow the documentation to get the devices into home assistant. That would be the TPLINK hub configuration. That part seems right but I don’t have these devices so I can’t be 100% certain what your problem is.
Then once those are in home assistant, follow the documentation for emulated hue. Restart and attempt to link up the harmony remote.
Regarding 1)
The code is properly formatted in my config files. The missing spaces in front of my code snippets above result from a lazy copy & pasting into the webinterface. Currently I have > 15 TP Link HS110 Switches integrated into HA and they all work fine, i.e., their state can be toggled in Lovelace without any problems.
Regarding 2)
I have tried different tutorials (old and new ones). The emulated_hue_hidden was just one try.
In my humble opinion, the problem might be attributed to one of the following two facts:
Logitech does not allow more than one hub. Unfortunately, I can’t find any information on this topic on the web. Thus, I will send an e-Mail to the Logitech support.
http://192.168.0.50:8300/api/pi/lights shows that the switch is emulated as “Dimmable light” which seems as bit strange. I thought it must be a simple on/off switch. Maybe this is the problem.