MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. alexyak
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    A
    Offline
    • Profile
    • Following 0
    • Followers 4
    • Topics 6
    • Posts 109
    • Groups 0

    alexyak

    @alexyak

    49
    Reputation
    4.7k
    Profile views
    109
    Posts
    4
    Followers
    0
    Following
    Joined
    Last Online

    alexyak Unfollow Follow

    Best posts made by alexyak

    • VoiceControl module

      I’ve managed to create the VoiceControl module based on Snowboy Hotword detection: https://snowboy.kitt.ai/

      https://github.com/alexyak/voicecontrol

      posted in Utilities
      A
      alexyak
    • RE: Airplay 'Now Playing' module - help badly needed

      @darrene You’re missing parenthesis in your call to frombase64:

      this.frombase64();

      posted in Development
      A
      alexyak
    • RE: Earth globe

      Here’s how the module based on WebGL looks like on my dev box:

      https://www.youtube.com/watch?v=1L9yofDD-Ic&feature=youtu.be

      It displays twitter stream of the tweets that have location. Red lines signify the negative sentiment and green positive. White is neutral.

      posted in Requests
      A
      alexyak
    • RE: Motion Detector

      @strawberry-3.141 I have a feeling that the camera is not properly captured from the client side js code. I am going to create a dev branch with a lot more logging soon.

      posted in Utilities
      A
      alexyak
    • 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.

      posted in General Discussion
      A
      alexyak
    • RE: Stocks

      I’ve found a web service which provides free intraday stock quotes. You will only need to register to get an API key.

      https://www.alphavantage.co/support/#api-key

      The code in the module will need to be modified though to parse a different payload result. I will try to update it today or tomorrow.

      posted in Utilities
      A
      alexyak
    • Motion Detector

      I’ve published the Motion detector module that I’ve been using for a while. It uses a web camera connected to a Raspberry Pi.

      You can find it here:

      https://github.com/alexyak/motiondetector

      The configuration should be pretty straightforward.

      posted in Utilities
      A
      alexyak
    • Camera module

      I’ve just published the camera module. Besides displaying a video feed on your mirror, it could also take photos and email them.

      [card:alexyak/camera]

      posted in Utilities
      A
      alexyak
    • RE: Stocks

      I’ve updated the code to support the new API’s from https://iextrading.com/developer/docs/#stocks. Which BTW, doesn’t even require registration.

      posted in Utilities
      A
      alexyak
    • RE: Trafficmaps

      @tyho

      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

      posted in Development
      A
      alexyak

    Latest posts made by alexyak

    • RE: Stocks

      There are a few symbols that don’t exist. Remove .DJI and CICS

      posted in Utilities
      A
      alexyak
    • RE: Stocks

      I’ve updated the code to support the new API’s from https://iextrading.com/developer/docs/#stocks. Which BTW, doesn’t even require registration.

      posted in Utilities
      A
      alexyak
    • RE: Stocks

      I’ve found a web service which provides free intraday stock quotes. You will only need to register to get an API key.

      https://www.alphavantage.co/support/#api-key

      The code in the module will need to be modified though to parse a different payload result. I will try to update it today or tomorrow.

      posted in Utilities
      A
      alexyak
    • RE: Send Selfie to Flickr or Photobucket

      You will need to communicate via the API’s that these services provide. For example flickr has this:

      https://www.flickr.com/services/api/upload.api.html

      posted in Requests
      A
      alexyak
    • RE: Motion Detector

      @trividar I don’t see anything related to the motiondetector in your logs. It seems the error coming from the mmm-systemperature/node_helper.js

      posted in Utilities
      A
      alexyak
    • RE: Motion Detector

      @trividar My apologies. This should be fixed. Just pull the latest.

      posted in Utilities
      A
      alexyak
    • RE: Motion Detector

      Hi All,

      I’ve revamped the motiondetector module to use a more optimised code to detect the motion from the web camera. The old one was performing very poorly. The new code works many times better. Just pull the latest from

      https://github.com/alexyak/motiondetector

      • Alex
      posted in Utilities
      A
      alexyak
    • RE: Stocks

      @ZTA0796 The object that you get int the stocks.js is the deserialized javascript object. In your case it’s going to be a single row object. You could just access the properties list this:

      this.result.symbol, this.result.price, etc…

      -Alex

      posted in Utilities
      A
      alexyak
    • RE: Stocks

      @ZTA0796 Could you show your code?

      posted in Utilities
      A
      alexyak
    • RE: Stocks

      @ZTA0796 The original code does a hardcoded substring on the result:

      var result = JSON.parse(body.substring(3, body.length));

      You probably don’t need to do that.

      posted in Utilities
      A
      alexyak