Comments (1)
I missed another issue. When launching manually, after the PIR-Sensor detects a motion, the output prompts: [sudo] password for pi:
endless. And the HDMI output is turning a few times off/on/off/on/off/on...
UPDATE: I got it. The commands exec("/opt/vc/bin/tvservice --preferred && sudo chvt 6 && sudo chvt 7", null)
needs sudo. I am not using pi
, who doesn't need to type sudo password. After disabling the require of password typing (Source), it works for me. I added a PR to mention it in the README and fix the useradd/usermod
UPDATE2: Even better is to chmod the binaries with sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt
. Thanks to @Joshua-Roe. Changed in PR #20.
from mmm-pir-sensor.
Related Issues (20)
- MM will not start after update 11/08/20 HOT 4
- MM locked after turn On HOT 6
- PIR not working on Magic Mirror HOT 5
- The detecting movement
- Can this module deactivate other running modules ?
- blue screen once a while HOT 1
- Request - Start skript by
- sensorPIN: 17 does not work HOT 1
- MagicMirror v2.15.0 breaks this module HOT 3
- MMM-PIR-Sensor activates automatically without inputs after 60 seconds
- bug in clearing timeout
- Works fine after 5-15 minuts
- Is there a way to avoid Dell monitor continue to display Power Saving message when PIR sensor turns off screen
- Execute 'sudo chmod u+s /opt/vc/bin/tvservice' does not work in Bullseye HOT 6
- Updating PIR for 2.17 error HOT 1
- Module only works once - doesn't go back to power saving HOT 2
- Works with 7" Raspberry Pi branded touch display
- Error: Could not detect abi for version 16.0.6 HOT 2
- postinstall issue [LIBERTY LIBERY LIBERTY] HOT 2
- install problems HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmm-pir-sensor.