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 61.1k 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.
    • J Offline
      jasim @Cain
      last edited by

      @Cain 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!:

      ch habe nochmal eine neue user nummer erzeugt und auch da nach 10 min keine verbindung mehr. Kann es sein das bei der erzeugung der user nummer da steht ( {“devicetype”:“my_hue_app#iphone peter”} )
      ich habe aber ein Android Smartphone , kann das der Fehler sein.?

      can you use the api on the hub itself when it stops working on the magic mirror

      https:// /debug/clip.html ? ja

      as maybe there are too many request habe nur 5 Guppen mit 9 Lampen und 4 Bewegungsmeldern

      also what version of the hub are you using? SW:1938112040

      and what updateinterval? Einstellungen nach vorgabe: updateInterval: 2 * 60 * 1000,

      1 Reply Last reply Reply Quote 0
      • C Offline
        Cain
        last edited by

        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 ?

        J michael5rM 2 Replies Last reply Reply Quote 0
        • J Offline
          jasim @Cain
          last edited by jasim

          @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. Der Ordnername war schon geändert

          After the 10mintues when it stops workings. can you then access the debug using the website? Only when the error occurs.
          Ich habe Zugriff über die Webseite , selbst wenn der Spiegel nichts mehr anzeigt.

          also have you done the sudo apt-get update && sudo apt-get full-upgrade ?
          Alles beides ausgeführt, keine Änderung , geht nach 10 min nicht mehr.

          1 Reply Last reply Reply Quote 0
          • 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
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 8 / 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