Closed kekec777 closed 4 years ago
Hi, thanks for using node-milight-promise!
I am not sure what do you mean by running node server.js
! Is server.js
part of some source code you have written or do you use some other application such as homebridge-milight which incorporates node-milight-promise?
Please note, node-milight-promise provides an API developers can use to send Milight commands as part of their application. It does not provide a command line interface or generic server so far.
Thanks for a quick reply and for all your work do far :)
I'm using KevinVR
https://github.com/KevinVR/milights-bridge
My installation so far Git clone KevinVR Then into folder node_modules and then I run npm install node-miilight-promise
EDIT: so im running server.js from milights-bridge (found a guide where i can connect habridge / then google home)
Then into folder node_modules and then I run npm install node-miilight-promise
Did you also install the other dependencies? Generally, it should be ok to simply execute npm install
with further parameters as npm will pick-up the dependencies from the package descriptor. The following works for me
git clone https://github.com/KevinVR/milights-bridge.git
cd milights-bridge/
npm install
cp config.example.js config.js
# setup config
vi config.js
node server.js
milights-bridge
works for me with the new v6 controller, however it does work with v4! Having investigated the source code I can tell you that the code of milights-bridge
does not work with v4 although the author is suggesting it works as implemented. Are you familiar with Javascript? If yes I can roughly tell you which changes are required to fix it.
Hmm im not the biggest javascripter , but i really want this to work :) So please advise me to correct this :) 👍
I am in the same situation as kekec777, is there a way to type a command which allows me to control my bulbs on zone 5 in an 8 zone remote?
Sorry, guys I currently have no time to make a contribution to the milight-controller project myself. My suggestion is to raise an issue at https://github.com/KevinVR/milights-bridge/issues
Hallo everyone
Im quite new to this and i need some help
I have a old milight bridge and it seems i cannnot get this to work with just installing and running node server.js
so i tried to make a test.js with this inside:
and this is working :) - hurray (the led's changing colors) So how can i include this instead ???
Please help a newbie :)
thanks in advise