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-IPCam - Display images from your (foscam) ip camera

    Scheduled Pinned Locked Moved Utilities
    17 Posts 9 Posters 17.6k Views 9 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.
    • D Offline
      desq
      last edited by

      seems to be the issue. (my Foscam FI9853EP)
      Here is content of the “Object”;

      "

      404 - Not Found

      404 - Not Found

      "
      1 Reply Last reply Reply Quote 0
      • RedNaxR Offline
        RedNax Module Developer
        last edited by

        Looks like your cam isn’t supported by https://github.com/fvdm/nodejs-foscam which is what i’m using in the module.

        Could you have a look here http://foscam.us/forum/how-to-get-jpg-pictures-and-mj-stream-on-fi9821w-fi9801-02w-t4328.html and see if you can get a jpeg from your cam? If so i could try to incorporate it…

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          desq @RedNax
          last edited by

          @RedNax I´m using a mjpeg stream to view my camera on my small magic mirror.
          no need to tinker to support my “unsupported” cam.

          V 1 Reply Last reply Reply Quote 0
          • binderthB Offline
            binderth
            last edited by binderth

            I got a FOSCAM FI-9805W, which seems also not supported. I think, there are different FOSCAM APIs out there.
            My camera returns a JPG after this call:

            • http://192.168.x.x:8080/cgi-bin/CGIProxy.fcgi?usr=XXX&pwd=xxx&cmd=snapPicture2

            I’m not sure, which one the library uses? the one of the foscam forum works with me.

            1 Reply Last reply Reply Quote 0
            • V Offline
              Vitiate @desq
              last edited by

              @desq How are you doing this?

              1 Reply Last reply Reply Quote 0
              • D Offline
                desq
                last edited by

                @Vitiate I´m using the mjpeg-Stream from my ipCam;

                document.getElementById("foscam").src = "http://0.0.0.0:Port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=USER&pwd=PASS";
                
                Mitch1138M 1 Reply Last reply Reply Quote 0
                • Mitch1138M Offline
                  Mitch1138 @desq
                  last edited by

                  I am new to MagicMirror but do have several modules working, but no success with IpCam. The module is in the MMM-IpCam folder in magicMirror/modules but on startup the entire screen is black. If I remove MM-IpCam from the config file, everything comes back. I can successfully stream images from by camera and a web browser with: http://0.0.0.0:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=&pwd=. Any suggestions? Thanks.

                  bheplerB 1 Reply Last reply Reply Quote 0
                  • foxF Offline
                    fox @Mitchfarino
                    last edited by

                    @Mitchfarino said in MMM-IPCam - Display images from your (foscam) ip camera:

                    Nice work!

                    Could it be used in conjunction with this?

                    http://projects.privateeyepi.com/

                    I’m thinking of using a second Pi as a back up security system

                    i would appreciate this !

                    Issues With MMM-WatchDog known?

                    https://forum.magicmirror.builders/post/29827

                    Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                    1 Reply Last reply Reply Quote 0
                    • bheplerB Offline
                      bhepler Module Developer @Mitch1138
                      last edited by

                      @Mitch1138 Usually a black screen indicates an error with the config.js file. It’s possible you made a minor mistake in the module’s configuration settings. If you post it here we can take a look at it and see if anything obvious shows up.

                      1 Reply Last reply Reply Quote 0
                      • Mitch1138M Offline
                        Mitch1138
                        last edited by Mitch1138

                        Thanks for the help. All my other modules work fine. This is an F19831P and I can display a live stream by putting this address ina web browser: http://192.168.0.10:80/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=username&pwd=pw&t

                        Here is the code I put in the config.js:

                        {
                                             module: 'MMM-IPCam',
                                		position: 'top_left',
                                		config: {
                                    		invertColors: false,
                                    		updateInterval : 10000,
                                    		host: '192.168.0.10',
                                    		port: 80,
                                    		user: 'userpw',
                                    		pass: 'pw' 
                        			}
                                	},
                        
                        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