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.79k stars 28.93k forks source link

Broadlink HA integration does not learn correct IR codes. Broadlink app works fine. #116980

Open renaatdb opened 2 months ago

renaatdb commented 2 months ago

The problem

When i use the broadlink app it works fine. When i use the home assistant broadlink remote learn command service call to learn, The orange led stays on. In the logs I see Logger: homeassistant.components.broadlink.remote Bron: components/broadlink/remote.py:303 integratie: Broadlink (documentatie, problemen) Eerst voorgekomen: 10:34:33 (1 gebeurtenissen) Laatst gelogd: 10:34:33

Failed to learn 'Home': No infrared code received within 30.0 seconds

PS: Like i said, the broadlink app on android works fine. thanks!

What version of Home Assistant Core has the issue?

core-2024.5.2

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

integration: broadlink

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @danielhiversen, @felipediel, @l-i-am, @eifinger, mind taking a look at this issue as it has been labeled with an integration (broadlink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `broadlink` 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 broadlink` 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)


broadlink documentation broadlink source (message by IssueLinks)

renaatdb commented 1 month ago

Nobody with same problem?

In the logs:

2024-06-16 10:18:41.750 DEBUG (SyncWorker_1) [homeassistant.components.broadlink.heartbeat] Heartbeat sent to 192.168.68.52
2024-06-16 10:18:42.030 DEBUG (MainThread) [homeassistant.components.broadlink.updater] Finished fetching Broadlink-Remote (RM4 pro at 192.168.68.52) data in 0.090 seconds (success: True)
2024-06-16 10:18:51.687 ERROR (MainThread) [homeassistant.components.broadlink.remote] Failed to learn 'Back': No infrared code received within 30.0 seconds