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

Scheduled Pinned Locked Moved Entertainment
294 Posts 56 Posters 235.8k Views 59 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.
  • ? Offline
    A Former User @teitlebot
    last edited by Mar 13, 2019, 7:27 AM

    @teitlebot
    Interesting Job. I can add notifications for current photo direction.
    The only problem is, If frame would be rotated, other MM modules are not rotated automatically.

    T 2 Replies Last reply Mar 13, 2019, 7:02 PM Reply Quote 0
    • T Offline
      teitlebot @Guest
      last edited by Mar 13, 2019, 7:02 PM

      @Sean I dont care about the other modules as I would have them off during rotation. Can notifications be sent out of MM to an arduino?

      1 Reply Last reply Reply Quote 0
      • T Offline
        teitlebot @sdetweil
        last edited by Mar 13, 2019, 7:05 PM

        @sdetweil He just connects the arduino to the pi serial port. Or I can maybe use ifttt. thanks for the links though.

        1 Reply Last reply Reply Quote 0
        • T Offline
          teitlebot @Guest
          last edited by Mar 15, 2019, 4:01 AM

          @Sean I think I can access IFTTT or Webhooks from my arduino. Is it possible to send out notifications that way?

          ? 2 Replies Last reply Mar 15, 2019, 6:06 AM Reply Quote 0
          • ? Offline
            A Former User @teitlebot
            last edited by Mar 15, 2019, 6:06 AM

            @teitlebot yes but… image itself will not be rotated by frames direction. It should be rotated again by direction. Think about it. It is totally different work.

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @teitlebot
              last edited by A Former User Mar 15, 2019, 8:14 AM Mar 15, 2019, 8:12 AM

              @teitlebot
              There could be some issues.

              Just rotation will not be what you expect

              0_1552636901030_t.png

              Unfortunately, as far as I know GooglePhotos remove all your EXIF and it’s metadata has no direction info. So cannot catch the photo direction.

              With local stored original photos (or in Dropbox), it might be able to be done.
              But it would be totally different program.

              T 1 Reply Last reply Mar 15, 2019, 3:56 PM Reply Quote 0
              • T Offline
                teitlebot @Guest
                last edited by Mar 15, 2019, 3:56 PM

                @Sean cant you also catch the direction by height/width?

                ? 1 Reply Last reply Mar 15, 2019, 4:03 PM Reply Quote 0
                • ? Offline
                  A Former User @teitlebot
                  last edited by A Former User Mar 15, 2019, 4:06 PM Mar 15, 2019, 4:03 PM

                  @teitlebot
                  impossible only with width/height. Imagine some pictures in your mind and rotate it. :D
                  Or…

                  0_1552665928446_DSCN0873.jpg
                  Which direction should this photo be rotated? clockwise? counterclockwise? How can we know the direction with only width/height?

                  T 1 Reply Last reply Mar 15, 2019, 10:45 PM Reply Quote 0
                  • T Offline
                    teitlebot @Guest
                    last edited by Mar 15, 2019, 10:45 PM

                    @Sean Interesting but Google Photos already rotates the picture correctly for us before it sends it to the mirror. So assuming it shows correct in the google photos album it will be correct in the mirror. Now take any picture that is width/height >1 and rotate the picture one way and rotate the screen in the opposite direction and it should work.

                    ? 1 Reply Last reply Mar 15, 2019, 10:55 PM Reply Quote 0
                    • ? Offline
                      A Former User @teitlebot
                      last edited by Mar 15, 2019, 10:55 PM

                      @teitlebot
                      If so, you can do that without notification. Just add eventlistener to target photo container element and check whether src be changed. Then you can activate xmlHTTPrequest to send request to your IFTTT server.

                      T 1 Reply Last reply Mar 17, 2019, 2:18 AM Reply Quote 0
                      • 1
                      • 2
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 29
                      • 30
                      • 11 / 30
                      11 / 30
                      • First post
                        102/294
                        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