-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Send multiple params broken result #73
Comments
Could you please post also the same mirobo command with |
hi @rytilahti it's like:
|
The first one requests 'press' and 'temperature' whereas the mirobo one does it for 'press' and 'mode'. Could you please check if it works with 'press' and 'temperature', maybe the error is coming from an unknown property? Another thing to try out is to make that info query before invoking the request (maybe the device uses that as a sort of a handshake?). |
I said it in very first, JSmiio works fine, all properties known.
Tested, no luck. |
Ok, so it must be something else then. Could it be related to the flood protection (if we are sending the commands too fast after that completed handshake?), or that id is not being incremented for the js miio? It is a bit odd that in the js output the |
Could you provide a traffic capture (miioJs vs. mirobo) again? It's easier to verify. |
@syssi let me email you :) |
I must admin I lost your mail if you sent one. |
@syssi hi, I just resent it again :) |
Had the bug fixed? I got the same issue: |
Does it work if you request "time" only? |
Tried with Python-miio:
If I use the js miio tools, I can get the result without error:
|
Thanks! |
Send multiple params to water purifier like
raw_command get_prop '["press","mode"]'
, the result always broken like[300, 'error']
, only first one is right, no matter how much params sent.https://github.com/aholstenson/miio/
cli works well.Capture shows very different behavior with mirobo, below is a single command
--method get_prop --params '["press","temperature"]'
:any idea?
The text was updated successfully, but these errors were encountered: