Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. sithlordhood
    S
    • Profile
    • Following 1
    • Followers 2
    • Topics 3
    • Posts 26
    • Best 4
    • Groups 0

    sithlordhood

    @sithlordhood

    11
    Reputation
    1196
    Profile views
    26
    Posts
    2
    Followers
    1
    Following
    Joined Last Online

    sithlordhood Follow

    Best posts made by sithlordhood

    • My 1st MagicMirror2

      Here is my first MagicMirror:
      alt text alt text

      alt text

      Rear View:
      alt text
      (the green tape covers the very sensitive motion sensor, I went for this one in the end: http://tinyurl.com/jdkb9fw)

      The frame was made from Pine, stained with varnish.
      Vent holes in the top and bottom, small fan in the top to aid airflow.
      The bottom holes also allow for a few Status LED’s (Monitor power / PIR trigger) and also allow access to a potentiometer to adjust the sensitivity of the PIR.
      I also extended 2x USB ports from the Pi to the bottom of the mirror so that I can plug in a keyboard/mouse for maintenance purposes whilst the mirror is still mounted on the wall.

      If there is no PIR trigger for a few minutes the Pi disables HDMI output, putting the monitor into Standby. Detection to monitor back on is 4 seconds, since the sensor is very sensitive I never see the monitor powering back up.

      posted in Show your Mirror
      S
      sithlordhood
    • RE: My 1st MagicMirror2

      @djdwayneanthony Also here is my custom.css - it is only colour changes for the Weather forecast and not my work - copied from someone else’s post here…

      #/*****************************************************

      • Magic Mirror *
      • Custom CSS *
      •                                               *
        
      • By Michael Teeuw http://michaelteeuw.nl *
      • MIT Licensed. *
      •                                               *
        
      • Add any custom CSS below. *
      • Changes to this files will be ignored by GIT. *
        *****************************************************/

      body {
      }

      .dimmed {
      color: #666;
      }

      .normal {
      color: #999’
      }

      .bright {
      color: #fff;
      }

      .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
      S
      sithlordhood
    • RE: My 1st MagicMirror2

      @djdwayneanthony Sure,

      Here is my config.js:

      /* Magic Mirror Config fILE
      *

      • By Michael Teeuw http://michaelteeuw.nl
      • MIT Licensed.
        */

      var config = {
      port: 8080,

      language: 'en',
      timeFormat: 24,
      units: 'metric',
      
      modules: [
      	{
      		module: 'alert',
      		config: {
      			welcome_message: 'Welcome, Magic Mirror boot-up successful!',
      			},
      	},
      	{
      		module: 'MMM-Remote-Control',
      

      //uncomment for url position: ‘top_left’,
      },
      //uncomment {
      //for module: ‘MMM-Snow’,
      //s position: ‘fullscreen_above’,
      //n config: {
      //o flakeCount: 50,
      //w }
      //! },
      {
      module: ‘clock’,
      position: ‘top_left’
      },
      {
      module: ‘calendar’,
      position: ‘top_left’,
      header: ‘The Hoods Calendar’,
      config: {
      maximumEntries: 25,
      maximumNumberOfDays: 365,
      maxTitleLength: 25,
      animationSpeed: 0,
      fadePoint: 1,
      timeFormat: ‘absolute’,
      urgency: 7,
      calendars: [
      {
      symbol: ‘calendar’,
      url: ‘GOOGLE CALENDAR URL’
      }
      ]
      }
      },
      {
      module: ‘currentweather’,
      position: ‘top_right’,
      config: {
      location: ‘Portchester,United Kingdom’,
      locationID: ‘2649692’, //ID from http://www.openweathermap.org
      appid: ‘API KEY’,
      },
      },
      {
      module: ‘weatherforecast’,
      position: ‘top_right’,
      header: ‘Weather Forecast’,
      config: {
      fadePoint: 1,
      location: ‘Portchester,United Kingdom’,
      locationID: ‘2649692’, //ID from http://www.openweathermap.org
      appid: ‘API KEY’,
      showRainAmount: true,
      },
      },
      {
      module: ‘MMM-NetworkScanner’,
      position: ‘top_right’,
      header: ‘Hood Family Mobile Phones’,
      config: {
      devices: [
      { macAddress: “MAC1”, name: " Internet Router", icon: “wifi”},
      { macAddress: “MAC2”, name: “Simon”, icon: “mobile”},
      { macAddress: “MAC3”, name: “Emma”, icon: “mobile”},
      { macAddress: “MAC4”, name: “Jacob”, icon: “mobile”},
      { macAddress: “MAC5”, name: “Rhiannon”, icon: “mobile”},
      ],
      showUnknown: false,
      showOffline: true,
      keepAlive: 240,
      updateInterval: 10,
      },
      },
      {
      module: ‘calendar_monthly’,
      position: ‘top_right’,
      config: {
      fadeSpeed: 2,
      showHeader: ‘true’,
      cssStyle: ‘custom’, //block, clean, slate or custom
      updateDelay: 5,
      },
      },
      {
      module: ‘newsfeed’,
      position: ‘bottom_bar’,
      config: {
      showDescription: true,
      feeds: [
      {
      title: “BBC News”,
      url: “http://feeds.bbci.co.uk/news/rss.xml?edition=uk”
      },
      ],
      showSourceTitle: true,
      showPublishDate: true
      }
      },
      {
      module: ‘MMM-Traffic’,
      position: ‘bottom_bar’,
      classes: ‘dimmed medium’,
      config: {
      api_key: ‘API KEY’,
      mode: ‘driving’,
      origin: ‘ORIGIN’,
      destination: ‘DESTINATION’,
      // arrival_time: ‘0730’, //optional, but needs to be in 24 hour time if used.
      route_name: ‘Simon - Home to Work’,
      changeColor: ‘true’,
      showGreen: ‘true’,
      limitYellow: 15, //Greater than 15% of journey time due to traffic
      limitRed: 30, //Greater than 30% of journey time due to traffic
      traffic_model: ‘pessimistic’,
      interval: 120000 //2 minutes
      },
      },
      {
      module: ‘MMM-Traffic’,
      position: ‘bottom_bar’,
      classes: ‘dimmed medium’, //optional, default is ‘bright medium’, only applies to commute info not r$
      config: {
      api_key: ‘API KEY’,
      mode: ‘driving’,
      origin: ‘ORIGIN’,
      destination: ‘DESTINATION’,
      // arrival_time: ‘0730’, //optional, but needs to be in 24 hour time if used.
      route_name: ‘Emma - Home to Nursery’,
      changeColor: ‘true’,
      showGreen: ‘true’,
      limitYellow: 15, //Greater than 15% of journey time due to traffic
      limitRed: 30, //Greater than 30% of journey time due to traffic
      traffic_model: ‘pessimistic’,
      interval: 120000 //2 minutes
      },
      },
      {
      module: ‘MMM-Traffic’,
      position: ‘bottom_bar’,
      classes: ‘dimmed medium’, //optional, default is ‘bright medium’, only applies to commute info not r$
      config: {
      api_key: ‘API KEY’,
      mode: ‘driving’,
      origin: ‘ORIGIN’,
      destination: ‘DESTINATION’,
      // arrival_time: ‘0730’, //optional, but needs to be in 24 hour time if used.
      route_name: ‘Home to Nana & Grandad Hoods’,
      changeColor: ‘true’,
      showGreen: ‘true’,
      limitYellow: 15, //Greater than 15% of journey time due to traffic
      limitRed: 30, //Greater than 30% of journey time due to traffic
      traffic_model: ‘pessimistic’,
      interval: 120000 //2 minutes
      },
      },
      {
      module: ‘mmm-systemtemperature’,
      position: ‘bottom_bar’,
      classes: ‘small dimmed’,
      config: {
      prependString: 'CPU Temp: ',
      updateInterval: 5000,
      animationSpeed: 0,
      },
      },
      {
      module: ‘updatenotification’,
      position: ‘bottom_bar’,
      },
      ]

      };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== ‘undefined’) {module.exports = config;}
      bolded text


      I have removed api keys, destinations, etc so anything in ITALICS you would require adding your own variable here as described in the modules.

      The Modules I used are:
      alert (default module)
      MMM-Remote-Control
      MMM-Snow (I only configure this ON during the holiday period!)
      clock (default module)
      calendar (default module)
      currentweather (default module)
      weatherforecast (default module)
      MMM-NetworkScanner
      calendar_monthly
      newsfeed (default module)
      MMM-Traffic (used three times, for different commutes)
      mmm-systemtemperature
      updatenotification (default module)

      posted in Show your Mirror
      S
      sithlordhood
    • RE: My 1st MagicMirror2

      @cowboysdude This is the one I used:

      http://www.ebay.co.uk/itm/Car-Dash-Flush-Mount-Dual-USB-1m-Male-to-Female-Extension-Cable-Lead-Panel-MA950-/272413643903?hash=item3f6d1e547f:g:rUkAAOSwDmBY4CTs

      posted in Show your Mirror
      S
      sithlordhood

    Latest posts made by sithlordhood

    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      Just to update - dont know whats changed but the module is working ok now! Thanks!

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      Ok, thanks very much for helping out.

      One final thing that i thought of was that i’m using the wired ethernet interface on the Pi, not the WiFi. Not sure if this matters, just thought it a bit odd that i did not get any data displayed in the Network tab?

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      i dont see any entries in the network tab at all, i have stopped and restarted the record and hit the button on the doorbell but nothing apears in the log.

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      @DustinBryant yes i did, a few times and still the same. The video files are still appearing after the log says stream has ended

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      its still the same im afraid:

      main.js:454 Initializing MagicMirror.
      translator.js:202 Loading core translation file: translations/en.json
      translator.js:225 Loading core translation fallback file: translations/en.json
      loader.js:179 Load script: modules/MMM-Ring//MMM-Ring.js
      module.js:468 Check MagicMirror version for module ‘MMM-Ring’ - Minimum version: 2.1.0 - Current version: 2.9.0
      module.js:470 Version is ok!
      module.js:476 Module registered: MMM-Ring
      loader.js:150 Bootstrapping module: MMM-Ring
      loader.js:179 Load script: https://cdn.jsdelivr.net/npm/hls.js
      loader.js:155 Scripts loaded for: MMM-Ring
      loader.js:194 Load stylesheet: modules/MMM-Ring/MMM-Ring.css
      loader.js:157 Styles loaded for: MMM-Ring
      loader.js:159 Translations loaded for: MMM-Ring
      loader.js:194 Load stylesheet: css/custom.css
      main.js:472 All modules started!
      module.js:156 MMM-Ring received a system notification: ALL_MODULES_STARTED
      module.js:156 MMM-Ring received a system notification: MODULE_DOM_CREATED
      module.js:156 MMM-Ring received a system notification: DOM_OBJECTS_CREATED
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
      protocols.This exposes users of this app to unnecessary security risks.
      Consider loading the following resources over HTTPS or FTPS.

      • http://localhost:8080/css/main.css
      • http://localhost:8080/fonts/roboto.css
      • http://localhost:8080/socket.io/socket.io.js
      • http://localhost:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
      • http://localhost:8080/js/defaults.js
      • http://localhost:8080/config/config.js
      • http://localhost:8080/vendor/vendor.js
      • http://localhost:8080/modules/default/defaultmodules.js
      • http://localhost:8080/js/logger.js
      • http://localhost:8080/translations/translations.js
      • http://localhost:8080/js/translator.js
      • http://localhost:8080/js/class.js
      • http://localhost:8080/js/module.js
      • http://localhost:8080/js/loader.js
      • http://localhost:8080/js/socketclient.js
      • http://localhost:8080/js/main.js
      • http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
      • http://localhost:8080/translations/en.json
      • http://localhost:8080/translations/en.json
      • http://localhost:8080/modules/MMM-Ring//MMM-Ring.js
      • http://localhost:8080/modules/MMM-Ring/MMM-Ring.css
      • http://localhost:8080/css/custom.css

      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
      This warning will not show up
      once the app is packaged.
      warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
      Policy set or a policy with “unsafe-eval” enabled. This exposes users of
      this app to unnecessary security risks.

      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
      This warning will not show up
      once the app is packaged.
      warnAboutInsecureCSP @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      I’m not using Two-Factor authentication.

      This is the extract from the debug console window

      main.js:454 Initializing MagicMirror.
      translator.js:202 Loading core translation file: translations/en.json
      translator.js:225 Loading core translation fallback file: translations/en.json
      loader.js:179 Load script: modules/MMM-Ring//MMM-Ring.js
      module.js:468 Check MagicMirror version for module ‘MMM-Ring’ - Minimum version: 2.1.0 - Current version: 2.9.0
      module.js:470 Version is ok!
      module.js:476 Module registered: MMM-Ring
      loader.js:150 Bootstrapping module: MMM-Ring
      loader.js:179 Load script: https://cdn.jsdelivr.net/npm/hls.js
      loader.js:155 Scripts loaded for: MMM-Ring
      loader.js:194 Load stylesheet: modules/MMM-Ring/MMM-Ring.css
      loader.js:157 Styles loaded for: MMM-Ring
      loader.js:159 Translations loaded for: MMM-Ring
      loader.js:194 Load stylesheet: css/custom.css
      main.js:472 All modules started!
      module.js:156 MMM-Ring received a system notification: ALL_MODULES_STARTED
      module.js:156 MMM-Ring received a system notification: MODULE_DOM_CREATED
      module.js:156 MMM-Ring received a system notification: DOM_OBJECTS_CREATED
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
      protocols.This exposes users of this app to unnecessary security risks.
      Consider loading the following resources over HTTPS or FTPS.

      • http://0.0.0.0:8080/css/main.css
      • http://0.0.0.0:8080/fonts/roboto.css
      • http://0.0.0.0:8080/socket.io/socket.io.js
      • http://0.0.0.0:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
      • http://0.0.0.0:8080/js/defaults.js
      • http://0.0.0.0:8080/config/config.js
      • http://0.0.0.0:8080/vendor/vendor.js
      • http://0.0.0.0:8080/modules/default/defaultmodules.js
      • http://0.0.0.0:8080/js/logger.js
      • http://0.0.0.0:8080/translations/translations.js
      • http://0.0.0.0:8080/js/translator.js
      • http://0.0.0.0:8080/js/class.js
      • http://0.0.0.0:8080/js/module.js
      • http://0.0.0.0:8080/js/loader.js
      • http://0.0.0.0:8080/js/socketclient.js
      • http://0.0.0.0:8080/js/main.js
      • http://0.0.0.0:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
      • http://0.0.0.0:8080/translations/en.json
      • http://0.0.0.0:8080/translations/en.json
      • http://0.0.0.0:8080/modules/MMM-Ring//MMM-Ring.js
      • http://0.0.0.0:8080/modules/MMM-Ring/MMM-Ring.css
      • http://0.0.0.0:8080/css/custom.css

      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
      This warning will not show up
      once the app is packaged.
      warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:127
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
      Policy set or a policy with “unsafe-eval” enabled. This exposes users of
      this app to unnecessary security risks.

      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
      This warning will not show up
      once the app is packaged.
      warnAboutInsecureCSP @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:184

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      These are the files in the public folder once the doorbell is pressed. Note these files only appear once the log shows “Front door video stram has ended”

      -rw-r–r-- 1 pi pi 0 Oct 31 20:10 stream0.ts
      -rw-r–r-- 1 pi pi 117 Oct 31 20:10 stream.m3u8

      Regardless of the time set for “ringMinutesToStreamVideo” the log always shows a run of less than 30 seconds:

      MMM-Ring at (10/31/2019, 8:09:42 PM): Front Door had its doorbell rung! Preparing video stream.
      MMM-Ring at (10/31/2019, 8:10:03 PM): Front Door video stream has ended
      timeout hit

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      Hi, i have tried what you have suggested and a .ts file does get dropped in, I have tried to play it but it does not play, the file size is only 117 bytes.

      I have tried this on a complete fresh system, running Raspbian Buster, with the current MM build, also this is the only module i have active in the config file. No video at all is shown on the mirror! help!

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      @DustinBryant Thanks for all of the suggestions, I have followed this and now do not get any errors but i see no video on the mirror!

      Anything else i can check?

      posted in Utilities
      S
      sithlordhood
    • RE: MMM-Ring: Displays a video stream of your Ring doorbell when someone rings your doorbell.

      @DustinBryant This is what the mm log shows:

      MMM-Ring at (10/10/2019, 20:59:55): Found 1 location(s) with 1 camera(s).
      MMM-Ring at (10/10/2019, 20:59:55): Location Home has the following 1 camera(s):
      MMM-Ring at (10/10/2019, 20:59:55): - 7076807: Front Door (doorbell_v3)
      MMM-Ring at (10/10/2019, 20:59:55): Location Home has the following 0 device(s):
      MMM-Ring at (10/10/2019, 20:59:55): Actively listening for doorbell presses

      Then i press the doorbell:

      MMM-Ring at (10/10/2019, 21:00:04): Front Door had its doorbell rung! Preparing video stream.
      MMM-Ring at (10/10/2019, 21:00:26): Front Door video stream has ended
      Whoops! There was an uncaught exception…
      TypeError: Cannot read property ‘stop’ of null
      at Timeout.setTimeout [as _onTimeout] (/home/pi/MagicMirror/modules/MMM-Ring/node_helper.js:153:36)
      at ontimeout (timers.js:427:11)
      at tryOnTimeout (timers.js:289:5)
      at listOnTimeout (timers.js:252:5)
      at Timer.processTimers (timers.js:212:10)
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

      No video is displayed on the MagicMirror.

      Also I have specificed a 2 minute stream time in the config.js but as shown above, the video only shows it runs for 30 seconds…

      config.js:

                  {
                          module: "MMM-Ring",
                          position: "top_left",
                          config: {
                                  ringEmail: "EMAIL",
                                  ringPwd: "PASSWORD",
                                  ringMinutesToStreamVideo: "2", //default is 2 mins
                                  ringVideoWidth: "600" //default is 600px
                          }
                  },
      posted in Utilities
      S
      sithlordhood