You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying send command with json { "entity_id": "remote.miir","command":"ac28"} , it failed.
with or without "raw:" at the beginning of the learned command.
If the command is beginning with "raw" or ending with ":38400" , it will fail with exception: {'code': -5008, 'message': 'magic error'}.
If the command doesn't have either of beginning "raw:" and endding ":38400", the remote controller will die! The light will go off and network connection also lost. Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
after upgraded to 0.72.1, retried as @syssi advised, and succeed. I don't know if it's because of the versions's difference.
re-enable ir remote in configuration.yaml, restart HA, learn the commands again and edit configuration again (add blank after "- raw:", which is not correct), and restart HA again. then failed again while trying send command:
Jun 30 14:02:08 raspberrypi hass[8653]: 2018-06-30 14:02:08 ERROR (Thread-20) [homeassistant.components.remote.xiaomi_miio] Transmit of IR command failed, OrderedDict([('raw', 'Z6WVAP4BAABqAgAArwYAAMkLAAAEDAAAUREAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0VCAQIBAQIBAgICAQECAgEBAQEBAgEBAQEBAQIBAQECAgEBAgECAgEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAgICAgEBAQEAE=')]), exception: {'code': -5008, 'message': 'magic error'}
Jun 30 14:02:40 raspberrypi hass[8653]: 2018-06-30 14:02:40 ERROR (Thread-6) [homeassistant.components.remote.xiaomi_miio] Transmit of IR command failed, OrderedDict([('raw', 'Z6WVAPwBAABrAgAAtgYAAMsLAAACDAAAUxEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0VCAQIBAQIBAgICAQICAgEBAQEBAgEBAQEBAQIBAQECAgEBAgECAgEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEAE=')]), exception: {'code': -5008, 'message': 'magic error'}
remove the blank after "raw:" and restart HA, it succeed!
Thank you @syssi , so the commands I put into the configuration file last time (on 0.71.0) maybe have some problems.
Home Assistant release with the issue:
0.71.0
Last working Home Assistant release (if known):
don't know
Operating environment (Hass.io/Docker/Windows/etc.):
uname -a:
Linux raspberrypi 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/LinuxComponent/platform:
https://www.home-assistant.io/components/remote.xiaomi_miio/
Description of problem:
{ "entity_id": "remote.miir","command":"ac28"}
, it failed.with or without "raw:" at the beginning of the learned command.
If the command is beginning with "raw" or ending with ":38400" , it will fail with
exception: {'code': -5008, 'message': 'magic error'}
.If the command doesn't have either of beginning "raw:" and endding ":38400", the remote controller will die! The light will go off and network connection also lost.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: