Hey Magic Mirror community.
Has anyone any recommendations for modules using public transit departure times through google maps api?
I tried MyCommute, however it does not seem to like my Japanese address.
Here is my config:
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*
* For more information how you can configurate this file
* See https://github.com/MichMich/MagicMirror#configuration
*
*/
var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: "calendar",
header: "Upcoming Holidays",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: "webcal:https://calendar.google.com/calendar/ical/en.japanese%23holiday%40group.v.calendar.google.com/public/basic.ics"
}
]
}
},
{
module: 'MMM-MyCommute',
position: 'bottom_left',
config: {
apikey: 'correct api key, requests code 200 on maps api',
origin: '東京都新宿区市谷加賀町2丁目3',
startTime: '06:00',
endTime: '21:59',
destinations: [
{
destination: 'Kojimachi Station, 4丁目 麹町 千代田区 東京都',
label: 'Kojimachi Station',
mode: 'transit',
color: '#82E5AA'
},
{
destination: 'Shinjuku Station, 3丁目-38 新宿 新宿区 東京都',
label: 'Shinjuku Station',
mode: 'transit'
},
]
}
},
{
module: "currentweather",
position: "top_right",
config: {
location: "",
locationID: "1850147", //ID from http://www.openweathermap.org/help/city_list.txt
appid: "6f1d84ecbb4354040e5f04388ccab61b"
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}