@mizban When you want your compliments in this font try;
/* Compliments */
.compliments .xlarge {
font-family : 'Allerta Stencil', serif;
}
This works for me
@mizban When you want your compliments in this font try;
/* Compliments */
.compliments .xlarge {
font-family : 'Allerta Stencil', serif;
}
This works for me
@mizban In your custom.css put the following line with your font as the first line of the custom.css.
When there is a space in the filename replace it with a ´+'.
/* Font for compliments, needs to be the first line !!! */
@import url('https://fonts.googleapis.com/css?family=Allerta+Stencil');
In the settings for your compliments, in the custom.css, set the fonts with the following line, together with other settings like font-size etc.
font-family : 'Allerta Stencil', serif;
Thats how I do it with a google font.
@mirrX said in Monthly Calendar:
Is this module still working?
Mine is, so have a look at your config and check for errors
@MM-Hans said in Translation “After one month” in Calendar Module:
Thanks Stefan, I appreciate your help!
I answer this in Dutch because otherwise it will be difficult to explain. The used notation in moment.js is correct.
Getallen tot twintig (20) worden normalieter uitgeschreven. Op het getal een worden accenten geplaatst als het een telwoord is.
Uitzondering hierop is in samenstellingen met een worden geen accenten op de ee gezet, ook niet als het telwoord één bedoeld is.
Voorbeeld hiervan is eendagsvlieg.
Bron : onzetaal.nl
No reason to change this, why would you like to do this?
@palmaren The monthly Calendar has no option for week numbers. When you want that option ask the creator of the module.
The default Clock module has the option showWeek, when set to ‘true’ is shows the actual week number under the clock.
@nitram That is done depending on your country / language settings in the config.js file.
For me I use language : ‘nl’, the calendar starts on Monday. When I use ‘us’ as language it starts on Sunday.
Otherwise first connect directly via HDMI and see what kind of image this gives.
@petrpls said in Getting the MagicMirror full-screen resolution:
Any help appreciated!
You need to edit your config file ( /boot/config.txt) see this thread for details.
@yawns said in MMM-WorldTides, no output on screen:
Yep, you are right. However you cannot simply replace the apibase, do you? I guess I have to change the module to use request() to allow access to https and to avoid no-origin replies.
I replaced the apibase in the file MMM-WorldTides.js as discribed above (line 29). So I think you should update the module with this.
I will be looking in to your code to make some changes in the layout off the out put, so when you are interested let me now.
@pjkoeleman said in MMM-WorldTides, no output on screen:
http://www.worldtides.info/api?extremes&lat=52.212&lon=4.399&lenght=2592000000&key=
I found the problem, yeah !!!
The apiBase URL has to change from
apiBase: "http://worldtides.info/api"
to
apiBase: "https://worldtides.info/api"
An other option is working with variables in your custom CSS-file and making all of your modules the same width. Changing the width is than done only on one place in your custom CSS-file.
Try this in your custom.css and ad all your modules to it.
/* Vars */
:root {
/* Width for all modules */
--mod-width : 310px; /* only px no % */
}
/* Make all modules same width */
.clock {
width : var(--mod-width);
}
.calendar {
width : var(--mod-width);
}
I do the same with colors I use in my custom CSS-file.
@Mykle1 said in MMM-WorldTides, no output on screen:
However, tell me what info you are looking for regarding the tides. Do you simply want the current day’s high and low tides with the times they occur?
I’am living near the coast and often go for a walk along the beach. It’s handy to now when it’s high or low tides, especially if I want to photograph. But I have patience, do not hurry, just worry that I do not get it working.
@Mykle1
I would highly appreciate it.
@yawns
Thanks for your time.
When I can help (test) give a call .
@yawns and others,
Just installed your module WorldTides.
On screen I only get the info that the WorldTides data is loading … But even after 2 minutes it is still loading. What am I doing wrong?
I can’t find my error, grrr !!!
This is my part of the config.sys
{
module : 'MMM-WorldTides',
position : 'top_right',
header : 'Getijden',
config : {
longitude : '52.212',
latitude : '4.399',
appid : '************************************'
}
},
When I do a call in my browser I get a result from the server.
The call I make :
http://www.worldtides.info/api?extremes&lat=52.212&lon=4.399&lenght=2592000000&key=************************************
The result I get, within a second;
{"status":200,"callCount":1,"copyright":"Tidal data retrieved from www.worldtide.info. Copyright (c) 2014-2017 Brainware LLC. Licensed for use of individual spatial coordinates on behalf of\/by an end-user. Source data created by Rijkswaterstaat \/ (Dutch Infrastructure Service) and is not subject to copyright protection. NO GUARANTEES ARE MADE ABOUT THE CORRECTNESS OF THIS DATA. You may not use it if anyone or anything could come to harm as a result of using it (e.g. for navigational purposes).","requestLat":52.212,"requestLon":4.399,"responseLat":52.2667,"responseLon":4.3,"atlas":"Netherlands","station":"Meetpost Noordwijk","extremes":[{"dt":1506946453,"date":"2017-10-02T12:14+0000","height":0.751,"type":"High"},{"dt":1506973424,"date":"2017-10-02T19:43+0000","height":-0.573,"type":"Low"},{"dt":1506990484,"date":"2017-10-03T00:28+0000","height":1.041,"type":"High"},{"dt":1507019577,"date":"2017-10-03T08:32+0000","height":-0.543,"type":"Low"},{"dt":1507035216,"date":"2017-10-03T12:53+0000","height":0.89,"type":"High"},{"dt":1507063479,"date":"2017-10-03T20:44+0000","height":-0.649,"type":"Low"}]}
I even tried the longitude and latitude as a number, but that is not a solution either.
longitude : 52.212, (without ‘’)
@Johannes said in Problems with MagicMirror modules, Calendar, weather-forecast, newsfeed:
First problem, I use MMM-MyCalendar witch has more options for config and is working great. Try this one. And there are errors in your config.sys
{
module: "calendar",
position: "top_left",
config: {
calendars: [
{
url: "url google-Calendar",
fetchInterval: 60000,
timeFormat: "relative",
displaySymbol: false
},
{
url: "url 2nd google-Calendar",
fetchInterval: 60000,
timeFormat: "relative",
displaySymbol: false
}
]
}
},
There are problems with Weather forecast, there is work in progress. Link to News Item.
For your last problem there are some errors in your config.sys. Number and false/true never use “…” or ‘…’
{
module: "newsfeed",
position: "bottom_left",
config: {
feeds: [
{
title: "Nachrichten",
url: "http://www.tagesschau.de/xml/rss2"
}
],
showPublishDate: false,
showSourceTitle: true,
showDescription: true,
updateInterval: 15000
}
},
@cowboysdude
There is no excuse in being late !
@Mykle1
Now you need to make a timer module !
_ Leaving at hh:mm to wedding of … (or other event)
_ You still have hh:mm:ss before leaving (time leaving -/- actual time)
How about that !!!
@Nystro0m
Looks to me that there is two times the same code in the js-file ecxept for the language settings. So @cowboysdude has to look into this.
@Akzariel
The RPI 3 has Wifi onboard, so you don’t need a Wifi adapter !
For other components take a look at adafruits.com or the pihut.com, there are a lot off add on components.