Read the statement by Michael Teeuw here.
MMM-Memo - Add some memos on your page and manage them through HTTP request
-
Hi,
Just a help to other magic Mirror builders.
I have implemented this nice module. :smiling_face_with_heart-eyes:
When I send URL-request I got the error “No memo file found”. After some grumbling and deep dive I found that it was because my language was not supported (Danish).
I added my language-file under the translation directory and added the yellow line.
Hope it can be of help to others. :smiling_face_with_smiling_eyes:
-
I still am unable to add or modify the memos in any way :) I don’t understand how to use the HTTP command to pass commands to the module, Here is what I typed at the SSH command prompt. “http://192.168.1.175:8080/AddMemo?memoTitle=SHOPPING&item=Fruits&level=INFO” but I get the following errors and no memo on my mirror :( “-bash: http://192.168.1.175:8080/AddMemo?memoTitle=: No such file or directory
[7]- Exit 127 http://192.168.1.175:8080/AddMemo?memoTitle=SHOPPING
[8]+ Done item=Fruits” please help :) -
Thank you for providing us this fantastic module! It’s so useful.
I have a suggestion: could you merge multiple instances of MMM-Memo into only one instance? Like the following:
{
module: ‘MMM-Memo’,
config{
{
memo1
memoTitle: XXXX
position:
},
{
memo2
memoTitle:YYYY
position:
},
…
}Because there are six instances of MMM-Memo at least, the system performance will be affected and there are always many notifications about this module in console log when any notifications send by any modules.
-
Thank you for this module that I like a lot despite the harm I had to use it without Jarvis. :) beginner in computer science and big noob for HTML CSS and many other things. I search a little but I did not find how to make notes appear after each other in the same memo. The oldest note in 1 and the most recent in 2,3 or 4 and so on. Thanks for your help.
(Google traduction) -
Such a usefull topic,thanks
-
This post is deleted! -
@Crayyy same issue… did you find a fix?
-
ok… I installed this module…
u define in the config.js a tag to identify acceptable incoming ‘memos’…
memoTitleonce I did that I was able, in a browser to do
http://192.168.2.26:8086/addMemo?memoTitle=testing&item=foobar
and I got back
{“status”:“success”,“item”:{“memoTitle”:“testing”,“level”:“INFO”,“item”:“foobar”,“timestamp”:“2019-09-16T00:12:05.199Z”}}
and a memo appears on the mirror screen192.168.2.26 is my mirror ip address, and 8086 is the port in the config.js
in config.,js I have
address: "", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8086, ipWhitelist: [], // allow anyone to connect
if address:“localhost” then only from INSIDE the mirror machine is allowed to make connections to mirror application
if I do this
http://192.168.2.26:8086/addMemo
the response is
{"status":"failed","error":"No 'memoTitle' given."}
if I do this
http://192.168.2.26:8086/addMemo?memoTitle=testing
where memoTitle matches the value specified in config.js
{ module: 'MMM-Memo', position: 'top_left', classes: 'default everyone', // if using MMM-ProfileSwitcher module config: { // See 'Configuration options' for more information. memoTitle: "testing" }
then i get this
{"status":"failed","error":"No 'item' given."}
so, http://192.168.2.26:8086/addMemo?memoTitle=testing&item=
note to have multiple memo pages, you need to add the module to the config.js multiple times, with different memoTitle values…
readme If you declare several modules in the config/config.js file, you will get several memo notes on your MagicMirror2 profile.
-
There needs to be a config switch to disable the showing of the pin. Like “showPin” which is set to true by default. I have a small mirror and the pin takes up a lot of vertical space.
-
This post is deleted!