How can I use Hello World to create a rolling text … like a banner
Read the statement by Michael Teeuw here.
Posts
-
Rolling Banner
-
Make display black
When I stop MM (pm2 stop mm) and turn monitor off (xset -display :0.0 dpms force off) then in a low light I can see the display as dark grey.
Is there a way to make the monitor pitch black by displaying black color all over the screen ? -
Update question
I made an update with ‘cd /home/pi/MagicMirror && git pull && npm install’ and received a warning:
npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@~0.4.0 but none was installed.What does that mean ?
-
RE: Images & Videos
Sorry - my mistake … I forgot to run ‘npm install’
Now it works like a Swiss clock …
Thanks again -
RE: Images & Videos
Thanks for your reply - I update the software with ‘git pull’
pi@mirror:~/MagicMirror/modules/MMM-RandomBackground $ git pull
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 5 (delta 4), reused 5 (delta 4), pack-reused 0
Unpacking objects: 100% (5/5), done.
From https://github.com/Ultimatum22/MMM-RandomBackground
868fc6c…03e3727 master -> origin/master
Updating 868fc6c…03e3727
Fast-forward
.gitignore | 0
LICENSE | 0
MMM-RandomBackground.js | 33 ++++++++++++++++++++++++±-------
node_helper.js | 21 ++++++++++++++++++±-
package.json | 3 +±
5 files changed, 46 insertions(+), 11 deletions(-)
mode change 100644 => 100755 .gitignore
mode change 100644 => 100755 LICENSEMy ‘config.js’ looks like this:
{
module: ‘MMM-RandomBackground’,
position: ‘fullscreen_below’,
config: {
randomOrder: false,
animationSpeed: 100,
updateInterval: 5000
}But I get only a white screen … have you change the ‘photoDirectories’ also ?
I still have the link ‘/home/pi/MagicMirror/modules/MMM-RandomBackground/photos’ -
RE: Images & Videos
I tested MMM-RandomBackground with 40 images and discovered that very often the same image was chosen two times in row.
Don’t know how you choose the images order randomly but is there a way to eliminate the random algorithm and just display the images in the file name order they are in the folder … -
RE: Images & Videos
Maybe I gave confusing information to you.
MMM-RandomBackground doesn’t hide any other modules … what I ment was that some text from other modules are hard to read (light text on light background)
‘imageSize’ would solve that problem for me at once
If you are going to dig in the code please prioritize this before ‘photoDirectories’ … that works OK as a temporay solution
Thanks … -
RE: Images & Videos
More feedback …
The config should also include ‘imageSize’
Now the image is full screen and it will hide other information on the screen (despite it is ‘fullscreen_below’)
It would be good to have it centered with a customized size … -
RE: Images & Videos
OK - it worked … but it is a temporary solution
When are you going to implement photoDirectories config … -
RE: Images & Videos
Sure it is accessible - I just set up the nfs share myself.
All the images are listed when I give ls -la /nfs/MIRROR command …$ ls -l /nfs/MIRROR/
total 748
-rw-rw-r-- 1 pi pi 157448 nov 16 13:18 IMG-20161116-WA0004.jpg
-rw-rw-r-- 1 pi pi 90988 nov 18 14:07 IMG-20161118-WA0004.jpg
-rw-rw-r-- 1 pi pi 188982 nov 25 13:30 IMG-20161125-WA0002.jpg
-rw-rw-r-- 1 pi pi 197352 dec 8 23:55 IMG-20161127-WA0023.jpg
-rw-rw-r-- 1 pi pi 117901 dec 14 12:01 IMG.jpg -
RE: Images & Videos
OK - now I got this …
$ npm install
magic-mirror-module-random-background@0.0.1 postinstall /home/pi/MagicMirror/modules/MMM-RandomBackground
./scripts/post-install.shPost install [in the future this creates a share to
photos]
magic-mirror-module-random-background@0.0.1 /home/pi/MagicMirror/modules/MMM-RandomBackground
├── jquery@2.2.4
└─┬ recursive-readdir@2.1.0
└─┬ minimatch@3.0.2
└─┬ brace-expansion@1.1.6
├── balanced-match@0.4.2
└── concat-map@0.0.1npm WARN magic-mirror-module-random-background@0.0.1 No repository field.
But still I don’t get any picture from /nfs/MIRROR … hmmm
-
RE: Images & Videos
Some feedback …
Install gave this warnings:pi@mirror:~/MagicMirror/modules $ npm install
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/node_modules/node_helper/package.json’
npm WARN modules No description
npm WARN modules No repository field.
npm WARN modules No README data
npm WARN modules No license field.Here is my config.js with your module :
module : ‘MMM-RandomBackground’,
position : ‘fullscreen_below’, // Any region but this one makes the most sense
config: {
animationSpeed: 2000,
updateInterval: 5000,
photoDirectories: ‘/nfs/MIRROR’
}As you can see the photos are in a NFS share on my server.
What I got is a totally black screen …
Where have I missed ? -
Images & Videos
I want to display images and videos in the center of the screen.
Also I want them to appear with effects … is it possible ? -
RE: Newsfeed module behaves differently than Compliments with custom.css?
It works great - I am learning more and more thanks to this forum …
But if I want to change color for the calendar entries (Christmas Day, Boxing Day …)
Didn’t find it calendar.js ….calendar .??? {
color: #a2d2f6;
} -
RE: Newsfeed module behaves differently than Compliments with custom.css?
Still struggling with fonts & colors …
When I insert following in custom.css I don’t get the color for calendar ….calendar .small {
color: #a2d2f6;
}The message Loading … is in right color but when the calendar shows it it still in white … same thing with
.calendar .dimmed {
color: #a2d2f6;
}Where have I missed ?
-
RE: Newsfeed module behaves differently than Compliments with custom.css?
I get the bigger fonts in newsfeed but still white color … hmmm
My custom.css looks like thisbody {
}
.newsfeed .medium {
font-size: 60px;
font-color: #e6e600;
line-height: 60px;
}
.brightb {
color: #a2d2f6;
}
.wi-sunrise {
color: #ff0;
}
…