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

    Posts

    Recent Best Controversial
    • RE: Mobile app (bachelor thesis)

      @strawberry-3.141 I try the pair the app when MagicMirror and can’t

      The log of cli on MagicMirror say

      Missing error handler on `socket`.
      TypeError: Data must be a string or a buffer
          at TypeError (native)
          at Hash.update (crypto.js:74:16)
          at Array.io.of.use (/home/piMagicMirror/modules/MMM-Mobile/node_helper.js:166:52)
          at run (/home/piMagicMirror/node_modules/socket.io/lib/namespace.js:116:11)
          at Namespace.run (/home/piMagicMirror/node_modules/socket.io/lib/namespace.js:128:3)
          at Namespace.add (/home/piMagicMirror/node_modules/socket.io/lib/namespace.js:157:8)
          at Client.connect (/home/piMagicMirror/node_modules/socket.io/lib/client.js:76:20)
          at Client.ondecoded (/home/piMagicMirror/node_modules/socket.io/lib/client.js:190:10)
          at Decoder.Emitter.emit (/home/piMagicMirror/node_modules/socket.io/node_modules/socket.io-parser/node_modules/component-emitter/index.js:134:20)
          at Decoder.add (/home/piMagicMirror/node_modules/socket.io/node_modules/socket.io-parser/index.js:246:12)
      
      posted in Development
      R
      roramirez
    • RE: MagicMirror featured in MagPi 54

      So cool. :thumbsup:

      posted in General Discussion
      R
      roramirez
    • RE: starter problem # 2

      @morozgrafix said in starter problem # 2:

      Cool. Sometimes off brand SD cards is the culprit of data loss. Memory is so inexpensive these days it is worth getting a good brand name card. Hopefully your trouble will now end with a new memory card. Also after so many installs you are a PRO now.

      Yes.

      Also I want to add, I’ve had some problems when the RaspberryPI is not connected to good power supply. This has caused corrupted data into SD card.

      posted in Troubleshooting
      R
      roramirez
    • RE: Looking for Beta-testers!

      So… that is my mistake. I pushed fix the wrong validation :(
      https://github.com/MichMich/MagicMirror/pull/658

      posted in MagicMirror
      R
      roramirez
    • RE: White screen after MMM-Remote-Control update

      Is missing body-parser lib required by MMM-Remote-Control

      Go the module directory and run npm install

      cd /home/pi/MagicMirror/modules/MMM-Remote-Control/
      npm install
      
      posted in Troubleshooting
      R
      roramirez
    • RE: Test suite for MagicMirror²

      Hi,

      Today I’ve working a problem of issue with Electron and other things, all details here
      https://github.com/MichMich/MagicMirror/issues/577

      After testing in two enviroment different for Lite and with Pixel on Raspbian, the process is long because you need the create SD and follow the instruction and check what could be the problem.

      I think this can be automatic and running on a hosted system or my own machine. Someone know howto use a arm image for RaspberryPi and run like a Docker’s container? for run a test of enviroments. I think can be a help to include in the Test Suite.

      posted in Upcoming Features
      R
      roramirez
    • RE: starter problem # 2

      @kurt Well Jessie Lite dont have X system. X mean desktop system, GUI.

      MagicMirror run in Electron and this require a DISPLAY system where show it.

      We working in this topic to prevent you when is using in a system like that.
      https://github.com/MichMich/MagicMirror/issues/577

      posted in Troubleshooting
      R
      roramirez
    • RE: starter problem # 2

      @kurt Ok, is nothing there. Please use the installer script

      curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
      

      If you using Jessie Lite will need install some packages as say link of @morozgrafix’s post

      posted in Troubleshooting
      R
      roramirez
    • RE: starter problem # 2

      @kurt No, when you run cd command you are still in your Mac

      -bash: cd: /Users/kurt/MagicMirror: No such file or directory
      
      posted in Troubleshooting
      R
      roramirez
    • RE: starter problem # 2

      Hey @kurt !, the last sentence you are run in your Mac not in your Raspberry

      posted in Troubleshooting
      R
      roramirez
    • RE: Test suite for MagicMirror²

      @qistoph Sound good and I like it. Now we can set by electronOptions in configuration file, same logic as you say.

      The point to resolved is how can tell to MagicMirror read a specific file of configuration. Now is set in hardcoded. With than can be create multiples instances of configuration files into tests suite (tests directory) and run test to these. Added this task in Trello.

      posted in Upcoming Features
      R
      roramirez
    • RE: Test suite for MagicMirror²

      Update and news:

      Thanks to @qistoph we have 2 improvement

      • Now every commit introduced previous is checked by tests suite in Travis.
      • Added a new test case https://github.com/MichMich/MagicMirror/pull/648/files

      Also, @qistoph and I suggest have two side for test.

      • The backend application and node_helpers
      • The frontend application running in electron, running client side javascript.

      For this last is possible use Spectron … but… is needed will set nodeIntegration to true. One idea is check a enviroment variable and if present set this variable to true.

      For other way, work with serveronly and get test from client side from there.

      If some have comments and ideas from this is welcome.

      PS: I have a sample of use spectron https://github.com/roramirez/MagicMirror/commit/c99581c15b4cb008b2800f40ecbaf9c9862c7ceb

      posted in Upcoming Features
      R
      roramirez
    • RE: Test suite for MagicMirror²

      @morozgrafix Thanks!, Is already merged :)

      posted in Upcoming Features
      R
      roramirez
    • RE: Problems restarting MagicMirror (Port 8080 in use ...)

      @ostfilinchen by npm

      sudo npm install -g pm2@2.1.5
      

      First remove previous version installed
      https://docs.npmjs.com/cli/uninstall

      posted in Troubleshooting
      R
      roramirez
    • RE: Problems restarting MagicMirror (Port 8080 in use ...)

      @ostfilinchen So stranger. What is for you memory version?

      Note: The last stable release of pm2 is 2.2.1.

      I recomend use the last version stable. In my case, the 2.1.5, work fine the restart action.

      posted in Troubleshooting
      R
      roramirez
    • custom.css

      Hi, this is simple. I found in custom.css the comment

      Changes to this files will be ignored by GIT.
      

      Is already added in gitignore file. if I modified this appear in your changes to stage on git. Well, is really not ignore. Suggestions?

      posted in Bug Hunt
      R
      roramirez
    • RE: Problems restarting MagicMirror (Port 8080 in use ...)

      @ostfilinchen What pm2 version are using?. There are other process to start control of MagicMirror?

      Please, send some log lines of pm2 and what show you
      pm2 status

      posted in Troubleshooting
      R
      roramirez
    • RE: Problems restarting MagicMirror (Port 8080 in use ...)

      @ostfilinchen That version don’t have the feature for use pm2 for process control by installer script. What is your problem in 2.1.0?

      posted in Troubleshooting
      R
      roramirez
    • RE: Problems restarting MagicMirror (Port 8080 in use ...)

      @binderth said in Problems restarting MagicMirror (Port 8080 in use ...):

      Do I need pm2?

      Is optional. If you installed by script and choice. After that you can configurate mannually.

      posted in Troubleshooting
      R
      roramirez
    • RE: Problems restarting MagicMirror (Port 8080 in use ...)

      Ups, there a bug for pm2 config. I pushed a fix
      https://github.com/MichMich/MagicMirror/pull/640

      The restart is work for me. Are you try stop/start?

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

      By the way, there a interesting notice in restart process by pm2

      Restarts are now immutable, to update environment or conf use --update-env
      

      Here I’m using 2.1.5 version

      pi@raspberrypi:~/MagicMirror $ pm2 -version
      2.1.5
      
      posted in Troubleshooting
      R
      roramirez
    • 1 / 1