:~ $ ls -lh ~/MagicMirror/config
total 24K
-rw-r--r-- 1 drpi1 drpi1 7.7K May 21 18:00 configglobetest.js
-rw-r--r-- 1 drpi1 drpi1 8.3K May 22 16:42 config.js
-rw-r--r-- 1 drpi1 drpi1 1.6K May 21 02:28 config.js.sample
I
:~ $ ls -lh ~/MagicMirror/config
total 24K
-rw-r--r-- 1 drpi1 drpi1 7.7K May 21 18:00 configglobetest.js
-rw-r--r-- 1 drpi1 drpi1 8.3K May 22 16:42 config.js
-rw-r--r-- 1 drpi1 drpi1 1.6K May 21 02:28 config.js.sample
I
@bhepler said in Error Running Magic Mirror on Google Compute:
@d3r That’s really curious. Because I do not have that problem with node serveronly.
I used to run node serveronly fine too. Then last week my sd card starting showing signs that it would die soon. So, I flashed raspbian on a new sd card and started fresh.
~ $ ls -lh /home/
total 4.0K
drwxr-xr-x 32 drpi1 drpi1 4.0K May 22 14:59 drpi1
I have the default pi user deleted for security reasons. That’s the only thing I did different on this card.
I think the list is different because it fails to load the config in node serveronly so the modules that are supposed to run do not.
@bhepler Hey, thanks for your reply. I don’t see how changing the whitelist would do anything since the whitelist is located in the config and the config can’t be loaded in server only. I could be mistaken. I think my issue is a bit different. I should have expanded more. I’m on a pi3 and I’m running the code on the same pi.
This is when I run node server only:
:~/MagicMirror $ node serveronly
Starting MagicMirror: v2.1.1
Loading config ...
***WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Object # has no method 'accessSync'***
Loading module helpers ...
No helper found for module: updatenotification.
No helper found for module: helloworld.
All module helpers loaded.
Starting server on port 8080 ...
Starting server op port 8080 ...
Server started ...
Sockets connected & modules started ...
Ready to go! Please point your browser to: http://localhost:8080
and when I run npm start it does find the config which I find very strange.
~/MagicMirror $ npm start
> magicmirror@2.1.1 start /home/drpi1/MagicMirror
> sh run-start.sh
Starting MagicMirror: v2.1.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: calendar_monthly.
Initializing new module helper ...
Module helper loaded: calendar
Initializing new module helper ...
Module helper loaded: MMM-Wunderlist-Enhanced
Initializing new module helper ...
Module helper loaded: MMM-GarminActivities
No helper found for module: MMM-doomsDay.
Initializing new module helper ...
Module helper loaded: newsfeed
Initializing new module helper ...
Module helper loaded: MMM-WunderGround
Initializing new module helper ...
Module helper loaded: MMM-Strava
Initializing new module helper ...
Module helper loaded: MMM-Remote-Control
No helper found for module: MMM-iFrameReload.
No helper found for module: MMM-iFrame.
Initializing new module helper ...
Module helper loaded: MMM-Readfile
No helper found for module: MMM-Carousel.
All module helpers loaded.
Starting server on port 8080 ...
Starting server op port 8080 ...
Server started ...
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-Wunderlist-Enhanced
Connecting socket for: MMM-GarminActivities
Starting node helper for: MMM-GarminActivities
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-WunderGround
MMM-WunderGround helper started ...
Connecting socket for: MMM-Strava
Starting module: MMM-Strava
Connecting socket for: MMM-Remote-Control
Starting node helper for: MMM-Remote-Control
Connecting socket for: MMM-Readfile
Staring module helper: MMM-Readfile
Sockets connected & modules started ...
Launching application.
@davericher Hey thanks for the module.
I gave it a try but it only loads one of my list. I have 3 lists; Inbox,Personal and Recurring but only the ‘Personal’ list is showing on my Mirror.
I also have this error which might be related.
there was a Wunderlist problem 404
lists: ["Inbox","Personal","Recurring"],
Not sure what I am doing wrong.
Apologies for bumping an old topic but I have the same issue here. I flashed a new sd card this weekend and set up MM2 again. My MM2 works fine in normal mode(electron) but if I get this error when running only the server.
WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Object # has no method 'accessSync'
@onetwankyfive Were you able to get around this problem?
Now this is curious… It works great on my Windows 10 box (Chrome or Firefox). It works great on my Ubuntu 16.04 box at work (Chrome or Firefox). It works fantastic in Chrome or Firefox no matter the platform.
But when I run
npm startit doesn’t render anything to the screen. This is on an Ubuntu 16.04 microPC. Fascinating.
You are describing the same issue I have. I run my mirror in server mode and use chrome on raspbian to access it. For some reason, the module won’t render on my raspbian chrome build but the mirror site works fine from my laptop and phone(any browser). I’ll post some screenshots over the weekend.
@Eunanibus Can you make it smaller. I am using x-small on my main mirror, an 15.6 laptop screen rotated 90 degrees but it’s not rendering. The module does render when I visit the website from my phone or my laptop.
Aside from that, the module looks great.
@pauabaer To make the code executable:
Then you can add the line @reboot /home/pi/monitor.py to the crontab.
That looks really good. I log my sense hat readings to a file on my pi. Would it be possible to use your module to read that data?
@pauabaer It’s easier to just make your python code executable. Then you can just start it with cron with
@reboot /home/pi/monitor.py
Same issue here. I’ll try a new config later.
@dikkedimi said in Nothing showing but app is running:
updated today and now I have a similar issue. App is running but the screen is black. Ran apt-get update & apt-get upgrade in the hopes it would fix itself, but nope :)
pi@jarvis:~ $ pm2 log [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2017-04-02 18:19:27: PM2 PID file : /home/pi/.pm2/pm2.pid PM2 | 2017-04-02 18:19:27: RPC socket file : /home/pi/.pm2/rpc.sock PM2 | 2017-04-02 18:19:27: BUS socket file : /home/pi/.pm2/pub.sock PM2 | 2017-04-02 18:19:27: Application log path : /home/pi/.pm2/logs PM2 | 2017-04-02 18:19:27: Process dump file : /home/pi/.pm2/dump.pm2 PM2 | 2017-04-02 18:19:27: Concurrent actions : 2 PM2 | 2017-04-02 18:19:27: SIGTERM timeout : 1600 PM2 | 2017-04-02 18:19:27: =============================================================================== PM2 | 2017-04-02 18:19:27: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | 2017-04-02 18:19:27: App name:mm id:0 online PM2 | 2017-04-02 18:21:20: Stopping app:mm id:0 PM2 | 2017-04-02 18:21:20: App [mm] with id [0] and pid [1474], exited with code [0] via signal [SIGINT] PM2 | 2017-04-02 18:21:20: pid=1474 msg=process killed PM2 | 2017-04-02 18:26:49: Starting execution sequence in -fork mode- for app name:mm id:0 PM2 | 2017-04-02 18:26:49: App name:mm id:0 online /home/pi/.pm2/logs/mm-error-0.log last 15 lines: 0|mm | 0|mm | 0|mm | error: cannot open .git/FETCH_HEAD: Permission denied 0|mm | 0|mm | 0|mm | [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. 0|mm | #0 0x0000011cf88c 0|mm | #1 0x0000011bbc1a 0|mm | #2 0x000001e9a6b6 0|mm | 0|mm | [1665:0402/181857.627309:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. 0|mm | #0 0x0000011cf88c 0|mm | #1 0x0000011bbc1a 0|mm | #2 0x000001e9a6b6 0|mm | /home/pi/.pm2/logs/mm-out-0.log last 15 lines: 0|mm | Initializing new module helper ... 0|mm | Module helper loaded: calendar 0|mm | No helper found for module: currentweather. 0|mm | No helper found for module: airquality. 0|mm | No helper found for module: weatherforecast. 0|mm | No helper found for module: MMM-Hue. 0|mm | All module helpers loaded. 0|mm | Starting server on port 8666 ... 0|mm | Starting server op port 8666 ... 0|mm | Server started ... 0|mm | Connecting socket for: updatenotification 0|mm | Connecting socket for: calendar 0|mm | Starting node helper for: calendar 0|mm | Sockets connected & modules started ... 0|mm | Launching application. [STREAMING] Now streaming realtime logs for [all] processes pi@jarvis:~ $ tail -f /home/pi/.pm2/logs/mm-error-0.log [29012:0402/175739.310033:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. #0 0x0000011cf88c #1 0x0000011bbc1a #2 0x000001e9a6b6 [1665:0402/181857.627309:FATAL:bus.cc(1197)] D-Bus connection was disconnected. Aborting. #0 0x0000011cf88c #1 0x0000011bbc1a #2 0x000001e9a6b6
I have the same problem as you. I run the server on a pi zero and the the display is on a pi3 on the same network. It loads fine without any erros on the pi zero but when I go to the website I only get a black screen.
Hello, fellow torontionian. The github page has a module guide which would be a good place to start.
I’d be happy to test your module.
@dementia Looks good.
I like that monthly iframe calendar. I’ll check that website to see if I can get a weekly iframe calendar.
@Journeytojah I see what you’re saying.
The alexa devices sold by amazon are always listening but the code amazon have shared on their website is not. The alexa version available on their github is only activated on button press or can be voice ativated through snowboy or sensory. My understanding is that snowboy works offline and doesn’t require an internet connection. So yes, alexa could be spying on you but all alexa devices might not be. I am 90% sure mine isn’t but I could be wrong.
@lucallmon said in MMM-MirrorMirrorOnTheWall - Alexa voice control to hide/show modules and display text/images:
@joanaz Where are your guides? The
README.mdis the only file I have to go on from your github page.
There are two github repos. One is for the alexa skill and the other is for the module. You need to check both.
@bminer1 I installed the module on Sunday and the premier league games did get updated on mine.