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

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

Scheduled Pinned Locked Moved Productivity
41 Posts 23 Posters 22.2k 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @ceddirr
    last edited by Aug 19, 2017, 11:24 AM

    @ceddirr https://github.com/schnibel/MMM-Memo#to-temporary-display-the-second-memo-of-the-shopping-memo-note

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

    C 1 Reply Last reply Aug 19, 2017, 11:40 AM Reply Quote 0
    • C Offline
      ceddirr @strawberry 3.141
      last edited by Aug 19, 2017, 11:40 AM

      @strawberry-3.141 Hi, Thank you for your quick reply =)
      I am sorry I read this already, but I didn’t understand how to make my memo stay longer… :/
      I have only one module with “memoDisplayNotification” set to “true”.
      I understand the alert module is managing this with:
      self.sendNotification(“SHOW_ALERT”, {});
      But how to integrate this into the command
      http://192.168.0.137:8080/DisplayMemo?memoTitle=SHOPPING&item=ALL
      Thank you again!

      S 1 Reply Last reply Aug 19, 2017, 12:33 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @ceddirr
        last edited by Aug 19, 2017, 12:33 PM

        @ceddirr add the config option display_time to the alert module https://github.com/MichMich/MagicMirror/tree/master/modules/default/alert#configuration-options

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

        1 Reply Last reply Reply Quote 0
        • C Offline
          ceddirr
          last edited by Aug 19, 2017, 3:08 PM

          Riiight, thank you very much! :D

          1 Reply Last reply Reply Quote 0
          • C Offline
            ceddirr
            last edited by Aug 22, 2017, 4:57 PM

            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 Aug 22, 2017, 7:48 PM

              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 ?

              S 1 Reply Last reply Aug 23, 2017, 12:18 PM Reply Quote 0
              • C Offline
                ceddirr
                last edited by Aug 23, 2017, 10:51 AM

                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
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @schnibel
                  last edited by Aug 23, 2017, 12:18 PM

                  @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
                  • W Offline
                    wireshark
                    last edited by Oct 21, 2017, 4:02 PM

                    This post is deleted!
                    D W 2 Replies Last reply Oct 21, 2017, 4:42 PM Reply Quote 0
                    • D Offline
                      dsegel @wireshark
                      last edited by Oct 21, 2017, 4:42 PM

                      @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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 2 / 5
                      • 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