home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.66k stars 28.82k forks source link

Emulated_hue + Alexa unresponsive #115037

Open NeilSCGH opened 2 months ago

NeilSCGH commented 2 months ago

The problem

My issue is very similar to #89506

I use emulated_hue to add lights to Alexa, everything works perfectly well until a certain time when Alexa displays some as unresponsive. No changes were made between the time everything worked and the time the problems started.

The only solution I've found is to factory reset my alexa echo.

What version of Home Assistant Core has the issue?

core-2024.4.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

emulated_hue

Link to integration documentation on our website

https://www.home-assistant.io/integrations/hue/

Diagnostics information

2024-04-06 18:57:42.648 DEBUG (MainThread) [homeassistant.loader] Component emulated_hue import took 0.446 seconds (loaded_executor=True) 2024-04-06 18:57:42.649 INFO (MainThread) [homeassistant.setup] Setting up emulated_hue 2024-04-06 18:57:42.650 DEBUG (MainThread) [homeassistant.helpers.storage] emulated_hue.ids: Cache miss, not preloaded 2024-04-06 18:57:42.655 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=emulated_hue> 2024-04-06 18:57:42.655 INFO (MainThread) [homeassistant.setup] Setup of domain emulated_hue took 0.01 seconds 2024-04-06 18:59:53.009 DEBUG (Recorder) [homeassistant.components.recorder.core] Processing task: <Event component_loaded[L]: component=emulated_hue> 2024-04-06 19:00:11.073 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 2\r\nST: urn:schemas-upnp-org:device:MediaRenderer:1\r\n\r\n' 2024-04-06 19:00:11.075 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:11.424 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 2\r\nST: urn:schemas-upnp-org:device:MediaServer:1\r\n\r\n' 2024-04-06 19:00:11.424 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:40.000 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Microsoft Edge/123.0.2420.81 Windows\r\n\r\n' 2024-04-06 19:00:40.000 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:40.002 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/123.0.6312.106 Windows\r\n\r\n' 2024-04-06 19:00:40.003 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:41.019 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Microsoft Edge/123.0.2420.81 Windows\r\n\r\n' 2024-04-06 19:00:41.019 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:41.021 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/123.0.6312.106 Windows\r\n\r\n' 2024-04-06 19:00:41.021 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:41.072 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 2\r\nST: urn:schemas-upnp-org:device:MediaRenderer:1\r\n\r\n' 2024-04-06 19:00:41.072 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:41.425 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 2\r\nST: urn:schemas-upnp-org:device:MediaServer:1\r\n\r\n' 2024-04-06 19:00:41.425 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:42.038 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/123.0.6312.106 Windows\r\n\r\n' 2024-04-06 19:00:42.038 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:42.039 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Microsoft Edge/123.0.2420.81 Windows\r\n\r\n' 2024-04-06 19:00:42.039 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:43.049 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Microsoft Edge/123.0.2420.81 Windows\r\n\r\n' 2024-04-06 19:00:43.049 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n' 2024-04-06 19:00:43.051 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder M-SEARCH method received: b'M-SEARCH HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nMX: 1\r\nST: urn:dial-multiscreen-org:service:dial:1\r\nUSER-AGENT: Google Chrome/123.0.6312.106 Windows\r\n\r\n' 2024-04-06 19:00:43.051 DEBUG (MainThread) [homeassistant.components.emulated_hue.upnp] UPNP Responder responding with: b'HTTP/1.1 200 OK\r\nCACHE-CONTROL: max-age=60\r\nEXT:\r\nLOCATION: http://192.168.1.23:80/description.xml\r\nSERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.16.0\r\nhue-bridgeid: 001788FFFE23BFC2\r\nST: urn:schemas-upnp-org:device:basic:1\r\nUSN: uuid:25f6e980-daf0-11e1-99a3-001894155acc\r\n\r\n'

Example YAML snippet

logger:
  default: debug

emulated_hue:
  host_ip: 192.168.1.23
  listen_port: 80
  expose_by_default: false
  entities:
    light.bureau:
      name: "Bureau"
      hidden: false
    light.couloir:
      name: "couloir"
      hidden: false

Anything in the logs that might be useful for us?

I copied the logs just after trying to turn on a light with Alexa that is unresponsive (bureau), and a second that works (couloir)

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @balloob, @marcelveldt, mind taking a look at this issue as it has been labeled with an integration (hue) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `hue` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign hue` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


hue documentation hue source (message by IssueLinks)

home-assistant[bot] commented 2 months ago

Hey there @bdraco, @tho85, mind taking a look at this issue as it has been labeled with an integration (emulated_hue) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `emulated_hue` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign emulated_hue` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


emulated_hue documentation emulated_hue source (message by IssueLinks)