@sdetweil Ok. I see. So I will have to ask gfischershaw.
Thx
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-Touch
@sdetweil Ok. The module MMM-Touch can create a detailed log (says the config). But it is not written where I can find it:-) Is there a common place for it?
-
RE: MMM-Touch
@sdetweil I just tried ctrl-shift-i with a working mirror. On the tab console I could see a css error, but everything works.
Then i added the onNotification code. Still the same. no mirror starting, and on the console tab there is no error. it ends with “initializing MagicMirror”.
But nothing happens. -
RE: MMM-Touch
@sdetweil Thanks I didn´t know these commands. Unfortunately I use it installed by docker and headlless on a other device.
-
RE: MMM-Touch
@sdetweil Yes that is the same module. Sean changed the ownership when he left: Seans modules
The onNotification function seems important to me. if I change to page two for example, the gestures can be defined in another way compared to page one.
My problem is, when I add the code and restart my mirror everthing stays black. usually if there is a bug in the config.js an error is mentioned. but in this case it just stays black.
If I uncomment the code everthing is fine again.
This even happens when i use the example code. Knowing that it wont do anything on my magic mirror, it should start anyway.
So i am wondering if there is a bug or if i am doing something wrong?
Do you use the module? -
RE: MMM-Touch
@sdetweil
Maybe someone else uses the module with its “onNotification” option and might help out. -
RE: MMM-Touch
I have just seen that Sean is not on duty anymore.
Anyway it seems like now I got it how the module works.
Great stuff. Thanks for sharing.But I still got two questions.
- If I enter some code in the section “onNotification” and restart the mirror, nothing happens. The monitor stays black. Not even an error in the config is mentioned. I tried the example code and even code written on my own. Both the same.
Do you have any idea what the reason might be? is it a bug or my fault? - I unterstood that I just define the mode and it is not important where to touch on the display as long it is my defined gesture.
What I would love to do, is have a floorplan on my mirror with my smart home connected. For example I would have 5 icons of bulbs, which should be turned on by pressing the icon.
Is it possible to modify the module in such a way? If I am right, it is not possible right now, because a gesture like pressing can only be used once.
Thanks a lot.
- If I enter some code in the section “onNotification” and restart the mirror, nothing happens. The monitor stays black. Not even an error in the config is mentioned. I tried the example code and even code written on my own. Both the same.
-
RE: How to change icon and payload by notification?
@sdetweil Guess you are right.
I just cloned your sample module.
Thanks for helping me out. -
RE: MMM-Touch
@Sean Thank you for sharing this great module.
I am not very good at programming, but playing around a little helped me understand.
However I am wondering if it is possible to create more buttons?
Is there a way to modify the code (if necessary just quick and dirty) or do you think I can run multiple instances at the same time?And one more question: is it possible to change the displayed name to an icon?
Thanks a lot.
Mr.Coffee -
RE: How to change icon and payload by notification?
@sdetweil Never mind. I will ask the developer.
I´ve just seen that you helped this guy out: image-on-notification. Things get clearer. Guess I have to try and play around a little.Probably the best way is to set up a new module. Never tried it. Probably it will take some time:-)