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

    Posts

    Recent Best Controversial
    • RE: Compliments setup

      Still not picking up different compliments:

      		{
      			module: 'compliments',
      			position: 'lower_third',
                  config: {
      			anytime: [
      				"Hey!"
      			],
      			morning: [
      				"Good morning, handsome!",
      				"Enjoy your day!",
      				"How was your sleep?"
      			],
      			afternoon: [
      				"Hello, beauty!",
      				"You look sexy!",
      				"Looking good today!"
      			],
      			evening: [
      				"Wow!",
      				"You!",
      				"Hi!"
      			]
      		},
      		updateInterval: 30000,
      		remoteFile: null,
      		fadeSpeed: 4000
      			/*config: {
      				remoteFile: 'compliments.json'
      			}*/
      		},  
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Changing it to remoteFile, as described here, it works.

      Well, only after it’s still displayed all the default messages.

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      No difference, still uses default compliments:

                  config: {
                      anytime: [
                          "Compliment 1",
                          "Compliment 2",
                          "Compliment 3"
                      ],
                      morning: [
                          "morning Compliment 1",
                          "morning Compliment 2",
                          "morning Compliment 3"
                      ],
                      afternoon: [
                          "afternoon Compliment 1",
                          "afternoon Compliment 2",
                          "afternoon Compliment 3"
                      ],
                      evening: [
                          "evening Compliment 1",
                          "evening Compliment 2",
                          "evening Compliment 3"
                      ]
                  }
      		},  
      
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Ohhh, interesting. I’ll have a go and report back later.
      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Whilst the config.js now loads, it’s not showing the new, replacement compliments.

      I’ve restarted NPM, no change.

      I’ve powered Pi off & on, no change.

      posted in Troubleshooting
      R
      Richard238
    • RE: Compliments setup

      Thanks, it was that, and a missing } close curly bracket.

      posted in Troubleshooting
      R
      Richard238
    • Compliments setup

      In config.js

      		{
      			module: 'compliments',
      			position: 'lower_third'
                  config: {
                      anytime: [
                          "Compliment 1",
                          "Compliment 2",
                          "Compliment 3"
                      ]
      		},  
      		{
      			module: 'currentweather',
      

      Gives the “Please create a config file” error

      Take out the. . .

              config: {
                  anytime: [
                      "Compliment 1",
                      "Compliment 2",
                      "Compliment 3"
                  ]
      

      . . .lines, and it’s OK.

      0_1491344434970_CaptureMM2.JPG

      What’s it not liking in there?

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      And suddenly it come back into life! :)

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      Powered off & on, default config OK, and mine too.

      But, cannot see Mirror from PC, despite full whitelisting in config.

      ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.1/120",],
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      Just tried the default sample config.js, and that doesn’t work either!

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      @strawberry-3.141 I’ve no idea what I’m looking for, sorry…

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      Ok, like this?

      modules: [
      		{
      			module: 'alert',   # Module 0
      		},
      		
              {
                 module: "MMM-MyTemps",  # Module 1
                  header: "Home Sensors",
                  position: "bottom_right",
                  config: {
                      host: "192.168.1.41",
                      path: "/temp2mcf.php?format=json",
                      reloadInterval: 2 * 1000   //2 seconds
                  }
          	},		
      			
      		{
      			module: "updatenotification",  # Module 2
      			position: "top_bar"
      		},
      		{
      			module: 'clock',   # Module 3
      			position: 'top_left'
      		},
      		{
      			module: 'calendar',  # Module 4
      

      . … …And second calendar = # Module 5
      making the custom.css look like this:

       #module_4_calendar .fa.fa-calendar-check-o {
        color: #00d2FF /* 55=Green FF=Blue*/
      }
      
        #module_5_calendar  .fa.fa-trash-o  {
        color: #C97F7F; /* Brown */
       }
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?
      		module: 'calendar',
      		header: 'Calendar',
      
      
      
      		module: 'calendar',
      		header: 'Binday',
      

      With two calendars, how do I get different icons / icon colours again in custom.css?

       .calendar .fa.fa-calendar-check-o {
        color: #00d2FF /* 55=Green FF=Blue*/
      }
      
       .calendar .fa.fa-trash-o  {
        color: #C97F7F; /* Brown */
       }
      
      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      @yawns Brilliant! A comma after each of the ] seems to have fixed it.

      Thank you.

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      Ok, these are done and no longer an issue, hurrah!:grinning:

          css/main.css
          modules/default/compliments/compliments.js
          modules/default/newsfeed/newsfeed.js
          modules/default/weatherforecast/weatherforecast.js
      

      Can’t get

          modules/default/calendar/calendar.js
      

      into config.js though.

      			module: 'calendar',
      			header: 'Calendar',
      			position: 'top_left',
      			config: {
                          maximumEntries: 8, // Total Maximum Entries
                          maximumNumberOfDays: 365,
                          displaySymbol: true,
                          defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
                          displayRepeatingCountTitle: false,
                          defaultRepeatingCountTitle: "",
                          maxTitleLength: 25,
                          fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                          animationSpeed: 2000,
                          fade: true,
                          urgency: 0,
                          timeFormat: "absolute",
                          dateFormat: "ddd Do MMMM",
                          getRelative: 2,
                          fadePoint: 0.25, // Start on 1/4th of the list.
                          hidePrivate: false,
                          calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'https://calendar.google.com/calendar/ical/PRIVATE_KEY/basic.ics'
      					}
      				]
      			}
      		},
      		{
      			module: 'calendar',
      			header: 'Binday',
      			position: 'bottom_left',
      			config: {
                          maximumEntries: 8, // Total Maximum Entries
                          maximumNumberOfDays: 365,
                          displaySymbol: true,
                          defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
                          displayRepeatingCountTitle: false,
                          defaultRepeatingCountTitle: "",
                          maxTitleLength: 25,
                          fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
                          animationSpeed: 2000,
                          fade: true,
                          urgency: 0,
                          timeFormat: "absolute",
                          dateFormat: "ddd Do MMMM",
                          getRelative: 2,
                          fadePoint: 0.25, // Start on 1/4th of the list.
                          hidePrivate: false,
                          calendars: [
                          {
      						symbol: 'pagelines ',
      						url: 'https://calendar.google.com/calendar/ical/PRIVATE_KEY/basic.ics'
      					}
      				]
                      titleReplace: {
                      //	"'s birthday": "",
                      //	"Recycling": "Bins",
                          "Red Bin": "Red and Black Bins",
                          "Green Bin": "Green and Black Bins" 
                      }
      			}
      		},  
      

      What have I missed?!

      Thanks.

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      Lost and confused already.

      How much of calendar.js needs to be copied to config,js?

      Thanks

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      @yawns Ok, thanks. I’ve some work to do there then!

      posted in Troubleshooting
      R
      Richard238
    • RE: Update says to "commit your changes or stash them before you can merge." ?

      @yawns
      I don’t quite understand.

      Main.css - I don’t know what I’ve changed, I’ll have a look later.
      compliments.js Well, OK, I can re-write those.

      calendar.js / newsfeed.js / weatherforecast.js
      These have to be changed to pull in your calendar, your choice of news, your choice of weather, don’t they?

      posted in Troubleshooting
      R
      Richard238
    • Update says to "commit your changes or stash them before you can merge." ?
      pi@raspberrypi:~/MagicMirror $ git pull && npm install
      Updating 8010e62..1a2b4f8
      error: Your local changes to the following files would be overwritten by merge:
              css/main.css
              modules/default/calendar/calendar.js
              modules/default/compliments/compliments.js
              modules/default/newsfeed/newsfeed.js
              modules/default/weatherforecast/weatherforecast.js
      Please, commit your changes or stash them before you can merge.
      Aborting
      

      How do I do this, please?

      posted in Troubleshooting
      R
      Richard238
    • 1 / 1