Unsolved Screen not shutting off
-
Hello everyone and team,
I am having a small issue where the screen barely shuts off even sometimes for a whole day, I am using the module EXT-PIR and the EXT-Screen, it used to work before and has several updates, I am now seeing this issue. One thing I’ve noticed when running npm run start with debug turn on for PIR is
[12.03.2024 20:07.47.348] [LOG] [PIR] [CORE] Sensor read value: 0
[12.03.2024 20:08.04.266] [LOG] [PIR] [CORE] Sensor read value: 1
[12.03.2024 20:08.04.267] [LOG] [PIR] [CORE] Detected presence (value: 1)
[12.03.2024 20:08.04.282] [LOG] [SCREEN] [LIB] Restart.This happens for no reason, nothing is around the sensor path to trigger a restart, already restarted and rebooted and it’s the same issue
-
Hi, can I have your Pir and Screen plug-ins config?
-
Sorry for taking a long time, are you looking for the config info in the config.js file?
-
sure, I’m waiting for it
-
{
86 module: ‘EXT-Screen’,
87 position: ‘top_center’,
88 animateIn: “flipInX”,
89 animateOut: “flipOutX”,
90 config: {
91 debug: true,
92 animateBody: true,
93 autoDimmer: true,
94 delay: 2 * 60 * 5000,
95 mode: 1,
96 xrandrForceRotation: “normal”,
97 wrandrForceRotation: “normal”,
98 displayCounter: true,
99 displayBar: true,
100 displayStyle: “Line”,
101 displayLastPresence: true,
102 lastPresenceTimeFormat: “LL H:mm”,
103 displayAvailability: false,
104 detectorSleeping: false,
105 gpio: 16,
106 clearGpioValue: true,
107 sound: false,
108 touchMode: 0,
109 /*ON: [
110 {
111 dayOfWeek: [0,1,2,3,4,5,6],
112 hour: 05,
113 minute: 30
114 }
115 ],
116 OFF: [
117 {
118 dayOfWeek: [0,1,2,3,4,5,6],
119 hour: 23,
120 minute: 30
121 }
122 ] */ -
This is for the PIR
{
141 module: ‘EXT-Pir’,
142 config: {
143 debug: true,
144 gpio: 16,
145 reverseValue: false //was true 3/7/2024
146 } -
So if i understand;
Your screen don’t turn off
[12.03.2024 20:07.47.348] [LOG] [PIR] [CORE] Sensor read value: 0 <--- Pir sensor is at rest (no detection) [12.03.2024 20:08.04.266] [LOG] [PIR] [CORE] Sensor read value: 1 <--- Pir sensor have detect a move [12.03.2024 20:08.04.267] [LOG] [PIR] [CORE] Detected presence (value: 1) <--- send information to EXT-Screen [12.03.2024 20:08.04.282] [LOG] [SCREEN] [LIB] Restart. <--- restart Timer
I have enough log for see what happen 10 min later (delay: 2 * 60 * 5000)
-
That is correct, there is no move anywhere in this location.
-
Are you able to turn off screen with
MMM-GoogleAssistant
website (tools) -
Sorry for the delay on this, I have more time now, I was able to confirm that the screen turned off successfully when sending out that command via the GA control panel.
-
So it’s means that your sensor make some fake positive and reset counter (counter will never end)
- see manual of your sensor and lower the sensitivity
- maybe your sensor near a heat source -> try moving it somewhere else
- sensor failed -> try to change it