MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Hue-Lights - new module for your Philips Hue lights!

    Scheduled Pinned Locked Moved Utilities
    87 Posts 20 Posters 62.0k Views 19 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • michael5rM Offline
      michael5r Module Developer @craig859
      last edited by

      @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.

      1 Reply Last reply Reply Quote 0
      • michael5rM Offline
        michael5r Module Developer @Cain
        last edited by

        @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, so MMM-Hue-Lights wouldn’t work.

        F 1 Reply Last reply Reply Quote 0
        • michael5rM Offline
          michael5r Module Developer @jasim
          last edited by

          @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.
          2020-04-24 13.24.13.jpg

          Have you tried changing the updateInterval setting to be a higher number than the default? I would suggest trying 10 mins - eg. setting it to 600000

          1 Reply Last reply Reply Quote 0
          • michael5rM Offline
            michael5r Module Developer
            last edited by michael5r

            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.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jasim
              last edited by

              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.

              michael5rM 1 Reply Last reply Reply Quote 0
              • michael5rM Offline
                michael5r Module Developer @jasim
                last edited by

                @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?

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jasim @michael5r
                  last edited by

                  @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.

                  michael5rM 1 Reply Last reply Reply Quote 0
                  • michael5rM Offline
                    michael5r Module Developer @jasim
                    last edited by

                    @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 running npm start dev which will open a browser console next to your mirror instance. Then look for any errors (marked in red) in there.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jasim
                      last edited by

                      @michael5r said in MMM-Hue-Lights - new module for your Philips Hue lights!:

                      npm start dev

                      Screenshot 2020-05-21 17.30.37.png

                      michael5rM 1 Reply Last reply Reply Quote 0
                      • michael5rM Offline
                        michael5r Module Developer @jasim
                        last edited by

                        @jasim You need to be in the folder of your Magic Mirror installation when you run these commands.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 7 / 9
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy