• 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
  1. Home
  2. blebbens
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
B
Offline
  • Profile
  • Following 0
  • Followers 1
  • Topics 12
  • Posts 32
  • Groups 0

Posts

Recent Best Controversial
  • RE: MMM-PIR-Sensor problems

    Ok, think, it is working… not perfectly, but working.

    Could you take a picture of your potent meters AND jumper ?
    Have set them both to the left position. Would help a lot.

    A lot of people are walking the way the mirror is mounted to the wall. Finally, I would like the mirror to switch on if a person stays in front of it for 10 seconds. Don’t know exactly how to do this.

    At the moment it switches on in 1 second.

    posted in Troubleshooting
    B
    blebbens
    Apr 18, 2018, 5:36 PM
  • RE: MMM-PIR-Sensor problems

    I have 8 HC-SR501 bought a while ago. Some of them are green, some blue.
    Tested all of them now…

    0_1523903551418_PIR4.jpg

    The message is the same: OUT connected… Motion detected. OUT not connected, no motion detected… Think, this means OUT and HIGH are working.

    But, the PIR sensor delivers motion detected permanently if connected.

    So, according to your PullUp-Link I have to put a 10kohm resistor between Raspberry Pi GPIO 22 and PIR-OUT ?

    I am wondering why none of those tutorials are telling this. Some of my PIRs should work with 3.3V-OUT ?

    I am afraid there is a mistake I am making, but I don´t know which one and how to solve it. That´s the last part missing for my mirror, the important part.

    posted in Troubleshooting
    B
    blebbens
    Apr 16, 2018, 6:39 PM
  • RE: MMM-PIR-Sensor problems

    Thanks for helping…

    Without the PIR-Data-Pin connected to GPIO 22, the script does not show the message “motion detected”. It is counting from 180 to 0. Think this means the GPIO is LOW then.

    I think all I need now is what to do next. Broken PIR ? Wrong PIR-settings (Potentio meters, Jumper) ?

    posted in Troubleshooting
    B
    blebbens
    Apr 16, 2018, 4:58 PM
  • RE: MMM-PIR-Sensor problems

    Maybe you are right. I tried using MagicMirror-Display-Controller and started the pir.py-python script… the output: “Motion detected… setting timer to 180 seconds”.

    Okay, I am a bit afraid, because it is a bit difficult to take a look at the Raspberry Pi - I have to change the place after all is working and final.

    Let´s say, the PIN is telling HIGH (=motion detected) the whole time. What do I have to do then ? I am new to linux/RPi and learning day to day.

    I try without data connection PIR->RPi

    posted in Troubleshooting
    B
    blebbens
    Apr 16, 2018, 4:48 PM
  • RE: MMM-PIR-Sensor problems

    I am sure I am using GPIO22.

    I am wondering about the display, which is not switching off. It stays on all the time.

    Could it be a problem with the fact that the user “pi” is logged in ?

    Why does the display not switch off ?

    posted in Troubleshooting
    B
    blebbens
    Apr 16, 2018, 4:38 PM
  • RE: MMM-PIR-Sensor problems

    Now, screensaver is disabled… PIR not working. Display is switched on all the time…

    Perhaps, the problem could be the installed GPIO 2.25 instead of a newer version?
    After running npm install wiring-pi version 2.25 is still running.

    posted in Troubleshooting
    B
    blebbens
    Apr 16, 2018, 10:33 AM
  • RE: MMM-PIR-Sensor problems

    Normally the monitor is switching to standby if there is no signal from HDMI. I think the problem is the Raspberry. Found nothing to fix this.

    I am also wondering why magic mirror switches to no signal/blank screen after a couple of minutes. Is there a possibility to change this to a fix number of seconds? Seems as if the MMM-PIR-setting for switching on/off in seconds has no effect.

    posted in Troubleshooting
    B
    blebbens
    Apr 15, 2018, 5:14 PM
  • RE: MMM-PIR-Sensor problems

    Yes, it is connected to the 8th bottom from the left…

    Building the mirror, setting up the pi and magic mirror with modules - no problems… until trying to use the PIR…

    HDMI signal is sending still in blank screen… magic mirror does not turn back on… it still does not care about the PIR.

    at what position are your potentio meters and the jumper ?

    posted in Troubleshooting
    B
    blebbens
    Apr 15, 2018, 4:58 PM
  • RE: MMM-PIR-Sensor problems

    0_1523810785172_Bildschirmfoto 2018-04-15 um 18.45.37.png

    Okay, I changed to your config.js-settings.

    Not sure if I have connected the cables correctly RPIPIR.

    According to github, default is pin#22 (BCM).
    Since the beginning I connected the data cable to pin#22/GPIO 25.
    But, github is telling BCM22 should be default, so I now connected it to pin#15/BCM22.
    Tried to find correct pins using the scheme above.

    posted in Troubleshooting
    B
    blebbens
    Apr 15, 2018, 4:50 PM
  • RE: MMM-PIR-Sensor problems

    The only thing missing is the energy saving PIR-module…

    Okay, now my config.js PIR-part looks like this:

    {
    			module: 'MMM-PIR-Sensor',
    			config: {
    				//sensorPIN: 25,
    				powerSaving: true,
    				offDelay: 60,
    			}
    		},
    

    After booting magic mirror, the monitor is showing the working magic mirror. After a few minutes (not the 60 seconds as setup in MMM-PIR-Sensors config.js-part) the screen is showing a blank black screen with backlight on is full power consumption. Seems, as if the HDMI signal does not get the OFF order… A problem with a screen saver, perhaps ? Turned it off as shown in the official tutorial (running Raspbian Stretch).

    Running in front of the PIR does not turn the magic mirror screen on. Pressing a key on the wireless keyboard does turn it back on…

    So, there are 2 problems: why does the HDMI switches to “show blank screen” instead of “switch off” ? What kind of settings do I have to do with the PIR-Jumper and potent meters ?

    posted in Troubleshooting
    B
    blebbens
    Apr 15, 2018, 4:17 PM
  • 1
  • 2
  • 3
  • 4
  • 3 / 4
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