@ines never use sudo
Read the statement by Michael Teeuw here.
Posts
-
RE: First module I'm developing, HTML won't render
Also don’t need the path for the CSS file. It will be searched first in the module folder
-
RE: Youtube autoplay
@ines in the update MM uses an upgraded version of the browser that implements a new restriction, user must interact with screen before play is allowed…
fix is to edit the MagicMirror/js/electron.js file and insert the line marked below (approx line 20)
// Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. let mainWindow; function createWindow() { app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required'); //< -------- added var electronOptionsDefaults = {then close and restart mm
i see there is a proposed fix in the next update (July)
-
RE: Monitor to sleep with RPI camera?
@bhepler and I have a module MMM-SleepWake that uses Motion to enable motion detection and different styles of sleep.
-
RE: MMM-Hotword modules problem
@yuyuyu from the modules/MMM-Hotword folder do
npm installThere are other steps listed in the module README file if there are install troubles
-
RE: MMM-MyCommute
@charp07 sorry, I get that command backwards
npm config:check -
RE: MMM-MyCommute
in the MagicMirror folder do
npm check:configfix 1st error, repeat
I think it is the comma after the only destinationcolor: '#82E5AA' }, //< ---loading …
is the default message many modules put up while getting their data
but it failed to get the dataso, this means there was an internal error in the module code
open the developers window
(either npm start dev, or use ctrl-shift-i when mirror is running)
select the console tab, and scroll up to locate any errors, usually red text -
RE: Issues with config file
@smalluk opps. sorry there is no space between those two
npm config:check -
RE: At my Wits end! Overscan/Underscan. Nothing changes
@JonoGee ok… don’t have a solution myself, just trying to help others get clear idea of problem… I searched and all the things I saw are the same as what you have done
-
RE: At my Wits end! Overscan/Underscan. Nothing changes
is this the pi desktop that is too big, or the MagicMirror UI ?