Read the statement by Michael Teeuw here.
Unsolved MMM-Memo not able to send messages to Magic Mirror
-
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. :frowning_face:
Can anybody help me to fill the memo stickers on my Magic Mirror?
Thanks a lot for help :victory_hand:
Roger -
@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…
-
@FruityBebbles see my post to the other recent memo topic
-
@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 addingMemoDisplayIfEmpty= 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 outhttp://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. -
@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 -
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…
-
@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…