• 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.

PIR bien Détecté par le script mais ne fonctionne pas avec MMM-PIR

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 2 Posters 1.2k 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.
  • M Offline
    Mastrapi @sdetweil
    last edited by Mar 10, 2025, 6:52 PM

    MMLudo@raspberrypi:~/MagicMirror/modules/MMM-PIR $ git remote -v
    origin https://github.com/mboskamp/MMM-PIR.git (fetch)
    origin https://github.com/mboskamp/MMM-PIR.git (push)

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mastrapi @sdetweil
      last edited by Mar 10, 2025, 7:24 PM

      @sdetweil J’ai installé MMM-Pir, toujours rien ne se passe
      git remote -v
      origin https://github.com/Coernel82/MMM-Pir (fetch)
      origin https://github.com/Coernel82/MMM-Pir (push)

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mastrapi @sdetweil
        last edited by Mar 11, 2025, 3:04 PM

        @sdetweil Du coup j’ai installé MMM-PIR-Sensor-Lite, le script Phyton détecte les mouvements, le compte à rebours défile mais l’écran ne s’éteint pas, j’ai dû rater quelque chose, mais quoi ?

        S 1 Reply Last reply Mar 11, 2025, 3:11 PM Reply Quote 0
        • S Online
          sdetweil @Mastrapi
          last edited by Mar 11, 2025, 3:11 PM

          @Mastrapi

           displayOn: function() {
              Log.log(`[MMM-SimplePIR] making sure the display is physically on...`)
              GPIO.set_gpio(this.config.displayOnPin, true)
          
              setTimeout(() => {
                GPIO.set_gpio(this.config.displayOnPin, false)
              }, 100);
              this.displayPower = true;
              this.sendSocketNotification('display', this.displayPower);
            },
          

          l’extinction de l’écran dépend de nombreux facteurs différents

          1. Version du système d’exploitation
          2. Gestionnaire d’affichage utilisé (X11, Wayland, LabWC)
          3. Accès aux commandes fourni par le module

          Ce module semble tenter de contrôler un relais

          Essayez plutôt celui-ci

          https://gitlab.com/khassel/MMM-Universal-Pir

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Mar 12, 2025, 6:37 AM Reply Quote 0
          • M Offline
            Mastrapi @sdetweil
            last edited by Mar 12, 2025, 6:37 AM

            @sdetweil Bonjour Sam, merci, mais comment le télécharger et l’installer ?

            S 1 Reply Last reply Mar 12, 2025, 12:49 PM Reply Quote 0
            • S Online
              sdetweil @Mastrapi
              last edited by Mar 12, 2025, 12:49 PM

              @Mastrapi L’installation et la configuration de tous les modules sont identiques.

              Veuillez lire le premier lien dans ma signature ci-dessous.

              Veuillez utiliser la traduction de votre navigateur pour traduire la page en français.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Mar 12, 2025, 3:35 PM Reply Quote 0
              • M Offline
                Mastrapi @sdetweil
                last edited by Mar 12, 2025, 3:35 PM

                @sdetweil Sam MERCI votre solution a fonctionné, c’est la plus simple, merci beaucoup

                1 Reply Last reply Reply Quote 1
                • 1
                • 2
                • 2 / 2
                2 / 2
                • First post
                  16/17
                  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