@Mykle1 you have to either override the class align-left which is getting confuse or set an important flag
.MMM-voice .align-left {
text-align: right;
}
.MMM-voice {
text-align: right !important;
}
@Mykle1 you have to either override the class align-left which is getting confuse or set an important flag
.MMM-voice .align-left {
text-align: right;
}
.MMM-voice {
text-align: right !important;
}
@doubleT you can only do requests to servers, so if you want to access your file like this, you have to name the uri similar to localhost:8080/station_price/public/proxytest.txt and piut the file in a public folder, as i remember the public folder in a module directory gets exposed by default to the express server of the magicmirror. But if you want to read a local file, i would rather use the fs module that comes natively with nodejs than request. the filesystem module allows you to read and write files on your harddrive https://nodejs.org/dist/latest-v8.x/docs/api/fs.html. Be aware of that there are synchronous and asynchronous functions to read a file
@Hawking said in MagicMirror on Pi Zero W:
/home/pi/MagicMirror/node_modules/moment
it should look like this /home/pi/MagicMirror/vendor/node_modules/moment do you have a package.json file in /home/pi/MagicMirror/vendor?
@johnnyboy open a terminal then change directory with cd ~/MagicMirror/modules then type in ls -la
I’m curious if someone ever tried to find the easter egg in this module :thinking:
@E3V3A every client instance is connecting to the same nodehelper, so what some people did is having a start boolean variable so they can check if the nodehelper already initialised e.g.
https://github.com/paviro/MMM-Wunderlist/blob/master/node_helper.js#L19
https://github.com/paviro/MMM-Wunderlist/blob/master/node_helper.js#L94
https://github.com/paviro/MMM-Wunderlist/blob/master/node_helper.js#L106
@Mykle1 then you need mmm-tts to hear the response when you found it :)
@E3V3A you can store the data in a variable in the node helper, every time someone connects and your start flag is already set you just send him the data from your variable
@johnnyboy There is a css trick you probably didn’t know about, but will blow your mind :D
there is only one trash can icon in fontawesome, so how can we use it but colorize it differently for different trash types.
In germany, at least in my area, paper is blue, plastic is yellow, biowaste is brown and rest is black.

this is a working example https://jsfiddle.net/a8p7snpd/4/ you just need some icons that you never will use in the calendar module like car, truck and cab
Ok @abcdennis got the correct answer, let’s see who else get the right answer. Next hint on Thursday.
@Woody you are in the wrong directory /home/pi/package.json
cd ~/MagicMirror/modules/MMM-RandomPhoto
npm install
@lucallmon this is because you changed those mentioned files manually. If you want to revert your changes permamently do git checkout modules/default/clock/clock.js modules/default/compliments/compliments.js and rerun your command
@pjkoeleman he forgot to push the file convert.js which leads to the black screen
// get the module to move with it's identifier
var clock = document.getElementById('module_0_clock');
// append it to the region you like
document.querySelector('div.region.top.left div.container').appendChild(clock);
it will work only if you already have a module in that position, otherwise you need to ovverride the style to display block
document.querySelector('div.region.top.left div.container').style.display = 'block';
that’s it
Changelog
To update do git pull and npm install
[card:fewieden/MMM-MovieInfo]