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.
    • michael5rM Offline
      michael5r Module Developer
      last edited by

      Just wanted to announce that there’s a new version of this module out!

      I added functionality to support Paviro’s MMM-PIR-Sensor module meaning that this module can now be suspended & resumed based on movement detected through a PIR sensor (or whatever else you’re using for motion detection).

      Check out the release notes here:
      https://github.com/michael5r/mmm-hue-lights/releases/tag/1.3.0

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dazza120 @michael5r
        last edited by dazza120

        @michael5r I’m having a issue with the hue lights and MMM-Remote-Control, when viewing it from that app the hue module comes up with an error, it says
        Hue API Error: Error: read ECONNRESET
        it still changes when you turn on a bulb but would go back to the Error shortly after. When I use VNC to view it as long as I haven’t used mmm remotre control to view it, it works perfectly any ideas?

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

          @dazza120 That seems odd - let me check it out & see if I can replicate.

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

            Hi,

            I installed the module today with my Deconz gateway (not Hue).
            Everything works fine but I´m not able to use my defined groups.
            Lights are working great but the Hue bridge uses rooms and not groups, I think thats my problem.
            The Deconz gateway uses only lights and groups.

            The module MMM-Hue works great with the Deconz gateway but it´s basic. The new module looks much better.
            Is there a way to fix this problem?

            Regards,

            Christian

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

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

              Hi,

              I installed the module today with my Deconz gateway (not Hue).
              Everything works fine but I´m not able to use my defined groups.
              Lights are working great but the Hue bridge uses rooms and not groups, I think thats my problem.
              The Deconz gateway uses only lights and groups.

              The module MMM-Hue works great with the Deconz gateway but it´s basic. The new module looks much better.
              Is there a way to fix this problem?

              Regards,

              Christian

              Sure - open up the mmm-hue-lights.js file and go to line 670.

              You’ll see a comment saying for the groups, let's immediately filter out anything that doesn't have a type of 'Room' and a code block that looks like this:

              Object.keys(data.groups).forEach(function(key) {
                  var itemType = data.groups[key].type.toLowerCase();
                  if (itemType !== 'room') {
                      delete data.groups[key];
                   }
              });
              

              If you delete or uncomment that code block, it will no longer filter out anything that isn’t a room.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Christian @michael5r
                last edited by

                @michael5r

                Ok, thank you for the fast reply. That’s working for me.

                Regards,
                Christian

                1 Reply Last reply Reply Quote 1
                • C Offline
                  Christian
                  last edited by

                  Hi,

                  is there a way to get lights or groups sorted by name?

                  Regards,
                  Christian

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

                    @christian Not currently - I’m just displaying them in the order that the API spits them out.

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      Christian @michael5r
                      last edited by

                      @michael5r Ah, ok. But it would be a nice feature for the future.

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

                        @christian Sure - post it as an issue/feature request in the Github repo for this package and I’ll find some time to build it!

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