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

Camera module

Scheduled Pinned Locked Moved Utilities
26 Posts 13 Posters 30.0k Views 13 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.
  • A Offline
    alexyak
    last edited by Sep 9, 2016, 6:44 PM

    I’ve just published the camera module. Besides displaying a video feed on your mirror, it could also take photos and email them.

    [card:alexyak/camera]

    J 3 Replies Last reply Sep 12, 2016, 10:20 AM Reply Quote 2
    • J Offline
      James
      last edited by James Sep 11, 2016, 11:38 PM Sep 11, 2016, 11:26 PM

      Great, I will try with PS3 EYE later.
      Thanks,

      1 Reply Last reply Reply Quote 0
      • J Offline
        James @alexyak
        last edited by James Sep 12, 2016, 10:35 AM Sep 12, 2016, 10:20 AM

        @alexyak I installed the both modules and here’s some issue need to be solved.

        1. In your readme.md of camera, the sample config code need to add the missing “{}” after config:
                        {
                                module: 'camera',
                                position: 'upper_third',
                                config: {
                                        selfieInterval: 3,  // Time interval in seconds before the photo will be taken.
                                        emailConfig: {
                                                service: 'Hotmail', // Email provider to use to send email with a photo.
                                                auth: {
                                                        user: '<name@email.com>', // Your email account
                                                        pass: '<password>'        // Your password for email account
                                                }
                                        }
                                }
                        },
        
        1. The voicecontrol module run well, it shows tips in the screen and could recognize my voice.
        2. The three voice command works, I didn’t receive any email and I need to say “hide camera” to let the countdown disappear.
        3. Another issue is if I don’t enter some email info, the module seems to be stacked on the screen.
        4. Is there a place I could find the selfie pics in Pi?

        Thanks for you and your great modules.

        1 Reply Last reply Reply Quote 0
        • J Offline
          James
          last edited by Sep 12, 2016, 10:36 AM

          0_1473676523378_iOS_fly_54.jpeg

          0_1473676541747_iOS_fly_88.jpeg

          0_1473676556322_iOS_fly_41.jpeg

          0_1473676568707_iOS_fly_4.jpeg

          1 Reply Last reply Reply Quote 1
          • J Offline
            James @alexyak
            last edited by Sep 12, 2016, 11:08 AM

            @alexyak @paviro when I wanna to post the errors in mm-error-0.log, shows “Post content was flagged as spam by Akismet.com”.

            1 Reply Last reply Reply Quote 0
            • P Offline
              paviro Admin
              last edited by Sep 12, 2016, 6:57 PM

              Upload as a file or inline?

              We're all stories in the end. Just make it a good one, eh?

              – The Doctor

              J 1 Reply Last reply Sep 12, 2016, 11:30 PM Reply Quote 0
              • J Offline
                James @paviro
                last edited by Sep 12, 2016, 11:30 PM

                @paviro no permission for me to upload a file, I will try inline

                1 Reply Last reply Reply Quote 0
                • J Offline
                  James @alexyak
                  last edited by James Sep 12, 2016, 11:37 PM Sep 12, 2016, 11:35 PM

                  @alexyak

                  ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.front.0:CARD=0'
                  ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                  ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
                  ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM front
                  ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
                  ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
                  ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
                  ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
                  ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                  ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
                  ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
                  
                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    James
                    last edited by Sep 12, 2016, 11:40 PM

                    ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
                    ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                    ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM iec958
                    ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
                    ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                    ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
                    ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
                    ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                    ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
                    ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
                    ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
                    
                    ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
                    
                    Cannot connect to server socket err = No such file or directory
                    Cannot connect to server request channel
                    jack server is not running or cannot be started
                    
                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      James
                      last edited by Sep 12, 2016, 11:45 PM

                      Between the above two error codes, there are several similar code with different “PCM surroundNo.” end (21, 40, 41, 50, 51, 71) like:

                      ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
                      ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                      ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
                      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
                      
                      A 1 Reply Last reply Sep 13, 2016, 12:09 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        4/26
                        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