@sdetweil really? Because the pie seems otherwise fine. The issue seems very specific. If it were down to the SD card being unusable, I would expect the pie as a whole to have issues.
Read the statement by Michael Teeuw here.
Posts made by dr4ke616
-
RE: [Pi2] Magic Mirror Wont Startup
-
[Pi2] Magic Mirror Wont Startup
I’ve had Magic Mirror running for some time now without issues, until space limitations resulted in the app failing to start. After clearing space, updating system packages, and pulling the latest from master (currently at
3dbe8bf
), the Magic Mirror app is still failing to start.Here is a slimmed down config which i tested on my PC, which works as expected but does not work on my Pi.
var config = { port: 8080, language: "en", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "clock", position: "top_left" } ] };
The log output when running
npm run start
:> magicmirror@2.13.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-10-26 14:46:47.896] [LOG] Starting MagicMirror: v2.13.0 [2020-10-26 14:46:47.929] [LOG] Loading config ... [2020-10-26 14:46:47.951] [LOG] Loading module helpers ... [2020-10-26 14:46:47.960] [LOG] No helper found for module: alert. [2020-10-26 14:46:47.964] [LOG] No helper found for module: clock. [2020-10-26 14:46:47.966] [LOG] All module helpers loaded. [2020-10-26 14:46:48.502] [LOG] Starting server on port 8080 ... [2020-10-26 14:46:48.556] [LOG] Server started ... [2020-10-26 14:46:48.559] [LOG] Sockets connected & modules started ...
After the last log line above, the application just exists out and no browser is opened.
Interestingly, running in server only mode works and I can browse to the UI no problem. Is it possible it’s something odd with
electron
. The version used iselectron@6.0.12
Some other pieces of relevant info:
Version:
Raspberry Pi 2 Model B Rev 1.1
OS:
Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster
Be great to get some help on this, been digging down various rabbit holes few days now. Thanks.
-
RE: MMM-Voice-Control
The current design of this module is focused more on allowing other developers to create modules with voice recognition capabilities rather than it just “work out of the box” with all other modules running on your mirror.
-
RE: MMM-Voice-Control
So, it should (if all working ok) be the case that you add a command here. The first paramater references a language entry in the translations directory.
For example in commands.js we register the key
dublinbus_start
to a function that sends a notification. Then in your translations files you can add what to actually say (in what ever language), for example here.Then in your own module you override
notificationReceived
and check for the message sent from your command, as inDUBLINBUS_START
.I understand that this is probably overly complex way of doing this. I do believe this can be done in a better way.
-
RE: MMM-Voice-Control
Hey @Baltibu
Yeah, i haven’t done much work on actually integrating it with other modules yet. At the moment it just sends notification like messages to other modules, so other modules can then react to it.
There is probably a better more generic way to achieve this. So I am open to ideas.
-
RE: MMM-Voice-Control
Kinda hard to say. Could be any number of things.
One thing to note is that the module uses annyang package, which relies on Google Speech API. So perhaps the error you are seeing is related to rate limiting on Google’s Speech API. I believe it is something like 50 requests per day (when using for free).
-
RE: MMM-ModuleScheduler - Module Schedules and Notifications
@cowboysdude thanks for pointing that out. Thats a better idea I didn’t think of :)
-
RE: MMM-ModuleScheduler - Module Schedules and Notifications
+1, be really nice if it not only just dimmed the running modules, but actually shut off the monitor.
-
RE: MMM-ModuleScheduler - Module Schedules and Notifications
@strawberry-3.141 I didnt notice this - thanks for pointing it out. Thats exactly what i need!
-
RE: MMM-ModuleScheduler - Module Schedules and Notifications
Hey @ianperrin
Great module by the way. Im messing about with it, and works really well.
Do you think it would be possible to broadcast a notification to the module(s) that are being shown / hidden so they could react to it?
So for example if any given module were able to check for
SHOW_MODULE
,HIDE_MODULE
orDIM_MODULE
in thenotificationReceived
function so that the module could react to it and handle some specific behaviour?What do you think?