MMM-ImagesPhotos - Show images from a directory
I had the idea to checking process development of a module and I created one to show images from a directory.
This module has a lot development stuff’s in files that I think should have a module. Is missing integration of test suite.
If you have any request to add it please let a message here or add an issue in Github.
- Update and fix README documentation
- Initial release
I search to display my webcam on my mirror.
I think to use a script to upload jpg from webcam (http://192.168.0.160/tmpfs/auto.jpg) on the right directory.
But just the 1st image is displayed, for testing i do :
I playing with updateInterval and getInterval, no success.
Like there are a cache in app.
Thanks in advance, and thanks for your work
@balthaz Yes is the cache of Electron app, because the name is same for image url.
I create a little hack for this but I think this can be overhead the cache of app. Can you try and tell me?
Other way is create a new name and delete previous file in your script
wget -O $(date +%s).jpg http://192.168.0.160/tmpfs/auto.jpg
schlachtkreuzer6 last edited by
I test force cache, it’s no working, my test:
apply new git
wget jpg display jpg
wget jpg display same jpg
i test with rotate wget
@roramirez Thanks, exactly what a need !
From reading the readme, i couldn´t figure out where to place the directory MMM-ImagesPhotos searches for the pictures.