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-Sensor - put your mirror to sleep if not used

    Scheduled Pinned Locked Moved Troubleshooting
    126 Posts 37 Posters 222.8k Views 20 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.
    • BangeeB Offline
      Bangee Module Developer @paviro
      last edited by

      @paviro i’ve added the console.log as you described, but there is no log output in firebug. where can I check this log elsewhere?

      paviroP 1 Reply Last reply Reply Quote 0
      • paviroP Offline
        paviro @Bangee
        last edited by

        @Bangee it is node output! You have to check the log of the backend :)

        We're all stories in the end. Just make it a good one, eh?

        – The Doctor

        BangeeB 1 Reply Last reply Reply Quote 0
        • BangeeB Offline
          Bangee Module Developer @paviro
          last edited by

          @paviro sorry, i’m still a node noob… how can I check this? ;-)

          paviroP 1 Reply Last reply Reply Quote 0
          • paviroP Offline
            paviro @Bangee
            last edited by

            @Bangee how do you start your mirror?

            We're all stories in the end. Just make it a good one, eh?

            – The Doctor

            BangeeB 1 Reply Last reply Reply Quote 0
            • BangeeB Offline
              Bangee Module Developer @paviro
              last edited by

              @paviro

              pm2 start mm
              
              paviroP 1 Reply Last reply Reply Quote 0
              • paviroP Offline
                paviro @Bangee
                last edited by paviro

                @Bangee in that case read the wiki ;)

                We're all stories in the end. Just make it a good one, eh?

                – The Doctor

                1 Reply Last reply Reply Quote 0
                • BangeeB Offline
                  Bangee Module Developer
                  last edited by paviro

                  Funny…

                  pi@raspberrypi:~ $ tail -f /home/pi/.pm2/logs/mm-out-0.log
                  GIPO Status:1
                  GIPO Status:0
                  GIPO Status:1
                  GIPO Status:0
                  GIPO Status:1
                  GIPO Status:0
                  GIPO Status:1
                  GIPO Status:0
                  GIPO Status:1
                  GIPO Status:0
                  
                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jrleeman @paviro
                    last edited by

                    @paviro The sensor I’ve got doesn’t have any adjustments on it. I suppose I can make little timed latch in hardware to add on, but it could be nice to do in software too.

                    paviroP 1 Reply Last reply Reply Quote 0
                    • paviroP Offline
                      paviro @jrleeman
                      last edited by paviro

                      @jrleeman feel free to send a pull request! :) the sensor I use cost 3€ do I don’t really see a reason to do it in software of the sensors are that cheap :smiley:

                      We're all stories in the end. Just make it a good one, eh?

                      – The Doctor

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jrleeman @paviro
                        last edited by

                        @paviro Fair enough. I’ll see which I find easier, code or hardware. :smiley:

                        N 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 12
                        • 13
                        • 7 / 13
                        • First post
                          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