@jc230285 it seems you haven’t installed the node modules.
I don’t know about the install on windows but you probably need to do npm install in the MagicmIrror folder.
Read the statement by Michael Teeuw here.
Posts
-
RE: Black Screen Windows 10 first run
-
RE: Farbe der Symbole im Calender ändern
Bitte keine Doppelposts. Hab deinen Post in dem anderen Thread beantwortet.
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
@radioman hallo und willkommen! Willst du NUR die Symbole einfärben und bei jedem Kalender ein anderes Symbol?
Das würde evtl gehen indem du in der calendar configuration die OptionsymbolClassnutzt. Siehe hier
Gib mit dieser Option dem Symbol eine spezifische Klasse, z.b. “mein_cal” und “frau_ihr_cal”Dann in der custom.css kannst du folgendes machen:
.calendar .mein_cal { color: 'red' } .calendar .frau_ihr_cal { color: 'green' }…oder so.
Wenn du die ganze Zeile einfärben willst gehts einfach mit der
coloroption des Kalenders. -
RE: MMM-AVStock v2.0.0 (npm update required!)
@sdetweil Highcharts. Quite cool! They have a stockchart mode.
I learned today ther’s even an ‘organization chart’ mode. -
MMM-AVStock v2.0.0 (npm update required!)
Based on @Sean 's MMM-AVStock, which I have taken over from him, I present you now version 2.0.0
As the previous version it comes with a
tickerandtablemode, now it is possible to add a chart, or usechartmode to only show it.Additional features:
- TOUCH MODE. Touch on a ticker / row to show the chart
- VOLUMES: Daily Trading volumes.
- TECHNICALS: Include EMA’s or SMA’s. As many as you want.
- ZOOMABLE CHART. Yes. Zoomable.
Now go and BTFD!
![avstock-table[1].PNG](/assets/uploads/files/1598303871957-avstock-table-1.png)
![avstock-ticker[1].PNG](/assets/uploads/files/1598303901499-avstock-ticker-1.png)
There’s one downside at the moment:
The data sourced from Alphavantage gets only updated once at the and of a trading day. So you always have the last session’s values.
I’m working on a new source.Install
Find the module here and have fun:
[card:lavolp3/MMM-AVStock]
https://github.com/lavolp3/MMM-AVStockor install directly, cause you just can’t wait any longer!
cd ~/MagicMirror/modules git clone https://github.com/lavolp3/MMM-AVStock cd MMM-AVStock npm installUpdates:
NOTE! ALL CURRENT USERS OF THE MODULE NEED TO DO AN
npm installAFTER UPDATING!git pull npm install -
RE: Make Mirror brighter through custom.css
@Jagsi post your custom.css and we can try to help
-
RE: MMM-RottenTomatoes displays awaiting update
RT has obviously changed their content more towards TV shows since cinemas are not well visited at the moment.
-
RE: MMM-RottenTomatoes displays awaiting update
@sdetweil it’s old stuff as I see, has been explained before already
https://forum.magicmirror.builders/post/70295When I install @parnic’s fork,
- I have a node.js error since the NodeHelper has not been declared in this file.
This can be resolved by adding
var NodeHelper = require("node_helper")below the declaration of the rt-scraper.
- then see only the headers and no movies as has been described above.
That’s the problem with scrapers. Small cosmetic changes in the website break them.
- I have a node.js error since the NodeHelper has not been declared in this file.
-
RE: MMM-RottenTomatoes displays awaiting update
@tomyboy96 I would try to overwrite index.js with the one from the PR.
/* MIT License Copyright (c) 2017 Adam Moses Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ // parses the HTML body that the request operation received // uses the cheerio package to achieve this function parseRottenTomatoesHTML(fileData) { var cheerio = require("cheerio"); // prep the return object var allTomatoData = { openingThisWeek: [ ] , boxOffice: [ ] , comingSoon: [ ] }; var errorFlag = true; // sanity check that this is rotten tomatoes web html if (fileData.indexOf('Rotten Tomatoes') != -1) { // set error flag to false for passing sanity check errorFlag = false; // load the html into the cheerio doc var fullDoc = cheerio.load(fileData); // find the stub for movies opening this week var openingThisWeekDoc = cheerio.load(fullDoc('[id="opening-this-week"]').html()); // iterate through movies and strip useful parts, add each to return object openingThisWeekDoc('tr').each(function() { var movieDoc = cheerio.load(openingThisWeekDoc(this).html()); var movieMeter = movieDoc('.media-lists__td-rating').text().trim(); var movieTitle = movieDoc('.media-lists__td-title').text().trim(); var movieDate = movieDoc('.media-lists__td-date').text().trim(); var movieObj = { meter: movieMeter, title: movieTitle, date: movieDate }; allTomatoData.openingThisWeek[allTomatoData.openingThisWeek.length] = movieObj; }); // find the stub for top box office this week var topBoxOfficeDoc = cheerio.load(fullDoc('[id="top-box-office"]').html()); // iterate through movies and strip useful parts, add each to return object topBoxOfficeDoc('tr').each(function() { var movieDoc = cheerio.load(topBoxOfficeDoc(this).html()); var movieMeter = movieDoc('.media-lists__td-rating').text().trim(); var movieTitle = movieDoc('.media-lists__td-title').text().trim(); var movieGross = movieDoc('.media-lists__td-date').text().trim(); var movieObj = { meter: movieMeter, title: movieTitle, gross: movieGross }; allTomatoData.boxOffice[allTomatoData.boxOffice.length] = movieObj; }); // find the stub for top movies coming soon var topComingSoonDoc = cheerio.load(fullDoc('[id="coming-soon-theaters"]').html()); // iterate through movies and strip useful parts, add each to return object topComingSoonDoc('tr').each(function() { var movieDoc = cheerio.load(topComingSoonDoc(this).html()); var movieMeter = movieDoc('.media-lists__td-rating').text().trim(); var movieTitle = movieDoc('.media-lists__td-title').text().trim(); var movieDate = movieDoc('.media-lists__td-date').text().trim(); var movieObj = { meter: movieMeter, title: movieTitle, date: movieDate }; allTomatoData.comingSoon[allTomatoData.comingSoon.length] = movieObj; }); } // return error flag and the data return {error: errorFlag, data: allTomatoData}; } // makes a call to get the HTML from the rotten tomatoes front page // uses the request package to achieve this function requestRottenTomatoesHTML(callback) { var request = require("request"); request({ uri: "http://www.rottentomatoes.com" }, function(error, response, body) { if (!error) { var parsedData = parseRottenTomatoesHTML(body); if (parsedData.error == false) callback(false, parsedData.data); else callback(true, null); } else { callback(true, null); } }); } // the export function exposed via the package // uses a callback since the request call itself is asynchronous exports.getRottenTomatoesScraperData = function(callback) { requestRottenTomatoesHTML(callback); } // --- the end ---That would be the manual DIRTY way. But since the PR is from Feb and not merged yet it is getting more unlikely.
Don’t know if this has been tried already -
RE: MMM-RottenTomatoes displays awaiting update
-
RE: MMM-DarkSkyForecast - Yet ANOTHER weather module
@michaelsfp said in MMM-DarkSkyForecast - Yet ANOTHER weather module:
@j-e-f-f The best replacement for DarkSky that I’ve found is https://www.climacell.co/weather-api/ since its hyper-local. Free tier gets you 30,000 calls/month.
This one sounds really interesting! Thanks! Seems to have minutely data for Europe as well which is rare.
-
RE: No numbers in analog watch face
@nagaculun Odd.
I have the same error message andgit fetch origin git branch -ado not show the develop branch on remote
git checkout -b develop origin/developgives a fatal error:fatal: Cannot update paths and switch to branch 'develop' at the same time. Did you intend to checkout 'origin/develop' which can not be resolved as commit?Haven’t seen this before.
@sdetweil have not used your install script
-
RE: No numbers in analog watch face
@lavolp3
Changing the face (tried face-004 and face-005) does not solve the issue.
Links to svgs seem correct… -
RE: No numbers in analog watch face
@JoeFranz I have the same issue. Also trying ‘face-003’. Have not tried another one yet.
-
RE: [Update to V2.12.0] Husky installation fails on Raspberry Pi 3
@sdetweil Thanks for the good advice but this should not be the solution if more users have this problem.
MagicMirror should work on top of a basic raspbian setup, ideally scratch AND buster.
That’s what I wanted to highlight. -
RE: [Update to V2.12.0] Husky installation fails on Raspberry Pi 3
@sdetweil
I have done the latest git install with apt. But on stretch git v2.11.0 is the latest version.
https://packages.debian.org/stretch/gitSo for a lot of users husky will not be installed.
But don’t know if it is important. -
RE: [Update to V2.12.0] Husky installation fails on Raspberry Pi 3
I have Raspian Stretch installed.
Raspbian Buster seems to include git 2.20.0 -
[Update to V2.12.0] Husky installation fails on Raspberry Pi 3
My most recent version of Raspbian Linux
magicmirror 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
includes git v.2.11.0. But the installation of husky with the recent update to V.2.12.0 today asks for 2.13.0> husky@4.2.5 preuninstall /home/pi/MagicMirror/node_modules/husky > node husky uninstall husky > Uninstalling git hooks husky > Done > husky@4.2.5 install /home/pi/MagicMirror/node_modules/husky > node husky install husky > Setting up git hooks Husky requires Git >=2.13.0. Got v2.11.0. husky > Failed to install > husky@4.2.5 postinstall /home/pi/MagicMirror/node_modules/husky > opencollective-postinstall || exit 0 Thank you for using husky! If you rely on this package, please consider supporting our open collective: > https://opencollective.com/husky/donateAnyone else experienced the same issue?
-
RE: weatherforecast showing only two days.
@erik-voznak @heeroy
Have you updated?
Seems to be fixed in latest release from this morning
https://github.com/MichMich/MagicMirror/issues/2018