Giter Club home page Giter Club logo

Comments (2)

mikuslaw avatar mikuslaw commented on August 24, 2024

Just to confirm, I setup the mi home device and connector again on new token. I can get the update on state of device (like temperature, humidity) but when I try to control it I get:

`2020-12-13 05:15:55 [info]: Initialize Wi-Fi Device >> Ip(192.168.55.209), Token(24e2b9cdd190bc6a354015c6d3007214), Type(unknown)
2020-12-13 05:15:55 [info]: Initialize Wi-Fi Device >> Ip(192.168.55.209), Token(24e2b9cdd190bc6a354015c6d3007214), Type(zhimi.airpurifier.mb3)
2020-12-13 05:16:56 [info]: Requested to control by ST >> [zhimi.airpurifier.mb3] >> {"id":"308348604","cmd":"speed","data":5}

2020-12-13 05:17:04 [error]: (node:17) UnhandledPromiseRejectionWarning: Error: Call to device timed out
at Timeout.retry [as _onTimeout] (/usr/src/app/node_modules/miio/lib/network.js:490:23)
at ontimeout (timers.js:466:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:267:5)
2020-12-13 05:17:04 [error]: (node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise wh
ich was not handled with .catch(). (rejection id: 1)
2020-12-13 05:17:04 [error]: (node:17) [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 ex
it code.`

Any help would be welcome.

from mi_connector.

fison67 avatar fison67 commented on August 24, 2024

DTH was made for classic app.
Needs to make a dth for new app.
I didn't do it yet.

Maybe power function is available with sensor value now.

from mi_connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.