• 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-HomeKit | Control your MagicMirror with Apple HomeKit

Scheduled Pinned Locked Moved System
27 Posts 17 Posters 19.9k Views 20 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.
  • S Offline
    sdetweil @amaralia
    last edited by Oct 30, 2020, 3:50 PM

    @amaralia said in MMM-HomeKit | Control your MagicMirror with Apple HomeKit:

    grep -q 'HDMI DMT && echo ‘1’

    seems u are missing a single quote (before the && )

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • B Offline
      banbutcher
      last edited by Nov 4, 2020, 12:57 AM

      Just installed homekit and its great… i can now have the mirror switch off when i say goodnight using shortcuts, i also have it set to turn off when im not there and switch on when i get home!

      next step is to get it to switch on my playstation on voice! :)

      1 Reply Last reply Reply Quote 0
      • F Offline
        fragler
        last edited by Dec 11, 2020, 4:51 PM

        Hello,
        I am trying to setup a Mirror and make it work with homekit. I’m very unexperienced with coding and basically everything here :)
        I followed the instructions and get the following error.
        I would appreciate your help a lot!
        Thank you in advance:

        [11.12.2020, 17:48:04] Loading 2 platforms…
        [11.12.2020, 17:48:04] [Config] Initializing config platform…
        [11.12.2020, 17:48:04] [Config] Running in Service Mode
        [11.12.2020, 17:48:04] [Raspberry Pi] Initializing cmdSwitch2 platform…
        [11.12.2020, 17:48:04] Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 74adc578-9ce9-42de-bbbb-5e3d84a287a1
        at Bridge.Accessory._this.addBridgedAccessory (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:416:15)
        at /usr/lib/node_modules/homebridge/src/server.ts:310:19
        at Array.filter ()
        at Server.restoreCachedPlatformAccessories (/usr/lib/node_modules/homebridge/src/server.ts:270:69)
        at Server.start (/usr/lib/node_modules/homebridge/src/server.ts:158:10)
        at cli (/usr/lib/node_modules/homebridge/src/cli.ts:80:10)
        at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
        at Module._compile (internal/modules/cjs/loader.js:1063:30)
        at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
        at Module.load (internal/modules/cjs/loader.js:928:32)

        S B 2 Replies Last reply Dec 11, 2020, 5:34 PM Reply Quote 0
        • S Offline
          sdetweil @fragler
          last edited by Dec 11, 2020, 5:34 PM

          @fragler said in MMM-HomeKit | Control your MagicMirror with Apple HomeKit:

          : Cannot add a bridged Accessory with the same UUID as another bridged Accessory

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            BKeyport Module Developer @fragler
            last edited by Dec 11, 2020, 6:38 PM

            @fragler
            FYI, this non-module is a piece of abandonware.

            Looks like you’ve got two devices using the same ID.

            Do you have homebridge on your network already?

            https://homebridge.io/ is the underlying software, and has moved past what this module had supported. I personally went to a smart plug instead. There’s too many problems with this module to set it up. Took me a solid 3 weeks of debugging to get this to work part of the time.

            The "E" in "Javascript" stands for "Easy"

            F 1 Reply Last reply Dec 11, 2020, 7:02 PM Reply Quote 0
            • F Offline
              fragler @BKeyport
              last edited by Dec 11, 2020, 7:02 PM

              @BKeyport Yes I have homebridge online and running. But there is no other device I’m using with homebridge.

              Okay if this module does not work well, then that’s another story.
              The problem with the smart plug is that when I turn off the monitor (i.e. kill power) and turn power on again, I need to turn the monitor on with a button as well. So if I were to use a smart plug I could turn on power for the monitor but would still have to press a button :/
              That’s why I thought this would be a great solution with this module…
              But thank you all so much for your quick replies!!

              1 Reply Last reply Reply Quote 0
              • B Offline
                BKeyport Module Developer
                last edited by Dec 11, 2020, 11:31 PM

                OK, then I think the Homebridge already has the accessory partially or fully defined. Something’s happening that duplicating your install somewhere.

                The "E" in "Javascript" stands for "Easy"

                M 1 Reply Last reply May 17, 2021, 11:44 AM Reply Quote 0
                • M Offline
                  MajorC Project Sponsor @BKeyport
                  last edited by May 17, 2021, 11:44 AM

                  @bkeyport is there a way to show my EVE Weather station data via HomeKit or HomeBridge on the MagicMirror?

                  B 1 Reply Last reply May 17, 2021, 4:51 PM Reply Quote 0
                  • B Offline
                    BKeyport Module Developer @MajorC
                    last edited by BKeyport May 17, 2021, 4:51 PM May 17, 2021, 4:51 PM

                    @majorc I stopped using this, It’s not really a “MagicMirror” module. It’s a basic concept.

                    I don’t know much about homebridge. You could look at https://homebridge.io/

                    The "E" in "Javascript" stands for "Easy"

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      janth
                      last edited by Sep 24, 2021, 8:05 AM

                      Hello :) I have been using th cmdSwitcht2 plugin for the past 3 years. Last weekend I updated homebridge for the (to me) new UI-X and MM and Raspberry Pi OS… I thought it’d take me an hour or so.

                      I can’t get the on-command to work. I tried different commands like 'vcgencmd display_power 1* and the one that is suggested here. vcgencmd display_power 1 does not work. /opt/vc/bin/tvservice -p; sudo /bin/chvt 6; sudo /bin/chvt 7 works from user pi, but homebridge runs from a different user also called homebridge.

                      When turning the switch on, it logs the following: "Failed to turn on Spiegelmonitor

                      [24.9.2021, 09:59:26] [cmdSwitch2] sudo: Kein TTY vorhanden und kein »askpass«-Programm angegeben
                      

                      When running tvservice --preferred && sudo chvt 6 && sudo chvt 7 from the console in Homebridge UI X, it says

                      chvt: ioctl VT_ACTIVATE: Die Operation ist nicht erlaubt
                      

                      I tried to give homebridge the same rights in /etc/sudoers and checked /dev/fb0 rights but I don’t fully understand everything I did there. Has anyone had the same issue before?

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