maxinminax / node-mihome

Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
MIT License
121 stars 35 forks source link

Devices not supported #42

Open ouv27 opened 3 years ago

ouv27 commented 3 years ago

Hi, I'm trying node-mihome, Some of my devices are not supported by mihome.device function. I exclude them :
if((child.model != 'yeelink.light.ct2')&&(child.model != 'yeelink.light.color1')&&(child.model != 'rockrobo.vacuum.v1') &&(child.model != 'lumi.sensor_cube.v1')&&(child.model != 'lumi.sensor_wleak.aq1') &&(child.model != 'lumi.sensor_smoke.v1')&&(child.model != 'lumi.vibration.aq1')){

Is it possible to add them in your code ?

Tks

Pittini commented 3 years ago

The yeelink.light.ct2 you can add by your self, you have to copy the definition file yeelink.light.ct2.js from here: https://github.com/Pittini/iobroker-nodemihome/tree/main/DefinitionfilesForNode-Mihome to: ???/node_modules/node-mihome/lib/devices/

Should work also for the color1, if you take the definitionfile from my color2 and rename it, and also change the name inside.