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 301.9k 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.
    • T Offline
      teitlebot @sdetweil
      last edited by

      @sdetweil I have the arduino and stepper motor all working and I see he has the orientation labeled in his javascript code but I have no idea how to get the mmm google photos JS to send a command to the arduino motor. Im not a real coder I can just play with other peoples code a bit.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil Admin @teitlebot
        last edited by sdetweil

        @teitlebot yeh, no idea either myself.
        Maybe a web service on the Arduino callable from mm module

        https://www.survivingwithandroid.com/2016/05/arduino-rest-api-iot.html/amp

        another example, thinner, more local, esp8266 wifi…

        https://mancusoa74.blogspot.com/2018/02/simple-http-rest-server-on-esp8266.html
        using this second set of info, I was able to add a web server to my arduino ESP8266 sketch in 10 minutes…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @teitlebot
          last edited by

          @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 Reply Quote 0
          • T Offline
            teitlebot @Guest
            last edited by

            @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

              @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

                @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 Reply Quote 0
                • ? Offline
                  A Former User @teitlebot
                  last edited by

                  @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

                    @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 Reply Quote 0
                    • T Offline
                      teitlebot @Guest
                      last edited by

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

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @teitlebot
                        last edited by A Former User

                        @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 Reply Quote 0
                        • 1
                        • 2
                        • 23
                        • 24
                        • 25
                        • 26
                        • 27
                        • 28
                        • 29
                        • 30
                        • 25 / 30
                        • 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