I’ve done this very thing using a microwave radar sensor instead. Positioned it behind the glass and used the standard PIR module which works without any additional configuration (just need to tell it the correct GPIO pin as standard). It was a RCWL-0516 sensor and there’s loads on ebay.
Read the statement by Michael Teeuw here.
Best posts made by paul.calladine
-
RE: Camera / PIR behind mirror glass
-
RE: Volume Control
For anyone searching for this at a later date I managed to get it working using a sysvol npm. At the moment the module hides and shows based upon if the volume level has changed but I may trigger this through input from the rotary encoder itself.
Latest posts made by paul.calladine
-
RE: Camera / PIR behind mirror glass
I’ve done this very thing using a microwave radar sensor instead. Positioned it behind the glass and used the standard PIR module which works without any additional configuration (just need to tell it the correct GPIO pin as standard). It was a RCWL-0516 sensor and there’s loads on ebay.
-
RE: Weather Information switch
You could use the carousel module with 2 instances of the weather module for different regions in different pages. Just get the carousel module to ignore all other modules.
May be an easier way to do it but as far as I know that should work.
-
RE: Volume Control
For anyone searching for this at a later date I managed to get it working using a sysvol npm. At the moment the module hides and shows based upon if the volume level has changed but I may trigger this through input from the rotary encoder itself.
-
Volume Control
I’ve added a rotary encoder to the mirror frame to be able to control the system volume on my pi. This is working well based upon the instructions found here: https://gist.github.com/savetheclocktower/9b5f67c20f6c04e65ed88f2e594d43c1
What i’d ideally like to do is to create a volume level module that will show a graphic on screen showing if the volume is muted, louder or quieter when the encoder is turned or clicked for a few seconds then fade and disappear until it is changed again.
I’ve dabbled with coding in the past and im not afraid of giving it a go (i’ve created a very basic savings module for myself) but is someone able to tell me if this is possible and the best way to go about starting this?
I feel i’d be fine creating a module that would show when the encoder is turned and hide after a timeout period but i’m unsure how to get the change registered at system level for the change in volume the way the daemon does it above.
Any pointers would be great!
-
RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module
My mirror is just about finished, I have the MMM-PIRSensor working and MMM-Buttons working which both allow me to wake/sleep the monitor working fine.
However i’d like to use MMM-Buttons as a toggle switch to enable me to essentially enable or disable the PIR sensor module:
i.e.
Profile 1 - PIRSensor wakes and turns off the monitor as normal
Profile 2 - PIRSensor doesn’t do anything on motion being detected and the screen stays offI was thinking of modifying the code to do this but does anyone know if this module will allow me to achieve the results? Essentially having two profiles the same but profile 1 includes the PIRSensor module?
-
Two Instances in PM2
I’m sure there’s a really simple fix for this, it looks like somehow I’ve managed to get 2 instances of MagicMirror to start on boot up
┌─────────────┬──────┬────────┬───┬─────┬──────────┐ │ Name │ mode │ status │ ↺ │ cpu │ memory │ ├─────────────┼──────┼────────┼───┼─────┼──────────┤ │ MagicMirror │ fork │ online │ 0 │ 0% │ 2.3 MB │ │ mm │ fork │ online │ 0 │ 0% │ 2.3 MB │ └─────────────┴──────┴────────┴───┴─────┴──────────┘
Is there a simple way I can remove the mm process altogether? Or simply just disable it from booting up?
-
RE: [IDEA] Integrating Raspotify to MagicMirror
This is the lastfm one that i’ve used, others may work too i’m not sure.
https://forum.magicmirror.builders/topic/43/last-fm-music-scrobbler
-
RE: [IDEA] Integrating Raspotify to MagicMirror
There are a few posts I believe that have toyed with this idea. Doesn’t seem to have really taken off though. I do know a workaround is in place by scrobbling from Spotify to LastFM and using a LastFM module to display the current album artwork.
-
RE: Error: Module version mismatch. Expected 50, got 54
I had this and managed to correct it by following the steps listed here at the end of the readme. Worked for me but not sure if it’ll work for you so i’d recommend backing up first.
https://github.com/ryck/MMM-DHT-Sensor
cd MMM-DHT-Sensor npm install electron-rebuild ./node_modules/.bin/electron-rebuild
But substituting MMM-DHT-Sensor for your module above ‘MMM-PIR-Sensor’