Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xiaomi ir control #444

Closed
ahmedsaad7720 opened this issue Jan 2, 2019 · 2 comments
Closed

xiaomi ir control #444

ahmedsaad7720 opened this issue Jan 2, 2019 · 2 comments

Comments

@ahmedsaad7720
Copy link

ahmedsaad7720 commented Jan 2, 2019

I wrote the"learn" command and press the ON/OFF switch of the remote control and this is the result,I think there is a problem here.
my mirobo version is 0.4.4.

NFO:miio.vacuum_cli:Debug mode active DEBUG:miio.vacuum_cli:Read stored sequence ids: {'seq': 6, 'manual_seq': 0} DEBUG:miio.vacuum_cli:Connecting to 192.168.1.100 with token 205ea083b10445a79cac8a5b3eb47fc1 Sending cmd miIO.ir_learn with params {'key': '1'} DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b'' DEBUG:miio.device:Got a response: Container: data = Container: value = b'' (total 0) offset2 = 32 length = 0 data = b'' (total 0) offset1 = 32 header = Container: value = Container: length = 32 unknown = 0 device_id = b'\x06z\x96f' (total 4) ts = 1970-01-01 00:01:30 offset2 = 16 length = 16 data = b'!1\x00 \x00\x00\x00\x00\x06z\x96f\x00\x00\x00Z' (total 16) offset1 = 0 checksum = b' ^\xa0\x83\xb1\x04E\xa7\x9c\xac\x8a[>\xb4\x7f\xc1' (total 16) DEBUG:miio.device:Discovered 067a9666 with ts: 1970-01-01 00:01:30, token: b'205ea083b10445a79cac8a5b3eb47fc1' DEBUG:miio.device:192.168.1.100:54321 >>: {'params': {'key': '1'}, 'id': 7, 'method': 'miIO.ir_learn'} DEBUG:miio.device:192.168.1.100:54321 (ts: 1970-01-01 00:01:30, id: 7) << {'result': 0, 'id': 7} 0 DEBUG:miio.vacuum_cli:Writing {'seq': 7, 'manual_seq': 0} to /home/openhabian/.cache/python-miio/python-mirobo.seq

@syssi
Copy link
Collaborator

syssi commented Jan 2, 2019

This is fine. Next step is to read the learned command from storage 1.

@ahmedsaad7720
Copy link
Author

Yes, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants