Read the statement by Michael Teeuw here.
mm-pir-hide-all
-
@lolobyte thanks for your reply. I am actually not using a PIR sensor, but a microwave radar sensor as I wanted to put the sensor behind the glass. After looking into it, I found that I can install a resistor on the sensor to set delay to 30 seconds.
If I want more than 30 seconds, would placing a higher resistance resistor on it work?
-
@Nususu
Wow, nice.
Please send me all your information what you have because i want to build and test it by my mirror. -
Agreed, I think altering the delay on the sensor would fix the issue.
That being said, the microwave radar sensor sounds awesome! I’d like to see it in action as well.
-
Hi,
I’m struggling to get this working, i’m just receiving a black screen that doesn’t want to exit. I’ve tested the PIR sensor with a simple python script and it works fine, i’m just having trouble getting it to integrate with the mirror. Any advice?
-
Hi,
I did some changes because of the fading-effect.
All Modules fades now In and Out correctly.
Here is my repo: https://github.com/s72817/MMM-PIR-Fade-HIDEGreetings
-
@magicr how do I implement your repo to get the fade working? Do I add it in as another module or merge your files within the mm-pir-hide-all module? I can’t get it working
-
@coltography sorry for the late answer :/
You need the MMM-PIR-Sensor Module.
A config example:
{
module: “MMM-PIR-Sensor”,
config: {
sensorPin: 23,
powerSaving: false
}
},
{
module: “MMM-PIR-Fade-HIDE”,
position: “fullscreen_below”,
config: {
fadeInTime: 1000,
fadeOutTime: 3000,
}
},cheers Richard
-
@coltography the hide() api, takes an optional amount of time
search ‘hide’ in the development doc
https://github.com/MichMich/MagicMirror/tree/master/modulesthis.hide(speed, callback, options) -
@Nususu hi i have a microwave sensor too is the resistance mod needed? I do not want to reopen the mirror…
-
@magicR Wondering if you can help me…
I have implemented your module on my magic mirror with PIR sensor.The issue I seem to have with ALL hiding modules is it seems the PIR is initiating BOTH hiding AND unhiding.
I just can not seem to figure out what is going on. I can adjust the delay and sensitivity if I need to on the sensor but I dont think I need to mess with that at this moment…
I really just want the mirror to be on… say for 20 minutes… then if no trigger … hide.
Then turn on when triggered and stay on for 20 minutes… rinse and repeat.Can you help me ?
My config is below:
{ module: 'MMM-PIR-Sensor', config: { sensorPin: '22', powerSaving: false, } }, { module: "mm-pir-hide-all", position: "fullscreen_below", config: { fadeInTime: '1000', fadeOutTime: '300000', } },
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login