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 not able to send messages to Magic Mirror

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 3 Posters 2.4k Views 3 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
      sdetweil @FruityBebbles
      last edited by sdetweil

      @FruityBebbles see my post to the other recent memo topic

      https://forum.magicmirror.builders/topic/2113/mmm-memo-add-some-memos-on-your-page-and-manage-them-through-http-request/34

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        FruityBebbles @sdetweil
        last edited by

        @sdetweil
        Thankyou for your quick response!
        I still spent days/so many hours trying to get it to work lol
        I couldn’t get it no matter how hard I tried and didn’t know why.
        Because of your response/ the link you commented, I was eventually able to have a memo be displayed…
        What helped me notice my progress was adding

        MemoDisplayIfEmpty= true
        

        to the config.js
        I am, however, still unsure of how to remove the entire memo, itself, though.

        What do I enter into the browser?
        Also, is there a simpler way to display the memo’s or do I have to type out

        http://Pi's_IP:port/addMemo?memoTitle=__&item=__
        

        everytime I want a memo?
        Is there a way to type a memo out like an email (the subject= memoTitle and the body= item)?
        Like, how MMM-Remote-Control now allows you to send an alert?
        I’d really like this if it were a little more convenient.
        This is such a cool module, and can’t wait to incorporate voice control (that will make adding the memo’s super easily/ is more of what I’m looking for.)
        Thanks again, and I hope Im not annoying you too much with my noobness lol.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @FruityBebbles
          last edited by sdetweil

          @FruityBebbles I’m not the author, just another user trying to help…

          the code in node_helper.js
          defines how the module responds…

          and it says for add

          	this.expressApp.get('/AddMemo', (req, res) => {
          	var query = url.parse(req.url, true).query;
          	var level = query.level;
          	var memoTitle = query.memoTitle;
          	var item = query.item;
          

          http://Pi’s_IP:port/addMemo?memoTitle=&item=&level=

          and for remove

          	this.expressApp.get('/RemoveMemo', (req, res) => {
          
          	var query = url.parse(req.url, true).query;
          	var memoTitle = query.memoTitle;
          	var item = query.item;
          

          http://Pi’s_IP:port/RemoveMemo?memoTitle=&item=

          that is the only way this module responds

          so to remove, u need the exact text of the ‘item’ when u added it.
          u can use curl or http request , you don’t have to use a browser… I was just offering an easy way to test it out

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • F Offline
            FruityBebbles
            last edited by

            Thanks! I appreciate your help, regardless =) It’s people like you who keep me from giving up on thos stuff… I’m not a coder by any means, so thanks again…

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @FruityBebbles
              last edited by sdetweil

              @FruityBebbles no problem, glad I can help… you don’t need to be a coder… but some of this stuff is very rigid in its requirements…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • 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