Skip to content
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

Devices not supported #42

Open
ouv27 opened this issue May 22, 2021 · 1 comment
Open

Devices not supported #42

ouv27 opened this issue May 22, 2021 · 1 comment

Comments

@ouv27
Copy link

ouv27 commented May 22, 2021

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
Copy link
Contributor

Pittini commented Aug 6, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants