@roramirez Thanks, exactly what a need !
Read the statement by Michael Teeuw here.
Posts made by balthaz
-
RE: MMM-ImagesPhotos - Show images from a directory
-
RE: MMM-ImagesPhotos - Show images from a directory
@roramirez said in MMM-ImagesPhotos - Show images from a directory:
wget -O $(date +%s).jpg http://192.168.0.160/tmpfs/auto.jpg
with wget -O $(date +%s).jpg http://192.168.0.160/tmpfs/auto.jpg i have a random picture
-
RE: MMM-ImagesPhotos - Show images from a directory
hello,
I test force cache, it’s no working, my test:
apply new git
wget jpg display jpg
rm jpg
wget jpg display same jpgi test with rotate wget
thanks
-
RE: MMM-ImagesPhotos - Show images from a directory
Hello,
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 :
wget http://192.168.0.160/tmpfs/auto.jpg (see image on mirror)
rm *.jpg
wget http://192.168.0.160/tmpfs/auto.jpg (see the same image on mirror)I playing with updateInterval and getInterval, no success.
Like there are a cache in app.
Thanks in advance, and thanks for your work
Olivier
-
RE: MMM-Rest
@Tuxdiver Yes it’s working good now :)
Is it possible to display alphanumeric response?Thanks
-
RE: MMM-Rest
@Tuxdiver
I add debug mode, but where can i find the log ?I try a tcpdump, and they arre no connection to the url :
pi@mirror:~/MagicMirror/modules/MMM-Rest $ sudo tcpdump |grep dirk
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), capture size 262144 bytesStay in loading mode
Thanks in advance -
RE: MMM-Rest
Hello,
In my config it stay in “loading mode” an idea ?
my config :
{
module: ‘MMM-Rest’,
position: ‘bottom_right’, // This can be any of the regions.
// Best results in one of the side regions like: top_left
config: {
sections: [
{
suffix: ‘°C’,
digits: 1,
url: ‘http://www.dirk-melchers.de/echo.php?text=22.54’,
},
{
suffix: ‘%’,
digits: 1,
url: ‘http://www.dirk-melchers.de/echo.php?text=59.1’,
},
{
suffix: ‘°C’,
digits: 1,
url: ‘http://www.dirk-melchers.de/echo.php?text=23.10’,
},
{
suffix: ‘%’,
digits: 1,
url: ‘http://www.dirk-melchers.de/echo.php?text=62.1’,
},
{
suffix: ‘°C’,
digits: 1,
url: ‘http://www.dirk-melchers.de/echo.php?text=-19.73’,
},
],
output: [
[‘Livingroom’,‘@1’,‘@2’],
[‘Kitchen’,‘@3’,‘@4’],
[‘Fridge’,‘@5’],
],
}
},