-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add support for keep-alive command messages #15
Comments
sombody can give me milightv 6 modul end send comand |
@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:
|
I have asmart home in majordomo,but I can not connect to the smart home milightV6 it dose not recognized.Ithink that the modul of wifi Ibox and send comande not work can you help me to connect
Воскресенье, 26 марта 2017, 16:34 +03:00 от Marcus Wittig ***@***.***>:
@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");
});
…—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .
|
Did you try "discover" your Ibox? Try to run "discover-bridges-v6.js" located in the examples directory |
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. |
Did you pair your lights with the ibox controller? |
Yes I do it work corectly by the progrom OF LIMITLESSLED .Led lights work but not work with smart home
…Воскресенье, 2 апреля 2017, 10:18 +03:00 от Marcus Wittig ***@***.***>:
Did you pair your lights with the ibox controller?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .
|
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 |
Yes of cours Itry but without result.what about milight v6 PHP plgins I finde https://github.com/Uhula/IPSMilightV6 in IPS Milightv6 I finde some module milghtV6 php ,but with this module it not respond it like not understend comands.is it try?and what I must finde new send comand?
…Воскресенье, 2 апреля 2017, 20:43 +03:00 от Marcus Wittig ***@***.***>:
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
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .
|
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. |
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 |
This requires a better understanding of what can be done with keep-alive messages. The behavior of keep-alives as part of the Milight protocols isn't documented.
The text was updated successfully, but these errors were encountered: