• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[Electron] display en screen after installing MMM-PIR-Sensor

Scheduled Pinned Locked Moved Troubleshooting
44 Posts 2 Posters 11.3k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    RIKKO14
    last edited by Aug 21, 2020, 8:02 PM

    I do this :
    Sans titre.png
    and type pm2 restart 0, but my screen of MM is steel powered off…

    S 1 Reply Last reply Aug 21, 2020, 9:45 PM Reply Quote 0
    • S Offline
      sdetweil @RIKKO14
      last edited by Aug 21, 2020, 9:45 PM

      @RIKKO14 now on your PC, open browser to
      http://pi_ip:8080

      same up address u used for ssh

      now see magic mirror

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Aug 21, 2020, 9:59 PM Reply Quote 0
      • S Offline
        sdetweil @sdetweil
        last edited by Aug 21, 2020, 9:59 PM

        @sdetweil and disable the PIR module in config.js, and manually turn screen back on

        I’d this a Pi4. the off command works, the old on command doesn’t. I have seen others fight this but don’t remember any solution

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          RIKKO14
          last edited by Aug 22, 2020, 8:19 AM

          I reinstalled everything last night except the GA module and had the same problem.
          This morning I start all over again with the MMM-PIR module and the [Electron] screen is displayed instead of my MM screen.
          My pm2 log indicated that there is a Node.js version pb: I am in version 73 while the require version is version 64.
          So I put an issue on the link of this module to request an update of the module with Node.js version 73, hoping that there is only that.
          In the meantime I put aside this module and reinstall all the modules for the X time.
          my pm2 log :

          0|mm       | was compiled against a different Node.js version using
          0|mm       | NODE_MODULE_VERSION 64. This version of Node.js requires
          0|mm       | NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
          0|mm       | the module (for instance, using `npm rebuild` or `npm install`).```
          
          
          Thank you very much however for all your help and patience.
          S 1 Reply Last reply Aug 22, 2020, 12:03 PM Reply Quote 0
          • S Offline
            sdetweil @RIKKO14
            last edited by Aug 22, 2020, 12:03 PM

            @RIKKO14 same instructions as post 5 of the topic

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              RIKKO14
              last edited by Aug 22, 2020, 1:07 PM

              everything works except the PIR.
              thanks again for your help.
              now i need to customize the CSS because my display is so big .

              S 1 Reply Last reply Aug 22, 2020, 1:08 PM Reply Quote 0
              • S Offline
                sdetweil @RIKKO14
                last edited by Aug 22, 2020, 1:08 PM

                @RIKKO14 u used the electron rebuild instructions in the PIR module folder??

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • R Offline
                  RIKKO14
                  last edited by Aug 22, 2020, 5:02 PM

                  sorry I don’t understand your question …
                  I do not know if I used the electron rebuild instructions in the PIR module folder. I preferred to remove the module so as not to have any conflict while I had the answer to my issue on the MMM-PIR forum because of the Node.js version problem
                  There, I installed MMM-Assistant2Display which I am trying to adjust and for the moment I am encountering problems of use. I tried the PIR function of this module but it does not work, suddenly I wonder if my HC-SR501 would not be defective

                  S 1 Reply Last reply Aug 22, 2020, 5:13 PM Reply Quote 0
                  • S Offline
                    sdetweil @RIKKO14
                    last edited by sdetweil Aug 22, 2020, 5:14 PM Aug 22, 2020, 5:13 PM

                    @RIKKO14 ok, the fix the node versions problem u need use the electron rebuild procedure I posted. it will throw this error long before ever testing the physical sensor.

                    u said I started over, and reported the same node version conflict.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RIKKO14
                      last edited by Aug 22, 2020, 5:25 PM

                      I’m lost, can you tell me another time the electron rebuild procedure you posted.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 4 / 5
                      4 / 5
                      • First post
                        36/44
                        Last post
                      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