• 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
  1. Home
  2. kapsolas
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
K
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 2
  • Posts 32
  • Groups 1

kapsolas

@kapsolas

Module Developer
11
Reputation
1.8k
Profile views
32
Posts
0
Followers
0
Following
Joined Jul 14, 2016, 6:00 PM
Last Online Aug 2, 2018, 4:49 PM

kapsolas Unfollow Follow
Module Developer

Best posts made by kapsolas

  • MMM-Instagram - Pull and animate photos from Instagram feed

    Check out my module to pull images from a users Instagram Feed. An API_KEY is required to set this up.
    The images will be pulled will animate and rotate on the mirror.

    The link for it is http://bit.ly/MMM-Instagram

    Thanks!

    posted in Utilities
    K
    kapsolas
    Jul 23, 2016, 5:44 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    Just an FYI - You do not want to just post your config to the world.

    That access token can allow someone to impersonate you now! The config.js contains confidential information for accessing the services our mirrors are using. Refrain from publishing it to the world with out redacting the app ids.

    posted in Utilities
    K
    kapsolas
    Oct 27, 2016, 8:45 PM
  • RE: MMM-GooglePhotos

    Awesome! Happy to see that this was created as a module.

    In your screenshot you have a full screen image, what is the configuration for this? I imagine we would want that div to be behind all the other divs to use the image as a background and the other modules to be displayed over it.

    Thanks!

    posted in Entertainment
    K
    kapsolas
    Jul 26, 2018, 11:37 PM
  • MMM-Flickr - Pull and animate photos from Flickr public feed of photostream

    Description:

    Check out my module to pull images from a public flickr Feed. Since the feed is the based on the public RSS feed, it will only pull the 20 most recent images - this does not require an API_KEY.

    The images will then animate and rotate on the mirror.

    Download:

    [card:kapsolas/MMM-Flickr]


    Initial Version

    posted in Utilities
    K
    kapsolas
    Jul 23, 2016, 5:41 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    What are you guys seeing in the console log? If you are not anything… then I will have to send you a version of the module with debug comments in it to see where the issue is.

    FYI - I had a similar issue with the Module for Traffic and never solved it. It just sat on Loading…

    posted in Utilities
    K
    kapsolas
    Oct 26, 2016, 4:25 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    Awesome! Glad to hear we got it all set up! Enjoy the module!

    posted in Utilities
    K
    kapsolas
    Oct 27, 2016, 8:17 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    The file you will want to start to modify is:MMM-Instagram.js
    This is where the magic happens. The other file node_helper.js is used to handle the “packaging” of the information that the module uses to render the images. It is that file that reaches out to instagram and retrieves the images.

    In MMM-Instagram.js, you will find a method getDOM. This is where the module is rendering the image by modifying the DOM of the page. It is creating a new DIV and setting up an tag.

    I believe, you can start from here.

    Thanks!

    posted in Utilities
    K
    kapsolas
    Oct 28, 2016, 9:03 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    @Garrett Not sure if this is actually possible, but may be.
    I would need to review the instragram API.
    Currently, i was just interested in viewing my own photos when I wrote the module. it was more to meet my needs and then I shared it.

    When I have some time, i’ll try to implement some of the requests folks have had.

    posted in Utilities
    K
    kapsolas
    Apr 26, 2017, 12:13 AM

Latest posts made by kapsolas

  • RE: MMM-GooglePhotos

    If you don’t see any response, it may be because an error is being returned by Google. Errors in the script are suppressed now.

    If you are familiar with updating the code, you can add a console.log(body) message to see the error.

    posted in Entertainment
    K
    kapsolas
    Aug 2, 2018, 4:49 PM
  • RE: MMM-GooglePhotos

    Awesome! That worked and solved it!

    I’ll need to pay around a bit with the sizes in the config (hopefully not the code) to see if I can get the images to display in the screen fully.

    For now the images are being cropped as they are larger than the display area on the screen.

    Again thank you!

    posted in Entertainment
    K
    kapsolas
    Jul 29, 2018, 3:51 PM
  • RE: MMM-GooglePhotos

    Correct.

    The setup is as follows:

    1. I created a shared album
    2. Invited my wife to it
    3. I uploaded photos
    4. My wife uploaded photos

    When I tried to set up the plugin, I discovered it was failing. I modified the code to print the body to the console and saw the message from the Google Photos API.

    The response is:

    error:
    { code: 400,
    message: ‘The media item is not in the user's library. It was contributed by another user to a shared album that this user joined to.’
    status: ’ INVALID_ARGUMENT’ }
    }

    If we could get this to work, it would be a nice way to use GooglePhotos act like an online digital photo frame. Anyone with access to the shared album can upload photos.

    posted in Entertainment
    K
    kapsolas
    Jul 27, 2018, 2:57 PM
  • RE: MMM-GooglePhotos

    @sean Thanks!

    Another question… If i have an album which I’ve shared, images from that party are not showing up.

    Actually, after adding some debugging in the node_helper file, the body (freehanded the response as I don’t have the exact body handy) from the API

    Status code: 400
    Message: “The media item is not in the user’s library it was contributed by another user to…”

    Basically, their was an unhandled exception being thrown where your case statement is for: time, reverse, random.

    Any idea how to configure the album to allow the API to pull all images regardless of who uploaded them?

    posted in Entertainment
    K
    kapsolas
    Jul 27, 2018, 2:51 PM
  • RE: MMM-GooglePhotos

    Awesome! Happy to see that this was created as a module.

    In your screenshot you have a full screen image, what is the configuration for this? I imagine we would want that div to be behind all the other divs to use the image as a background and the other modules to be displayed over it.

    Thanks!

    posted in Entertainment
    K
    kapsolas
    Jul 26, 2018, 11:37 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    The module was not loading new images. I was thinking to fix that and I have a solution i am testing.

    Sounds like @Yurick has a solution for this too. If he pm’s it i can test it and incorporate into the code

    posted in Utilities
    K
    kapsolas
    Jun 26, 2017, 9:12 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    @rudibarani Hi - There currently is no intelligence on the images selected. It just processes the list that is returned by the API and starts to randomly display them.

    What you are asking for would need to be coded.

    posted in Utilities
    K
    kapsolas
    Jun 26, 2017, 6:54 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    @Garrett Not sure if this is actually possible, but may be.
    I would need to review the instragram API.
    Currently, i was just interested in viewing my own photos when I wrote the module. it was more to meet my needs and then I shared it.

    When I have some time, i’ll try to implement some of the requests folks have had.

    posted in Utilities
    K
    kapsolas
    Apr 26, 2017, 12:13 AM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    @zeular You are welcome!
    And to be clear, when you say pull from different API, you mean different services? Like Flickr, Instagram, etc?

    posted in Utilities
    K
    kapsolas
    Apr 25, 2017, 5:01 PM
  • RE: MMM-Instagram - Pull and animate photos from Instagram feed

    @zeular I suppose that this could be implemented. The module could be updated to make multiple requests to various sources.

    Given my current availability, this would not be something I can do in the near future.

    posted in Utilities
    K
    kapsolas
    Apr 25, 2017, 1:25 PM
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