• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 48.4k 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.
  • M Offline
    michael5r Module Developer @Cain
    last edited by May 20, 2020, 5:29 PM

    @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 May 22, 2020, 3:53 PM Reply Quote 0
    • M Offline
      michael5r Module Developer @jasim
      last edited by May 20, 2020, 5:32 PM

      @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
      • M Offline
        michael5r Module Developer
        last edited by michael5r May 20, 2020, 7:37 PM May 20, 2020, 7:36 PM

        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 May 21, 2020, 1:25 PM

          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.

          M 1 Reply Last reply May 21, 2020, 1:27 PM Reply Quote 0
          • M Offline
            michael5r Module Developer @jasim
            last edited by May 21, 2020, 1:27 PM

            @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 May 21, 2020, 3:18 PM Reply Quote 0
            • J Offline
              jasim @michael5r
              last edited by May 21, 2020, 3:18 PM

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

              M 1 Reply Last reply May 21, 2020, 3:26 PM Reply Quote 0
              • M Offline
                michael5r Module Developer @jasim
                last edited by May 21, 2020, 3:26 PM

                @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 May 21, 2020, 3:33 PM

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

                  npm start dev

                  Screenshot 2020-05-21 17.30.37.png

                  M 1 Reply Last reply May 21, 2020, 3:57 PM Reply Quote 0
                  • M Offline
                    michael5r Module Developer @jasim
                    last edited by May 21, 2020, 3:57 PM

                    @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
                    • J Offline
                      jasim
                      last edited by May 21, 2020, 4:46 PM

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

                      npm start dev

                      Screenshot 2020-05-21 18.43.39.png

                      M 1 Reply Last reply May 21, 2020, 4:55 PM Reply Quote 0
                      • 1
                      • 2
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 7 / 9
                      7 / 9
                      • First post
                        69/87
                        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