• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Hello-Lucy

Scheduled Pinned Locked Moved Fun & Games
285 Posts 27 Posters 594.9k Views 27 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    djsunrise19 @Mykle1
    last edited by Mar 3, 2018, 8:55 AM

    @Mykle1 said in Hello-Lucy:

    @djsunrise19

    That looks right.

    Have you made the other changes that you need to make, according to the readme? That is not the only modification you need to perform.
    If you issue the “SHOW MODULES” command, does it show then?
    Is there another " notificationReceived: function" within the MMM-CalendarExt.js file?

    Yes, all other Lucy / Voice modules are still working. I made all changes (accordingly your read me). Within the MMM-CalendarExt.js file are more than one “notificationReceived: function” functions:

      notificationReceived: function(notification, payload, sender) {
        var sessionId = moment().valueOf()
        if (typeof payload !== 'undefined' && payload !== null) {
          if (typeof payload.sessionId !== 'undefined') {
            sessionId = payload.sessionId
          }
        }
        switch (notification) {
          case 'DOM_OBJECTS_CREATED':
            if(typeof sender == 'undefined') {
              this.loadCSS()
              this.initAfterLoading()
            }
            break
          case 'CHANGED_PROFILE':
            this.showing = 0
            this.isInit = 0
            this.initAfterLoading(payload.to)
            this.sendNotification('CALEXT_SAYS_PROFILE_CHANGED', payload)
            break
          case 'CALEXT_ADD_EVENT':
            if(typeof payload.event !== 'undefined') {
              this.addInstantEvent(payload.event, sender.name, sessionId)
            }
            break
          case 'CALEXT_REMOVE_EVENT':
            if(typeof payload.uid !== 'undefined') {
              this.removeInstantEvent(payload.uid, sender.name, sessionId)
            }
            break
          case 'CALEXT_TELL_SCHEDULE':
            if(typeof payload.filter !== 'undefined') {
              this.saySchedule(payload.filter, sender.name, sessionId)
            }
            break
          case 'CALEXT_MODIFY_CONFIG':
            this.modifyConfiguration(payload.config, sender.name, sessionId)
        }
      },
    
      socketNotificationReceived: function(notification, payload) {
        switch (notification) {
          case 'CALENDAR_MODIFIED':
            this.sendNotification("CALEXT_SAYS_CALENDAR_MODIFIED")
            this.events = payload
            this.makeIndex()
            this.draw()
    
            break
          case 'READY_TO_ADD_CALENDAR':
            this.addCalendars()
            break;
          }
      },
    

    Should I put your function after one of these?

    M 1 Reply Last reply Mar 3, 2018, 2:15 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @djsunrise19
      last edited by Mar 3, 2018, 2:15 PM

      @djsunrise19

      I haven’t tested this because I don’t use CalendarExt. Couldn’t get it to work for me :-/

      However, please remove the entry you made after the return wrapper and make the entry as I have shown below

      notificationReceived: function(notification, payload, sender) {
       
       		if (notification === 'HIDE_WORK') {
                  this.hide(1000);
              }  else if (notification === 'SHOW_WORK') {
                  this.show(1000);
              }
       
       
          var sessionId = moment().valueOf()
          if (typeof payload !== 'undefined' && payload !== null) {
            if (typeof payload.sessionId !== 'undefined') {
              sessionId = payload.sessionId
            }
          }
      

      Create a working config
      How to add modules

      D 1 Reply Last reply Mar 3, 2018, 2:51 PM Reply Quote 1
      • D Offline
        djsunrise19 @Mykle1
        last edited by Mar 3, 2018, 2:51 PM

        @Mykle1 That’s it! Thank you! Again :)!

        M 1 Reply Last reply Mar 3, 2018, 9:27 PM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @djsunrise19
          last edited by Mar 3, 2018, 9:27 PM

          @djsunrise19 said in Hello-Lucy:

          That’s it! Thank you! Again :)!

          You’re welcome, my friend. I’m glad that you find Lucy useful. I don’t think I could live without it now. :-)

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • C Offline
            cowboysdude Module Developer
            last edited by Mar 4, 2018, 9:08 PM

            https://www.youtube.com/watch?v=Ez8axz9bwUg&feature=youtu.be

            Thanks Lucy for the to-do list :)

            M 1 Reply Last reply Mar 4, 2018, 9:19 PM Reply Quote 2
            • M Offline
              Mykle1 Project Sponsor Module Developer @cowboysdude
              last edited by Mar 4, 2018, 9:19 PM

              @cowboysdude

              No, thank you my friend. I am honored that you use something of mine when you are capable of such greatness.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 2
              • M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by Mykle1 Mar 5, 2018, 3:49 AM Mar 5, 2018, 2:31 AM

                Added 4 new modules to the Hello-Lucy defaults.

                • https://github.com/mykle1/MMM-URHere
                • https://github.com/mykle1/MMM-Sudoku
                • https://github.com/mykle1/MMM-EventHorizon
                • https://github.com/mykle1/MMM-ISS

                0_1520217065306_1.png

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 2
                • M Offline
                  Mykle1 Project Sponsor Module Developer
                  last edited by Mar 6, 2018, 9:39 PM

                  So, all the credit for this goes to @cowboysdude. I immediately added it to my “must have” list. Yesterday, I had the movie “Predator” playing fullscreen as my live desktop on my MM. The possibilities are endless. Just amazing. Modules look amazing on top of it. This is like “Shock and awe” for MM. Kudos bro!

                  https://youtu.be/M3QvF-ctZEA

                  Create a working config
                  How to add modules

                  E D 2 Replies Last reply Mar 9, 2018, 9:27 PM Reply Quote 2
                  • E Offline
                    E3V3A @Mykle1
                    last edited by Mar 9, 2018, 9:27 PM

                    @Mykle1 Whats that rotating planet? (Is it earth? – No, the module?)

                    "Everything I do (here) is for free – altruism is the way!"
                    MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                    1 Reply Last reply Reply Quote 1
                    • E Offline
                      E3V3A
                      last edited by Mar 9, 2018, 9:44 PM

                      It’s this one: https://github.com/mykle1/MMM-EARTH
                      Very nice!
                      But the one on the video seemspinning much faster. @Mykle1 what are your config setting for that?

                      "Everything I do (here) is for free – altruism is the way!"
                      MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                      M 1 Reply Last reply Mar 9, 2018, 10:27 PM Reply Quote 1
                      • 1
                      • 2
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 28
                      • 29
                      • 8 / 29
                      8 / 29
                      • First post
                        78/285
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy