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.

    MMM-Memo - Add some memos on your page and manage them through HTTP request

    Scheduled Pinned Locked Moved Productivity
    41 Posts 23 Posters 28.0k Views 23 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.
    • ceddirrC Offline
      ceddirr
      last edited by

      Riiight, thank you very much! :D

      1 Reply Last reply Reply Quote 0
      • ceddirrC Offline
        ceddirr
        last edited by

        Hi all,

        Thank you again for your answer last time, playing with the option display_time from the alert module.

        However, if you modify it, every alert would be modified. For exemple, if I want to set my memo to keep displayed for at least 30 secondes, I go modify the display_time from the alert module. But, all alerts like for example “welcome back Mr Blabla” when I switch profile will stay longer than usual.

        The question is how do I have to do to only change the MMM-Memo alerts please?
        Many thanks,
        Cedric ;)

        1 Reply Last reply Reply Quote 0
        • S Offline
          schnibel
          last edited by

          Hi guys,
          Just came back on the Internet, and I saw your messages.
          @ceddirr, I’m sorry, but I didn’t develop a specific module for alerts as the existing one is quite nice… But I understand your problem.
          When I had this DisplayMemo option, the idea was to temporarily display a long message, is it your case ?

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • ceddirrC Offline
            ceddirr
            last edited by

            Hi, thank you for getting back to me =)

            Yes, the idea is basically the same, but I would just like to see the memo a little bit longer than the regular alert’s configuration.
            The problem for me is if I change the display_time setting directly on the alert module, it would be too long for the other alert like “nice to see you %profile%”, etc lol

            1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @schnibel
              last edited by

              @schnibel easiest soluton would be to replace notifications with alerts, as they can have a duration parameter, but the downside is there can be just one alert per module at the same time.

              https://github.com/schnibel/MMM-Memo/blob/master/MMM-Memo.js#L123

              to this.sendNotification("SHOW_ALERT", {title: ttl, message: msg, timer: 5000}); for 5 seconds or make a config option for it

              Please create a github issue if you need help, so I can keep track

              1 Reply Last reply Reply Quote 1
              • wiresharkW Offline
                wireshark
                last edited by

                This post is deleted!
                D wiresharkW 2 Replies Last reply Reply Quote 0
                • D Offline
                  dsegel @wireshark
                  last edited by

                  @wireshark Try something like this in your ~/MagicMirror/css/custom.css file:

                  .MMM-Memo .note {
                      font-size: 25px;
                      font-family: "Roboto Condensed", sans-serif;
                  }
                  

                  Note that I just picked that size (25px) out of the air; I have no idea what the default size is. You’ll have to experiment. Also not sure if the size option will even work (although I know the font-family option does).

                  1 Reply Last reply Reply Quote 0
                  • V Offline
                    Vauxdvihl
                    last edited by

                    @schnibel
                    Thanks for this great module.
                    Can you please help me?
                    Unfortunately i am not able to run is (and i am sure that the prob sits in front of the pi)
                    It would help me a lot if somebody could share his working config (only the “alert” module" and from this "Memo one).
                    Thanks a lot for you help and support

                    1 Reply Last reply Reply Quote 0
                    • wiresharkW Offline
                      wireshark @wireshark
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nobita @schnibel
                        last edited by

                        @schnibel , If I would like to make this module without use voice command (Jarvis)
                        and add event by manual (like default calendar module), or add event in google calendar

                        question: How to do it? Thanks for your help

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          efl23
                          last edited by

                          Thanks for this great module.
                          but when I do this command “http://192.168.0.60:8080/AddMemo?memoTitle=SHOPPING&item=Fruits&level=INFO”, I have this message
                          “Cannot GET /AddMemo”
                          but this command “http://192.168.0.60:8080” show MagicMirror
                          Can you please help me?
                          Thanks a lot for you help and support

                          E 1 Reply Last reply Reply Quote 0
                          • E Offline
                            efl23 @efl23
                            last edited by

                            @efl23
                            Eureka, just a bad name of the module

                            1 Reply Last reply Reply Quote 0
                            • JanneJ Offline
                              Janne
                              last edited by Janne

                              Hi,

                              Just a help to other magic Mirror builders.

                              I have implemented this nice module. :smiling_face_with_heart-eyes:

                              When I send URL-request I got the error “No memo file found”. After some grumbling and deep dive I found that it was because my language was not supported (Danish).

                              I added my language-file under the translation directory and added the yellow line.

                              0_1537432767972_b1c9a796-6d8c-49b7-a1da-c571b2f895e7-image.png

                              Hope it can be of help to others. :smiling_face_with_smiling_eyes:

                              1 Reply Last reply Reply Quote 2
                              • C Offline
                                Crayyy
                                last edited by Crayyy

                                I still am unable to add or modify the memos in any way :) I don’t understand how to use the HTTP command to pass commands to the module, Here is what I typed at the SSH command prompt. “http://192.168.1.175:8080/AddMemo?memoTitle=SHOPPING&item=Fruits&level=INFO” but I get the following errors and no memo on my mirror :( “-bash: http://192.168.1.175:8080/AddMemo?memoTitle=: No such file or directory
                                [7]- Exit 127 http://192.168.1.175:8080/AddMemo?memoTitle=SHOPPING
                                [8]+ Done item=Fruits” please help :)

                                F 1 Reply Last reply Reply Quote 0
                                • L Offline
                                  lovesicker
                                  last edited by

                                  @schnibel

                                  Thank you for providing us this fantastic module! It’s so useful.

                                  I have a suggestion: could you merge multiple instances of MMM-Memo into only one instance? Like the following:
                                  {
                                  module: ‘MMM-Memo’,
                                  config{
                                  {
                                  memo1
                                  memoTitle: XXXX
                                  position:
                                  },
                                  {
                                  memo2
                                  memoTitle:YYYY
                                  position:
                                  },
                                  …
                                  }

                                  Because there are six instances of MMM-Memo at least, the system performance will be affected and there are always many notifications about this module in console log when any notifications send by any modules.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Robinson128
                                    last edited by

                                    Thank you for this module that I like a lot despite the harm I had to use it without Jarvis. :) beginner in computer science and big noob for HTML CSS and many other things. I search a little but I did not find how to make notes appear after each other in the same memo. The oldest note in 1 and the most recent in 2,3 or 4 and so on. Thanks for your help.
                                    (Google traduction)

                                    1 Reply Last reply Reply Quote 0
                                    • WasupDudeW Offline
                                      WasupDude Banned
                                      last edited by

                                      Such a usefull topic,thanks

                                      1 Reply Last reply Reply Quote 0
                                      • WasupDudeW Offline
                                        WasupDude Banned
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          FruityBebbles @Crayyy
                                          last edited by

                                          @Crayyy same issue… did you find a fix?

                                          1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil
                                            last edited by sdetweil

                                            ok… I installed this module…

                                            u define in the config.js a tag to identify acceptable incoming ‘memos’…
                                            memoTitle

                                            once I did that I was able, in a browser to do

                                            http://192.168.2.26:8086/addMemo?memoTitle=testing&item=foobar
                                            and I got back
                                            {“status”:“success”,“item”:{“memoTitle”:“testing”,“level”:“INFO”,“item”:“foobar”,“timestamp”:“2019-09-16T00:12:05.199Z”}}
                                            and a memo appears on the mirror screen

                                            192.168.2.26 is my mirror ip address, and 8086 is the port in the config.js

                                            in config.,js I have

                                              address: "", // Address to listen on, can be:   
                                                                    // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                                                    // - another specific IPv4/6 to listen on a specific interface
                                                                    // - "", "0.0.0.0", "::" to listen on any interface
                                                                    // Default, when address config is left out, is "localhost"
                                              port: 8086,
                                              ipWhitelist: [],   // allow anyone to connect
                                            

                                            if address:“localhost” then only from INSIDE the mirror machine is allowed to make connections to mirror application

                                            if I do this

                                            http://192.168.2.26:8086/addMemo
                                            

                                            the response is

                                            {"status":"failed","error":"No 'memoTitle' given."}
                                            

                                            if I do this

                                            http://192.168.2.26:8086/addMemo?memoTitle=testing
                                            

                                            where memoTitle matches the value specified in config.js

                                                {
                                                    module: 'MMM-Memo',
                                                    position: 'top_left',
                                                    classes: 'default everyone',        // if using MMM-ProfileSwitcher module
                                                    config: {
                                                        // See 'Configuration options' for more information.
                                                        memoTitle: "testing"
                                                    }    
                                            

                                            then i get this

                                            {"status":"failed","error":"No 'item' given."}
                                            

                                            so, http://192.168.2.26:8086/addMemo?memoTitle=testing&item=

                                            note to have multiple memo pages, you need to add the module to the config.js multiple times, with different memoTitle values…

                                            readme
                                            If you declare several modules in the config/config.js file, you will get several memo notes on your MagicMirror2 profile.
                                            

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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