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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
7 Posts 3 Posters 2.2k 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.
  • F Offline
    Fuzzy
    last edited by May 12, 2018, 9:37 PM

    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=INFO**bolded 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. :frowning_face:

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

    Thanks a lot for help :victory_hand:
    Roger

    F 1 Reply Last reply Sep 15, 2019, 8:47 PM Reply Quote 1
    • F Offline
      FruityBebbles @Fuzzy
      last edited by Sep 15, 2019, 8:47 PM

      @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 Sep 16, 2019, 1:14 AM Reply Quote 0
      • S Offline
        sdetweil @FruityBebbles
        last edited by sdetweil Sep 16, 2019, 12:25 PM Sep 16, 2019, 1:14 AM

        @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 Sep 20, 2019, 4:01 AM Reply Quote 0
        • F Offline
          FruityBebbles @sdetweil
          last edited by Sep 20, 2019, 4:01 AM

          @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 Sep 20, 2019, 12:10 PM Reply Quote 0
          • S Offline
            sdetweil @FruityBebbles
            last edited by sdetweil Sep 20, 2019, 1:40 PM Sep 20, 2019, 12:10 PM

            @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 Sep 20, 2019, 3:04 PM

              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 Sep 20, 2019, 3:10 PM Reply Quote 0
              • S Offline
                sdetweil @FruityBebbles
                last edited by sdetweil Sep 20, 2019, 3:10 PM Sep 20, 2019, 3:10 PM

                @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