Or just get the new MagicMirror 2.0.2 that was released today. It has those changes incorporated.
Read the statement by Michael Teeuw here.
Posts
-
RE: Weather based on another provider..
-
RE: Weather based on another provider..
@cowboysdude Since the default weather forecast and current weather pull from the same place, you can make the same changes as you did on the
currentweather
module to theforecastweather
module andconfig.js
.Replace your current
weatherforecast.js
with the one here.
Yourcurrentweather.js
should look like the one here.Don’t forget to edit your
config.js
to put the locationID in both. -
RE: Weather based on another provider..
@cowboysdude Take at look at this post. I added a locationID which gives you the ability to put the exact city in you want weather for. It helps get rid of the ambiguity of having multiple cities with the same name.
-
RE: MMM-Swipe - Hand gestures
@paviro Does that only work with setting pins directly? I am using a helper_node that takes care of all of the pin setting and timing for the sensors. It looks like your code sets pins directly with the exec command. I’m not sure how to do that with the npm usonic functions.
-
RE: Voice/motion control
@coolbotic I just made a motion control module. It’s no where near as intricate as leapmotion though. It just detects hand movements, using 2 ultrasonic sensors and give you a swipe left, right, and press notification. If you have any ideas on how to improve it, please let me know.
-
MMM-Swipe - Hand gestures
Description
I was tinkering around with the HC-SR04 Ultrasonic Rangers and I figured I’d use them to try and detect hand motion in the form of “swipe” gestures. In the module’s current form it allows you to detect swiping left or right along with a “press” (when both sensors are covered). The module then sends a notification & payload to other modules for their usage.
It has a calibration mode which allows you to see the raw distance data from each sensor so you can determine what a good “detection” distance is. I use 20cm for mine. There is also a “verbose” mode which will show you the “swipes” on the screen so you can see if it works for you. The normal mode is invisible, since it is used to send data to other modules for their use.
The issue I ran into was permissions. I couldn’t figure out a way to use the GPIO portion of the pi without running MagicMirror using
sudo npm start
Screenshots
Calibrate Mode
This will constantly update with both sensor’s distances. You can see that I put my hand in front of the right sensor. This is used to tweak the initial trigger distance (how far out from the sensors you want to have your hand to register a movement).Verbose Mode
This will show you when you perform a swipe or press movement. The program waits for a trigger by you putting your hand in front of a sensor, then it looks to see if you move it away and put it in front of the other sensor. This will give you a swipe. If you put your hand in front of both sensors at the same time, it give you a press.Here’s the testbed so you can see the wiring.
Download
[card:mochman/MMM-Swipe]
-
RE: MMM-Nest
Here is the current display for the module.
The first show that the current temp is 75 and the system is cooling to 72. The second shows it’s 68 and heating to 74. The last is just that it’s 74 with the HVAC off. The humidity is displayed at the bottom.
-
MMM-Nest
https://github.com/mochman/MMM-Nest
I just took a wack at making a Nest Module. It works, but it’s a pain to set up.
Nest has you walk through a bunch of hoops to get an account so you can get a token for your nest. I made a simple script that walks you through it in the root folder. The Module is very basic right now. It just displays your current temp, requested temp, and humidity.
I am using the REST format to get all the data. If someone knows how to use firebase, please contribute. -
RE: Nest Thermostat & Protect
I just took a wack at making a Nest Module. It works, but it’s a pain to set up. Nest has you walk through a bunch of hoops to get an account so you can get a token for your nest. I made a simple script that walks you through it in the root folder. The Module is very basic right now. It just displays your current temp, requested temp, and humidity. I will try to change it in a little bit to make it look like the Nest (Have a blue background around your Temp to indicate it’s cooling, etc…). If you want to take a hand at making it look better, please go right ahead.
I am using the REST format to get all the data. If someone knows how to use firebase, that’s what Nest prefers you use to get all the info.