MMM-PIR-Sensor - This module can monitor a PIR motion sensor and put your mirror to sleep.

  •        281

This an extension for the MagicMirror. It can monitor a PIR motion sensor and put your mirror to sleep if nobody uses it by turning off HDMI output or by turning off the mirror via a relay. This module broadcasts a USER_PRESENCE notification with the payload beeing true or false you can use it to pause or disable your module.


onoff : latest



Related Projects

MagicMirror - MagicMirror² is an open source modular smart mirror platform

  •    Javascript

MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant. MagicMirror² is built by the creator of the original MagicMirror with the incredible help of a growing community of contributors. Note that you will need to install the lastest full version of Raspbian, don't use the Lite version.

vive-diy-position-sensor - Code & schematics for position tracking sensor using HTC Vive's Lighthouse system and a Teensy board

  •    C++

Lighthouse position tracking system consists of:   – two stationary infrared-emitting base stations (we'll use existing HTC Vive setup),   – IR receiving sensor and processing module (this is what we'll create).The base stations are usually placed high in the room corners and "overlook" the room. Each station has an IR LED array and two rotating laser planes, horizontal and vertical. Each cycle, after LED array flash (sync pulse), laser planes sweep the room horizontally/vertically with constant rotation speed. This means that the time between the sync pulse and the laser plane "touching" sensor is proportional to horizontal/vertical angle from base station's center direction. Using this timing information, we can calculate 3d lines from each base station to sensor, the crossing of which yields 3d coordinates of our sensor (see calculation details). Great thing about this approach is that it doesn't depend on light intensity and can be made very precise with cheap hardware.

smart-mirror - The fairest of them all. A DIY voice controlled smart mirror with IoT integration.

  •    Javascript

A voice controlled life automation hub, most commonly powered by the Raspberry Pi. A live chat to get help and discuss mirror related issues: Usually there are a few folks hanging around in the lobby, but if there arent you are probably better off filing an issue.

homebridge-camera-ffmpeg - ffmpeg plugin for homebridge.

  •    Javascript

This is an optional feature that will automatically store every snapshot taken to your Google Drive account as a photo. This is very useful if you have motion sensor in the same room as the camera, as it will take a snapshot of whatever caused the motion sensor to trigger, and store the image on Google Drive and create a Picture Notification on your iOS device. The snapshots are stored in a folder called "Camera Pictures", and are named with camera name, date and time of the image.

Wireless Tag Manager


Wireless Tag Manager application is distributed with CAO Gadgets Wireless Smart Tag products to create/manage RFID tag list, beeping each tags, receive notification from each tags, receive motion sensor tag magnetic 3D vector readings, and writing to flash memory inside each tag.

react-native-sensors - A developer friendly approach for sensors in React Native

  •    Javascript

Do you want your project listed here? Just send a PR. This project is inspired by the react-native-sensor-manager and by the react-native-motion-manager. Both have similar solutions with a non-uniform interface and this project aims to unify both.

MirrorMirror - Mirror mirror on the wall, who's the most capable programmer of them all?

  •    ApacheConf

Mirror mirror on the wall, who's the most capable programmer of them all?

upm - UPM is a high level repository that provides software drivers for a wide variety of commonly used sensors and actuators

  •    C++

The UPM repository provides software drivers for a wide variety of commonly used sensors and actuators. These software drivers interact with the underlying hardware platform (or microcontroller), as well as with the attached sensors, through calls to MRAA APIs. Programmers can access the interfaces for each sensor by including the sensor’s corresponding header file and instantiating the associated sensor class. In the typical use case, a constructor initializes the sensor based on parameters that identify the sensor, the I/O protocol used and the pin location of the sensor.

draggable - The JavaScript Drag & Drop library your grandparents warned you about.

  •    Javascript

Get complete control over drag and drop behaviour with Draggable! Draggable abstracts native browser events into a comprehensive API to create a custom drag and drop experience. Draggable comes with additional modules: Sortable, Droppable, Swappable. Draggable itself does not perform any sorting behaviour while dragging, but does the heavy lifting, e.g. creates mirror, emits events, manages sensor events, makes elements draggable.The additional modules are built on top of Draggable and therefore provide a similar API interface, for more information read the documentation below.

Slave-in-the-Magic-Mirror - Open source implementation of AirPlay Mirroring. WIP.

  •    Python

In short: Apple has a thing that lets you show what's on your iPhone or iPad or Mac on your Apple TV. This lets you see it on your Linux or Mac computer or media center too, maybe. AirPlay Mirroring uses a funky mish-mash of standards wrapped in some DRM. Slave in the Magic Mirror packs the audio and video data into a standard media container and hands it to VLC. The DRM is handled by calling into the original Apple TV server binary using a pure-python ARM interpreter.

MagicMirror - The Sketch 3 Plugin for Perspective Transformation for Artboards

  •    Objective-C

Create Perspective Transformed Image in Sketch. Just like Smart Objects for Photoshop. Magic Mirror is a Sketch Plugin originally developed to add a critical feature thats missing in Sketch 3 - Perspective Transform Tool for Images.



Public Relation Screen using Motion Gesture to control application. Device Kinect is used for sensor body motion and use Microsoft Kinect SDK in Development.

Adafruit_Sensor - Common sensor library

  •    C++

Many small embedded systems exist to collect data from sensors, analyse the data, and either take an appropriate action or send that sensor data to another system for processing. One of the many challenges of embedded systems design is the fact that parts you used today may be out of production tomorrow, or system requirements may change and you may need to choose a different sensor down the road.

sensey - :zap: [Android Library] Play with sensor events & detect gestures in a breeze.

  •    Java

The library is built for simplicity and ease of use. It eliminates most boilerplate code for dealing with setting up sensor based event and gesture detection on Android. Starting with 1.0.1, Changes exist in the releases tab.

maltrail - Malicious traffic detection system

  •    Python

Maltrail is a malicious traffic detection system, utilizing publicly available (black)lists containing malicious and/or generally suspicious trails, along with static trails compiled from various AV reports and custom user defined lists, where trail can be anything from domain name (e.g. for Banjori malware), URL (e.g. for known malicious executable), IP address (e.g. for known attacker) or HTTP User-Agent header value (e.g. sqlmap for automatic SQL injection and database takeover tool). Also, it uses (optional) advanced heuristic mechanisms that can help in discovery of unknown threats (e.g. new malware). Maltrail is based on the Traffic -> Sensor <-> Server <-> Client architecture. Sensor(s) is a standalone component running on the monitoring node (e.g. Linux platform connected passively to the SPAN/mirroring port or transparently inline on a Linux bridge) or at the standalone machine (e.g. Honeypot) where it "monitors" the passing Traffic for blacklisted items/trails (i.e. domain names, URLs and/or IPs). In case of a positive match, it sends the event details to the (central) Server where they are being stored inside the appropriate logging directory (i.e. LOG_DIR described in the Configuration section). If Sensor is being run on the same machine as Server (default configuration), logs are stored directly into the local logging directory. Otherwise, they are being sent via UDP messages to the remote server (i.e. LOG_SERVER described in the Configuration section).

TinyEKF - Lightweight C/C++ Extended Kalman Filter with Python for prototyping

  •    C

TinyEKF is a simple C/C++ implementation of the Extended Kalman Filter that is general enough to use on different projects. In order to make it practical for running on Arduino, STM32, and other microcontrollers, it uses static (compile-time) memory allocation (no "new" or "malloc"). The examples folder includes an Arduino example of sensor fusion. The extras/python folder includes an abstract Python class that you can use to prototype your EKF before implementing it in C/C++. The extrasc/c folder contains a "pure C" example from the literature. Arduino users can simply install or drag the whole TinyEKF folder into their Arduino libraries folder. The examples/SensorFusion folder contains a little sensor fusion example using a BMP180 barometer and LM35 temperature sensor. I have run this example on an Arduino Uno and a Teensy 3.2. The BMP180, being an I^2C sensor, should be connected to pins 4 (SDA) and 5 (SCL) of the Uno, or pins 18 (SDA) and 19 (SCL) of the Teensy. For other Arduino boards, consult the documentation on the Wire library. The analog output from the LM35 should go to the A0 pin of your Arduino or Teensy.

SmartMirror - Motion controlled SmartMirror

  •    Javascript

Motion controlled SmartMirror showing time and temperature in background with the possibility of adding any widget to the menu. The camera is behind the two-way mirror to get the best possible look. The screen and camera are managed by a raspberry pi. The motion is managed by a server running in python with OpenCV, the server web is in NodeJS. The motion server can't recognize gestures on a new environment : lights, hand colors... affect the process, that's why by launching the file and tweak the HSV min/max values and others configs properly you can set it up for your home. To begin the tracking make an open palm like shown in the picture below.

tinyos-main - Main development repository for TinyOS (an OS for embedded, wireless devices).

  •    nesC

TinyOS is an open source, BSD-licensed operating system designed for low-power wireless devices, such as those used in sensor networks, ubiquitous computing, personal area networks, smart buildings, and smart meters. The main TinyOS trees have been converted to using the new Make3 build system. See the (Make Version 3) section below.

w1thermsensor - A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspbery Pi, Beagle Bone and other devices

  •    Python

Get the temperature from your w1 therm sensor in a single line of code! It's designed to be used with the Rasperry Pi hardware but also works on a Beagle Bone and others. Raspberry Pi: this package is available in Raspbian as python-w1thermsensor and python3-w1thermsensor.

HoneyBow Sensor

  •    C++

HoneyBow sensor, a malware collect tool based on the high interaction honeypot. Released under the name of, can be integrated with nepenthes sensor and the mwcollect alliance’s GOTEK architecture.