@plumcraft great! Enjoy :)
Read the statement by Michael Teeuw here.
Posts
-
RE: Trading module
@plumcraft I’ve updated the module to move the data request to the node_helper which means it should fix your CORS related error.
Just pull the latest. -
RE: Phone Notifications
@djsunrise19 It looks like their iPhone app doesn’t support notifications which is understandable due to restrictions Apple has for ability to hook into global notifications on the device.
-
RE: Trading module
@MichMich as a rule of thumb yes, but there could be exceptions :)
-
RE: Trading module
@plumcraft could you please make sure that you pulled the latest version of the MM from github?
-
RE: Trading module
@plumcraft the webSecurity flag will only work for running in the electron on RPI. Which web browser are you trying to run it in? It works for me for chrome and safari.
-
RE: Trading module
@plumcraft could you please try the following:
Update the electron.js (it’s in the \js\ folder). Instead of:
mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, autoHideMenuBar: true, darkTheme: true, webPreferences: {nodeIntegration: false}});Replace it with:
mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, autoHideMenuBar: true, darkTheme: true, webPreferences: {nodeIntegration: false, webSecurity: false}}); -
RE: Trading module
@plumcraft Ok, I found a bug in the code. Try to pull the latest and see if it runs for you.
-
RE: Trading module
ok then the easiest solution would be to move this call to the node_helper…
-
RE: Trading module
@plumcraft Hmm… that’s strange why you’re getting the CORS error. It works for me directly from the chromium… Where’re you running it from?
-
RE: Viewing Mirror through browser on network
You should be able to access it from other computers. Make sure that you’re using the RPI’s current ipaddress.
-
RE: Looking monitors for my Magic Mirror
@tonicanog This could be a 42 inch TV or something.
-
RE: Trafficmaps
Here’s a basic module traffic map module to display a static map with a route and traffic based on bing api’s:
'use strict'; Module.register('maproute',{ defaults: { key: "your_bing_map_key", start: "Morganville, NJ", end: "New York, NY", }, start: function() { Log.info('Starting module: ' + this.name); }, // Override dom generator. getDom: function() { var wrapper = document.createElement("img"); wrapper.style = "position:center; width:600px; height:600px;"; wrapper.src = "http://dev.virtualearth.net/REST/V1/Imagery/Map/Road/Routes?wp.0=" + this.config.start + ";46&wp.1=" + this.config.end + ";46&mapLayer=TrafficFlow&TravelMode=Driving&mapSize=600,600&key=" + this.config.key; return wrapper; } });Unfortunately there’s no way to change the style of the map on bing (black and white). You can get your map key from here:
https://www.bingmapsportal.com/
Thanks… Alex
-
RE: Trading module
Alright I’ve just published it. Enjoy: :)
-
Stocks
Here’s a basic scrolling stocks ticker module. You can get it from here:
https://github.com/alexyak/stocks
This is how it looks:

-
RE: Preference Page
I am thinking that it should be a real web page accessible from the web browser.
-
RE: Preference Page
I’d agree that the perefence/configuration page could get quite complicated, but if we design it in the modular extensible way so that module developers could modify and configure it by themselves specifically for their module requirements it might not take a lot of time…
-
RE: Trading module
I’ve built a basic scrolling stocks ticker based on the Google APIs if you’re guys interested.
-
RE: Another Kickstarter is trying to launch Magic Mirror
@Cato exactly my point. We already live “in the future” how all these campaigns promise :)