mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Updated module READMEs with current default values
This commit is contained in:
parent
78aa2b491c
commit
21bf1dd1a3
@ -144,7 +144,7 @@ The following properties can be configured:
|
|||||||
<td>When using a timeFormat of <code>absolute</code>, the <code>urgency</code> setting allows you to display events within a specific time frame as <code>relative</code>
|
<td>When using a timeFormat of <code>absolute</code>, the <code>urgency</code> setting allows you to display events within a specific time frame as <code>relative</code>
|
||||||
This allows events within a certain time frame to be displayed as relative (in xx days) while others are displayed as absolute dates<br>
|
This allows events within a certain time frame to be displayed as relative (in xx days) while others are displayed as absolute dates<br>
|
||||||
<br><b>Possible values:</b> a positive integer representing the number of days for which you want a relative date, for example <code>7</code> (for 7 days)<br>
|
<br><b>Possible values:</b> a positive integer representing the number of days for which you want a relative date, for example <code>7</code> (for 7 days)<br>
|
||||||
<br><b>Default value:</b> <code>0</code> (disabled)
|
<br><b>Default value:</b> <code>7</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -32,10 +32,7 @@ Module.register("calendar", {
|
|||||||
url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics",
|
url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
titleReplace: {
|
titleReplace: {},
|
||||||
"De verjaardag van ": "",
|
|
||||||
"'s birthday": ""
|
|
||||||
},
|
|
||||||
broadcastEvents: true
|
broadcastEvents: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ The following properties can be configured:
|
|||||||
<td><code>location</code></td>
|
<td><code>location</code></td>
|
||||||
<td>The location used for weather information.<br>
|
<td>The location used for weather information.<br>
|
||||||
<br><b>Example:</b> <code>'Amsterdam,Netherlands'</code>
|
<br><b>Example:</b> <code>'Amsterdam,Netherlands'</code>
|
||||||
<br><b>Default value:</b> <code>New York</code><br><br>
|
<br><b>Default value:</b> <code>false</code><br><br>
|
||||||
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -47,7 +47,7 @@ The following properties can be configured:
|
|||||||
<td><code>locationID</code></td>
|
<td><code>locationID</code></td>
|
||||||
<td>Location ID from <a href="http://openweathermap.org/help/city_list.txt">OpenWeatherMap</a> <b>This will override anything you put in location.</b><br>Leave blank if you want to use location.
|
<td>Location ID from <a href="http://openweathermap.org/help/city_list.txt">OpenWeatherMap</a> <b>This will override anything you put in location.</b><br>Leave blank if you want to use location.
|
||||||
<br><b>Example:</b> <code>1234567</code>
|
<br><b>Example:</b> <code>1234567</code>
|
||||||
<br><b>Default value:</b> <code></code><br><br>
|
<br><b>Default value:</b> <code>false</code><br><br>
|
||||||
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -82,7 +82,7 @@ The following properties can be configured:
|
|||||||
<td><code>animationSpeed</code></td>
|
<td><code>animationSpeed</code></td>
|
||||||
<td>Speed of the update animation. (Milliseconds)<br>
|
<td>Speed of the update animation. (Milliseconds)<br>
|
||||||
<br><b>Possible values:</b><code>0</code> - <code>5000</code>
|
<br><b>Possible values:</b><code>0</code> - <code>5000</code>
|
||||||
<br><b>Default value:</b> <code>2000</code> (2 seconds)
|
<br><b>Default value:</b> <code>1000</code> (1 second)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -53,6 +53,7 @@ The following properties can be configured:
|
|||||||
{
|
{
|
||||||
title: "New York Times",
|
title: "New York Times",
|
||||||
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
|
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
|
||||||
|
encoding: "UTF-8" //ISO-8859-1
|
||||||
}
|
}
|
||||||
]</code>
|
]</code>
|
||||||
</td>
|
</td>
|
||||||
|
@ -39,7 +39,7 @@ The following properties can be configured:
|
|||||||
<td><code>location</code></td>
|
<td><code>location</code></td>
|
||||||
<td>The location used for weather information.<br>
|
<td>The location used for weather information.<br>
|
||||||
<br><b>Example:</b> <code>'Amsterdam,Netherlands'</code>
|
<br><b>Example:</b> <code>'Amsterdam,Netherlands'</code>
|
||||||
<br><b>Default value:</b> <code>New York</code><br><br>
|
<br><b>Default value:</b> <code>false</code><br><br>
|
||||||
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -47,7 +47,7 @@ The following properties can be configured:
|
|||||||
<td><code>locationID</code></td>
|
<td><code>locationID</code></td>
|
||||||
<td>Location ID from <a href="http://openweathermap.org/help/city_list.txt">OpenWeatherMap</a> <b>This will override anything you put in location.</b><br>Leave blank if you want to use location.
|
<td>Location ID from <a href="http://openweathermap.org/help/city_list.txt">OpenWeatherMap</a> <b>This will override anything you put in location.</b><br>Leave blank if you want to use location.
|
||||||
<br><b>Example:</b> <code>1234567</code>
|
<br><b>Example:</b> <code>1234567</code>
|
||||||
<br><b>Default value:</b> <code></code><br><br>
|
<br><b>Default value:</b> <code>false</code><br><br>
|
||||||
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
<strong>Note:</strong> When the <code>location</code> and <code>locationID</code> are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -98,7 +98,7 @@ The following properties can be configured:
|
|||||||
<td><code>animationSpeed</code></td>
|
<td><code>animationSpeed</code></td>
|
||||||
<td>Speed of the update animation. (Milliseconds)<br>
|
<td>Speed of the update animation. (Milliseconds)<br>
|
||||||
<br><b>Possible values:</b><code>0</code> - <code>5000</code>
|
<br><b>Possible values:</b><code>0</code> - <code>5000</code>
|
||||||
<br><b>Default value:</b> <code>2000</code> (2 seconds)
|
<br><b>Default value:</b> <code>1000</code> (1 second)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -126,7 +126,7 @@ The following properties can be configured:
|
|||||||
<td><code>initialLoadDelay</code></td>
|
<td><code>initialLoadDelay</code></td>
|
||||||
<td>The initial delay before loading. If you have multiple modules that use the same API key, you might want to delay one of the requests. (Milliseconds)<br>
|
<td>The initial delay before loading. If you have multiple modules that use the same API key, you might want to delay one of the requests. (Milliseconds)<br>
|
||||||
<br><b>Possible values:</b> <code>1000</code> - <code>5000</code>
|
<br><b>Possible values:</b> <code>1000</code> - <code>5000</code>
|
||||||
<br><b>Default value:</b> <code>0</code>
|
<br><b>Default value:</b> <code>2500</code> (2.5 seconds delay. This delay is used to keep the OpenWeather API happy.)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -149,7 +149,7 @@ The following properties can be configured:
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>weatherEndpoint</code></td>
|
<td><code>forecastEndpoint</code></td>
|
||||||
<td>The OpenWeatherMap API endPoint.<br>
|
<td>The OpenWeatherMap API endPoint.<br>
|
||||||
<br><b>Default value:</b> <code>'forecast/daily'</code>
|
<br><b>Default value:</b> <code>'forecast/daily'</code>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user