• 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.

Kalliope assistant + MM

Scheduled Pinned Locked Moved Fun & Games
58 Posts 10 Posters 38.2k Views 12 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.
  • S Offline
    sispheor @sdetweil
    last edited by Jun 29, 2018, 5:28 AM

    @sdetweil huumm… yes it is obvious that you have to call your magic mirror url. Including the port if you changed it.

    S 1 Reply Last reply Jun 29, 2018, 4:06 PM Reply Quote 0
    • S Offline
      sispheor @dmwilsonkc
      last edited by Jun 29, 2018, 5:29 AM

      @dmwilsonkc indeed it’s weird, I use this code as it in prod on my mirror without any issue.
      Maybe a recent update of chromium or MM.

      1 Reply Last reply Reply Quote 0
      • D Offline
        dmwilsonkc @sdetweil
        last edited by Jun 29, 2018, 1:43 PM

        @sdetweil Thanks for the info, I didn’t see it in time. I deleted the entire line of code. It worked after that. I will replace the line with your suggestion this evening.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by Jun 29, 2018, 4:04 PM

          i have 5 lines of console.log on my MMM-kalliope.js

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @sispheor
            last edited by Jun 29, 2018, 4:06 PM

            @sispheor well, as a new MM user, obvious is not so…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sispheor
              last edited by Jun 30, 2018, 8:58 AM

              Guys, don’t hesitate to send a pull request to the project with your update. Including the “port” documentation part.

              1 Reply Last reply Reply Quote 0
              • D Offline
                dmwilsonkc
                last edited by Jul 2, 2018, 3:45 PM

                @sispheor @sdetweil Hey guys, thanks for your help! I got things working over the weekend.

                Here’s a short video.

                Cheers!

                1 Reply Last reply Reply Quote 1
                • D Offline
                  dmwilsonkc
                  last edited by dmwilsonkc Jul 16, 2018, 3:00 PM Jul 15, 2018, 11:01 PM

                  @sispheor I have made a minor tweak in your code on my fork to display the mycroft icon just above the title, which in my case I have changed to Mycroft. But I was wondering, any ideas on how I could tweak your code to display the message for an interval based on how long the message is? I played with it a little bit, but I think I’m missing exactly how it works. I tried to add an if statement for example:

                  for(var i = 0; i < this.messages.length; i++){
                              var dif = currentDate.getTime() - this.messages[i].timestamp.getTime();
                              if (this.message.length > 30){
                                var secondsFromCurrentDateToMessageDate = dif / 1500;
                                }else{
                                  var secondsFromCurrentDateToMessageDate = dif / 1000;
                                }
                              var secondsBetweenDates = Math.abs(secondsFromCurrentDateToMessageDate);
                  
                              // delete the message if to old
                              if (secondsBetweenDates > this.config.keep_seconds){
                                  this.messages.splice(i, 1);
                              }
                          }
                      },
                  

                  But the old messages never get cleaned off the mirror.

                  Any thoughts about how to increase the time interval that the message is displayed based on the length of the message?

                  Any help would be much appreciated!

                  Edit:
                  Nevermind, I see what I’m doing wrong here. I will work on getting messages to display for different intervals based on how long they are and let you know what I come up with.:face_savouring_delicious_food:

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jchenaud
                    last edited by Jul 24, 2018, 8:23 AM

                    Hello , I want to use Kalliope on my MM but I Have installed Kalliope (and its work i can say “hello” ) i Have MMM-kalliope on my modules.

                    i have made config.js but nothing display on my MM :(
                    what i suppose to do ?
                    my Englishis is not good so don’t blame me please
                    have a nice day !

                    S 1 Reply Last reply Jul 24, 2018, 8:35 AM Reply Quote 0
                    • S Offline
                      sispheor @jchenaud
                      last edited by Jul 24, 2018, 8:35 AM

                      @jchenaud delete the line 86

                      console.log(this.name + " received a socket notification: " + notification + " - Payload: " + payload);
                      

                      I need to update this part.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      • First post
                        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