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

CORS, MotionEye & MMM-Remote-Control

Scheduled Pinned Locked Moved Bug Hunt
13 Posts 4 Posters 2.4k Views 4 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 @SdeGeata
    last edited by Nov 22, 2022, 4:41 AM

    @SdeGeata we updated libraries we use, so it could be anywhere.

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Nov 22, 2022, 7:27 PM Reply Quote 0
    • S Offline
      SdeGeata @sdetweil
      last edited by Nov 22, 2022, 7:27 PM

      @sdetweil So what would you suggest? Is there another address I can have MotionEye listen on while leaving the Magic Mirror address on 0.0.0.0? I see an option to configure that in MotionEye.conf. I just don’t know what to set it to.

      S 1 Reply Last reply Nov 22, 2022, 7:35 PM Reply Quote 0
      • S Offline
        sdetweil @SdeGeata
        last edited by Nov 22, 2022, 7:35 PM

        @SdeGeata the physical adapter ip address
        the command

        ip addr
        

        will give you the configured addesses

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • K Offline
          karsten13 @SdeGeata
          last edited by Nov 22, 2022, 10:09 PM

          @SdeGeata

          Its funny though, it is only since MM v.2.17 I have been having issues with MMM_MotionEye

          MM is an electron app and electron uses chromium as browser. All browsers are more and more restrictive concerning cors when releasing new versions.

          I tested MMM-Motioneye with my setup and was not able to get it running.

          Another approach is to use MMM-iFrame instead which worked on my side.

          S 1 Reply Last reply Nov 24, 2022, 4:24 AM Reply Quote 0
          • S Offline
            SdeGeata @karsten13
            last edited by SdeGeata Nov 24, 2022, 4:25 AM Nov 24, 2022, 4:24 AM

            @karsten13 Yeah, I was messing with that a little today. I couldn’t find an iframe that was reliable enough.

            I ended up installing a Home Assistant add-on called go2rtc to serve the video and on the magic mirror, I installed the MMM-WebView module. It works a lot like an iFrame but more stable.

            So far, it seems to be working. I have MotionEye and SecuritySpy sending command line webhooks upon motion triggers to Home Assistant that in turn shows and hides the module on the magic mirror. I would have liked to get MotionEye working, but this actually sems faster and more stable.

            Thanks so much for your help though, to both of you.

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