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
72.31k stars 30.26k forks source link

BroadLink RM4 pro learn command issue #43204

Closed myrulezzz closed 3 years ago

myrulezzz commented 3 years ago

The problem

Basically i am trying to learn buttons in with a broadlink rm4 remote. I was able to configure an rf device with no issue. Now i want to learn buttons from an amino android box remote control. I had succeefully learn 3 buttons yesterday. Today i am not. able. I have tried both homeassistant steps on how to learn command and broadlink manager. Now i am not able. to learn buttosns only from the specific remote. I am able to get the code for mag250 box immediately after i press the button. Even for the buttons that i was able to get the codes yesterday when i call service from developer to send_command, the command sometimes will be executed and sometimes no

Environment

Its a virtual envori

Problem-relevant configuration.yaml

Traceback/Error logs

Additional information

frenck commented 3 years ago

Hi there @stylianouandr,

Thanks for opening an issue, unfortunately, there is information missing that is requested in the information template. Could you complete the issue description?

Thanks! šŸ‘

myrulezzz commented 3 years ago

Hi, When i kearn conmand here is the error i get:

Logger: homeassistant.components.broadlink.updater Source: helpers/update_coordinator.py:166 Integration: Broadlink (documentation, issues) First occurred: 0:10:14 (9 occurrences) Last logged: 7:29:04

Error fetching broadlink rm4 pro (RM4 pro at 192.168.0.23) data: [Errno -4000] Network timeout

When i send command for the specific remote control, Ocasionally the channel is changing on the TV but most of the times it doesn't.I don' get any error during send command.

felipediel commented 3 years ago

The [Errno -4000] Network timeout error is usually a problem with the local network. Here are my suggestions:

  1. Download a WiFi analyzer on your phone. Stay close to the device and check that the signal is good. If not, you can try moving the router or device a little bit. Sometimes simply removing an obstacle makes things better.
  2. If you have more than one DHCP server on the same WiFi network (same SSIDs and passwd), choose only one and disable the others.
  3. Ping the device to see if it worked. Your objective is to reduce packet losses, because this is what is happening.
felipediel commented 3 years ago

But if the problem is the code working randomly, with no error messages in the logs, you should try to learn the code with the alternative: True option, it improves the response rate of the device.

myrulezzz commented 3 years ago

Hi guys thanks for the help. For the specific device because it was an android box i figure out to send the commands i need throw adb server. For all other devices it seems to work ok. Thanks

github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment šŸ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.