jeffreykog / artnet-hue-entertainment

Near-realtime ArtNet control over Signify/Philips Hue lights using the new Hue Entertainment API
MIT License
36 stars 8 forks source link

Having trouble getting started, geting "Help" reply when trying to run #5

Open star-dust-1 opened 2 years ago

star-dust-1 commented 2 years ago

Hi there,

I tried installing the package using "npm i artnet-hue-entertainment" and whenever I tried to call it afterwards in powershell I'd get an error message saying it's not recognized. (I'm running windows 10x64-bit if that info is relevant)

artnet-hue powershell2

I also noticed that when I used this command to install that no files get installed locally in my npm directory, so I tried installing again using "npm install -g artnet-hue-entertainment", which does cause the package's files to get installed locally. However, then if I try to run artnet-hue-entertainment in powershell, I only get a response "Help" and immediately get put back to the original command line.

artnet-hue powershell1

I've never had trouble installing and running nodejs packages before (hue-dmx for example), and am not quite sure what to do in order to get arenet-hue-entertainment up and running. Any help would be much appreciated, thanks!

kristen-movares commented 2 years ago

Having the same issue here aswell, would love for this to work. I found downloading the repository and then installing it locally helps a bit, but it is still in need of attention. results in a different issue: ApiError: Problems resolving hue bridges, request to https://discovery.meethue.com/ failed, reason: unable to get local issuer certificate but running the pair command seems to work correctly... yet i haven't clicked the bridge button cause i'm lazy.

DenkyTuna commented 11 months ago

I had the same issue, but "with -g option, install from local" probably can solve it.

It means, you shouldn't use "npm install -g artnet-hue-entertainment" (this is for installing from the repository on the internet) instead at first download zip file of this github repository, unzip, and run "npm install -g C:\Users*****\Downloads\ (unzipped repository folder name)".

Once you success, you can see the command reference when you run artnet-hue-entertainment.