Read the statement by Michael Teeuw here.
MMM-Hue-Lights - new module for your Philips Hue lights!
-
@craig859 said in MMM-Hue-Lights - new module for your Philips Hue lights!:
Even after using Hue Developer to access the API debug/clip.html and generate a user string the Magic Mirror displays “please add your hue bridge IP and user to MagicMirror config.js file.”
Has anyone seen anything new on this? Is there a change in the authentication for Hue, maybe something that broke this module?There shouldn’t be - the Hue API hasn’t been updated in a long time, and both my mirrors are running just fine with this module.
-
@Cain said in MMM-Hue-Lights - new module for your Philips Hue lights!:
i also found that i had to change folder name from
MMM-Hue-Lights to mmm-hue-lights - not sure why but i did.
After the 10mintues when it stops workings. can you then access the debug using the website? Only when the error occurs.
also have you done the sudo apt-get update && sudo apt-get full-upgrade ?
The folder should be
mmm-hue-lights
- it’s case-sensitive, soMMM-Hue-Lights
wouldn’t work. -
@jasim said in MMM-Hue-Lights - new module for your Philips Hue lights!:
I installed mmm-hue-lights by default and get the following error message after 5 minutes. Hue API ERROR: Error: Read ECONNRESET. I ask for help with this problem. I’ve already reinstalled everything and it doesn’t help.
Have you tried changing the
updateInterval
setting to be a higher number than the default? I would suggest trying 10 mins - eg. setting it to600000
-
I’ve released a new
1.4.0
version of this module that will hopefully help with the refresh issue - it now automatically reschedules an update, no matter whether there’s an error or not. Thanks to @ulrichwisser for pushing this fix.Please download the version and see if that solves your issues.
-
I updated the module and tested it for several hours. The module fails after 45 - 60 minutes (API ERROR) and no longer works.
And not only that, the entire mirror no longer works.
After removing the module from the mirror, the mirror works again. -
@jasim said in MMM-Hue-Lights - new module for your Philips Hue lights!:
I updated the module and tested it for several hours. The module fails after 45 - 60 minutes (API ERROR) and no longer works.
And not only that, the entire mirror no longer works.
After removing the module from the mirror, the mirror works again.Can you try running your mirror in dev mode and post some logs?
-
@michael5r said in MMM-Hue-Lights - new module for your Philips Hue lights!:
@jasim said in MMM-Hue-Lights - new module for your Philips Hue lights!:
I updated the module and tested it for several hours. The module fails after 45 - 60 minutes (API ERROR) and no longer works.
And not only that, the entire mirror no longer works.
After removing the module from the mirror, the mirror works again.Can you try running your mirror in dev mode and post some logs?
Would you tell me what to do, I am a layperson and not a professional.
-
@jasim said in MMM-Hue-Lights - new module for your Philips Hue lights!:
@michael5r said in MMM-Hue-Lights - new module for your Philips Hue lights!:
@jasim said in MMM-Hue-Lights - new module for your Philips Hue lights!:
I updated the module and tested it for several hours. The module fails after 45 - 60 minutes (API ERROR) and no longer works.
And not only that, the entire mirror no longer works.
After removing the module from the mirror, the mirror works again.Can you try running your mirror in dev mode and post some logs?
Would you tell me what to do, I am a layperson and not a professional.
Instead of running
npm run start
in your Magic Mirror folder to start the mirror, try runningnpm start dev
which will open a browser console next to your mirror instance. Then look for any errors (marked in red) in there. -
@michael5r said in MMM-Hue-Lights - new module for your Philips Hue lights!:
npm start dev
-
@jasim You need to be in the folder of your Magic Mirror installation when you run these commands.