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

    Posts

    Recent Best Controversial
    • RE: MMM-PIR doesn´t turn off monitor since update MM 2.7

      @thedoorsfanatic
      Thanks for the information. I uninstall and install MMM-PIR, but it doesn´t work.

      Regards,

      Sebastian

      posted in Troubleshooting
      S
      shgmongohh
    • RE: MMM-PIR doesn´t turn off monitor since update MM 2.7

      @sdetweil

      Thanks for your help, but i get the follwing errer, wenn i type in

      pi@raspberrypi:~/MagicMirror/modules/MMM-PIR-Sensor $  ./node_modules/.bin/electron-rebuild
      ✖ Rebuild Failed
      
      An unhandled error occurred inside electron-rebuild
      gyp info it worked if it ends with ok
      gyp info using node-gyp@3.8.0
      gyp info using node@10.15.3 | linux | arm
      gyp http GET https://atom.io/download/electron/v3.0.13/iojs-v3.0.13-headers.tar.gz
      gyp http 200 https://atom.io/download/electron/v3.0.13/iojs-v3.0.13-headers.tar.gz
      gyp http GET https://atom.io/download/electron/v3.0.13/SHASUMS256.txt
      gyp http 200 https://atom.io/download/electron/v3.0.13/SHASUMS256.txt
      gyp info spawn /usr/bin/python2
      gyp info spawn args [ '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-gyp/gyp/gyp_main.py',
      gyp info spawn args   'binding.gyp',
      gyp info spawn args   '-f',
      gyp info spawn args   'make',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/build/config.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-gyp/addon.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/root/.electron-gyp/iojs-3.0.13/common.gypi',
      gyp info spawn args   '-Dlibrary=shared_library',
      gyp info spawn args   '-Dvisibility=default',
      gyp info spawn args   '-Dnode_root_dir=/root/.electron-gyp/iojs-3.0.13',
      gyp info spawn args   '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-gyp',
      gyp info spawn args   '-Dnode_lib_file=/root/.electron-gyp/iojs-3.0.13/<(target_arch)/iojs.lib',
      gyp info spawn args   '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi',
      gyp info spawn args   '-Dnode_engine=v8',
      gyp info spawn args   '--depth=.',
      gyp info spawn args   '--no-parallel',
      gyp info spawn args   '--generator-output',
      gyp info spawn args   'build',
      gyp info spawn args   '-Goutput_dir=.' ]
      gyp info spawn make
      gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/build'
        CXX(target) Release/obj.target/wiringPi/src/addon.o
        CXX(target) Release/obj.target/wiringPi/src/wiringPi.o
      ../src/wiringPi.cc: In function 'void nodemodule::setup(const v8::FunctionCallbackInfo<v8::Value>&)':
      ../src/wiringPi.cc:52:53: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated (declared at /root/.electron-gyp/iojs-3.0.13/deps/v8/include/v8.h:2819): Use Isolate version [-Wdeprecated-declarations]
           String::Utf8Value mode(GET_ARGUMENT_AS_STRING(0));
                                                           ^
      In file included from ../src/wiringPi.h:4:0,
                       from ../src/wiringPi.cc:1:
      ../src/wiringPi.cc: In function 'void nodemodule::initwiringPi(v8::Isolate*, v8::Handle<v8::Object>)':
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:714:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_PINS);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:715:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_PHYS);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:716:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_GPIO);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:717:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_GPIO_SYS);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:718:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_PIFACE);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:719:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_UNINITIALISED);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:723:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(INPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:724:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(OUTPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:725:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PWM_OUTPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:726:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(GPIO_CLOCK);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:727:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(SOFT_PWM_OUTPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:728:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(SOFT_TONE_OUTPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:731:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PUD_OFF);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:732:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PUD_DOWN);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:733:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PUD_UP);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:736:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(HIGH);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:737:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(LOW);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:740:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PWM_MODE_BAL);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:741:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PWM_MODE_MS);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:744:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MODEL_UNKNOWN);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:745:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MODEL_A);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:746:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MODEL_B);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:747:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MODEL_BP);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:748:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MODEL_CM);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:749:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MODEL_AP);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:750:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MODEL_2);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:752:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_VERSION_UNKNOWN);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:753:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_VERSION_1);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:754:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_VERSION_1_1);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:755:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_VERSION_1_2);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:756:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_VERSION_2);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:758:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MAKER_UNKNOWN);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:759:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MAKER_EGOMAN);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:760:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MAKER_SONY);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:761:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MAKER_QISDA);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:762:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PI_MAKER_MBEST);
         ^
      ../src/addon.h:68:17: error: 'class v8::Object' has no member named 'ForceSet'
               target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                       ^
      ../src/wiringPi.cc:764:3: note: in expansion of macro 'EXPORT_CONSTANT_STRING_ARRAY'
         EXPORT_CONSTANT_STRING_ARRAY(PI_MODEL_NAMES, piModelNames, 7);
         ^
      ../src/addon.h:68:17: error: 'class v8::Object' has no member named 'ForceSet'
               target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                       ^
      ../src/wiringPi.cc:765:3: note: in expansion of macro 'EXPORT_CONSTANT_STRING_ARRAY'
         EXPORT_CONSTANT_STRING_ARRAY(PI_REVISION_NAMES, piRevisionNames, 5);
         ^
      ../src/addon.h:68:17: error: 'class v8::Object' has no member named 'ForceSet'
               target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                       ^
      ../src/wiringPi.cc:766:3: note: in expansion of macro 'EXPORT_CONSTANT_STRING_ARRAY'
         EXPORT_CONSTANT_STRING_ARRAY(PI_MAKER_NAMES, piMakerNames, 5);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:769:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_INPT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:770:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_OUTP);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:771:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_ALT0);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:772:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_ALT1);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:773:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_ALT2);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:774:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_ALT3);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:775:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_ALT4);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:776:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(FSEL_ALT5);
         ^
      wiringPi.target.mk:142: recipe for target 'Release/obj.target/wiringPi/src/wiringPi.o' failed
      make: Leaving directory '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/build'
      make: *** [Release/obj.target/wiringPi/src/wiringPi.o] Error 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-gyp/lib/build.js:262:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
      gyp ERR! System Linux 4.9.35-v7+
      gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/.bin/node-gyp" "rebuild" "--target=3.0.13" "--arch=arm" "--dist-url=https://atom.io/download/electron" "--build-from-source"
      gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi
      gyp ERR! node -v v10.15.3
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      
      Failed with exit code: 1
      
      Error: gyp info it worked if it ends with ok
      gyp info using node-gyp@3.8.0
      gyp info using node@10.15.3 | linux | arm
      gyp http GET https://atom.io/download/electron/v3.0.13/iojs-v3.0.13-headers.tar.gz
      gyp http 200 https://atom.io/download/electron/v3.0.13/iojs-v3.0.13-headers.tar.gz
      gyp http GET https://atom.io/download/electron/v3.0.13/SHASUMS256.txt
      gyp http 200 https://atom.io/download/electron/v3.0.13/SHASUMS256.txt
      gyp info spawn /usr/bin/python2
      gyp info spawn args [ '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-gyp/gyp/gyp_main.py',
      gyp info spawn args   'binding.gyp',
      gyp info spawn args   '-f',
      gyp info spawn args   'make',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/build/config.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-gyp/addon.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/root/.electron-gyp/iojs-3.0.13/common.gypi',
      gyp info spawn args   '-Dlibrary=shared_library',
      gyp info spawn args   '-Dvisibility=default',
      gyp info spawn args   '-Dnode_root_dir=/root/.electron-gyp/iojs-3.0.13',
      gyp info spawn args   '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/node-gyp',
      gyp info spawn args   '-Dnode_lib_file=/root/.electron-gyp/iojs-3.0.13/<(target_arch)/iojs.lib',
      gyp info spawn args   '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi',
      gyp info spawn args   '-Dnode_engine=v8',
      gyp info spawn args   '--depth=.',
      gyp info spawn args   '--no-parallel',
      gyp info spawn args   '--generator-output',
      gyp info spawn args   'build',
      gyp info spawn args   '-Goutput_dir=.' ]
      gyp info spawn make
      gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/build'
        CXX(target) Release/obj.target/wiringPi/src/addon.o
        CXX(target) Release/obj.target/wiringPi/src/wiringPi.o
      ../src/wiringPi.cc: In function 'void nodemodule::setup(const v8::FunctionCallbackInfo<v8::Value>&)':
      ../src/wiringPi.cc:52:53: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated (declared at /root/.electron-gyp/iojs-3.0.13/deps/v8/include/v8.h:2819): Use Isolate version [-Wdeprecated-declarations]
           String::Utf8Value mode(GET_ARGUMENT_AS_STRING(0));
                                                           ^
      In file included from ../src/wiringPi.h:4:0,
                       from ../src/wiringPi.cc:1:
      ../src/wiringPi.cc: In function 'void nodemodule::initwiringPi(v8::Isolate*, v8::Handle<v8::Object>)':
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:714:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_PINS);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:715:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_PHYS);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:716:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_GPIO);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:717:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_GPIO_SYS);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:718:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_PIFACE);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:719:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(WPI_MODE_UNINITIALISED);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:723:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(INPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:724:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(OUTPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:725:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(PWM_OUTPUT);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      ../src/wiringPi.cc:726:3: note: in expansion of macro 'EXPORT_CONSTANT_INT'
         EXPORT_CONSTANT_INT(GPIO_CLOCK);
         ^
      ../src/addon.h:45:15: error: 'class v8::Object' has no member named 'ForceSet'
             target->ForceSet(v8::String::NewFromUtf8(isolate, #name, v8::String::kInternalizedString), \
                     ^
      
      
      
      
      posted in Troubleshooting
      S
      shgmongohh
    • MMM-PIR doesn´t turn off monitor since update MM 2.7

      Hi,
      I have make a fresh install of MM V2.7 on my RPi3 with Raspian Jessi. Everything went well but MMM-PIR doesn´t work.

      The wiring is ok because with an old MM Version (2.1.) everything was ok.

      Has anbody the same problem respectively has a solution for this problem?

      Sebastian

      posted in Troubleshooting
      S
      shgmongohh
    • RE: Wireless socket controll

      I use a Arduino Nano as 433mhz controll unit

      posted in Requests
      S
      shgmongohh
    • Wireless socket controll

      Hi

      I am searching for da module to switch on and of a wireless socket (433mhz) with a magic mirror.
      I like to have a module which turns the socket on maybe half an hour befor the sunset.

      Fore Sunset time I will use e.g. MMM-SunRiseSet.

      Has anybody an idea?

      Kind regards,
      Sebastian

      posted in Requests wireless socket 433 sunse
      S
      shgmongohh
    • RE: Problem with Mi Gateway token

      @rama3124 go to time 1:11. There you can find the tokken in the middle of the display.

      posted in Utilities
      S
      shgmongohh
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      @mirko3000
      Yes, i solved the problem with the token.

      to my css:
      I add

      .xm-xiaomi .small {
        font-size: 24px;
      }
      

      to get a bigger fonts.

      I try to change the default colours e.g.

      .xm-legend-temp {
        position: absolute;
        height: 100%;
        width: 3px;
        background-color: #FF1493;
        left: 9%;
        z-index: 0;
      

      And I want to have bigger figueres for temperature and humidity

      .xm-room-temp-humid {
         margin: 10px;
         
      }
      
      posted in Utilities
      S
      shgmongohh
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      I like to change the colour and the font size of the values in the css. But nothing change.

      Can anybody please explain, how to change?

      .xm-xiaomi .small {
        font-size: 24px;
      }
      
      .xm-xiaomi {
          position: relative;
      }
      
      .xm-disabled {
        color: black;
      }
      
      .xm-icon {
        padding-left: 8px;
      }
      
      .xm-room-item {
        font-size: 22px;
        margin-bottom: -15px;
        z-index: 5;
      }
      
      .xm-room-title {
        display: inline-block;
        width: 40%;
        z-index: 5;
      }
      
      .xm-room-bars {
        display: inline-block;
        width: 60%;
        z-index: 5;
      }
      
      .xm-legend-temp {
        position: absolute;
        height: 100%;
        width: 3px;
        background-color: #FF1493;
        left: 9%;
        z-index: 0;
      }
      
      .xm-legend-humid {
        position: absolute;
        height: 100%;
        width: 3px;
        background-color: blue;
        left: 42%;
        z-index: 0;
      }
      
      
      .xm-room-container
      {
          height: 100%; 
          min-height: 100%;
          height: 200px;
      }
      
      .xm-room {
        
          width: 33.33%;
          height: 33.33%;
        background-color: #228B22;
      }
      .xm-room-header {
        border-bottom-style : solid;
        border-width: 1px;
       margin: 5px;
       //padding: 5px;
      }
      .xm-left {
        float: left;
      }
      .xm-right {
        float: right;
      }
      .xm-room-temp-humid {
         margin: 5px;
         
      }
      .xm-room-temp {
          float: left;
          width: 50%;
          padding-top:2px;
      }
      .xm-room-humid {
          float: right;
          width: 50%;
          text-align: right;
          padding-top:2px;
      }
      .xm-room-icons {
         margin: 5px;
         vertical-align: bottom;
        // height: 100%;
      }
      .xm-door-icon {
        float: left;
        width: 33%;
        padding-top:5px;
      }
      .xm-light-icon {
        float: left;
        width: 33%;
        text-align: center;
        padding-top:5px;
      }
      .xm-vent-icon {
        float: right;
        width: 33%;
        text-align: right;
        padding-top:5px;
      }
      
      posted in Utilities
      S
      shgmongohh
    • RE: Problem with Mi Gateway token

      @Albert2002
      Thanks for your help. I have done it this way.
      It works for IOS also for Android.

      Sebastian

      posted in Utilities
      S
      shgmongohh
    • RE: MMM-xiaomi - Temperature and Humidity from your smarthome

      @Albert2002
      Hi,
      I have some problems to get the token. See my errors here.

      Can anybody help me with the token?

      Sebastian

      posted in Utilities
      S
      shgmongohh
    • 1
    • 2
    • 3
    • 4
    • 5
    • 9
    • 10
    • 3 / 10