How can I change it so it looks like in the picture ?

How can I change it so it looks like in the picture ?

@killing-joke said in Screen shines black / Don´t know if it´s an Pi or Screen-Error?:
On the screen the the screensaver is deactivated.
Is there an option on the pi?
what you can still try
open
sudo nano /boot/config.txt
and add
# uncomment to put the monitor into power saving mode (DPMS)
hdmi_blanking=1
you need a Location ID from OpenWeatherMap, as described here
@justjim1220 said in Run MM on Ubuntu 16 VM:
error Make sure you have the latest version of node.js and npm installed.
Upgrade npm with
npm install -g npm@latest
try
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install -g npm@latest
please try the following
sudo apt-get remove nodejs nodejs-legacy nodered
after that
curl -sL https://deb.nodesource.com/setup_$NODE_STABLE_BRANCH | sudo -E bash -
sudo apt-get install -y nodejs
npm install -g npm@latest
after that enter in the repository with
cd MagicMirror
then install and run the app with
npm install && npm start
in case of errors please post here.
why do not you use the automatic installation for the RPi 3 b +
bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
how to use serveronly on a Raspberry Pi Zero W
prepare your raspberry
sudo raspi-config
Localisation Options -> Change Locale -> Change Timezone etc
Boot Options -> B1 Desktop/CLI -> B2 Console Autologin
Advanced Options -> Expand Filesystem
Finish = reboot
Update your raspberry
sudo apt-get update ; sudo apt-get upgrade
Install packages
sudo apt-get install git
sudo apt-get install xinit xserver-xorg
sudo apt-get install unclutter
Install Node
wget https://raw.githubusercontent.com/grayda/node-pi-zero/master/install-node-v6.14.3.sh -O /tmp/install-node-v6.14.3.sh && source /tmp/install-node-v6.14.3.sh
cd ~
Install Cromium
sudo apt-get install chromium-browser
Install MagicMirror
git clone https://github.com/MichMich/MagicMirror
cd ~/MagicMirror
npm install
cp config/config.js.sample config/config.js
cd ~
Auto Starting MagicMirror
sudo nano /home/pi/startMirror.sh
enter the following
#! /bin/bash
cd /home/pi/MagicMirror
node serveronly
Control + X > Y > Return
sudo chmod a+x /home/pi/startMirror.sh
Auto Starting Chromium
sudo nano ~/.config/autostart/autoChromium.desktop
enter the following
[Desktop Entry]
Encoding=UTF-8
Name=Connect
Comment=Checks internet connectivity
Exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk --incognito http://localhost:8080
Control + X > Y > Return
sudo nano /etc/rc.local
Add the following lines before exit 0:
/home/pi/startMirror.sh &
Control + x > Y > Return
sudo reboot
@janth said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
have them under /home /pi/
Auto Starting Chromium
sudo nano /home/pi/startChromium.sh
#!/bin/sh
unclutter &
xset -dpms # disable DPMS (Energy Star) features.
xset s off # disable screen saver
xset s noblank # don’t blank the video device
chromium-browser --no-sandbox --disable-infobars --start-maximized --noerrdialogs --kiosk --incognito http://localhost:8080
Control + X > Y > Return
sudo chmod a+x /home/pi/startChromium.sh
------------------------------------------------------------------------------------------------
Auto Starting Mirror
sudo nano /home/pi/startMirror.sh
#! /bin/bash
cd /home/pi/MagicMirror
node serveronly
Control + X > Y > Return
sudo chmod a+x /home/pi/startMirror.sh
sudo nano /etc/rc.local
Add the following lines before exit 0:
/home/pi/startMirror.sh &
(/bin/sleep 30 && sudo xinit /home/pi/startChromium.sh) &
Control + X > Y > Return
sudo reboot
@mrcoffee
give it a try
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
pcm.mic {
type plug
slave {
pcm "hw:0,0"
}
}
pcm.speaker {
type plug
slave {
pcm "hw:0,0"
}
}
or
pcm.!default {
type asym
capture.pcm "mic"
playback.pcm "speaker"
}
pcm.mic {
type plug
slave {
pcm "hw:0,0"
}
}
pcm.speaker {
type plug
slave {
pcm "hw:1,0"
}
}
then restart with sudo /etc/init.d/alsa-utils restart
under alsamixer can still adjust the volume level
@janth said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):
Chromium only shows a line at the top of the screen saying it can’t be run as sudo.
Any idea on how to fix this? Or how to get midori to work?
Thanks in advance :)
add --no-sandbox
for example - chromium-browser --no-sandbox --disable-infobars --start-maximized --noerrdialogs --kiosk --incognito http://localhost:8080
@dandrea30
there are two commas missing
{
module: 'MMM-Traffic',
position: 'bottom_right',
classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
config: {
api_key: 'your_apikey_here',
mode: 'driving',
origin: '4 Pennsylvania Plaza, New York, NY 10001',
destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
mon_destination: '116th St & Broadway, New York, NY 10027',
fri_destination: '1 E 161st St, Bronx, NY 10451',
arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
route_name: 'Home to Work',
changeColor: true,
showGreen: false,
limitYellow: 5, //Greater than 5% of journey time due to traffic
limitRed: 20, //Greater than 20% of journey time due to traffic
traffic_model: 'pessimistic',
interval: 120000 //2 minutes
}
},
you’re missing a }
{
module: 'MMM-Traffic',
position: 'bottom_right',
classes: 'dimmed medium',
config: {
api_key: 'your_apikey_here',
mode: 'driving',
origin: '4 Pennsylvania Plaza, New York, NY 10001',
destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
mon_destination: '116th St & Broadway, New York, NY 10027',
fri_destination: '1 E 161st St, Bronx, NY 10451',
arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
route_name: 'Home to Work',
changeColor: true
showGreen: false,
limitYellow: 5, //Greater than 5% of journey time due to traffic
limitRed: 20, //Greater than 20% of journey time due to traffic
traffic_model: 'pessimistic'
interval: 120000 //2 minutes
}
},
@Kristianson
move or remove the files below
dangerfile.js
fonts/yarn.lock
module-types.ts
tests/configs/data/StripComments.json
tests/configs/data/TranslationTest.json
tests/configs/data/en.json
tests/e2e/translations_spec.js
tests/unit/classes/class_spec.js
tests/unit/classes/deprecated_spec.js
tests/unit/classes/translator_spec.js
tests/unit/classes/utils_spec.js
vendor/yarn.lock
yarn.lock
and then run
git pull && npm install
@johnny_swindle
post your config.js
@Kristianson
Did you solve the problem, have you run
git reset --hard
@csterling
Here are 2 instructions that you can apply to your Pi1 Model B.
both instructions are unfortunately outdated, can send you a current on the weekend