two way to do ths
- pourches Driver Controller Board Kit
- try find old pc screen which you will be able push in to drive for your screen. iPad first gen use samsung screens.
two way to do ths
My little Clock story.
One day come across a youtube movie about the magicmirror projects. I thought I’ll give shot, starting to thinking how to start, what I will need to build my own miagicmirror and also cost of project.
Then came the time for little digging in google which took me to the magicmirror.builder forum and other great sites, different sources of information and very helpfully members.
That then took me to the Michael Teeuw’s github page. Very cool fella with other cool projects.
So lets get to project
Hardware.
I’ve been given a broken Apple iPad first get, which fixed last year. But I’m this tablet is to old to be somewhat useful device. So tablet ended up in the bottom of a drawer in the cupboard for quite some time. I wasn’t too sure what to do with it. I thought it will perfect for my little clock project.
First step will be to order two way mirror glass about 11 inch size for £20, with out magic glass we can’t talk about magicmirror. When I picked up the glass I took it straight to the frame shop. I ordered a picture frame for about £25, deep enough so it would accommodate 6mm glass, iPad screen, RaspberryPi board and a step down power module which can be found on ebay for a little as £2 to £5. Simple reason for adding the step down power module is the Raspberry Pi and iPad screen work on two different power supplies, different voltages and also different amperage. RaspberryPi 3 uses 5v 2.5A whereas the iPad screen needs only 3.3 volts in order to power on, but the lcd board normally takes about 6v to 12volts. So either way I will need to power both devices on one power pack (just to make it simple and easy).
I also purchased a RaspberryPi Camera and motion detector from ModMyPi.
Then I ordered power pack from ebay for about £5, which should handle RaspberryPi 3 and iPad screen, necessary voltage and amperage
My raspberryPi uses micro sd 32gb which is way more than what is needed for this project.
I followed installation steps to install magicmirror on to my clock and then start installing modules.
Modules.
Default magicmirror come pre install with some modules like: alert, calendar, clock, compliments, currentwether, helloworld, and few others.
I had some fun time playing around with this. But that wasn’t enough to call my clock a smart clock.
So I start adding other modules, some successfully and then some I couldn’t get to work. Then came the realy fun time to make these modules work.
The project isn’t completely finished yet but I can show you guys how far I got to now.

will do, later on this afternoone. with more pic.
Thanks
My little mirror 11 inch :-))

module: DailyXKCD, alert, clock, calendar_monthly, weather forecast, alexapi, alarm clock, iframe, traffic, and some ather not showing due restricted size of old apple iPad first gen
Thanks
already resolved the problem, replace “&” with “?” in the url the video.
Thanks
hello
I also heve problem with iframer. This is what put in my config. but can’t make auto play with adding -->&autoplay=1
{
module: 'iFrame',
position: 'bottom_left', // This can be any of the regions.
config: {
// See 'Configuration options' for more information.
url: src="https://www.youtube.com/embed/I7hV-5GHWhc",
width: '360px', // Optional. Default: 100%
height: '360px', //Optional. Default: 100px
}
},
This is anything else what Should be installed in order to show up AleaxaPi microphone icon ?
I got this already
platform:
# Name of your platform, e.g. raspberrypi, orangepi, desktop
device: "magicmirror"
Microphone Icon not showing up
I Installed MMM-AlexaPi in to modules, paste this in to config.js. But mic icon not showing
modules: [
{
module: 'MMM-AlexaPi',
position: 'lower_third',
config: {
// The config property is optional.
// If no config is set, defualt values are used
// See 'Configuration options' for more information.
}
}
]
@yawns said in Pm2 dont start my scripts on startup:
pm2 logs mm --lines 50
/home/pi/.pm2/logs/mm-error-0.log last 50 lines:
0|mm | at Module.load (module.js:473:32)
0|mm | at tryModuleLoad (module.js:432:12)
0|mm | at Function.Module._load (module.js:424:3)
0|mm | at Module.require (module.js:483:17)
0|mm | at require (internal/module.js:20:19)
0|mm | at Object. (/home/pi/MagicMirror/modules/magic-mirror-voice/node_modules/java/lib/nodeJavaBridge.js:21:16)
0|mm | at Module._compile (module.js:556:32)
0|mm | at Object.Module._extensions…js (module.js:565:10)
0|mm | at Module.load (module.js:473:32)
0|mm | at tryModuleLoad (module.js:432:12)
0|mm | at Function.Module._load (module.js:424:3)
0|mm | at Module.require (module.js:483:17)
0|mm | ERROR! Could not find main module js file.
0|mm | ERROR! Could not find main module js file.
0|mm | Error: Module version mismatch. Expected 50, got 48.
0|mm | at Error (native)
0|mm | at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
0|mm | at Object.Module._extensions…node (module.js:583:18)
0|mm | at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
0|mm | at Module.load (module.js:473:32)
0|mm | at tryModuleLoad (module.js:432:12)
0|mm | at Function.Module._load (module.js:424:3)
0|mm | at Module.require (module.js:483:17)
0|mm | at require (internal/module.js:20:19)
0|mm | at Object. (/home/pi/MagicMirror/modules/magic-mirror-voice/node_modules/java/lib/nodeJavaBridge.js:21:16)
0|mm | at Module._compile (module.js:556:32)
0|mm | at Object.Module._extensions…js (module.js:565:10)
0|mm | at Module.load (module.js:473:32)
0|mm | at tryModuleLoad (module.js:432:12)
0|mm | at Function.Module._load (module.js:424:3)
0|mm | at Module.require (module.js:483:17)
0|mm | ERROR! Could not find main module js file.
0|mm | ERROR! Could not find main module js file.
0|mm | Error: Module version mismatch. Expected 50, got 48.
0|mm | at Error (native)
0|mm | at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
0|mm | at Object.Module._extensions…node (module.js:583:18)
0|mm | at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
0|mm | at Module.load (module.js:473:32)
0|mm | at tryModuleLoad (module.js:432:12)
0|mm | at Function.Module._load (module.js:424:3)
0|mm | at Module.require (module.js:483:17)
0|mm | at require (internal/module.js:20:19)
0|mm | at Object. (/home/pi/MagicMirror/modules/magic-mirror-voice/node_modules/java/lib/nodeJavaBridge.js:21:16)
0|mm | at Module._compile (module.js:556:32)
0|mm | at Object.Module._extensions…js (module.js:565:10)
0|mm | at Module.load (module.js:473:32)
0|mm | at tryModuleLoad (module.js:432:12)
0|mm | at Function.Module._load (module.js:424:3)
0|mm | at Module.require (module.js:483:17)
[STREAMING] Now streaming realtime logs for [mm] process
This is my log pm2
2017-03-03 17:07:49: Starting execution sequence in -fork mode- for app name:mm id:0
2017-03-03 17:07:49: App name:mm id:0 online
2017-03-04 14:31:00: Stopping app:mm id:0
2017-03-04 14:31:01: App [mm] with id [0] and pid [1239], exited with code [0] via signal [SIGINT]
2017-03-04 14:31:01: pid=1239 msg=process killed
2017-03-04 14:31:01: Starting execution sequence in -fork mode- for app name:mm id:0
2017-03-04 14:31:01: App name:mm id:0 online
2017-03-04 14:32:40: Stopping app:mm id:0
2017-03-04 14:32:40: App [mm] with id [0] and pid [32472], exited with code [0] via signal [SIGINT]
2017-03-04 14:32:40: pid=32472 msg=process killed
2017-03-04 14:32:40: Starting execution sequence in -fork mode- for app name:mm id:0
2017-03-04 14:32:40: App name:mm id:0 online
2017-03-04 14:34:13: Stopping app:mm id:0
2017-03-04 14:34:14: App [mm] with id [0] and pid [32720], exited with code [0] via signal [SIGINT]
2017-03-04 14:34:14: pid=32720 msg=process killed
2017-03-04 14:34:14: Starting execution sequence in -fork mode- for app name:mm id:0
2017-03-04 14:34:14: App name:mm id:0 online
2017-03-06 14:49:55: ===============================================================================
2017-03-06 14:49:55: — New PM2 Daemon started ----------------------------------------------------
2017-03-06 14:49:55: Time : Mon Mar 06 2017 14:49:55 GMT+0000 (UTC)
2017-03-06 14:49:55: PM2 version : 2.4.2
2017-03-06 14:49:55: Node.js version : 6.10.0
2017-03-06 14:49:55: Current arch : arm
2017-03-06 14:49:55: PM2 home : /home/pi/.pm2
2017-03-06 14:49:55: PM2 PID file : /home/pi/.pm2/pm2.pid
2017-03-06 14:49:55: RPC socket file : /home/pi/.pm2/rpc.sock
2017-03-06 14:49:55: BUS socket file : /home/pi/.pm2/pub.sock
2017-03-06 14:49:55: Application log path : /home/pi/.pm2/logs
2017-03-06 14:49:55: Process dump file : /home/pi/.pm2/dump.pm2
2017-03-06 14:49:55: Concurrent actions : 2
2017-03-06 14:49:55: SIGTERM timeout : 1600
2017-03-06 14:49:55: ===============================================================================
2017-03-06 14:49:56: Starting execution sequence in -fork mode- for app name:mm id:0
2017-03-06 14:49:56: App name:mm id:0 online
2017-03-06 15:07:51: Stopping app:mm id:0
2017-03-06 15:07:51: App [mm] with id [0] and pid [1137], exited with code [0] via signal [SIGINT]
2017-03-06 15:07:51: pid=1137 msg=process killed
2017-03-06 15:07:51: Starting execution sequence in -fork mode- for app name:mm id:0
2017-03-06 15:07:51: App name:mm id:0 online