Comments (12)
This is a duplicate of #40. Over there you can find out how the use the library with the latest firmware
from miio.
No it's not. Issue #40 is about wrong tokens. I have a working token retrieved from the miio2.db and commands do get through sometimes but most commands time out because the robot does not timely respond.
from miio.
Ah, seems you are right. I got a bit confused because it seems like #40 includes some timeout issues as well from some people.
from miio.
This has been an issue with the vacuum for me as well, but on an older firmware. Do commands work if you do not use the miio
client? In any case I think it's a good idea to increase the time out.
from miio.
Yeah looks like it, not sure if I have the control command correctly but it seems to be unable to find the device.
λ miio --control 192.168.0.133 --token 5936477axxxx34d6a4256 --method find_me
INFO Attempting to control 192.168.0.133
WARNING Could not find device
from miio.
Same here :( token retrieved from miio2.db but command just timeout (even if I increase it just to test) :(
PS: firmware also 3.3.9_003077
from miio.
+1 for firmware 3.3.9_003077
sudo miio --update 192.168.0.109 --token MY_TOKEN
INFO Attempting to update 192.168.0.109
WARNING Could not find device
Got the token just fine but then nothing else works.
from miio.
+1
from miio.
I edited the cli index.js and increased the time out there. This changes the error from "Could not find device" to this:
λ miio --control 192.168.0.133 --token 5936xxxxx4256 --method find_me
INFO Attempting to control 192.168.0.133
ERROR Can't connect to device, error while connecting: Call to device timed out
This error comes from the actual command being send to the Mi Robot which times out. Increasing the time out of the retry for sending the command in device.js unfortunately does not solve it. Doing this results in the initial error of "Could not find device".
from miio.
@aholstenson is there any news concerning this issue? Or are you not actively maintaining this library anymore?
from miio.
same here:
miio --discover
INFO Discovering devices. Press Ctrl+C to stop.
Device ID: [cut out]
Model info: Unknown
Address: 192.168.8.1
Token: [cut out] via auto-token
Support: Unknown
(node:16181) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Call to device timed out
(node:16181) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
and
miio --configure --ssid [cut out] --passwd [cut out] --token [cut out]
INFO Configuring all devices
WARNING No devices were configured
from miio.
The latest release has a larger time out, which might help, but I'm not very hopeful. Connectivity seems sporadic over the local network.
Debugging of the code and pull requests are very welcome if this issue is still a problem.
from miio.
Related Issues (20)
- Xiaomi Air Monitor cgllc.airm.cgdn1
- yeelight strip plus is supported?
- Can’t find Hub / Temperature-Sensors
- yeelink.light.color5 HOT 1
- Mi Smart LED Bulb (B22) - Support
- yeelink.light.mono6 HOT 1
- [add device request] yeelink.light.ceilb
- [add device request] yeelink.light.colorb
- -Bash: miio: command not found HOT 1
- doesn't work on Firmware version: 3.2.10
- Cannot connect to light after configuring wireless network HOT 1
- yeelink.light.bslamp2 HOT 2
- Create device with lib version >= 0.15.0
- Which devices can get tokens by "miio discover" or "mirobo discover --handshake 1"?
- Does this packge still getting maintained?
- Roborock S6 - 3.5.8._2902 - unsupported device
- colorTemperature2rgbUsingTH is not defined
- Device support [Vacum mop 2 ultra]
- Error connecting to device: Error: Call to device timed out
- Ib
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miio.