Coder Social home page Coder Social logo

Comments (11)

AniTigran avatar AniTigran commented on July 2, 2024

sombody can give me milightv 6 modul end send comand

from node-milight-promise.

mwittig avatar mwittig commented on July 2, 2024

@AniTigran Can you please give some more details about what you need? Please also have a look at the examples. Generally, the flow is as follows:

var light = new Milight({
    ip: "192.168.0.34",
    type: 'v6'
  }),
  zone = 1;

// Send commands
light.sendCommands(commands.rgbw.on(zone));

// ...

// Finall close the connection to terminate the application
// It will close when all pending commands have been processed
light.close().then(function () {
  console.log("All command have been executed - closing Milight");
});
 

from node-milight-promise.

AniTigran avatar AniTigran commented on July 2, 2024

from node-milight-promise.

mwittig avatar mwittig commented on July 2, 2024

Did you try "discover" your Ibox? Try to run "discover-bridges-v6.js" located in the examples directory

from node-milight-promise.

AniTigran avatar AniTigran commented on July 2, 2024

I can not connect milightv6 to my smart home it not respond. I put the IP of milightv6,numbers of zones,and color of the led,make a send comande on but there no aswer from milight.in configration of old milight in my smart home I must put a milght modul php ,milght class,and send comand in all.My smart home platform is MAjordomo.

from node-milight-promise.

mwittig avatar mwittig commented on July 2, 2024

Did you pair your lights with the ibox controller?

from node-milight-promise.

AniTigran avatar AniTigran commented on July 2, 2024

from node-milight-promise.

mwittig avatar mwittig commented on July 2, 2024

Did you try the example programs as sugested earlier? Are you sure majordomo is using node-milight-promise? As far as I can see majordomo is written in PHP and has its own set of PHP plugins like https://github.com/Gelezako/MajorDomo-MiLight

from node-milight-promise.

AniTigran avatar AniTigran commented on July 2, 2024

from node-milight-promise.

mwittig avatar mwittig commented on July 2, 2024

Sorry, I am a bit lost here. As far as I can see "IPSMilightV6" and "MajorDomo-MiLight" are completely unrelated to my project. Maybe you can use "IPSMilightV6" as a basis for a MajrorDomo Milight V6 plugin.

If you want to trial my project please try to execute the examples as suggested earlier.

from node-milight-promise.

markg85 avatar markg85 commented on July 2, 2024

You can find an 'example' implementation of keep-alive here as well: https://github.com/JasperG/bilight/blob/master/bilight/src/main/java/com/jaspergoes/bilight/milight/Controller.java#L774

That is from the 'bilight' app

from node-milight-promise.

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.