Benutzer-Werkzeuge

Webseiten-Werkzeuge


lx:pi:mm:waveshare-install

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
lx:pi:mm:waveshare-install [07.11.2022 15:39] – [install MagicMirror on Waveshare] Andy Haubenschmidlx:pi:mm:waveshare-install [09.11.2022 18:44] (aktuell) – [known Values] Andy Haubenschmid
Zeile 1: Zeile 1:
-====== install MagicMirror on Waveshare ======+====== installall MagicMirror on Waveshare ======
 {{ :lx:pi:mm:waveshare:mm-waveshare.jpg?200|}} {{ :lx:pi:mm:waveshare:mm-waveshare.jpg?200|}}
-This text is in english to reach more people. 
  
-=== Sources ===+==== Sources ====
   * [[https://www.pi-shop.ch/13-3inch-magic-mirror-voice-assistant-touch-control|the Device at Pi-Shop.ch]]     * [[https://www.pi-shop.ch/13-3inch-magic-mirror-voice-assistant-touch-control|the Device at Pi-Shop.ch]]  
   * [[https://www.waveshare.com/wiki/13.3inch_Magic_Mirror|Waveshare Wiki for installation]]    * [[https://www.waveshare.com/wiki/13.3inch_Magic_Mirror|Waveshare Wiki for installation]] 
Zeile 9: Zeile 8:
   * [[https://smartbuilds.io/smart-mirror-touchscreen-raspberry-pi/|SmartBuilds.io MagicMirror with Touchscreen]]   * [[https://smartbuilds.io/smart-mirror-touchscreen-raspberry-pi/|SmartBuilds.io MagicMirror with Touchscreen]]
 ===== Base System ===== ===== Base System =====
-Install the Base System via RaspberryPiInstaller+installiere ein neues Raspbian auf der SD Karte, am besten via Raspi Installer. 
 +Danach solltest du das System aktualisieren mit ''sudo apt update && sudo apt -y upgrade''.
  
 ===== Install Magic Mirror ===== ===== Install Magic Mirror =====
-Download latest MM Package from [[https://github.com/MichMich/MagicMirror/releases/|GitHUB MagicMirrorPage]] in my case it was Version 2.20.0. Download and Unpack it with \\  +Download MM Package from [[https://github.com/MichMich/MagicMirror/releases/|GitHUB MagicMirrorPage]] in my case it was Version 2.20.0.  
-<code> +
-wget https://github.com/MichMich/MagicMirror/archive/refs/tags/v2.20.0.tar.gz +
-tar -xvzf v2.20.0.tar.gz +
-</code> +
-but better clone it with git:+
 <code> <code>
 git clone https://github.com/MichMich/MagicMirror git clone https://github.com/MichMich/MagicMirror
 cd MagicMirror/ cd MagicMirror/
 npm install --only=prod --omit=dev npm install --only=prod --omit=dev
-cp config/config.js.sample config/config.js 
 </code> </code>
 +
 +==== clean Config and first Start ====
 +
 +''cd ~/MagicMirror; cp config/config.js.sample config/config.js''
 +
 start it with ''npm run start'' start it with ''npm run start''
 +
 +==== Install MMM-RemoteControl ====
 +[[https://github.com/Jopyth/MMM-Remote-Control]]
 +Das Module Remote Control gibt dir eine Fernsteuerung via http. Der grosse Vorteil an diesem Modul ist aber auch, dass du von hier aus neue Module installieren kannst. 
 +Ich kann das Module nur empfehlen, es macht dir die Administration einiges einfacher.
  
 ==== Install MMM-MacAddressScan ==== ==== Install MMM-MacAddressScan ====
-To make sure you have all dependenciesissue a +Zum sichergehendass du alle Abhängigkeiten erfüllt hast, solltest du folgendes installieren: 
 <code> <code>
 +sudo apt install arp-scan
 npm install ping npm install ping
 npm install sudo npm install sudo
 </code> </code>
-as those both were missing in my case. +diese haben bei mir alle gefehlt.
- +
-==== Install MMM-RemoteControl ==== +
-[[https://github.com/Jopyth/MMM-Remote-Control]]+
  
 ==== Install MMM-Modulebar ==== ==== Install MMM-Modulebar ====
 [[https://github.com/Snille/MMM-Modulebar/]] [[https://github.com/Snille/MMM-Modulebar/]]
 ==== additional Modules ==== ==== additional Modules ====
-List of additional Modules:+Beim anschauen der Liste der zusätzlichen Module sind mir folgende aufgefallen:
 [[https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules#utility--iot--3rd-party--integration|3rd-party-modules]] [[https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules#utility--iot--3rd-party--integration|3rd-party-modules]]
  
   * [[https://github.com/nixnuex/MMM-SwissCommute|SwissCommute Swiss Timetable via Sear.ch]]   * [[https://github.com/nixnuex/MMM-SwissCommute|SwissCommute Swiss Timetable via Sear.ch]]
   * [[https://github.com/Lavve/MMM-MagicMover|MagicMover]]   * [[https://github.com/Lavve/MMM-MagicMover|MagicMover]]
 +  * [[https://github.com/shbatm/MMM-Carousel|Carousel - wechselnde Bildschirme]]
   * [[https://github.com/FlatPepsi17/MMM-WeatherGraph|WeatherGraph]]   * [[https://github.com/FlatPepsi17/MMM-WeatherGraph|WeatherGraph]]
   * [[https://github.com/roufri/MMM-SwissLakeTemperature|SwissLakeTemperature (Zürisee, Greifensee, Genfersee)]]   * [[https://github.com/roufri/MMM-SwissLakeTemperature|SwissLakeTemperature (Zürisee, Greifensee, Genfersee)]]
Zeile 56: Zeile 60:
   * [[https://github.com/MichMich/MMM-WatchDog|WatchDog]]   * [[https://github.com/MichMich/MMM-WatchDog|WatchDog]]
   * [[https://github.com/gfischershaw/MMM-Touch|Touch]] rsp. [[https://github.com/gfischershaw/MMM-Touch/wiki/Manual|Touch Wiki]]   * [[https://github.com/gfischershaw/MMM-Touch|Touch]] rsp. [[https://github.com/gfischershaw/MMM-Touch/wiki/Manual|Touch Wiki]]
 +Diese könnten interessant sein...
  
-==== additional Calendars ====+==== zusätzliche Kalender zum anzeigen ====
   * [[https://onlinekalender.info/feiertage/schweiz/ics|Schweizer Feiertage]]   * [[https://onlinekalender.info/feiertage/schweiz/ics|Schweizer Feiertage]]
  
-==== additional Ideas ====+==== weitere Ideen ====
   * [[https://github.com/shbatm/MMM-OnScreenMenu|OnScreenMenü]]   * [[https://github.com/shbatm/MMM-OnScreenMenu|OnScreenMenü]]
   * [[https://github.com/EbenKouao/MMM-SmartTouch|SmartTouch]]   * [[https://github.com/EbenKouao/MMM-SmartTouch|SmartTouch]]
Zeile 66: Zeile 71:
   * [[https://github.com/gueguet/MMM-CyberSecurityNews|CyberSecurityNews]]   * [[https://github.com/gueguet/MMM-CyberSecurityNews|CyberSecurityNews]]
  
 +
 +===== Server & Client Mode =====
 +Because the Raspi inside the Waveshare MM is very weak in Terms of Performance, I would try to run it in Server and Client mode. 
 +
 +So we copy over the whole Code to an other Raspi and run it there in Server Mode. This Way the Raspi in the Waveshare MM only needs to display the "Browser" Window.
 +
 +Start the Server part with ''npm run server'' and the Client with ''node clientonly --address 192.168.1.5 --port 8080'' 
 +
 +==== Update NodeJS ? ====
 +During Install, I see, we need NodeJS Version 14 or newer. On my Raspi there were NodeJS in Version 12, so we have to upgrade NodeJS... No! I did it, and afterwards I was not able to get FlightRadar running. The Client was rejected and 
  
 ===== Control Monitor Settings ===== ===== Control Monitor Settings =====
Zeile 77: Zeile 92:
  
 ==== Install ddcutil ==== ==== Install ddcutil ====
-Then ''sudo apt install ddcutil'' \\ +installieren mit ''sudo apt install ddcutil'' \\ 
-Run ''sudo ddcutil detect'' \\ +testen ''sudo ddcutil detect'' \\ 
  
-You should see an output like:+Das sollte ungefähr folgendes ausgeben:
 <code> <code>
 pi@raspberrypi:~ $ sudo ddcutil detect pi@raspberrypi:~ $ sudo ddcutil detect
Zeile 95: Zeile 110:
  
 ==== get Values ==== ==== get Values ====
-If you doyou can then run: \\ +wenn es funktioniertdann kannst du z.B. die Helligkeit anzeigen mit: \\ 
 ''sudo ddcutil getvcp 10 to get the brightness'' ''sudo ddcutil getvcp 10 to get the brightness''
 ==== set Values ==== ==== set Values ====
 ''sudo ddcutil setvcp 10 [1-100]'' \\  ''sudo ddcutil setvcp 10 [1-100]'' \\ 
-to set the brightnesswhere 1-100 is the desired value of the brightness+zum setzen der Helligkeitwobei 1-100 die gewünschte Helligkeit darstellt. 0=dunkel 100=ganz hell
 ==== known Values ==== ==== known Values ====
 ^Number^Description^Values (default)^ ^Number^Description^Values (default)^
Zeile 113: Zeile 128:
 |44|Rotation|unsupported| |44|Rotation|unsupported|
  
 +mit ''ddcutil getvcp all'' werden alle verfügbaren VCPs angezeigt.
  
 +Weitere Infos auf der [[https://www.ddcutil.com/commands/|DDCUtil Seite]] [[https://www.ddcutil.com/raspberry/|Raspi spezifisch]]
lx/pi/mm/waveshare-install.1667835572.txt.gz · Zuletzt geändert: 07.11.2022 15:39 von Andy Haubenschmid