I’ve managed to create the VoiceControl module based on Snowboy Hotword detection: https://snowboy.kitt.ai/
Read the statement by Michael Teeuw here.
Best posts made by alexyak
-
VoiceControl module
-
RE: Airplay 'Now Playing' module - help badly needed
@darrene You’re missing parenthesis in your call to frombase64:
this.frombase64();
-
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.
-
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.
-
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: 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.
-
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.
-
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]
-
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.
-
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
Latest posts made by 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.
-
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.
-
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:
-
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
-
RE: Motion Detector
@trividar My apologies. This should be fixed. Just pull the latest.
-
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
-
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
-
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.