Giter Club home page Giter Club logo

Comments (4)

LASER-Yi avatar LASER-Yi commented on June 1, 2024

完全删除此插件并删除单独的miio,然后重新安装试试看。要保证miio版本是0.14.1

from homebridge-mi-acpartner.

Raccooon avatar Raccooon commented on June 1, 2024

完全删除插件和miio,重新安装

zdyang@zdyang-ThinkPad-X61:~/.homebridge$ sudo npm install -g homebridge-mi-acpartner
/usr/lib
└─┬ [email protected]
  └─┬ [email protected]
    ├── [email protected]
    ├─┬ [email protected]
    │ ├── [email protected]
    │ ├── [email protected]
    │ ├─┬ [email protected]
    │ │ └── [email protected]
    │ ├── [email protected]
    │ └── [email protected]
    ├─┬ [email protected]
    │ └── [email protected]
    ├── [email protected]
    └─┬ [email protected]
      └── [email protected]

加载的时候报了这个错误,不过能正常运行,是不是没有单独安装miio的关系

[7/27/2018, 12:59:49 AM] ====================
[7/27/2018, 12:59:49 AM] ERROR LOADING PLUGIN homebridge-mi-ac-partner:
[7/27/2018, 12:59:49 AM] Error: Cannot find module 'miio'
    at Function.Module._resolveFilename (module.js:476:15)
    at Function.Module._load (module.js:424:25)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge-mi-ac-partner/index.js:1:74)
    at Module._compile (module.js:577:32)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)

超时问题依旧存在

[7/27/2018, 1:00:41 AM] [MiAqaraPlatform] [ERROR]Error: timeout: {"cmd":"write","model":"ctrl_neutral1","sid":"158d00016146c9","data":{"channel_0":"on", "key": "fab28af90983e7051326b47963c324c2"}"}
[7/27/2018, 1:02:14 AM] [MiAqaraPlatform] [ERROR]Error: timeout: {"cmd":"write","model":"gateway","sid":"7811dcdc2a79","data":"{\"rgb\":889170516, \"key\": \"aa9dd259ea69646813f0779ada2ecc0d\"}"}
[7/27/2018, 1:02:14 AM] [MiAqaraPlatform] [ERROR]Error: timeout: {"cmd":"write","model":"gateway","sid":"7811dcdc2a79","data":"{\"rgb\":889170516, \"key\": \"aa9dd259ea69646813f0779ada2ecc0d\"}"}
[7/27/2018, 1:02:17 AM] [MiAqaraPlatform] [ERROR]Error: timeout: {"cmd":"write","model":"gateway","sid":"7811dcdc2a79","data":"{\"rgb\":0, \"key\": \"aa9dd259ea69646813f0779ada2ecc0d\"}"}
[7/27/2018, 1:02:17 AM] [MiAqaraPlatform] [ERROR]Error: timeout: {"cmd":"write","model":"gateway","sid":"7811dcdc2a79","data":"{\"rgb\":0, \"key\": \"aa9dd259ea69646813f0779ada2ecc0d\"}"}

from homebridge-mi-acpartner.

LASER-Yi avatar LASER-Yi commented on June 1, 2024

ERROR LOADING PLUGIN homebridge-mi-ac-partner 这个错误是因为安装了homebridge-mi-ac-partner这个插件的原因。请问下插件的具体环境,是在docker中还是树莓派。一直无法复现这个问题。

from homebridge-mi-acpartner.

Raccooon avatar Raccooon commented on June 1, 2024

报错设备是一台老旧笔记本thinkpad x61
折腾很久,依旧报错

迁移整套homebridge到了Mac mini上
无报错,运行良好

感谢帮助

from homebridge-mi-acpartner.

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.