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.

    Send Selfie to Flickr or Photobucket

    Scheduled Pinned Locked Moved Requests
    4 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.
    • in_a_daysI Offline
      in_a_days
      last edited by

      I think this module is fun:

      https://github.com/alexyak/camera

      But e-mailing the selfie image seems kind of clunky. I think it would be great if the “Selfie” image can be automatically (or optionally) uploaded to my account on an online image hosting service.

      I can handle a lot of the simple changes to the code. I’m comfortable modifying the socketNotificaiton send and receives, and I think I know what I need to carve out of the original module. But I do not know how to write the script that will communicate with the image hosting servers. Any help will be greatly appreciated!

      What ship would bear me ever back across so wide a Sea?

      1 Reply Last reply Reply Quote 0
      • A Offline
        alexyak
        last edited by

        You will need to communicate via the API’s that these services provide. For example flickr has this:

        https://www.flickr.com/services/api/upload.api.html

        morozgrafixM Mykle1M 2 Replies Last reply Reply Quote 1
        • morozgrafixM Offline
          morozgrafix Moderator @alexyak
          last edited by

          @alexyak this flickr-upload npm package https://www.npmjs.com/package/flickr-upload can be utilized for that functionality. (Heh, I just realized it was written by a friend of mine)

          1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @alexyak
            last edited by

            @alexyak @morozgrafix

            Hi,

            I have camera installed (and dependencies) working on my MM. The only problem I have is that it doesn’t email the picture. I’m sure I’ve made a mistake somewhere. I was hoping you might help me.

            {
            			module: 'camera',
                			position: 'top_right',
                			config: {
            			selfieInterval: 3,  // Time interval in seconds before the photo will be taken.
                    		emailConfig: {
                        		service: 'iCloud', // Email provider to use to send email with a photo.
                        		auth: {
                            	user: 'xxxxxxxx@icloud.com', // Your email account
                            	pass: 'xxxxxxxxxx'        // Your password for email account
                        	}
                    	}
            		}
            		},
            

            Does it use the same email account to send To: and From: ? If not, how/where do I tell the module the address to send the picture to? Also, can I change the size of the picture being taken from 640x480 to 320x240?

            Many thanks ahead of time. :thumbsup_tone1:

            Create a working config
            How to add modules

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