MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. chassain 0
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    C Offline
    • Profile
    • Following 2
    • Followers 3
    • Topics 26
    • Posts 206
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-soccer v2

      @lavolp3
      better but still…

      
      npm WARN Invalid name: "mmm-soccer v2"
      npm WARN MMM-soccer No description
      npm WARN MMM-soccer No repository field.
      npm WARN MMM-soccer No README data
      npm WARN MMM-soccer No license field.
      
      added 8 packages from 1 contributor in 4.453s
      found 0 vulnerabilities
      
      posted in Sport
      C
      chassain 0
    • RE: MMM-soccer v2

      Hello,

      Some errors after npm install

      pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ npm install
      npm ERR! code EJSONPARSE
      npm ERR! file /home/pi/MagicMirror/modules/MMM-soccer/package.json
      npm ERR! JSON.parse Failed to parse json
      npm ERR! JSON.parse Unexpected string in JSON at position 312 while parsing '{
      npm ERR! JSON.parse   "name": "mmm-soccer v2",
      npm ERR! JSON.parse   "version"'
      npm ERR! JSON.parse Failed to parse package.json data.
      npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-02-28T14_41_48_433Z-debug.log
      
      
      posted in Sport
      C
      chassain 0
    • RE: MMM-Pages and copies of modules

      hello,

      you have to copy calendar to calendar2 folder, rename calendar.js to calendar2.js and rename in Module.register(“calendar2”,{…
      Then in defaultmodules. js add “default/calendar2”.

      posted in Hardware
      C
      chassain 0
    • RE: Page change with interval

      hello,

      for my work with MMM-Pages i have a fix rotatetime (30s). I just repeat lines to have 1min or more. An example :

      [[ “clock” , “calendar” , “News” ], (30 s)
      [ “MMM-EmbedYoutube” , "“Spotify”],
      [ “MMM-EmbedYoutube” , "“Spotify”],
      [ “Lunartic”, “News” ]],
      rotatetime: 30000

      posted in System
      C
      chassain 0
    • RE: add pdf to magicmirror

      hello,

      more informations for anyone if i can help.

      here my “test.bat” :
      The first action is to convert pdf to jpg (only page 1 and more options like remove source, rotate,…) on my desktop folder.
      the second to delete files from destination before the third action to copy all files from desktop folder to raspberry

      echo off
      cls

      2jpeg.exe -src “*.pdf” -dst “C:\Users\W-7\Desktop\immo” -options pages:“1” overwrite:yes delsrc:yes -oper Rotate angle:180

      echo For more examples please look at:
      echo http://www.2jpeg.com/overview/2jpeg-command-line-syntax

      pause

      del \@IP_Raspberry\Partage2*.* /s /q

      pause

      XCOPY C:\Users\W-7\Desktop\immo*jpg \@IP_Raspberry\Partage2 /s /h /Y

      posted in Development
      C
      chassain 0
    • add pdf to magicmirror

      Hello,

      i wanted add some pdf on my magicmirror but it seems complicate. after some research i found a solution. it works well for me. Here the explication.

      Alternatively, 2JPEG offers advanced solutions for converting PDF to JPG using the command line. The software can be used for converting tons of your documents. It is good enough to be installed on any computer, server or a workstation.

      https://www.2jpeg.com/. Then click Win+R, type command line like you see below and click Enter to run converting PDF file to JPG.

      2jpeg.exe -src “C:\In*.pdf” -dst “C:\Out” -oper Rasterize res:300

      2JPEG will convert files of practically every type including PDF to JPEG. The program is equipped with additional features, for example, it’s possible to place a watermark on images, crop the images, rotate them, etc. Here is the full list of 2JPEG command line features.

      posted in Development
      C
      chassain 0
    • RE: mmm-youtube

      you need to play with custom. css like

      .MMM-YouTube {
      float: center or
      margin-left: X% or
      margin-right: X%

      a lot of configurations. Search with google

      posted in Troubleshooting
      C
      chassain 0
    • RE: have 2 instances of newsfeed

      you are always the king for me. Thanks

      posted in Troubleshooting
      C
      chassain 0
    • have 2 instances of newsfeed

      Re: How to run two instances of one module?

      Hello,

      i have a lot of duplicate instances for modules but it doesn’t work with newsfeed. Normally i copy folder, change the name and change the register name but no way here…i want it to have some rss on a another position.
      thanks.

      posted in Troubleshooting
      C
      chassain 0
    • size iframe mmm-embedyoutube

      Hello everybody,

      I’m working with module embedyoutube. I have a playlist on my config and i wanted to know if the size of iframe can be adjust to videos automatically to delete a black marge , specially when i have a picture on background.
      i have only a width and height size configured for all videos and i can see sometimes an iframe’s marge…
      Thanks

      posted in Requests
      C
      chassain 0
    • RE: Rpi 4 and two monitors

      i tried to use a rpi4 with 2 hdmi on the same tv and the result is ok. You just need to adjust resolution on screen menu hdmi 1 and hdmi 2.
      It’s a solution for my work to use only one raspberry with 2 screen televisions.

      posted in Hardware
      C
      chassain 0
    • RE: MMM-Instagram - Pull and animate photos from Instagram feed

      @AlexanderSalter

      It works fine. Thanks Alexander.

      posted in Utilities
      C
      chassain 0
    • RE: txt file for MMM embedyoutube

      @sdetweil ok thanks i will try this option.

      here a little example of config embedyoutube

      Module.register("MMM-EmbedYoutube", {
      	defaults: {
      		autoplay: false,
      		mute: true,
      		color: "red",
      		controls : false,
      		disablekb: false,
      		fs: true,
      		height: 315,
      		width: 560,
      		loop: false,
      		modestbranding: false,
      		rel : false,
      		showinfo : false,
      		video_id : "",
      		playlist: "",
      		video_list: []
      	},
      
      	getDom: function () {
      		var wrapper = document.createElement("div");
      
      		// Parameter
      		var params = "";
      
      		var videoList = "";
      		if (this.config.video_list && this.config.video_list.length > 0) {
      			videoList = "&playlist=";
      			for (var i = 0; i < this.config.video_list.length; i++) {
      				videoList += this.config.video_list[i];
      				if (i + 1 < this.config.video_list.length)
      					videoList += ",";
      			}
      		}
      
      
      posted in Requests
      C
      chassain 0
    • RE: txt file for MMM embedyoutube

      @sdetweil
      line by line exactly…
      line 1 is for video_id without “”
      line 2 without “” to have second video for params video list

      i can read line to line but i need to integrate line 1in config/js to :
      video_id:“line 1”,
      and line2, line 3,… to ;
      video_list :[“line2”, “line3”,…]

      posted in Requests
      C
      chassain 0
    • RE: txt file for MMM embedyoutube

      @cowboysdude
      you’re right but it’s not for me but for a friend who want a magicmirror. He doesn’t have knowlegde about javascript and to minimalize some error i wanted to work with a text file on his computer, shared with his raspberry…more easy for him, his wife and children :)

      posted in Requests
      C
      chassain 0
    • txt file for MMM embedyoutube

      hello everybody

      Did someone try to create a text file to put videos id to work with the module embedyoutube? i try to have a text file on my office pc , shared with my raspberry to avoid to write videos id on config.js.
      It will great to have this like the module imageslideshow which is perfect with samba to integrate differents photos on a office’s folder.
      Thanks

      posted in Requests
      C
      chassain 0
    • RE: MMM-SmartWebDisplay : display web contents (including YouTube) on your MM

      hello,

      Rename the folder MMM-SmartWebDisplay2…then the MMM-SmartWebDisplay2.js and inside Module.register(“MMM-SmartWebDisplay2” like this

      and call MMM-SmartWebDisplay on page 1 and MMM-SmartWebDisplay2 on page 2

      posted in Utilities
      C
      chassain 0
    • RE: V2.10.0 - Impressive...

      apply after the test…i don’t why i had this pb…thanks for response…I will see next time on an another raspberry…Thanks again

      posted in General Discussion
      C
      chassain 0
    • RE: V2.10.0 - Impressive...

      i will try on another raspberry

      posted in General Discussion
      C
      chassain 0
    • RE: V2.10.0 - Impressive...

      Upgrade started - jeu. janv. 2 00:47:49 CET 2020
      system is Linux raspberrypi 4.19.83-v7l+ #1277 SMP Mon Nov 11 16:41:20 GMT 2019 armv7l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      user requested to apply changes
      doing test run = false

      saving custom.css
      not english or locale not set, set git alias
      remote name = origin
      local version 2.10.0 already same as master 2.10.0
      restoring custom.css
      removing git alias
      Upgrade ended - jeu. janv. 2 00:48:00 CET 2020

      Upgrade started - jeu. janv. 2 01:12:46 CET 2020
      system is Linux raspberrypi 4.19.83-v7l+ #1277 SMP Mon Nov 11 16:41:20 GMT 2019 armv7l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      doing test run = true

      saving custom.css
      not english or locale not set, set git alias
      remote name = origin
      upgrading from version 2.10.0 to 2.10.0
      fetching latest revisions
      git fetch rc=0
      current branch = master
      Sur la branche master
      Votre branche est à jour avec ‘origin/master’.

      Modifications qui ne seront pas validées :
      (utilisez “git add …” pour mettre à jour ce qui sera validé)
      (utilisez “git checkout – …” pour annuler les modifications dans la copie de travail)

      modifié :         modules/default/calendar/README.md
      modifié :         modules/default/weather/README.md
      modifié :         modules/default/weather/current.njk
      modifié :         modules/default/weather/providers/README.md
      modifié :         modules/default/weather/providers/darksky.js
      modifié :         modules/default/weather/providers/openweathermap.js
      modifié :         modules/default/weather/providers/ukmetoffice.js
      modifié :         modules/default/weather/providers/weathergov.js
      modifié :         modules/default/weather/weatherobject.js
      

      Fichiers non suivis:
      (utilisez “git add …” pour inclure dans ce qui sera validé)

      %logfile
      css/customDGA.css
      css/customHF.css
      css/customboucherie.css
      css/customboutique.css
      css/customdefault
      css/customhome.css
      css/customimmo.css
      css/custommedecin.css
      css/customsalon.css
      css/customshoes.css
      css/save_custom.css
      installers/dumpactivemodulesoldjs
      modules/default/calendar/calendaroldjs
      package-lockoldjson
      

      aucune modification n’a été ajoutée à la validation (utilisez “git add” ou “git commit -a”)
      no files different from github version
      test merge result rc=‘’ , if empty, no conflicts
      skipping merge, only test run

      processing dependency changes for active modules with package.json files
      processing for module MMM-DarkSkyForecast please wait

      skipped processing for MMM-DarkSkyForecast, doing test run
      processing complete for module MMM-DarkSkyForecast
      processing for module mmm-suncalc please wait

      skipped processing for mmm-suncalc, doing test run
      processing complete for module mmm-suncalc
      processing for module MMM-MovieListings please wait

      skipped processing for MMM-MovieListings, doing test run
      processing complete for module MMM-MovieListings
      processing for module MMM-soccer please wait

      skipped processing for MMM-soccer, doing test run
      processing complete for module MMM-soccer
      processing for module MMM-rfacts please wait

      skipped processing for MMM-rfacts, doing test run
      processing complete for module MMM-rfacts
      processing for module MMM-SmartWebDisplay3 please wait

      skipped processing for MMM-SmartWebDisplay3, doing test run
      processing complete for module MMM-SmartWebDisplay3
      processing for module MMM-SmartWebDisplay4 please wait

      skipped processing for MMM-SmartWebDisplay4, doing test run
      processing complete for module MMM-SmartWebDisplay4
      processing for module MMM-SmartWebDisplay please wait

      skipped processing for MMM-SmartWebDisplay, doing test run
      processing complete for module MMM-SmartWebDisplay
      processing for module MMM-SmartWebDisplay2 please wait

      skipped processing for MMM-SmartWebDisplay2, doing test run
      processing complete for module MMM-SmartWebDisplay2
      processing for module MMM-pages please wait

      skipped processing for MMM-pages, doing test run
      processing complete for module MMM-pages
      restoring custom.css
      removing git alias
      Upgrade ended - jeu. janv. 2 01:12:49 CET 2020

      Upgrade started - jeu. janv. 2 01:13:07 CET 2020
      system is Linux raspberrypi 4.19.83-v7l+ #1277 SMP Mon Nov 11 16:41:20 GMT 2019 armv7l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
      user requested to apply changes
      doing test run = false

      saving custom.css
      not english or locale not set, set git alias
      remote name = origin
      local version 2.10.0 already same as master 2.10.0
      restoring custom.css
      removing git alias
      Upgrade ended - jeu. janv. 2 01:13:07 CET 2020

      posted in General Discussion
      C
      chassain 0
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 6 / 11