Read the statement by Michael Teeuw here.
PIR Sensor doesnt detect movement
-
Hey guys,
I am currently working on my Magic Mirror and want to add an PIR Sensor to it.
I use the MMM-PIRModule to turn the monitor off and on.When I run the program by
npm run start
the mirror starts but the minotor instantly turns off and never on again. I dont`t know if the sensor is broken or if I just configured something wrong.The config looks like this:
{ module: 'MMM-PIR-Sensor', config: { sensorPIN: 14, powerSaving: true, offDelay: 30000, } }
If you need more information tell me.
-
@1BlauNitrox try pin 22 and use this configuration.
{ module: 'MMM-PIR-Sensor', config: { sensorPin: 22, powerSaving: true, powerSavingDelay: 30, } },
-
@tanvir586 Yeah, I worked. Thank you.
But there is one issue. When the monitor turns off, there is a blue screen for about 5 seconds…
How can I fix this? -
@1BlauNitrox I don’t think you can fix it. Looks like it’s monitor settings. After 30 seconds raspberry cut the hdmi power then your monitor should go to sleep straight away. But it’s delaying 5 ses. Try the monitor settings if you can find a option that goes to sleep straight away.
-
@tanvir586 my monitors (multiple brands) put up the no input panel for 15 minutes (the energystar spec defined timeout)
not able to change it… -
@tanvir586 I think every monitor has the same behaviour. When you cut the hdmi signal there will be a blue screen “No input signal”.
-
@1BlauNitrox I used AOC monitor and it doesn’t do it. After hdmi power cut it shows no signal and go to sleep straight away. No blue screen.
-
@tanvir586 lucky… pre-energystar
-
@tanvir586 can you send me a link to your monitor?
-
@1BlauNitrox it’s 28 inch lcd monitor. Few years old. Don’t know the model