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

slametps

@slametps

me… just me

29
Reputation
3.4k
Profile views
132
Posts
5
Followers
0
Following
Joined Jan 3, 2017, 7:27 AM
Last Online Dec 9, 2024, 8:14 AM
Age 47
Website slametps.blogspot.com
Location Bandung, Indonesia

slametps Unfollow Follow

Best posts made by slametps

  • RE: My First Magic Mirror

    @slametps said in My First Magic Mirror:

    @Snille said in My First Magic Mirror:

    Looks great! Good reflection and see-through.
    If you want to share… :)
    What modules are you using and what customisation have you done?
    I can see the colours on the calendar appointments, how did you manage that?

    I will post more detail in picture later. I’m still on mobile :)

    0_1486652205674_DSC_0010-mod.jpg

    modifying custom.css (copy-paste from various forum posts) as following:

    html {
      cursor: none;
      overflow: hidden;
    }
    
    ::-webkit-scrollbar {
      display: none;
    }
    
    body {
      margin: 5px;
      position: absolute;
      height: calc(100% - 10px);
      width: calc(100% - 10px);
      background: #000;
      color: #fff;
      font-family: "Roboto Condensed", sans-serif;
      font-weight: 400;
      font-size: 2em;
      line-height: 1.5em;
      -webkit-font-smoothing: antialiased;
    }
    
    /**
     * Default styles.
     */
    
    .dimmed {
      color: #666;
    }
    
    .normal {
      color: #fff;
    }
    
    .bright {
      color: #fff;
    }
    
    .xsmall {
      font-size: 10px;
      line-height: 15px;
    }
    
    .small {
      font-size: 15px;
      line-height: 20px;
    }
    
    .medium {
      font-size: 25px;
      line-height: 30px;
    }
    
    .large {
      font-size: 60px;
      line-height: 60px;
    }
    
    .xlarge {
      font-size: 70px;
      line-height: 70px;
      letter-spacing: -3px;
    }
    
    .thin {
      font-family: Roboto, sans-serif;
      font-weight: 100;
    }
    
    .light {
      font-family: "Roboto Condensed", sans-serif;
      font-weight: 300;
    }
    
    .regular {
      font-family: "Roboto Condensed", sans-serif;
      font-weight: 400;
    }
    
    .bold {
      font-family: "Roboto Condensed", sans-serif;
      font-weight: 700;
    }
    
    .align-right {
      text-align: right;
    }
    
    .align-left {
      text-align: left;
    }
    
    header {
      text-transform: uppercase;
      font-size: 15px;
      font-family: "Roboto Condensed";
      font-weight: 400;
      border-bottom: 1px solid #666;
      line-height: 10px;
      padding-bottom: 5px;
      margin-bottom: 10px;
      color: #999;
    }
    
    sup {
      font-size: 50%;
      line-height: 50%;
    }
    
    /**
     * Module styles.
     */
    
    .module {
      margin-bottom: 20px;
    }
    
    .region.bottom .module {
      margin-top: 20px;
      margin-bottom: 0;
    }
    
    /**
     * Region Definitions.
     */
    
    .region {
      position: absolute;
    }
    
    .region.fullscreen {
      position: absolute;
      top: -50px;
      left: -50px;
      right: -50px;
      bottom: -50px;
    }
    
    .region.right {
      right: 0;
    }
    
    .region.top {
      top: 0;
    }
    
    .region.top .container {
      margin-bottom: 15px;
    }
    
    .region.top .container:empty {
      margin-bottom: 0;
    }
    
    .region.top.center,
    .region.bottom.center {
      left: 50%;
      -moz-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      transform: translateX(-50%);
    }
    
    .region.top.right,
    .region.top.left,
    .region.top.center {
      top: 100%;
    }
    
    .region.bottom {
      bottom: 0;
    }
    
    .region.bottom .container {
      margin-top: 15px;
    }
    
    .region.bottom .container:empty {
      margin-top: 0;
    }
    
    .region.bottom.right,
    .region.bottom.center,
    .region.bottom.left {
      bottom: 100%;
    }
    
    .region.bar {
      width: 100%;
      text-align: center;
    }
    
    .region.third,
    .region.middle.center {
      width: 100%;
      text-align: center;
      -moz-transform: translateY(-50%);
      -o-transform: translateY(-50%);
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
    }
    
    .region.upper.third {
      top: 33%;
    }
    
    .region.middle.center {
      top: 50%;
    }
    
    .region.lower.third {
      top: 66%;
    }
    
    .region.left {
      text-align: left;
    }
    
    .region.right {
      text-align: right;
    }
    
    .region table {
      width: 100%;
      border-spacing: 0;
      border-collapse: separate;
    }
    
    /*
     * CALENDAR SPECIFIC
     */
    
    .fa.fa-calendar {
      color: #ff0000; /* Red */
    }
    .fa.fa-birthday-cake {
      color: #ff0000; /* Red */
    }
    .fa.fa-calendar-check-o {
      color: #ffff00; /* Yellow */
    }
    
    /*
     * WUFORECAST SPECIFIC
     */
    
    .wuforecast .max-temp {
      font-size: 15px;
      line-height: 15px;
      color: #f66;
    }
    
    .wuforecast .min-temp {
      font-size: 15px;
      line-height: 15px;
      color: #0ff;
    }
    
    .wuforecast .weather-icon {
      font-size: 15px;
      line-height: 15px;
      color: #f93;
    }
    
    .wuforecast .day {
      font-size: 15px;
      line-height: 15px;
      color: #6f6;
    }
    
    /*
     * FORECAST
     */
    
    .brightb {
    color: #55acee;
    }
    .currentweather .wi-sunrise {
    color: #ffd700;
    }
    .currentweather .wi-sunset {
    color: #ffa500;
    }
    .currentweather .wi-day-sunny {
    color: #ffff00;
    }
    .currentweather .wi-night-showers {
    color: #55acee;
    }
    .currentweather .wi-degrees {
    color: #415;
    }
    .currentweather .wi-rain {
    color: #55acee;
    }
    .currentweather .wi-showers {
    color: #55acee;
    }
    .currentweather .wi-night-showers {
    color: #55acee;
    }
    .currentweather .wi-night-alt-cloudy-windy {
    color: #aaa;
    }
    .currentweather .wi-night-cloudy {
    color: #aaa;
    }
    .currentweather .wi-cloudy {
    color: #aaa;
    }
    .currentweather .wi-day-cloudy {
    color: #aaa;
    }
    .currentweather .wi-cloudy {
    color: #aaa;
    }
    .currentweather .wi-cloudy-windy {
    color: #aaa;
    }
    .currentweather .wi-showers {
    color: #55acee;
    }
    .currentweather .wi-thunderstorm {
    color: #ff00ff;
    }
    .currentweather .wi-snow {
    color: #fff;
    }
    .currentweather .wi-fog {
    color: #999;
    }
    .currentweather .wi-night-clear {
    color: #fff;
    }
    .currentweather .wi-night-rain {
    color: #55acee;
    }
    .currentweather .wi-night-thunderstorm {
    color: #ff00ff;
    }
    .currentweather .wi-night-snow {
    color: #fff;
    }
    
    .weatherforecast .wi-sunrise {
    color: #ffd700;
    }
    .weatherforecast .wi-sunset {
    color: #ffa500;
    }
    .weatherforecast .wi-day-sunny {
    color: #ffff00;
    }
    .weatherforecast .wi-night-showers {
    color: #55acee;
    }
    .weatherforecast .wi-degrees {
    color: #415;
    }
    .weatherforecast .wi-rain {
    color: #55acee;
    }
    .weatherforecast .wi-showers {
    color: #55acee;
    }
    .weatherforecast .wi-night-showers {
    color: #55acee;
    }
    .weatherforecast .wi-night-alt-cloudy-windy {
    color: #aaa;
    }
    .weatherforecast .wi-night-cloudy {
    color: #aaa;
    }
    .weatherforecast .wi-cloudy {
    color: #aaa;
    }
    .weatherforecast .wi-day-cloudy {
    color: #aaa;
    }
    .weatherforecast .wi-cloudy {
    color: #aaa;
    }
    .weatherforecast .wi-cloudy-windy {
    color: #aaa;
    }
    .weatherforecast .wi-showers {
    color: #55acee;
    }
    .weatherforecast .wi-thunderstorm {
    color: #ff00ff;
    }
    .weatherforecast .wi-snow {
    color: #fff;
    }
    .weatherforecast .wi-fog {
    color: #999;
    }
    .weatherforecast .wi-night-clear {
    color: #fff;
    }
    .weatherforecast .wi-night-rain {
    color: #55acee;
    }
    .weatherforecast .wi-night-thunderstorm {
    color: #ff00ff;
    }
    .currentweather .wi-night-snow {
    color: #fff;
    }
    
    posted in Show your Mirror
    slametpsS
    slametps
    Feb 9, 2017, 3:00 PM
  • RE: Slim Monitor or TV

    I’m using 24" TV. But for better quality, you should consider using a monitor rather than a TV (based on ppi value).

    posted in Hardware
    slametpsS
    slametps
    Feb 26, 2017, 8:44 AM
  • RE: Wider Veriety of Modules For Different Kinds of People

    @cowboysdude said in Wider Veriety of Modules For Different Kinds of People:

    All types and kinds right here…

    https://forum.magicmirror.builders/category/7/showcase

    Calendars, schedulers, traffic, weather… tons of them. with more and more being developed everyday.

    If someone needs something specific they can go the request forum and ask…

    As for touch screen there are modules for that too… there are voice modules…

    Some requests are met, some are not. Everyone that builds modules do so for free and it takes time… even the MagicMirror itself is free… This is THE one place in my life that I can come to and talk to all kinds of people from all over the world. I like that very much :)

    Yes, that is the first place I read after I installed my first-time MM a month ago.

    posted in Requests
    slametpsS
    slametps
    Feb 18, 2017, 10:55 PM
  • My First Magic Mirror

    Finally, I completed my first magic mirror. Thx a lot, @MichMich for your great MM2 platform also all modules developers.
    I show the mirror to my colleagues and wondering how to built it. I wrote a simple tutorial on my blog. Sorry, the blog is in Indonesian. But you just simply translate it using Google Translate, for example in English.

    Here is my mirror.
    0_1486633385200_DSC_0010-mod.jpg

    I’m still working on voice-control, PIR and training face-reco (already works but still needs more training though).

    posted in Show your Mirror
    slametpsS
    slametps
    Feb 9, 2017, 9:44 AM
  • RE: Slim Monitor or TV

    @almasgai I’m using FHD TV myself. If you’re satisfied enough with the display result, that’s ok. But I think, it will be much better display if using monitor. Power source for raspi, it is not recommended to use USB port from the TV since raspi require 5v 2A for better performance since USB from TV just have 1A or less output.

    posted in Hardware
    slametpsS
    slametps
    Mar 12, 2017, 12:58 AM
  • RE: Where are you from?

    Bandung, West Java, Indonesia

    posted in General Discussion
    slametpsS
    slametps
    Feb 18, 2017, 3:30 PM
  • RE: MMM-RandomQuranAyah

    @zam said in MMM-RandomQuranAyah:

    Jazakallah , if you can please try to implement a Module for ADAN it will be very usefull :)

    @zam It is available now, MMM-PrayerTime for displaying praying time with adhan recital.

    posted in Education
    slametpsS
    slametps
    Mar 12, 2017, 12:52 PM
  • RE: My First Magic Mirror

    @Labzz yap, raspi 3 model B. set the update interval in minutes for modules that not required instant updates such as calendar (5 minutes), rss feed (15-30 minutes). The only module takes so much cpu is facial-recognition (run every 2 seconds).

    posted in Show your Mirror
    slametpsS
    slametps
    Feb 9, 2017, 10:59 AM
  • RE: Removing the inner bezel from a LCD monitor

    @mizzoudavis I leave the bezel intact. Other area not covered by bezel (outside the monitor), you simply add black/dark tape/paper/paint.

    posted in Hardware
    slametpsS
    slametps
    Mar 14, 2017, 7:09 AM
  • RE: Introduce yourself!

    Hi all,

    I’m Slamet PS, a 39 year old hobbist from Bandung, Indonesia. I love tinkering (IoT), also a gunpla modeller and collector and a drone pilot. I completed my first MagicMirror a few weeks a go. One of great products I have ever met.

    I also develop a new module (MMM-RandomQuranAyah).

    Still tuning the facial-recognition module and plan to add voice-control.
    You can find me at FB, instagram, twitter and blog.

    posted in General Discussion
    slametpsS
    slametps
    Feb 23, 2017, 4:11 AM

Latest posts made by slametps

  • RE: Bathroom mirror: "Frameless, thin, gesture and voice controlled"

    awesome.

    posted in Show your Mirror
    slametpsS
    slametps
    May 30, 2022, 1:33 AM
  • RE: MMM-PrayerTime

    @me-osama :
    sorry, I’m quite long time not monitoring this project. Is your problem solved?

    Please make sure this config option:

    playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'],
    
    posted in Education
    slametpsS
    slametps
    Feb 7, 2022, 8:29 AM
  • RE: MMM-PrayerTime

    @heuss60100 : So far, I didn’t face that problem. What MM version You use and you should check pm2 error log also.

    posted in Education
    slametpsS
    slametps
    Feb 7, 2022, 8:26 AM
  • RE: Got error when run MM 2.14.0

    @sdetweil said in Got error when run MM 2.14.0:

    @slametps fun…

    do

    cd ~
    sudo rm -rf  .npm
    rm -rf MagicMirror
    

    note the dot in front of npm

    then run the install script again.

    It works like a charm. Thx a lot @sdetweil .

    posted in Troubleshooting
    slametpsS
    slametps
    Mar 11, 2021, 6:31 AM
  • RE: Got error when run MM 2.14.0

    @sdetweil said in Got error when run MM 2.14.0:

    @slametps ok, don’t know what happened… looks like u ran install 5 separate times…

    so lets do this

    cd ~/MagicMirror
    rm  package-lock.json
    rm -rf node_modules
    npm install --only=prod
    

    then try to start MM,

    npm start 
    

    I got the following error when execute
    npm install --only=prod

    pi@raspberrypi:~/MagicMirror $ npm install --only=prod
    npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== integrity checksum failed when using sha512: wanted sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
    npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation.
    npm ERR! code EINTEGRITY
    npm ERR! errno EINTEGRITY
    npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/chai: sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== integrity checksum failed when using sha512: wanted sha512-zd8xmga7H8fqb09boh5SICtctwp4gI+dLMANKCXpdihRn/ggW2ZimSQo/H3cBcfzsjljTDoAiOPc6deEOSWKDw== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2021-03-07T13_53_31_822Z-debug.log
    
    posted in Troubleshooting
    slametpsS
    slametps
    Mar 7, 2021, 1:56 PM
  • RE: Got error when run MM 2.14.0

    @sdetweil said in Got error when run MM 2.14.0:

    @slametps ok, don’t know what happened… looks like u ran install 5 separate times…

    so lets do this

    cd ~/MagicMirror
    rm  package-lock.json
    rm -rf node_modules
    npm install --only=prod
    

    then try to start MM,

    npm start 
    

    Yap, the installation has failed several times. I’ll try re-install as your direction.

    posted in Troubleshooting
    slametpsS
    slametps
    Mar 7, 2021, 1:47 PM
  • RE: Got error when run MM 2.14.0

    @slametps said in Got error when run MM 2.14.0:

    @sdetweil : no, it is a fresh install.
    Here is the link to install.log

    The raspberry is also a fresh install, I created the disk using Raspberry Pi Imager.

    posted in Troubleshooting
    slametpsS
    slametps
    Mar 7, 2021, 1:38 PM
  • RE: Got error when run MM 2.14.0

    @sdetweil : no, it is a fresh install.
    Here is the link to install.log

    posted in Troubleshooting
    slametpsS
    slametps
    Mar 7, 2021, 1:35 PM
  • Got error when run MM 2.14.0

    I’m installing a new fresh MM 2.14.0 using installation script . After everything seems OK through installation, but the MM is not loaded. MM and PM2 is installed successfully. When I tried to run manually, got the following error:

    pi@raspberrypi:~/MagicMirror $ npm run start
    
    > magicmirror@2.14.0 start /home/pi/MagicMirror
    > ./run-start.sh $1
    
    ./run-start.sh: line 41: [: too many arguments
    [07.03.2021 16:04.29.213] [ERROR] App threw an error during load
    [07.03.2021 16:04.29.233] [ERROR] Error: Cannot find module 'lodash'
    Require stack:
    - /home/pi/MagicMirror/node_modules/express-ipfilter/lib/ipfilter.js
    - /home/pi/MagicMirror/node_modules/express-ipfilter/index.js
    - /home/pi/MagicMirror/js/server.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    - 
        at Module._resolveFilename (internal/modules/cjs/loader.js:798:15)
        at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
        at Module._load (internal/modules/cjs/loader.js:691:27)
        at Function.Module._load (electron/js2c/asar.js:748:26)
        at Module.require (internal/modules/cjs/loader.js:853:19)
        at require (internal/modules/cjs/helpers.js:74:18)
        at Object.<anonymous> (/home/pi/MagicMirror/node_modules/express-ipfilter/lib/ipfilter.js:12:11)
        at Module._compile (internal/modules/cjs/loader.js:968:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
        at Module.load (internal/modules/cjs/loader.js:816:32)
    A JavaScript error occurred in the main process
    Uncaught Exception:
    Error: Cannot find module 'lodash'
    Require stack:
    - /home/pi/MagicMirror/node_modules/express-ipfilter/lib/ipfilter.js
    - /home/pi/MagicMirror/node_modules/express-ipfilter/index.js
    - /home/pi/MagicMirror/js/server.js
    - /home/pi/MagicMirror/js/app.js
    - /home/pi/MagicMirror/js/electron.js
    - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
    

    What’s wrong? Any one have the same/similar problem and already had the solution?
    Thx.

    posted in Troubleshooting
    slametpsS
    slametps
    Mar 7, 2021, 9:17 AM
  • RE: MMM-NetworkConnection

    @Cr4z33 said in MMM-NetworkConnection:

    @slametps I had long read at speedtest readme however I couldn’t figure out what to edit to have a different server selected as best/favourite server.

    These are the details of the wanted server:

    server url="http://speedtestrm1.telecomitalia.it/speedtest/upload.php" lat="41.9000" lon="12.5000" name="Rome" country="Italy" cc="IT" sponsor="Telecom Italia S.p.A." id="3243" host="speedtestrm1.telecomitalia.it:8080"
    

    Currently, the module is using default test server provided by speedtest-net node module. You should modify node_helper.js to add your desired test server.
    You can find how to add the options, in here.

    posted in Utilities
    slametpsS
    slametps
    Mar 17, 2019, 5:46 PM
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy