node-mihome icon indicating copy to clipboard operation
node-mihome copied to clipboard

Devices not supported

Open ouv27 opened this issue 4 years ago • 1 comments

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

ouv27 avatar May 22 '21 21:05 ouv27

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.

Pittini avatar Aug 06 '21 11:08 Pittini