4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Magic Mirror with Pir Sensor

Easy Install walk through.

bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
pm2 startup
cd MagicMirror/modules
git clone https://github.com/paviro/MMM-PIR-Sensor.git
cd MMM-PIR-Sensor
npm install
sudo usermod -a -G gpio pi
sudo chmod u+s /opt/vc/bin/tvservice && sudo chmod u+s /bin/chvt
sudo nano MagicMirror/config/config.js
add
{
module: 'MMM-PIR-Sensor',
config: {
sensorPIN: "23", // See 'Configuration options' for more information. depens on your gpio pin
powerSaving: "true",
powerSavingDelay: "15"
}
},

sudo nano /boot/config.txt
enter display_rotate=3
sudo apt-get install unclutter
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
addline @unclutter -display :0 -idle 3 -root -noevents

0 upvotes $0.00

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: