-
Notifications
You must be signed in to change notification settings - Fork 9
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
Plugin error miio.Device #7
Comments
Такая же проблема... |
Можно поправить удалив плагин miio и установив [email protected]. но все же было бы неплохо обновить этот плагин так как теперь можно поменять класс устройства с вентилятора на увлажнитель. You can fix it remove plugin "miio" and setup older version [email protected]. But anyway it a good idea update current plugin for change a device class from fan to humidifier. |
Обновил командой: Sorry, but it does't help for me... |
sudo npm remove miio |
А как правильнее обновить miio чтоб поменять вентилятор на увлажнитель? |
Тут уже вопрос к тому кто написал плагин для увлажнителя / класс в homebridge и miio уже есть |
pi@pi:~ $ sudo npm install -g [email protected] npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-01-29T08_37_18_667Z-debug.log |
try 0.14.1 |
Thank you for a quick reply, miio 0.14.1 helps!) |
Is anyone able to get the new update running and able to use the humidifier as a humidifier service? I had to go back to 0.14.1 because I got the error above when I tried updating, but would much prefer the device to be displayed as a humidifier...any help is appreciated. |
Had merged @fenway062213 commit to fix that problem. Thanks |
Problems with miio handshake after updating the plugin to work with miio 0.15.6 If someone can confirm this behaviour after updating this plugin I’ll endevour to fix it. If not, I’ll just assume this is specific to my xiaomi device. |
@leoneleone I confirm, that there is a problem with connection to device |
/usr/local/lib/node_modules/homebridge-xiaomi-humidifier/Devices/MiHumidifier.js:17
this.device = new miio.Device({
^
TypeError: miio.Device is not a constructor
at new MiHumidifier (/usr/local/lib/node_modules/homebridge-xiaomi-humidifier/Devices/MiHumidifier.js:17:19)
at MiHumidifierPlatform.accessories (/usr/local/lib/node_modules/homebridge-xiaomi-humidifier/index.js:85:21)
at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:364:20)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:308:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:85:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
The text was updated successfully, but these errors were encountered: