Version 4.0 Configuration Settings - Click here for Version 3

Enter Registration Code: Enter your registration code here to clear the demo box in the middle of the screen.

Sensor Hub Version: The Magic Mirror Sensor Hub version is written on the bottom of a purchased Magic Mirror Sensor Hub. If building the Sensor Hub, then leave the default. Default: Version 2.0

Arduino Version: Set to ATMega168 if your Arduino uses the ATMega168 chip or ATMega328 if your Arduino uses the ATMega328 chip.

Magic Mirror Mode: Sets the Magic Mirror in Princess, Pirate, Halloween, or Insult Mode. Hardware select mode will over-ride this setting.

Idle Videos: Set Idle Videos to OFF to run the Magic Mirror in stealth mode meaning that videos will play only when a sensor has been triggered. Use this if you need the element of surprise in your installation. Default: ON

Weather Zip Code: Enter your zip code to be used for the weather forecast.

Unit of Measure: Weather unit of measure, pick Fahrenheit or Celsius. Default: Fahrenheit

Forecast Cutoff: If the current time is before this time (military 24 hr), the current day forecast is used and if the current time is after, tomorrow's forecast is used. For the default of 11, if the current time is before 11:00 AM, the current day forecast will be used. If the current time is after 11:00 AM, then tomorrow's forecast will be used. Default: 11

Good Weather Threshold: The temperature that defines a sunny day which triggers the good weather video. With the default settings of 70, the good weather video will play if the temperature forecast is 70 or above. Default: 70

Enter Stock Symbol: Enter as many stock symbols as you like, you can also enter just one stock too.

Good Stock Threshold: Threshold for good stock performance. If set to 3, then the good stock video will play if the sum gain of your portfolio is 3 or greater.

Bad Stock Threshold: Threshold for bad stock performance. If set to -1, the bad stock video will play if the sum decrease of your portfolio is -1 or less. If it's in between this and the good stock threshold, then the ok stock video will play.

Picasa/Google ID : If using the Slide Show Feature (Digital Switch 4), enter your Picasa/Google username

Picasa Album ID : If using the Slide Show Feature (Digital Switch 4), select the desired Picasa Album. If you'd like just one picture to display, then select a Picasa album that has one picture.

Slide Duration : Amount of time in seconds before the next picture is displayed. Default: 6

Video Resolution: Set to low-res if you are running on older PC hardware and the video is sluggish. Default: High-Res

Orientation: Sets the Magic Mirror to Portrait or Landscape mode. Default: Portrait 90

Digital Switch 1- Door Switch: Turn ON if using the door switch. Plays a door video. How to wire the switches

Digital Switch 2 - Weather Forecast: Hook up any on/off switch (toggle or momentary), plays the weather forecast How to wire the switches

Digital Switch 3 - Stock Performance: Hook up any on/off switch (toggle or momentary), reports stock performance How to wire the switches

Digital Switch 4 - Picasa Slide Show: Turn On if using the Picasa Slide Show feature. This switch must be a toggle on/off switch (standard light switch, reed switch) and cannot be a momentary on/off switch. How to wire the switches

Digital Switch 5 - Test Switch Weather: Leave On if using the Magic Mirror Sensor Hub and Off if not.

X-10 Lighting Control: On turns on Magic Mirror X-10 lighting signals. Set to Off if you are not using the X-10 Lighting control feature.

Lights House Code: Controls X-10 Lights. Enter the house code of your X-10 device (A-P) Default: A

Lights Unit Code: Controls X-10 Lights. Enter the unit code of your X-10 device (1-16). The house code and unit code combination make up the X-10 address of your device (Ex. A2) Default: 2

X-10 ON/OFF House Code: Turns any X-10 device ON and OFF. Enter the house code of your X-10 device (1-16). The house code and unit code combination make up the X-10 address of your device (Ex. A4) Default: A

X-10 ON/OFF Unit Code: Turns any X-10 device ON and OFF. Enter the unit code of your X-10 device (1-16). The house code and unit code combination make up the X-10 address of your device (Ex. A4) Default: 4

Proximity Sensor: On turns on the Proximity Sensor. Set to Off if the proximity sensor is not hooked up. How to wire the switches

Proximity1 Lower Range: The lower distance range in roughly inches for the proximity sensor to trigger the first proximity video.

Proximity 1 Upper Range: The upper distance range in roughly inches for the proximity sensor to trigger the first proximity video.

Proximity 1 Time: How long the subject stands within the lower and upper distance limit before triggering, 100 is approx. 3 seconds. If 6 seconds is desired, then use 200. Default: 100

Proximity 2 Lower Range: The lower distance range in roughly inches for the proximity sensor to trigger the second proximity video.

Proximity 2 Upper Range: The upper distance range in roughly inches for the proximity sensor to trigger the second proximity video.

Proximity 2 Time: How long the subject stands within the lower and upper distance limit before triggering, 100 is approx. 3 seconds. If 6 seconds is desired, then use 200. Default: 100

Prox 2 Can Play Before Prox 1: If set to ON, either proximity video will play depending on which distance range was triggered. If set to OFF, the first proximity video must play before the second proximity video. Default: ON

Touch Sensor 1 - Weather: On turns on Touch Sensor 1. Set to Off if this input is not hooked up to a Touch Sensor. How to wire the switches

Touch Sensor 2 - Stock: On turns on Touch Sensor 2. Set to Off if this input is not hooked up to a Touch Sensor. How to wire the switches

Touch Sensor 3 - X10 ON/OFF: On turns on Touch Sensor 3. Set to Off if this input is not hooked up to a Touch Sensor. This will send an X-10 command to the X-10 ON/OFF address. How to wire the switches

Character Select Potentiometer: Yes enables mirror mode (princess, pirate, or haloween) to be selected on the fly via the potentiometer which will override the above mirror mode software setting. If set to no, then the mirror mode is selected via the above mirror mode software setting but cannot be changed on the fly. Note: This switch is pre-wired is you purchased the Magic Mirror Sensor Hub.

Magic Mirror Sensor Hub Port: The port number of the Magic Mirror Sensor Hub. PC users should enter 5332 for com2, 5333 for com3, 5334 for com4 and so on. The value will be fixed at 5333 for Linux and Mac users. IMPORTANT: YOU MUST ENTER THIS CORRECTLY OR THE MAGIC MIRROR WILL NOT FUNCTION

Startup Delay (seconds) : Delays program execution, only use if experiencing sensor timing issues on start-up. Default: 0

Verbose: Yes turns on verbose mode which shows the sensor readings, you'll use this during installation and sensor calibration. Once done, set to no for normal operation.

Stock Readout Text: Displays a numeric stock performance readout with the stock video. For example, if your stock portfolio was up +3.2 for the day, then 3.2 will display when the stock video plays. The text will be in green if the gain/loss was in the Good Stock Threshold range, white for little or no change, and red if within the Bad Stock Threshold range. Default: On

Weather Readout Text: Displays a brief text forecast while the weather video plays. Default: On

Weather Icon: Displays a weather icon corresponding to the weather forecast while the weather video plays. Default: On

Doorcam: If set to On and Switch 1 – Door Switch is also set to On, an IP camera video feed will appear along with the door switch video.

IP Camera URL or IP address: Enter the web address of the desired IP camera feed. IMPORTANT: Do not enter “http://” in front of the address.

Port: The network port of the IP camera feed.

IP Camera Make: The manufacturer of the IP camera. The webcam feed varies by manufacturer so you must set this correctly.

Video Stream Path: You will only need to enter this if the IP Camera Make is set to “Other”

IP Camera Username: Only if the IP Camera requires a username and password to view.

IP Camera Password: Only if the IP Camera requires a username and password to view.

Breathalyzer Calibration Settings

Baseline Idle Value: After hooking up the Breathalyzer, set the configuration program and run the Magic Mirror in verbose mode. While in verbose mode, look for the Alcohol Sensor box and then enter the idle/steady state value when no alcohol is near the Breathalyzer. The value you enter does not need to be exact. When the Breathalyzer run each time, it will obtain a new baseline value (when no alcohol is present) dynamically. Default: 100

Reset Difference Allowance: When the Breathalyzer has detected alcohol, it can take awhile (more than 5 minutes in some cases) for the alcohol sensor to reset back to the original Baseline Idle Value. To save time and because the Breathalyzer will obtain a new baseline value dynamically each time, it is not necessary that the alcohol sensor reset all the way back to the Baseline Idle Value. This setting determines how close the alcohol sensor readings needs to be before the next Breathalyzer reading can take place. For example, with the default Baseline Idle Value set to 100 and if the Reset Difference Allowance is set to 100, then the Breathalyzer will be ready for the next reading when the value is 200 or below. Default: 100

This text will appear while the Breahalyzer is resetting (has not reached the Reset Difference Allowance yet).

This text will appear when the Breathalyzer is within the Reset Difference Allowance and ready for the next reading.

Few Drinks Offset: Default: 100

Buzzed Offset: Default: 300

Flat Out Drunk Offset: Default: 600

Example:

The Idle Baseline Value is 100, the Reset Difference Allownace is 100, and the dynamic baseline reading before the user blows into the Breathalyzer is 200.

Few Drinks: Dynamic Alcohol Basline (200) + 100 = 300

Buzzed: Few Drinks Value (200) + 300 = 500

Flat Out Drunk: Buzzed Value (200) + 600 = 800

If the actual reading is between 300 and 500, the Few Drinks video will play

If the actual reading is between 500 and 800, the Buzzed video will play

If the actual reading is over 800, the Flat Out Drunk video will play

Once the actual reading has returned to 200 or less, the Breathalyzer will be reading for the next reading.

Countdown (Seconds): Amount of time in seconds for the subject to blow into the Breathalyzer. Default: 5

Sensor Hub to Arduino Pin Mapping :

Magic Mirror Sensor Hub Pin
Function
Arduino Pin
1
Proximity Sensor
A0
2
Touch 1
A5
3
Touch 2
A2
4
Touch 3
A3
5
Switch 1
D2
6
Switch 2
D3
7
Switch 3
D4
8
LED 1
D6
9
Switch 4
D7
Internal
Firecracker RTS
D8
10
LED 2
D9
11
LED 3
D10
12
LED 4
D11
Internal
Firecracker DTS
D12
13
Proximity LED
D13
14
External Potentiometer
A4
15
Switch 5 - Breathalyzer Trigger
D5
16
Alcohol Sensor
A1

 

 

Home | Hardware | Software | Contact Us Copyright © DIY Magic Mirror