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

    Posts

    Recent Best Controversial
    • RE: node_helper.js does not work.

      after the npm start &

      press enter… you should get the prompt back, and can do any command

      add this to your node module start function

        start: function() {
          socketTestpython=this;
          console.log(this.name + " node_helper started")    // < ---- add this
      

      should see this in terminal window

      MMM-Testpython node_helper started
      

      i do

      posted in Troubleshooting
      S
      sdetweil
    • RE: node_helper.js does not work.

      @emrhssla i cut/pasted your code to create your module, added it to config.js
      and it performs as expected…

      i get in developers console

      hello~hello~hello~hello~hello~hello~hello~hello~hello~hello~    MMM-Testpython.js:62
       Socket recevied : hello                                        MMM-Testpython.js:71
      

      and in terminal window

      notification : TEST
      

      config entry

      {
        module: "MMM-Testpython",
        disabled: false,
        position: "middle",
        config:{
          
        }
      },
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: npm install error

      @emrhssla ok, so you are installing a clone of MM… its ok, do that all the time.

      after the git clone, then u do npm install, right?

      he has copied the node_modules folder into his repo… u don’t want that…

      so, go to the folder

      /home/pi/Desktop/BeautyMirrorTEST
      

      and do

      rm -rf node_modules
      npm install
      

      then try the

      npm start dev &
      

      and have him remove the node_modules folder from his git repo
      and from all the modules which have a node_modules folder…
      and the vendor folder too

      the platforms are different, you cannot copy the binary runtimes

      posted in Troubleshooting
      S
      sdetweil
    • RE: node_helper.js does not work.

      @emrhssla what is the error?

      open a terminal window or ssh window

      do

      npm start dev &
      

      node_helper output will show up in the terminal window

      then on the mirror UI, developers window
      select the console tab

      note that the filenames are CASE sensitive
      so you code should be in

      mm/modules/MMM-TestPython

      posted in Troubleshooting
      S
      sdetweil
    • RE: Calendar issue with 2.7.1

      @drfukc said in Calendar issue with 2.7.1:

      { Error: listen EADDRINUSE 127.0.0.1:8080

      ok, then something ELSE on your system is using port 8080… maybe a web server?

      change the port number in mm/config/config.js to something else (8081 maybe)

      			if (event.type === "VEVENT") {
               // console.log("have event title="+event.summary);
      

      so, add the second line and then uncomment it… I must have added that fro debugging someone elses problem

      posted in Bug Hunt
      S
      sdetweil
    • RE: Updated OS. MM no longer starts

      @Myst

      sudo apt get install npm
      

      then

      npm install -g npm 
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: Facial Recognition Module - Step by Step Guide

      @naktah u need to put that in your logon profile

      posted in Troubleshooting
      S
      sdetweil
    • RE: Updated OS. MM no longer starts

      @Myst after the git pull, u need to run npm install in the mm folder

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-Myweather doesn't work, only black screen

      @matsjanssen openweather gives different keys for different things. 4 day vs long term the key u have cannot get the weather info u asked for. Error=401.

      Not authorized.

      Update your key

      posted in Troubleshooting
      S
      sdetweil
    • 1
    • 2
    • 1983
    • 1984
    • 1985
    • 1986
    • 1987
    • 2079
    • 2080
    • 1985 / 2080