I know there are a lot of threads about this topic and trust my I have read a lot of them and tried a lot of suggestions that worked for people in them. But I still can’t get it to work for me.
I have had it working for me before and also periods when it hasn’t worked. But now when I’m doing a little bit of a startover of my Home Assistant then it won’t work. Anyway, I thought I would explain my setup:
My Home Assistant Setup
Technicolor router
|
Time Capsule
(SSID: Peter)
__________|_________
| |
Harmony Hub Raspberry Pi 3
Companion Remote HA
Remotely Access
I have also made a Port Forwarding on the router that made me able to access Home Assistant from when I’m not home. To that public IP I have also pointed my own domain. Why this would have anything to do with my emulated_hue problems I don’t know but I thought it would be good to explain my setup.
SSL Cert
I have also added SSL Certificate to my Home Assistant to be able to add HA to Google Home and then control my HA-devices with Google Assistant. This was made with Let’s Encrypt by my host provider from where I point my domain to my HA IP address.
Z-Wave Stick
To my Raspberry Pi/HA I also have a Z-wave stick connected.
Home Assistant Spec
Home Assistant 2022.10.1
Supervisor 2022.09.1
Operating System 9.0
Frontend-version: 20221006.0 - latest
Harmony Hub Spec
Hub Name: Harmony Hub
Hub Software: 4.15.307
Hub IP Address: 192.168.10.237
App Version: 5.7.13
Build Number: 94
Last Sync: October 8 2022, 01:38:43
configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
homeassistant:
external_url: "https://[mydomain]"
internal_url: https://192.168.10.178:8123
google_assistant:
project_id: peters-hem
emulated_hue:
host_ip: 192.168.10.178
listen_port: 8300
expose_by_default: true
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 5
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
http:// 192.168.10.178:8300/description.xml
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://192.168.10.178:8300/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
<friendlyName>Home Assistant Bridge (192.168.10.178)</friendlyName>
<manufacturer>Royal Philips Electronics</manufacturer>
<manufacturerURL>http://www.philips.com</manufacturerURL>
<modelDescription>Philips hue Personal Wireless Lighting</modelDescription>
<modelName>Philips hue bridge 2015</modelName>
<modelNumber>BSB002</modelNumber>
<modelURL>http://www.meethue.com</modelURL>
<serialNumber>001788FFFE23BFC2</serialNumber>
<UDN>uuid:2f402f80-da50-11e1-9b23-001788255acc</UDN>
</device>
</root>
http:// 192.168.10.178:8300/api/pi/lights
In the code below, I have removed all non-related entities and also indented the code so it’s easier to read:
{
...
"7": {
"state": {
"on": true,
"reachable": true,
"mode": "homeautomation"
},
"name": "TV-plugg",
"uniqueid": "00:87:52:d7:5c:60:32:b2-07",
"manufacturername": "Home Assistant",
"swversion": "123",
"type": "On/Off light",
"productname": "On/Off light",
"modelid": "HASS321"
}
...
}
So…
is there anything in my setup above that could cause Harmony Hub to not find my emulated Hue bridge?
Here are screenshots from when I try to find Hue in the Harmony app:
I have tried…
- to changed around the code for emulated_hue in configuration.yaml. I have tried with 80 as
listen_port
. Tried to specify and not specifyhost_ip
and code and tried both true and false onexpose_by_default
. Then of course restart Home Assistant after every change. - Unplug the Rapsberry Pi and then re-plug it.
- Re-Setup the Harmony Hub
So far, nothing has helped.
Would much appreciate help to solve this!