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

Scheduled Pinned Locked Moved Utilities
17 Posts 9 Posters 16.3k 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.
  • R Offline
    RedNax Module Developer
    last edited by Sep 12, 2016, 6:06 AM

    [card:RedNax67/MMM-IPCam]

    Display ipcam (foscam and compatible) feed on MagicMirror

    1 Reply Last reply Reply Quote 0
    • D Offline
      desq
      last edited by Sep 12, 2016, 11:37 AM

      Hi.

      doesn´t work for me. I just get “undefined” and an missing img symbol;

      0_1473680198439_Bildschirmfoto 2016-09-12 um 13.35.57.png

      Do you have hint?

      desq

      R 2 Replies Last reply Sep 12, 2016, 1:10 PM Reply Quote 0
      • R Offline
        RedNax Module Developer @desq
        last edited by Sep 12, 2016, 1:10 PM

        @desq

        Could cou examine the pm2 logs for more information? ~/.pm2/logs
        The screenprint is not very helpful i’m afraid…

        1 Reply Last reply Reply Quote 0
        • M Offline
          Mitchfarino Module Developer
          last edited by Sep 12, 2016, 1:13 PM

          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

          F 1 Reply Last reply Jan 22, 2017, 7:33 PM Reply Quote 0
          • D Offline
            desq
            last edited by paviro Sep 12, 2016, 7:29 PM Sep 12, 2016, 3:44 PM

            Not much more info…
            As seems as if the img url is still a xml-Object;

            Notification: GET_CAM Payload: [object Object]
            Notification: GET_CAM Payload: [object Object]
            { undefined: 'undefined' }
            { undefined: 'undefined' }
            Notification: GET_CAM Payload: [object Object]
            Notification: GET_CAM Payload: [object Object]
            { undefined: 'undefined' }
            { undefined: 'undefined' }
            Notification: GET_CAM Payload: [object Object]
            { undefined: 'undefined' }
            Notification: GET_CAM Payload: [object Object]
            { undefined: 'undefined' }
            Notification: GET_CAM Payload: [object Object]
            Notification: GET_CAM Payload: [object Object]
            { undefined: 'undefined' }
            { undefined: 'undefined' }
            
            1 Reply Last reply Reply Quote 0
            • R Offline
              RedNax Module Developer @desq
              last edited by Sep 13, 2016, 7:08 AM

              @desq What’s the entire content of img tag in your screenshot? Could it be that your cam’s not compatible maybe?

              1 Reply Last reply Reply Quote 0
              • D Offline
                desq
                last edited by Sep 14, 2016, 5:46 AM

                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
                • R Offline
                  RedNax Module Developer
                  last edited by Sep 14, 2016, 8:08 AM

                  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 Sep 15, 2016, 6:31 AM Reply Quote 0
                  • D Offline
                    desq @RedNax
                    last edited by Sep 15, 2016, 6:31 AM

                    @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 Jan 12, 2017, 3:31 AM Reply Quote 0
                    • B Offline
                      binderth
                      last edited by binderth Dec 27, 2016, 11:55 AM Dec 27, 2016, 11:54 AM

                      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
                      • 1
                      • 2
                      • 1 / 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