MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. jin
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    jin

    @jin

    0
    Reputation
    535
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    jin Unfollow Follow

    Latest posts made by jin

    • RE: Compliments not displaying

      Seeing the solution after a couple of long shifts is a nice surprise.
      Great work l1613532 and strawberry 3.141.

      posted in Development
      J
      jin
    • RE: Compliments not displaying

      @strawberry-3.141 all i get when i run npm start dev is

      > magicmirror@2.1.0 start /home/pi/MagicMirror
      >electron js/electron.js "dev"
      

      no log file or anything

      posted in Development
      J
      jin
    • RE: Compliments not displaying

      thanks for the replys guys
      @cowboysdude it still doesnt show any compliments

      /* Magic Mirror Config Sample
       
      *
       
      * By Michael Teeuw http://michaelteeuw.nl
       
      * MIT Licensed.
       */
      
      
      
      var config = {
      
      	port: 8080,
      
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
      
      
      	language: 'en',
      
      	timeFormat: 24,
      
      	units: 'metric',
      
      
      
      	modules: [
      
      		{
      
      			module: 'alert',
      
      		},
      
      		{
      
      			module: "updatenotification",
      
      			position: "top_bar"
      
      		},
      
      		{
      
      			module: 'clock',
      
      			position: 'top_left'
      
      		},
      
      		{
      
      			module: 'calendar',
      
      			header: 'UK Holidays',
      
      			position: 'top_left',
      
      			config: {
      
      				calendars: [
      
      					{
      
      						symbol: 'calendar-check-o ',
      
      						url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics'
      
      					},
      
      					{
      
      						url: 'https://calendar.google.com/calendar/ical/private/basic.ics'
      
      					}
      
      				]
      
      			}
      
      		},
      
      		{
      			module: 'compliments',
      			position: 'bottom_center',
      			config: {
      				updateInterval: 30000,
      				compliments: {
      					morning: [
      					'Good morning, sunshine!'
      					],
      					afternoon: [
      					'Looking good today!'
      					],
      					evening: [
      					'Wasn\'t the sunset beautiful?',
      					'You look nice!'
      					]
      				}
      			}
      		},
      
      		{
      
      			module: 'currentweather',
      
      			position: 'top_right',
      
      			config: {
      
      				location: 'New York',
      
      				locationID: '2643741',  //ID from http://www.openweathermap.org
      
      				appid: 'removed'
      
      			}
      
      		},
      
      		{
      
      			module: 'weatherforecast',
      
      			position: 'top_right',
      
      			header: 'Weather Forecast',
      
      			config: {
      
      				location: 'New York',
      
      				locationID: '2643741',  //ID from http://www.openweathermap.org
      
      				appid: 'removed'
      
      			}
      
      		},
      
      		{
      
      			module: 'newsfeed',
      
      			position: 'bottom_bar',
      
      			config: {
      
      				feeds: [
      
      					{
      
      						title: "BBC News",
      
      						url: "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml"
      
      					}
      
      				],
      
      				showSourceTitle: true,
      
      				showPublishDate: true
      
      			}
      
      		},
      
      	]
      
      
      };
      
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      
      if (typeof module !== 'undefined') {module.exports = config;}
      
      

      this is the whole config file.

      posted in Development
      J
      jin
    • Compliments not displaying

      Hi,
      I am totally new to the programming world and was wondering if I could get some instruction on how to add compliments to magic mirror.
      This is what i’ve got in my config file

      {
              module: 'compliments',
              position: 'lower_third',
              config: {
                      updateInterval: 30000,
                      compliments: {
                              morning: [
                              'Good morning, sunshine!'
                                              ],
                              afternoon: [
                             'Looking good today!'
                                              ],
                              evening: [
                                      'Wasn't the sunset beautiful?',
                                      'You look nice!'
                                      ]
                              }
                      }
              },
      

      Magic Mirror starts up fine but compliments never show, have I messed something up?

      posted in Development
      J
      jin