Try this.config.gesture_up instead
Read the statement by Michael Teeuw here.
Posts
-
RE: no helper modules
That’s correct, these modules don’t have any helper module. If you take a look at the module folders you will see there is no node_helper.js file for these modules.
So all is fine. -
RE: IDE for testing
I have a local installation of node.js on my windows machine and cloned the MagicMirror repository to it. I develop in Microsoft Visual Studio code without my raspberry. Once I’m confident and everything is running fine I clone my new module to github and the raspberry and check for quirks that might occur
-
RE: Display web widget on mirror through iFrame?
I see several formatting errors (missing , and too many } ). I did not test it, but please try this instead. Oh, and please remove your api keys and your personal calendar urls before posting the config file on the internet :)
{ module: 'iFrame', position: 'bottom_bar', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "https://www.youtube.com/embed/6kgH6kqNuWM?list=PL24DEF584E7DBB4CF", width: "50px", // Optional. Default: 100% height: "50px", //Optional. Default: 100px } }, -
RE: Image Galery
@fragator said in Image Galery:
Works perfectly, thanks for the info.
I also just want to enlarge the image, what and the code for that.Looks really cool. I did not anticipate that.
-
RE: Currency Exchange Rates?
The api provider is http://fixer.io and updates once a day. If you check the website and click on the first code snippet it should unfold and show the latest update including exchange rates. Does this match with what you see on the mirror? Or is the data on your mirror older?
You could enable the customHeader, then the update date is shown as retrieved from the api -
RE: [ORDER CLOSED] Two way mirror order in Germany
# username sizes (m) area (m²) location additional comments pickup/delivery latest date of order 01 yawns ~ 0.8 * 0.8 ~ 0.64 Germany, Cologne polished edges delivery Summer 2017 :) 02 gustav1976 0.6 * 1.8 1.08 Germany, Koblenz polished edges delivery 03 gustav1976 1.0 * 1.2 1.20 Germany, Koblenz polished edges delivery 04 gustav1976 1.4 * 0.8 1.12 Germany, Koblenz polished edges delivery 05 lolobyte 0.8*0.6 0,48 Germany, Heilbronn polished edges pickup 06 Jeff 1,0 * 0,6 0,6 Germany, Karlsruhe polished edges pickup 07 Ashidian 0,69 * 0,435 0,3 (pay 0,4) Germany, Rostock polished edges delivery 08 cpramhofer 0,476 * 0,82 0,39 (possible??) Austria, Vienna polished edges delivery (cost??) 09 mcg 0,5 * 1,0 0,5 Germany, Ludwigshafen polished edges delivery, insured mid of January 10 cfenner 0,667*0,667 0,45 Germany, Mannheim polished edges delivery, (maybe package with mcg) 11 Total 6,87 @yawns @gustav1976 @lolobyte @Jeff @Ashidian @cpramhofer @CFenner @Goldjunge_Chriz
-
RE: Currency Exchange Rates?
Nice idea!
I’m at home on Wednesday, I guess I’ll find some time to look at this. Would require more api requests or more conversion and math. -
RE: Currency Exchange Rates?
I guess I could add some sorting mechanism, maybe based on the array order.
Which comma exactly? I’m just on my smartphone, so I might oversee it
-
RE: Currency Exchange Rates?
all right everyone, I did some progress on the module. Please take a look at it and let me know your thoughts.
Features:
- ticker mode - displays all selected currencies in a marquee ticker, main use in my opinion is in bottom_bar or top_bar
- table mode - display all selected currencies in a table. Up to 8 currencies are split into 2 columns, anything above is split into 3 columns
- you can hide/show the curreny flag and the currency code/abbreviation
- you can display a custom header above the output to show your selected base currency and the date of the data
Question: Does anyone know if and how I could manipulate the original header to avoid the custom header thing and still display base currency and date?
One notice: data is provided by fixer.io which is updating their data once a day. There are other apis for currency rates but you cannot select your own base currency if you are on a free plan. Means you would have to pay for it
[card:yawnsde/MMM-CurrencyExchange]
-
RE: MMM-DWD-WarnWeather - Wetterwarnungen
@MarkAlisch said in MMM-DWD-WarnWeather - Wetterwarnungen:
@MarkAlisch After a restart of the raspi it worked.
This module - like other modules too - uses a node_helper and this requires a reboot of the magicmirror process (or the whole raspberry).
-
RE: Image Galery
@Jeff said in Image Galery:
I trying to get shadows around the picture to get a smooth overlay from the picture to the mirrors backround.
I’m not sure how to do this. The only way I know, i to change the original picture e.g. on instagram and put a black shadow overlay around. But I’m not really happy with this solution.
Maybe someone knows better…Some options I could think of, by just modifying your css file.
- adds a small drop shadow to the image on the right side and at the bottom
#MMM-Instagram-image { box-shadow: 5px 5px 5px #aaa; }- adds a “glowing” shadow all around the image
#MMM-Instagram-image { box-shadow: 2px 2px 15px #aaa, -2px 2px 15px #aaa, 2px -2px 15px #aaa, -2px -2px 15px #aaa; }- make it look like a polaroid thrown on the mirror
#MMM-Instagram-image { box-shadow: 10px 10px 15px #aaa; padding: 10px 10px 30px 10px; border: 1px solid #bfbfbf; background-color: #fff; transform: rotate(-6deg); -ms-transform: rotate(-6deg); -webkit-transform: rotate(-6deg); }Not sure if this is what you are looking for. If you go for the polaroid look (which I really like) you could add several “versions” with different rotation values and change the class when loading the next image to have some randomness.
-
RE: [ORDER CLOSED] Two way mirror order in Germany
@Goldjunge_Chriz said in Two way mirror order in Germany:
@yawns @gustav1976 @lolobyte @Jeff @cpramhofer
Please tell me what you think about that. Do you want to order the next days or do you want to wait?
Still interested, but not in a hurry
-
RE: MMM-RNV
@mcg
Hi, glad you like it.
What do you mean with configurable direction? -
RE: Black Screen on Localhost...
What happens, if you run
node serveronlyinstead? -
RE: Currency Exchange Rates?
@Cato
Right, that’s my concern too. I don’t want to overload the mirrors spaceMaybe I can add some logic to choose the layout based on the number of currencies chosen
-
RE: Currency Exchange Rates?
@foggy @elmerito25
Could you please let me know how the output should look like?
The base work is done (except for some more error handling and code cleanup) but I’d like your thoughts on the output.