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.

    Show IP camera in Magic Mirror

    Scheduled Pinned Locked Moved Requests
    17 Posts 7 Posters 11.5k Views 8 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
      jasondreher
      last edited by

      I am using iFrame. But also using BlueIris to stream the IP camera to a http site, makes things much easier, plus I can get motion from BlueIris.

      		{
      		module: 'MMM-iFrame',
      		position: 'bottom_left',	// This can be any of the regions.
      		config: {
      			// See 'Configuration options' for more information.
      				url: ["http://192.XXX.X.XXX:XXXX/mjpg/CAM1/video.mjpg"],
      				updateInterval: 0.5 * 60 * 1000, // rotate URLs every 30 seconds
      				width: "1200px", // Optional. Default: 100%
      				height: "600px" //Optional. Default: 100px
      			}
      		},
      
      D 1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer
        last edited by BKeyport

        I now have MMM-FreeboxTV working displaying my IP Camera.

        Here’s the trick:

        Edit streamsConfig.json and strip out everything but channel 2.

        Channel 2 should be:

        "2": "rtsp://[url]"
        

        Then: in config.js

        {
        	module: 'MMM-FreeboxTV',
        	position: 'top_right',
        	config: {
        		debug: false,
        		autoReplay: true,
        		fullscreen: false,
        		width: [to taste],
        		height: [to taste],
        		onStart: 2,
        		onStartDelay: 5000,
        		streams: "streamsConfig.json"
        	}
        },
        

        PS: Because of my module size, I needed to still use my unlisted block module. :(

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

        D M 2 Replies Last reply Reply Quote 0
        • D Offline
          drx1984 @BKeyport
          last edited by

          @BKeyport do you mean that
          Unfortunately I don’t see a stream either

          Screenshot 2021-01-15 082339.jpg

          Screenshot 2021-01-15 082409.jpg

          BKeyportB 1 Reply Last reply Reply Quote 0
          • D Offline
            drx1984 @jasondreher
            last edited by

            @jasondreher Unfortunately, iframe does not work with Reolink cameras.

            G 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @drx1984
              last edited by

              @drx1984 you didn’t follow my directions. The system expects the channels in the json file.

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

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                drx1984 @BKeyport
                last edited by

                @BKeyport Good morning thanks,
                Everything works fine locally now.
                But when I call up my MagicMirror via a browser on another computer via an IP address, there is no cam stream.
                I think it only works locally?
                Is there any other solution? Or at least display a picture from the IP camera?

                1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer
                  last edited by

                  Sadly, no. Other programs had a option for a remote feed, like using OMXPlayer locally, and mmfpeg remotely, but those are abandoned.

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

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    goprojojo @drx1984
                    last edited by goprojojo

                    @drx1984 That’s too bad. Hope there is a solution for Reolink. Any confirmed camera brand that does work with MMM-FreeboxTV?

                    BKeyportB 1 Reply Last reply Reply Quote 0
                    • BKeyportB Offline
                      BKeyport Module Developer @goprojojo
                      last edited by BKeyport

                      @goprojojo If it works with VLC, it’ll work with Freebox. go to https://www.ispyconnect.com/man.aspx?n=Reolink to get the URL you’ll need, and try it on VLC.

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

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        meaple @BKeyport
                        last edited by meaple

                        @bkeyport Got my streamsConfig.json set (also tried without [])17d988e5-4ac0-436b-b33e-3ce815f9b19c-image.png and free box set in config.js bf138c16-30b5-4411-8fbe-319ea0423ce4-image.png
                        but only displays 16de4b19-3b12-4dfc-9efd-a7461607a231-image.png
                        Any idea?

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