@Populus which stations are you looking for in Kalmar?
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-ResRobot - Public transport information for Sweden
-
RE: MMM-ResRobot - Public transport information for Sweden
@Alvinger It’s all good, thank you!
It seems that you have to restart the rpi for every change you do.Is there a way to see how many changes you have to do?
For example 1. Bus departure station > 2. Transit station > 3. Final destination.
Would also be nice to see how many minutes it takes from A-B. -
RE: MMM-ResRobot - Public transport information for Sweden
Has anyone gotten ResRobot v2.1 to work?
If so how does your config look like?I’m trying {from: “740000260”, to: “740000120”}, the rest is default except apiKey of course.
-
RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
How did you install Chromium on rpi 0 ?
-
RE: MMM-PrayerTime
I will try get the log when I’m home, just a simple question, does this work with Midori browser, because that is the one I’m using on Rpi 1 model b…I entered my Rpi IP address in chrome from my computer and then I saw the module perfectly.
-
RE: MMM-PrayerTime
Alhamdulillah almost there, the module shows up in top_right with this conf, but it just says " Loading … " any known reason?
{ module: 'MMM-PrayerTime', position: 'top_right', config: { apiVersion: '1.0', lat: 55.841727, lon: 13.303381, timezone: "Europe/Stockholm", method: 3, playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'], notDisplayed: ['midnight', 'sunset'], useUpdateInterval: true, updateInterval: 86400 * 1000, animationSpeed: 2.5 * 1000, language: 'en', showAdzanAlert: true, alertTimer: 15000 } }, -
RE: MMM-PrayerTime
{ module: 'MMM-PrayerTime', position: 'top_right', config: { apiVersion: '1.0', lat: 55.841727, lon: 13.303381, timezone: 'Europe/Stockholm', method: 3, playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'], notDisplayed: ['midnight', 'sunset'], useUpdateInterval: true, updateInterval: 86400 * 1000, animationSpeed: 2.5 * 1000, language: config.language, showAdzanAlert: true, alertTimer: 15000 } },Salam, changed it but still not working :( lon/lat: is ok? how about language: ?
Actually this is my first module I’m trying to get working, pretty new to MM2 so maybe I need to change somewhere else too.The module is under here;
pi@raspberrypi:~/MagicMirror/modules $ ls
default MMM-PrayerTime node_modules README.mdpi@raspberrypi:~/MagicMirror/modules/MMM-PrayerTime $ ls
LICENSE MMM-PrayerTime.css MMM-PrayerTime.js node_helper.js README.md res screenshot2.jpg screenshot-alert.png screenshot.png translations -
RE: MMM-PrayerTime
I am having trouble with my module…
{ module: 'MMM-PrayerTime', position: 'bottom_right', config: { apiVersion: '1.0', lat: 55.841727, lon: 13.303381, timezone: Europe/Stockholm, method: 3, playAdzan: ['fajr', 'dhuhr', 'asr', 'maghrib', 'isha'], notDisplayed: ['midnight', 'sunset'], useUpdateInterval: true, updateInterval: 86400 * 1000, animationSpeed: 2.5 * 1000, language: config.language, showAdzanAlert: true, alertTimer: 15000 } },can you see anything wrong?
-
RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
Any clue on what is trying to start and not functioning alright here?
Starting MagicMirror: v2.1.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... No helper found for module: clock. No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Ready to go! Please point your browser to: http://localhost:8080 Whoops! There was an uncaught exception... { [Error: listen EADDRINUSE :::8080] code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '::', port: 8080 } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues (EE) Fatal server error: (EE) Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 7 requests (7 known processed) with 0 events remaining. -
RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
@delusional112
Here is an image, it has a couple of errors that needs fixing but the magicmirror starts at least.
If you have any solutions please keep us informed…this image is made by Sebtota.
https://mega.nz/#!XlIU3QjI!QSdvAE3yXp1oMsdRGNte6lt4SncgvfozSDU7xhxtbbMHere is the topic I found the image at.
https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero/85?page=9 -
RE: How to apply changes on the MM other than reboot? ftp?
@Mykle1
Thanks again for trying, I will look it up tomorrow and try before reinstall. I think it is best to get a clean installation after everything I’ve tested now, start.sh might even be wrong at this moment. All I get when I reboot is localhost:8080 error something…This is what I got after those commands though, npm start gives me electron error, I read somewhere before about rpi zero/1 can´t handle electron.js somehow I think.
pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 nohup npm start &
[1] 890
pi@raspberrypi:~/MagicMirror $ nohup: ignoring input and appending output to ‘nohup.out’
^C
[1]+ Exit 1 DISPLAY=:0 nohup npm start
pi@raspberrypi:~/MagicMirror $ ^C
pi@raspberrypi:~/MagicMirror $
pi@raspberrypi:~/MagicMirror $
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.1.0 start /home/pi/MagicMirror
electron js/electron.js/home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
npm ERR! Linux 4.4.34+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.1.0 start:electron js/electron.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.1.0 start script ‘electron js/electron.js’.
npm ERR! This is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron js/electron.js
npm ERR! You can get their info via:
npm ERR! npm owner ls magicmirror
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log -
RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
@bhepler
I can’t seem to start MM with npm start, tried through SSH and directly on rpi with keyboard.pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 nohup npm start &
[1] 890
pi@raspberrypi:~/MagicMirror $ nohup: ignoring input and appending output to ‘nohup.out’
^C
[1]+ Exit 1 DISPLAY=:0 nohup npm startpi@raspberrypi:~/MagicMirror $
pi@raspberrypi:~/MagicMirror $ npm startmagicmirror@2.1.0 start /home/pi/MagicMirror
electron js/electron.js/home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
npm ERR! Linux 4.4.34+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start”
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.1.0 start:electron js/electron.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.1.0 start script ‘electron js/electron.js’.
npm ERR! This is most likely a problem with the magicmirror package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron js/electron.js
npm ERR! You can get their info via:
npm ERR! npm owner ls magicmirror
npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log -
RE: How to apply changes on the MM other than reboot? ftp?
@Mykle1
Yes Rpi zero and 1 only supports server only at this moment. What I’ve figured out so far and no I’m using Tera Term (almost like PuTTY) accessing it with SSH. But I connected my mouse and keyboard to find the mouse cursor, so I saw the X button on the Midori browser and closed it. -
RE: How I got my Magic Mirror working on a Raspberry Pi 0 (zero)
What does npm start do in /MagicMirror
-
RE: How to apply changes on the MM other than reboot? ftp?
@Mykle1
Ok thank you! I get electron.js failed at MM start script when using npm start.
I will try reinstalling the MM instead tomorrow! -
RE: How to apply changes on the MM other than reboot? ftp?
@Mykle1
I followed this guide https://forum.magicmirror.builders/topic/1183/how-i-got-my-magic-mirror-working-on-a-raspberry-pi-0-zero/8?page=1 everything went pretty well mostly…but I still haven’t figured out how to quit and relaunch the MM. -
How to apply changes on the MM other than reboot? ftp?
Is it possible to install ftp on the raspberry to access and edit the config files etc easier on your computer, or you’re stuck with making all the changes through ssh.
After changes how do you apply the settings, what I’ve done so far is reboot the Rpi :(
Using Raspberry Pi 1 Model B. -
RE: How to MANUALLY install MM on your Pi. For absolute beginners.
@Mykle1
The MM autostarts when booting up the Pi, what’s the command you use to apply/run the config.js right after you save it? -
RE: How to MANUALLY install MM on your Pi. For absolute beginners.
How do you apply after each module you try out? Is there a way or do you have to reboot every time?