@wotohr Can you please give me some solution, I actually require the stock module. If anyone can give me google finance url for json data, then I shall be very much thankful
Read the statement by Michael Teeuw here.
Posts
-
RE: Stock Module Problem
-
RE: Except a module in getModules()
@strawberry-3.141 Well your code didn’t hide any of modules
-
RE: Except a module in getModules()
@strawberry-3.141 how to iterate over the modules array ?
I want to show/hide all modules except the “helloworld”. -
RE: Stock Module Problem
@wotohr The modules uses
http://finance.google.com/finance/info?client=ig&q=
to get the json data of stock, where as google has changed the url and now the data is not able to be fetched. That’s the main reason, if you can find any other way to get the stock data in json format then we can run it again -
RE: Except a module in getModules()
socketNotificationReceived: function(notification, payload) { var i,modules = MM.getModules(); if (notification === "BUTTON_PRESSED"){ this.sendNotification(notification, payload); for(i=0; imodules.length; i+=1){ if(modules[i].hidden == true){ modules[i].show(0); } else if(modules[i].hidden == false) { modules[i].hide(0); } } }I want to show/hide all the modules except the **hello world ** module. Please help me out with that.
Note: I was unable to write less than sign in the for loop while writing this reply, I think its a bug, in this forum, whenever I write less than, all the text after it is is ignored.
-
RE: Except a module in getModules()
I have a button module, which throws notification when a button is pressed. What I want is, it blacks out the whole screen except “Hello World”. So I will be using
**var i,modules = MM.getModule();
for(i=0;i -
Except a module in getModules()
var i,modules = MM.getModules().exceptModule(helloworld);
The above code throws error, while the below doesn’t work
var i,modules = MM.getModules().exceptModule(‘helloworld’); -
RE: Push Notification
@j.e.f.f Thanx for the reply. Well I need to show up my phone’s notification on my magic mirror. Just like the above modules do. I feel its cool to have a phone notification connected to my mirror, so I do not need to look up my phone.
Is there any other way to achieve it ? -
Push Notification
I installed Push Notification Modules, but it never shows up any notification. I tried posting issue on github, but the author didn’t respond.
-
Stock Module Problem
I have installed this stock price module
https://github.com/alexyak/stocks
It worked for me earlier but now it doesn’t work anymore. I can’t find any specific reason. Please help me out. -
Parsing Notifications/Data to Modules
I have some custom python scripts which run under another project on my raspberry pi. Is it possible that a script running outside MagicMirror folder to Parse Notifications or Some data to Modules running in MagicMirror? If not then, what is another approach to Parse Notification or data into a Module from an external script?
-
Error installing MagicMirror
I got following warnings during installation
npm WARN stylelint-config-standard@17.0.0 requires a peer of stylelint @^8.0.0 but none was installed
npm WARN grunt-stylelint@0.9.0 requires a peer of stylelint @^8.0.0 but none was installed
npm WARN stylelint-config-recommended@1.0.0 requires a peer of stylelint @^8.0.0 but none was installedUnmet peer dependency stylelint@^8.0.0
UNMET peer dependency stylelint@7.13.0npm WARN prefer global coffee-script@1.10.0 should be installed with -g
npm WARN prefer global jsonlint@1.6.2 should be installed with -g
npm WARN prefer global colorguard@1.2.0 should be installed with -g -
Can't install nodejs with npm
Here I’m getting errors while installing Magic Mirror. There is dependencies conflict between nodejs and npm. I also tried sudo apt-get install nodejs npm. But still couldn’t get the results!
(https://drive.google.com/file/d/0B-VDwmijH28wZWpjM0Y4S2NKRVk/view?usp=sharing
https://drive.google.com/file/d/0B-VDwmijH28wa2JNSFlNenRmczA/view?usp=sharing) -
RE: Magic Mirror on Jessie Lite
@tosti007 well there are problems with nodejs and npm. Please help me out with it. I did run
sudo apt-get install nodejs npm.And there is error of dependencies conflict.
-
RE: Magic Mirror on Jessie Lite
I’m getting error while downloading magic mirror, the images of eroor is in below links
(https://drive.google.com/file/d/0B-VDwmijH28wZWpjM0Y4S2NKRVk/view?usp=sharing
https://drive.google.com/file/d/0B-VDwmijH28wa2JNSFlNenRmczA/view?usp=sharing) -
Magic Mirror on Jessie Lite
Hi, I’m using the Raspbian Lite or Jessie Lite on my raspberry pi. Due to some reasons I ca’nt shift to GUI version of Raspbian. Can anyone please tell me how to run magic mirror on Jessie lite? What core modules should I install to make it work on the terminal version of Jessie?