Read the statement by Michael Teeuw here.
London tube status
-
Love this! signed up for a dev account myself and was trying to figure out how to write this. My only question when I load this as a module - the module takes up the entire width of my screen. Is there a way to set a size on it?
-
@soqueen hi what does your config look like? If you PM it to me (sans API keys etc.) I’ll try and recreate the issue and suggest a correct config or add a fix to the css.
-
@nigel-daniels Thanks for getting back to me! Do you want the entire config or just the tube station portion of it? I will PM it to you shortly…
-
@soqueen probably best to send me he whole thing just in case it’s an interaction thing, just remove any private api keys and any personal urls (e.g. calendar).
-
I apologize, I can’t seem to figure out how to PM you. If it’s ok, I can just paste the config file (sans personal info) here.
-
/* Magic Mirror Config Sample
*- By Michael Teeuw http://michaelteeuw.nl
- MIT Licensed.
*/
var config = {
port: 8080,language: 'en', timeFormat: 24, units: 'imperial', modules: [ { module: 'alert', }, { module: 'MMM-Tube-Status', position: 'bottom_bar', header: 'Tube Status', config: { show_all: true } }, { module: 'MMM-Remote-Control' },
// {
// module: ‘MMM-Modulecheduler’,
// config: {
// notification_schedule: [
// //turn the moniter on at 6:30 am daily
// {notification: ‘REMOTE_ACTION’, schedule: '30 6 * * * ', payload: {action: “MONITORON”}},
// //turn off the monitor at 22:30 daily
// {notification: ‘REMOTE_ACTION’ schedule: ‘30 22 * * *’, payload: [action: “MONITOROFF”}},
// //restart magicmirror 2am sundays
// {notification: ‘REMOTE_ACTION’, schedule: ‘0 2 * * SUN’, payload: [action: “RESTART”}}
// ]
// }
// },{ module: 'clock', position: 'top_left' }, { module: 'MMM-Wunderlist', position: 'top_left', header: 'To-Do', config: { accessToken: '', clientID: '', lists: ["Work", "Family"] } }, { module: 'calendar', header: 'Jennifer Calendar', position: 'middle_center', config: { calendars: [ { symbol: 'calendar-check-o', url: '' }, { url: '', }, { url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics' }, ] } }, { module: 'calendar', header: 'Sarika Calendar', position: 'middle_center', config: { calendars: [ { symbol: 'diamond', url: '' }, ] } }, { module: 'compliments', position: 'top_bar' }, { module: 'currentweather', position: 'top_right', config: { location: 'City of Westminster', locationID: '', //ID from http://www.openweathermap.org appid: '' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'City of Westminster', locationID: '', //ID from http://www.openweathermap.org appid: '' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "BBC Top Stories", url: "http://feeds.bbci.co.uk/news/rss.xml" } ], showSourceTitle: true, showPublishDate: true } }, ]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;} -
@soqueen sorry I thought the site supported PMs, my bad. Looking at the config you have you have the tube status set to show across the bottom of the screen:
position: 'bottom_bar',
If you move it to show in something like
'bottom_center'
then it will restrict the width of the module. Check out the MM2 Read Me for the valid location settings. Hopefully this will correct the issue you are seeing, let me know if it remains a problem. -
@nigel-daniels You are SO right! That works perfectly! Thank you!