Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED MMM-Memo not able to send messages to Magic Mirror

    Troubleshooting
    3
    7
    1359
    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.
    • F
      Fuzzy last edited by

      Hello,

      I have installed the module “Memo” and the memos are already shown on the screen of the display but I am not able to send messages to add lines to the memos. I tried:

      bolded texthttp://192.168.1.102:8080/AddMemo?memoTitle=SHOPPING&item=Fruits&level=INFObolded text

      But I get the following lines on the screen from the pc where I tried to send the message:
      bolded text[1] 17426
      [2] 17427
      roger@Lappi:~$ bash: http://192.168.1.102:8080/AddMemo?memoTitle=SHOPPING: Datei oder Verzeichnis nicht gefunden bolded text
      Datei oder Verzeichnis nicht gefunden means "File or directory not found.

      After that I tried it with the following command:
      curl -G -v “http://192.168.1.102:8080/AddMemo?memoTitle=SHOPPING” --data-urlencode “item=Bonjour, êtes-vous allées dans votre boutique préférée ?”

      Result:

      • Hostname was NOT found in DNS cache
      • Trying 192.168.1.102…
      • connect to 192.168.1.102 port 8080 failed: Verbindungsaufbau abgelehnt
      • Failed to connect to 192.168.1.102 port 8080: Verbindungsaufbau abgelehnt
      • Closing connection 0
        curl: (7) Failed to connect to 192.168.1.102 port 8080: Verbindungsaufbau abgelehnt

      Now I edited the whitelist in the configfile with the IP adress from the Sending pc but the same result. ☹

      Can anybody help me to fill the memo stickers on my Magic Mirror?

      Thanks a lot for help ✌
      Roger

      F 1 Reply Last reply Reply Quote 1
      • F
        FruityBebbles @Fuzzy last edited by

        @Fuzzy really? Nobody is going to answer? It’s been a year… I actually have the exact same issue. The directions werent too clear because I thought I followed them to the tee…

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

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

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

                  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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy