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

    Posts

    Recent Best Controversial
    • RE: IR Frame doesn't rotate

      @cowboysdude It worked when added to a sh script! Good call! :) Before I just tested with the xinput command directly in the autostart file, but that did not work. So now instead I just created a script called xin.sh.
      nano ~/xin.sh
      Then added
      DISPLAY=:0.0 xinput --set-prop "Multi touch Multi touch overlay device" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
      There should actually be 3 spaces between “Multi touch” and “Multi touch overlay device”. For some reason the board removes the extra spaces here.

      You can actually find the “name” of the device with this command DISPLAY=:0.0 xinput list
      Shows something like this:

      ⎡ Virtual core pointer id=2 [master pointer (3)]
      ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
      ⎜ ↳ Multi touch Multi touch overlay device id=6 [slave pointer (2)]
      ⎣ Virtual core keyboard id=3 [master keyboard (2)]
      ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]

      Depending on what you have connected to your RPi. :)

      So, after creating the xin.sh I added that to the autostart file for LXDE:
      Like this:
      nano ~/.config/lxsession/LXDE/autostart
      Added at the end of the file.
      @/home/pi/xin.sh
      Restarted and it works. :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: Help configuring the Magic Mirror

      @PhilsterM9 Hi again, maybe I’m missing something…
      If you followed the install guide when you installed…
      When you SSH in to your Pi (or open a terminal on the desktop of the pi) you should end up in a prompt looking like this:

      pi@MagicMirror:~ $
      

      Now, type as follows:

      pi@MagicMirror:~ $ cd MagicMirror/config/
      

      You should now be in MagicMirror/config/ looking like this:

      pi@MagicMirror:~/MagicMirror/config $
      

      To copy a file enter:

      pi@MagicMirror:~/MagicMirror/config $ cp config.js.sample config.js
      

      Check if the files where copied with ls both file should be there now:

      pi@MagicMirror:~/MagicMirror/config $ ls
      

      Listed like this:

      config.js  config.js.sample
      

      Now, if you want you can edit your config file:

      pi@MagicMirror:~/MagicMirror/config $ nano config.js
      

      Change whatever you need to change…
      But you actually don’t have to change anything just for testing it.
      Now restart the MagicMirror with pm2 like this:

      pi@MagicMirror:~/MagicMirror/config $ pm2 restart mm
      

      You should se something like this:

      Restarts are now immutable, to update environment or conf use --update-env
      [PM2] Applying action restartProcessId on app [mm](ids: 0)
      [PM2] [mm](0) ✓
      ┌──────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────┬──────────┬──────────┐
      │ App name │ id │ mode │ pid   │ status │ restart │ uptime │ cpu │ mem      │ watching │
      ├──────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────┼──────────┼──────────┤
      │ mm       │ 0  │ fork │ 26361 │ online │ 32      │ 0s     │ 22% │ 2.3 MB   │ disabled │
      └──────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────┴──────────┴──────────┘
       Use `pm2 show ` to get more details about an app
      pi@MagicMirror:~/MagicMirror/config $
      
      

      And your Magic should have started. :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: stronger Raspberry Pi 3 Alternatives

      @SvenSommer Yes, I’m backing it. :) I’m going (if it works) to replace my Pi3 with it. :)

      posted in Hardware
      SnilleS
      Snille
    • RE: help with updating MM

      @sithas

      Easiest fix:
      Replace those files with their defaults and then run the update.

      You can also “stash” your changes with git stash -u
      Then if you want you can reapply your changes again after updating with git stash pop

      Or, you can just “kill” the changes with git clean -f
      But then you WILL loose what you have edited in the files for ever!

      posted in Troubleshooting
      SnilleS
      Snille
    • Raspberry PI 3 Box for Big Passive Cooling Heat Sink.

      Just thought I would share my “costume” RPi3 box with you. It’s made so you can fit a 28x28x15mm heat sink on it, so you would not need a fan. Also it’s made to be fasten on the long side and so it’s easily removable. You can see a variant of in om my own MagicMirror.

      Here you can find the actual Box.

      Enjoy. :)

      posted in Hardware
      SnilleS
      Snille
    • RE: What is your backup and restore method?

      Hi there! Manual “backup” of the config, CSS and compliments files when I change them (just copying it to my server). Then when reinstalling, I’m using a script (that I can wget down to the new install) containing all modules to reinstall and it copy back the config, CSS and compliments from the backup location… :)

      See script below…

      #!/bin/bash
      
      ## ----------------------------------------------------------------------------
      ## Snilles automatic module clone and install script for MM2.
      ## ----------------------------------------------------------------------------
      
      ## Don't forget to add your public SSH key to your GIT profile!
      ## If you don't, nothing will be cloned!
      
      ## If you don't have an SSH key. This is how you get one.
      ## Generate SSH key(s).
      # cd ~
      # ssh-keygen -t rsa
      
      ## Press: Enter, Enter, Enter...
      
      ## See the public Key...
      # cat /home/pi/.ssh/id_rsa.pub
      
      ## Copy the SSH public key and add it to your GIT SSH keys on GitHUB.
      
      ## ----------------------------------------------------------------------------
      ## Config below.
      ## ----------------------------------------------------------------------------
      
      # System to install (what config to use).
      ## Housesystems Server Install
      Toinstall='house'
      ## NUC install (On the actual Mirror, this is not used anymore)
      #Toinstall='NUC'
      
      # Real Name of the config file.
      ConfigName='config.js'
      
      ## The Install Folder.
      ## Local install.
      ## On NUC
      #User='/home/snille'
      ## On Raspberry Pi
      #User='/home/pi'
      ## Install om Homesystems Server.
      User='/var/www/html/magicmirror'
      
      ## The module install directory.
      Moddir=$User'/MagicMirror/modules'
      
      ## Configuration and other files backup location (from previous installation).
      DownloadFrom='https://yoursite.com/mmbackup/'
      
      ## Configuration file. 
      Files[1]='config-'$Toinstall'.js'
      ## Where to put the Configuration file.
      Dirs[1]=$User'/MagicMirror/config/'
      
      ## Custom CSS file.
      Files[2]='custom.css'
      ## Where to put the CSS file.
      Dirs[2]=$User'/MagicMirror/css/'
      
      ## Custom screen on/off scripts.
      Files[3]='screen.sh'
      ## Where to put the screen script files.
      Dirs[3]=$User'/'
      
      ## Not used moved to "screen.sh"
      #Files[4]='turnoffscreen.sh'
      #Dirs[4]=$User'/'
      #Files[5]='turnonscreen.sh'
      #Dirs[5]=$User'/'
      
      ## Custom Magic Mirror update script.
      Files[6]='update.sh'
      ## Where to put the update script file.
      Dirs[6]=$User'/'
      
      ## Custom compliment files.
      Files[7]='compliments-Snille.json'
      ## Where to put the compliment file.
      Dirs[7]=$User'/MagicMirror/modules/default/compliments/'
      
      Files[8]='compliments-Camilla.json'
      Dirs[8]=$User'/MagicMirror/modules/default/compliments/'
      
      Files[9]='compliments-Louise.json'
      Dirs[9]=$User'/MagicMirror/modules/default/compliments/'
      
      #Files[10]='compliments-Martin.json'
      #Dirs[10]=$User'/MagicMirror/modules/default/compliments/'
      
      # Start file for the MagigMirror
      Files[11]='MacigMirror.sh'
      Dirs[11]=$User'/'
      
      ## Package file
      Packfile='package.json'
      
      ## All the modules repos from Git.
      Repos[1]='git@github.com:Snille/MMM-HideAll.git'
      Repos[2]='git@github.com:matteodanelli/MMM-cryptocurrency.git'
      Repos[3]='git@github.com:basknol/MMM-Globe.git'
      Repos[4]='git@github.com:Snille/MMM-Modulebar.git'
      Repos[5]='git@github.com:Snille/MMM-ModuleScheduler.git'
      Repos[6]='git@github.com:CatoAntonsen/MMM-MotionEye.git'
      Repos[7]='git@github.com:Gyran/MMM-plex-recently-added.git'
      Repos[8]='git@github.com:Snille/MMM-Profilepicture.git'
      Repos[9]='git@github.com:tosti007/MMM-ProfileSwitcher.git'
      Repos[10]='git@github.com:Jopyth/MMM-Remote-Control.git'
      Repos[11]='git@github.com:Snille/MMM-Sonos.git'
      Repos[12]='git@github.com:brobergp/MMM-TextClock.git'
      Repos[13]='git@github.com:tosti007/MMM-TouchNavigation.git'
      Repos[14]='git@github.com:bugsounet/MMM-Tools.git'
      Repos[15]='git@github.com:timdows/MMM-JsonTable.git'
      Repos[16]='git@github.com:derekn/MMM-TautulliActivity.git'
      #Repos[17]='git@github.com:Snille/MMM-IFTTT.git' # For development of the IFTTT module, the one below is used.
      Repos[18]='git@github.com:jc21/MMM-IFTTT.git'
      Repos[19]='git@github.com:NolanKingdon/MMM-MoonPhase.git'
      Repos[20]='git@github.com:Snille/MMM-homeassistant-sensors.git'
      #Repos[21]='git@github.com:schnibel/MMM-Memo.git' # Replaced by module below, I changed some things.
      Repos[22]='git@github.com:Snille/MMM-Memo.git'
      Repos[23]='git@github.com:almerica/MMM-ImageFit.git'
      Repos[24]='git@github.com:Snille/MMM-Videoplayer.git'
      Repos[25]='git@github.com:MartinGris/MMM-GoogleMaps-Tracking.git'
      
      ## ----------------------------------------------------------------------------
      
      ## Start!
      cd "$Moddir"
      for t in "${Repos[@]}"
      	do
      		git clone $t
      		#echo "Cloning $t"
      done
      
      echo "Cloning Done."
      echo "Now npm installing..."
      
      for f in *;
      	do
      		if [[ -d $f ]]; then
      			installmodule=$(basename $f)
      			[[ $installmodule =~ ^(default|node_modules)$ ]] && continue
      			cd "$installmodule"
      			if [ -e "$Packfile" ]; then
      #				npm install --production
      				npm install
      			fi
      			cd ".."
      		fi
      	done
      
      echo "Download and install done."
      echo "Now restoring backup files from $DownloadFrom."
      
      ## Counts through the array of files (and uses the dirs to know where to put them).
      for ((i=1; i<=${#Files[@]}; i++)); do
      	if [[ $(wget $DownloadFrom${Files[i]} -O-) ]] 2>/dev/null
      	then
      		wget $DownloadFrom${Files[i]}
      		printf 'Moving %s to %s...\n\n' "${Files[i]}" "${Dirs[i]}"
      		mv ${Files[i]} ${Dirs[i]}
      	fi
      done
      
      ## Rename the config.
      mv ${Dirs[1]}${Files[1]} ${Dirs[1]}$ConfigName
      
      echo "Installation and restore done!"
      echo "You can now start your Magic Mirror."
      
      exit
      
      
      posted in Troubleshooting
      SnilleS
      Snille
    • RE: MMM-ModuleScheduler Loading Wrong Date

      @pattanner92 I noticed the same with the scheduler, normally cron has MAR as 3 but for some reson the scheduler does not. The month are from 0-11. :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: Word Clock Screensaver

      @j.e.f.f Hi! You can use the MMM-TextClock to what you want. Then use the MMM-ModuleScheduler to set the time when it should be displayed. :)

      posted in Requests
      SnilleS
      Snille
    • RE: Raspberry PI 3 Box for Big Passive Cooling Heat Sink.

      @Mykle1 I’m not sure of the temp before the heat sink. I never really payed any attention to it. I had already decided to use a big passive heat sink after reading trough some threads here. So I never tried running the mirror without a heat sink when it was built.
      But now when it’s all complete, It’s hovering around 50-55 degrees celsius when all is up and running.
      Even if I switch profiles, show, hide modules and “use” the mirror so to speak. :)

      posted in Hardware
      SnilleS
      Snille
    • RE: Help configuring the Magic Mirror

      @PhilsterM9 Hi!
      Put simply, the config.js.sample is a “preconfigured” version of config.js (sort of default settings).
      Just do:

      cd MagicMirror/config
      cp config.js.sample config.js
      

      Now when you copied the sample config you can customize your mirror with:

      nano config.js
      

      Make the changes you want…

      When done restart the magic mirror with pm2 or basically restart the Pi (computer).
      If you followed the guide you can use pm2 like this to restart the MagicMirror (only):

      pm2 restart mm
      

      Best regards Snille

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: IR Frame doesn't rotate

      @cowboysdude Actually it was quite fast only 8 days! :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: Show Module based on date

      I’m doing this on my setup, I’m using “MMM-ProfileSwitcher”. There you can do just about anything regarding showing a / a group of modules on different times/ dates…
      I group mu modules with the “classes” option…
      So the clock looks like this:

      		{
      			disabled: false,
      			module: "clock",
      			hiddenOnStartup: true,
      			position: "top_left",
      			header: "Datum och tid",
      			classes: "default Erik Camilla Louise Media Jobba Väder Födelsedag small",
      			config: {
      				showDate: true,
      				dateFormat: "YYYY-MM-DD",
      				showWeek: true
      			}
      		},
      

      It’s shown for almost all profiles… :)

      Here are some parts of my conf…

      My global settings for the module...
      		{
      			disabled: false,
      			module: "MMM-ProfileSwitcher",
      			hiddenOnStartup: true,
      			header: "Profile",
      			classes: "none",
      			config: {
      				title: false,
      				useLockStrings: false,
      				defaultTime: 600000,
      				enterMessages: {
      					"Erik Camilla Louise Kakan Cappuccino": "Hej %profile%!",
      					"Erik": ["Hoppas dagen varit bra Erik!", "Ser man på, välkommen Erik!", "Kul att se dig Erik!"],
      					"Camilla": ["Toppendag hoppas jag, Camilla!", "Oh, trevligt att se dig Camilla!", "Kul att se dig Camilla!"],
      					"Louise": ["Kul i skolan idag Louise?", "Lekt något skoj idag Louise?", "Kul att se dig Louise!"],
      					"Media": ["Hej, här är allt nytt!", "Här finns mycket nytt!", "Ny media!", "Hoppas det finns något att se."],
      					"Jobba": ["Dags att jobba nu!", "Jobba på nu!", "Var på tiden!", "Dagen är inte slut än!"],
      					"Klocka": ["Var på tiden!"],
      					"Väder": ["Dags för väder!", "Här är allt om vädret!", "Hoppas det blir fint väder.", "Glöm inte att kolla vädret!"],
      					"Skattjakt": ["Skattjakten är igång!", "Nu blir det skattjakt!", "Äntligen skattjakt!"],
      					"Grattis": ["Bra jobbat!", "Grattis!"],
      				},
      				leaveMessages: {
      					"everyone": "Hejdå %profile%...",
      					"Erik": ["Hejdå, jag kommer sakna dig...", true],
      					"Camilla": ["Hejdå Camilla.", true],
      					"Louise": ["Hejdå Louise.", true],
      					"Media": ["Hoppas du hittade något.", true],
      					"Jobba": ["Jobbat klart redan!?", true],
      					"Klocka": ["Slut på tiden.", true],
      					"Väder": ["Ha så trevligt.", true],
      					"Skattjakt": ["Hoppas det varit kul!"],
      					"Grattis": ["Ses om ett år..."],
      				},
      				timers: {
      					"Erik": {},
      					"Camilla": {},
      					"Louise": {},
      					"Kakan": {},
      					"Cappuccino": {},
      					"Klocka": {},
      				},
      				ignoreModules: ["alert", "updatenotification"]
      			}
      		},
      
      Then I have a specific module for halloween.... :)
      		{
      			disabled: false,
      			module: 'MMM-Videoplayer',
      			hiddenOnStartup: true,
      			position: "fullscreen_below",
      			classes: "scheduler turn90",
      			config: {
      				random: true,
      				loop: true,
      				hideonstart: true,
      				notification: "VIDEOPLAYER1",
      				videolist: ["a",
      					    "list",
      					    "of", 
      					    "videos..."],
      				module_schedule: [
      					{from: '0 6 31 9 *', to: '3 6 31 9 *'},
      					{from: '6 6 31 9 *', to: '9 6 31 9 *'},
      					{from: '12 6 31 9 *', to: '15 6 31 9 *'},
      					{from: '18 6 31 9 *', to: '21 6 31 9 *'},
      					{from: '24 6 31 9 *', to: '27 6 31 9 *'},
      					{from: '30 6 31 9 *', to: '33 6 31 9 *'},
      					{from: '36 6 31 9 *', to: '39 6 31 9 *'},
      					{from: '42 6 31 9 *', to: '45 6 31 9 *'},
      					{from: '48 6 31 9 *', to: '51 6 31 9 *'},
      					{from: '54 6 31 9 *', to: '57 6 31 9 *'},
      					{from: '0 7 31 9 *', to: '3 7 31 9 *'},
      					{from: '6 7 31 9 *', to: '9 7 31 9 *'},
      					{from: '12 7 31 9 *', to: '15 7 31 9 *'},
      					{from: '18 7 31 9 *', to: '21 7 31 9 *'},
      					{from: '24 7 31 9 *', to: '27 7 31 9 *'},
      					{from: '30 7 31 9 *', to: '33 7 31 9 *'},
      					{from: '36 7 31 9 *', to: '39 7 31 9 *'},
      					{from: '42 7 31 9 *', to: '45 7 31 9 *'},
      					{from: '48 7 31 9 *', to: '51 7 31 9 *'},
      					{from: '54 7 31 9 *', to: '57 7 31 9 *'},
      					{from: '0 8 31 9 *', to: '3 8 31 9 *'},
      					{from: '6 8 31 9 *', to: '9 8 31 9 *'},
      					{from: '12 8 31 9 *', to: '15 8 31 9 *'},
      					{from: '18 8 31 9 *', to: '21 8 31 9 *'},
      					{from: '24 8 31 9 *', to: '27 8 31 9 *'},
      					{from: '30 8 31 9 *', to: '33 8 31 9 *'},
      					{from: '36 8 31 9 *', to: '39 8 31 9 *'},
      					{from: '42 8 31 9 *', to: '45 8 31 9 *'},
      					{from: '48 8 31 9 *', to: '51 8 31 9 *'},
      					{from: '54 8 31 9 *', to: '57 8 31 9 *'},
      					{from: '0 9 31 9 *', to: '3 9 31 9 *'},
      					{from: '6 9 31 9 *', to: '9 9 31 9 *'},
      					{from: '12 9 31 9 *', to: '15 9 31 9 *'},
      					{from: '18 9 31 9 *', to: '21 9 31 9 *'},
      					{from: '24 9 31 9 *', to: '27 9 31 9 *'},
      					{from: '30 9 31 9 *', to: '33 9 31 9 *'},
      					{from: '36 9 31 9 *', to: '39 9 31 9 *'},
      					{from: '42 9 31 9 *', to: '45 9 31 9 *'},
      					{from: '48 9 31 9 *', to: '51 9 31 9 *'},
      					{from: '54 9 31 9 *', to: '57 9 31 9 *'},
      					{from: '0 10 31 9 *', to: '3 10 31 9 *'},
      					{from: '6 10 31 9 *', to: '9 10 31 9 *'},
      					{from: '12 10 31 9 *', to: '15 10 31 9 *'},
      					{from: '18 10 31 9 *', to: '21 10 31 9 *'},
      					{from: '24 10 31 9 *', to: '27 10 31 9 *'},
      					{from: '30 10 31 9 *', to: '33 10 31 9 *'},
      					{from: '36 10 31 9 *', to: '39 10 31 9 *'},
      					{from: '42 10 31 9 *', to: '45 10 31 9 *'},
      					{from: '48 10 31 9 *', to: '51 10 31 9 *'},
      					{from: '54 10 31 9 *', to: '57 10 31 9 *'},
      					{from: '0 11 31 9 *', to: '3 11 31 9 *'},
      					{from: '6 11 31 9 *', to: '9 11 31 9 *'},
      					{from: '12 11 31 9 *', to: '15 11 31 9 *'},
      					{from: '18 11 31 9 *', to: '21 11 31 9 *'},
      					{from: '24 11 31 9 *', to: '27 11 31 9 *'},
      					{from: '30 11 31 9 *', to: '33 11 31 9 *'},
      					{from: '36 11 31 9 *', to: '39 11 31 9 *'},
      					{from: '42 11 31 9 *', to: '45 11 31 9 *'},
      					{from: '48 11 31 9 *', to: '51 11 31 9 *'},
      					{from: '54 11 31 9 *', to: '57 11 31 9 *'},
      					{from: '0 12 31 9 *', to: '3 12 31 9 *'},
      					{from: '6 12 31 9 *', to: '9 12 31 9 *'},
      					{from: '12 12 31 9 *', to: '15 12 31 9 *'},
      					{from: '18 12 31 9 *', to: '21 12 31 9 *'},
      					{from: '24 12 31 9 *', to: '27 12 31 9 *'},
      					{from: '30 12 31 9 *', to: '33 12 31 9 *'},
      					{from: '36 12 31 9 *', to: '39 12 31 9 *'},
      					{from: '42 12 31 9 *', to: '45 12 31 9 *'},
      					{from: '48 12 31 9 *', to: '51 12 31 9 *'},
      					{from: '54 12 31 9 *', to: '57 12 31 9 *'},
      					{from: '0 13 31 9 *', to: '3 13 31 9 *'},
      					{from: '6 13 31 9 *', to: '9 13 31 9 *'},
      					{from: '12 13 31 9 *', to: '15 13 31 9 *'},
      					{from: '18 13 31 9 *', to: '21 13 31 9 *'},
      					{from: '24 13 31 9 *', to: '27 13 31 9 *'},
      					{from: '30 13 31 9 *', to: '33 13 31 9 *'},
      					{from: '36 13 31 9 *', to: '39 13 31 9 *'},
      					{from: '42 13 31 9 *', to: '45 13 31 9 *'},
      					{from: '48 13 31 9 *', to: '51 13 31 9 *'},
      					{from: '54 13 31 9 *', to: '57 13 31 9 *'},
      					{from: '0 14 31 9 *', to: '3 14 31 9 *'},
      					{from: '6 14 31 9 *', to: '9 14 31 9 *'},
      					{from: '12 14 31 9 *', to: '15 14 31 9 *'},
      					{from: '18 14 31 9 *', to: '21 14 31 9 *'},
      					{from: '24 14 31 9 *', to: '27 14 31 9 *'},
      					{from: '30 14 31 9 *', to: '33 14 31 9 *'},
      					{from: '36 14 31 9 *', to: '39 14 31 9 *'},
      					{from: '42 14 31 9 *', to: '45 14 31 9 *'},
      					{from: '48 14 31 9 *', to: '51 14 31 9 *'},
      					{from: '54 14 31 9 *', to: '57 14 31 9 *'},
      					{from: '0 15 31 9 *', to: '3 15 31 9 *'},
      					{from: '6 15 31 9 *', to: '9 15 31 9 *'},
      					{from: '12 15 31 9 *', to: '15 15 31 9 *'},
      					{from: '18 15 31 9 *', to: '21 15 31 9 *'},
      					{from: '24 15 31 9 *', to: '27 15 31 9 *'},
      					{from: '30 15 31 9 *', to: '33 15 31 9 *'},
      					{from: '36 15 31 9 *', to: '39 15 31 9 *'},
      					{from: '42 15 31 9 *', to: '45 15 31 9 *'},
      					{from: '48 15 31 9 *', to: '51 15 31 9 *'},
      					{from: '54 15 31 9 *', to: '57 15 31 9 *'},
      					{from: '0 16 31 9 *', to: '3 16 31 9 *'},
      					{from: '6 16 31 9 *', to: '9 16 31 9 *'},
      					{from: '12 16 31 9 *', to: '15 16 31 9 *'},
      					{from: '18 16 31 9 *', to: '21 16 31 9 *'},
      					{from: '24 16 31 9 *', to: '27 16 31 9 *'},
      					{from: '30 16 31 9 *', to: '33 16 31 9 *'},
      					{from: '36 16 31 9 *', to: '39 16 31 9 *'},
      					{from: '42 16 31 9 *', to: '45 16 31 9 *'},
      					{from: '48 16 31 9 *', to: '51 16 31 9 *'},
      					{from: '54 16 31 9 *', to: '57 16 31 9 *'},
      					{from: '0 17 31 9 *', to: '3 17 31 9 *'},
      					{from: '6 17 31 9 *', to: '9 17 31 9 *'},
      					{from: '12 17 31 9 *', to: '15 17 31 9 *'},
      					{from: '18 17 31 9 *', to: '21 17 31 9 *'},
      					{from: '24 17 31 9 *', to: '27 17 31 9 *'},
      					{from: '30 17 31 9 *', to: '33 17 31 9 *'},
      					{from: '36 17 31 9 *', to: '39 17 31 9 *'},
      					{from: '42 17 31 9 *', to: '45 17 31 9 *'},
      					{from: '48 17 31 9 *', to: '51 17 31 9 *'},
      					{from: '54 17 31 9 *', to: '57 17 31 9 *'},
      					{from: '0 18 31 9 *', to: '3 18 31 9 *'},
      					{from: '6 18 31 9 *', to: '9 18 31 9 *'},
      					{from: '12 18 31 9 *', to: '15 18 31 9 *'},
      					{from: '18 18 31 9 *', to: '21 18 31 9 *'},
      					{from: '24 18 31 9 *', to: '27 18 31 9 *'},
      					{from: '30 18 31 9 *', to: '33 18 31 9 *'},
      					{from: '36 18 31 9 *', to: '39 18 31 9 *'},
      					{from: '42 18 31 9 *', to: '45 18 31 9 *'},
      					{from: '48 18 31 9 *', to: '51 18 31 9 *'},
      					{from: '54 18 31 9 *', to: '57 18 31 9 *'},
      					{from: '0 19 31 9 *', to: '3 19 31 9 *'},
      					{from: '6 19 31 9 *', to: '9 19 31 9 *'},
      					{from: '12 19 31 9 *', to: '15 19 31 9 *'},
      					{from: '18 19 31 9 *', to: '21 19 31 9 *'},
      					{from: '24 19 31 9 *', to: '27 19 31 9 *'},
      					{from: '30 19 31 9 *', to: '33 19 31 9 *'},
      					{from: '36 19 31 9 *', to: '39 19 31 9 *'},
      					{from: '42 19 31 9 *', to: '45 19 31 9 *'},
      					{from: '48 19 31 9 *', to: '51 19 31 9 *'},
      					{from: '54 19 31 9 *', to: '57 19 31 9 *'},
      					{from: '0 20 31 9 *', to: '3 20 31 9 *'},
      					{from: '6 20 31 9 *', to: '9 20 31 9 *'},
      					{from: '12 20 31 9 *', to: '15 20 31 9 *'},
      					{from: '18 20 31 9 *', to: '21 20 31 9 *'},
      					{from: '24 20 31 9 *', to: '27 20 31 9 *'},
      					{from: '30 20 31 9 *', to: '33 20 31 9 *'},
      					{from: '36 20 31 9 *', to: '39 20 31 9 *'},
      					{from: '42 20 31 9 *', to: '45 20 31 9 *'},
      					{from: '48 20 31 9 *', to: '51 20 31 9 *'},
      					{from: '54 20 31 9 *', to: '57 20 31 9 *'},
      					{from: '0 21 31 9 *', to: '3 21 31 9 *'},
      					{from: '6 21 31 9 *', to: '9 21 31 9 *'},
      					{from: '12 21 31 9 *', to: '15 21 31 9 *'},
      					{from: '18 21 31 9 *', to: '21 21 31 9 *'},
      					{from: '24 21 31 9 *', to: '27 21 31 9 *'},
      					{from: '30 21 31 9 *', to: '33 21 31 9 *'},
      					{from: '36 21 31 9 *', to: '39 21 31 9 *'},
      					{from: '42 21 31 9 *', to: '45 21 31 9 *'},
      					{from: '48 21 31 9 *', to: '51 21 31 9 *'},
      					{from: '54 21 31 9 *', to: '57 21 31 9 *'},
      					{from: '0 22 31 9 *', to: '3 22 31 9 *'},
      					{from: '6 22 31 9 *', to: '9 22 31 9 *'},
      					{from: '12 22 31 9 *', to: '15 22 31 9 *'},
      					{from: '18 22 31 9 *', to: '21 22 31 9 *'},
      					{from: '24 22 31 9 *', to: '27 22 31 9 *'},
      					{from: '30 22 31 9 *', to: '33 22 31 9 *'},
      					{from: '36 22 31 9 *', to: '39 22 31 9 *'},
      					{from: '42 22 31 9 *', to: '45 22 31 9 *'},
      					{from: '48 22 31 9 *', to: '51 22 31 9 *'},
      					{from: '54 22 31 9 *', to: '57 22 31 9 *'},
      				]
      			}
      		},
      Basically it plays a random video in the background of the mirror every 6 minutes from 06:00 to 23. :)
      

      I hope this gives some ideas how to do stuff… :)

      posted in Requests
      SnilleS
      Snille
    • RE: Asus Tinker Board

      Just got mine as well. :)
      Here you can find the OS (and other stuff), if someone else is looking.
      Tinker Board Software

      posted in Hardware
      SnilleS
      Snille
    • RE: Changing ipwhitelist prevents Mirror from loading correctly

      @rcollie I’m on develop branch and I’m using this to be able to access the mirror from anywhere (inside my network). I had to add the “address: “0.0.0.0”.” some time ago… :)

      var config = {
      	port: 8080,
      	ipWhitelist: [],
      	address: "0.0.0.0",
      ...
      

      Try it… :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: MMM-homeassistant-sensors stopped working after HA 2021.10 update

      @asifnabi Where are you getting the errors?
      I’m on Core Version core-2022.2.8 and Supervisor Version supervisor-2022.01.1 and it works.

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: How to make updateDom actually refresh <img src...>?

      Hi @matthewj
      You can use javascript to make the image URL unique all the time thought adding a “number” (in this case just a simple timecode). :)

      OBS: I had to add spaces after the " < " before the end " > ".
      Just remove them when you use it. :)

      Otherwise it would not show.

      < img id="graph" alt="" src="https://plot.ly/~myPlotlyAccount/myGraph.png" />
      
      < script language="javascript" type="text/javascript" >
        var d = new Date(); 
        document.getElementById("graph").src = "https://plot.ly/~myPlotlyAccount/myGraph.png=" + d.getTime();
      < /script >
      

      Good luck. :)

      posted in Development
      SnilleS
      Snille
    • RE: Asus Tinker Board

      Mmmm… I’m thinking MinnowBoard Turbot… Maybe? :)

      posted in Hardware
      SnilleS
      Snille
    • RE: MMM-homeassistant-sensors no icons after MM upgrade to 2.19.0

      Hang on, I just reset everything “back”, reset the MMM-homeassistant-sensors
      to it’s “original” state but let the IP be set in the config… And now it works?
      What’s going on here?! :)

      All modules that are fetching pictures from other places are now working!?
      So, the config needs to have the actual IP of the mirror set now. I have been using 0.0.0.0 all the time… Also tried “localhost” and it did not work. But the actual IP works!

      Great!! Thank you all for helping out! :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: MMM-homeassistant-sensors stopped working after HA 2021.10 update

      @asifnabi Hi, if you don’t specify the port, it will default to port 8123. And if you are using ssl (https) you need the port to be set to 443. Otherwise it will not work.

      So, either do not use ssl (https) and you can skip the port option (because it will default to 8123).
      Or use ssl (https) but then you need to specify the port option to 443.

      Both options are working for me at least. I hope this clarify things…

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: Input...What do you think?

      @cowboysdude Ok, looks good! :) I like it.

      posted in Development
      SnilleS
      Snille
    • 1 / 1