Read the statement by Michael Teeuw here.
MMM-GooglePhotos
-
@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. -
@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?
-
@sdetweil He just connects the arduino to the pi serial port. Or I can maybe use ifttt. thanks for the links though.
-
@Sean I think I can access IFTTT or Webhooks from my arduino. Is it possible to send out notifications that way?
-
@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.
-
@teitlebot
There could be some issues.Just rotation will not be what you expect
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. -
@Sean cant you also catch the direction by height/width?
-
@teitlebot
impossible only with width/height. Imagine some pictures in your mind and rotate it. :D
Or…
Which direction should this photo be rotated? clockwise? counterclockwise? How can we know the direction with only width/height? -
@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.
-
@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.