@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
-
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:-)
-
RE: How to change icon and payload by notification?
@sdetweil Thank you. That helped me unterstanding a bit more.
But it still seems a little bit far away for me for the moment:-)
Maybe I just found an alternative method. I played around with MMM-Touch a little.
The module has a possiblity to change the notification to send, the next time the button is pressed.
So if the button is pressed an light is turned on, than the notification send next time when the button is pressed can change to “turn off”.
MMM-Touch - on notificationUnfortunately it seems like the module only works with one button.
What is your opinion on this module?
Could you please have a look if I am right with one button only?
Will it be possible to install multiple instances like MMM-Touch1, 2, 3 … or even add some buttons customizing the code?Thanks again.
-
How to change icon and payload by notification?
Hello everyone,
I am trying to generate a touchable floorplan for controlling my smart home.
I am not very good at programming but I am able to copy and adjust:-) I am also willing to learn.My idea is to have a background image of my floorplan and touchable icons in front of it.
Here is an example which shows what I would like to do and where my problem is:Lets say I have got a touchable icon of a turned off bulb. The payload is “turn_on”. I use MMM-HTTPRequest to send a HTTP request to control my smart home when a notification is received.
So, if “turn_on” is recieved, a HTTP request will tell my smart home to turn the bulb on.
So far so good.
But here my problem starts:
The icon of the turned off bulb should change to a icon of a turned on bulb.
If I press the new turned on icon, the payload should be “turn_off” instead of “turn_on”.My smart home is able to send notifications to the magic mirror like “page_increment” etc.
In case I turn the bulb off or on without using the magicmirror, my smart home will send a notification like “turn_on” to the magicmirror. But how should the programming on the mirror be, that the revieved notification changes the icon and payload on the mirror as well.Maybe you know modules or part of codes which show me how to do it.
I am happy about any advice or help.
Thanks.
Mr.Coffee -
RE: Has anyone got MMM-Remote-Control working on MM 2.11 ?
@karsten13
Looks like I have got it.
I just had to remove the 8080 out ofhttp://192.168.xxx.xxx:8080/remote.htmlSorry for that.
Thanks for helping me. -
RE: Has anyone got MMM-Remote-Control working on MM 2.11 ?
@karsten13
Thank you. I did not know these commands.
But unfortunately I have got the latest MM-Release.
So I farther have to search for the error. -
RE: Has anyone got MMM-Remote-Control working on MM 2.11 ?
@karsten13
Oh. Sorry for that.
But thank you for your answer.However I thougt I had the same issues.
Ok. I will give it another try and in case I can’t fix it, i will open a new thread.Thank you.
-
RE: Has anyone got MMM-Remote-Control working on MM 2.11 ?
@karsten13
Sorry for asking, but I am pretty new to docker.
I installed my MagicMirror using docker-MagicMirror.
There I don´t have the~/magicmirror/runfolder.Could you please help me out, where I have to look?
Thanks.
Mr.Coffee -
RE: Combine MMM-Openhab and MMM-OpenhabFloorplan? Touch function and floorplan in one module?
I just see, the MMM-Openhab is just linking to the sitemap and has no touch function on its own.
Maybe the module kann be modified, linking to a floorplan generated in habpanel.Any opinions on that?
Thx
-
Combine MMM-Openhab and MMM-OpenhabFloorplan? Touch function and floorplan in one module?
Hi,
I have just seen the great module MMM-Openhab with its touch function.
I already use the module MMM-OpenhabFloorplan, which gives you a floorplan but without touch.The MMM-Openhab only shows a sitemap but not a floorplan. So I am wondering if there is a way to combine the two functions touch and floorplan.
Has anybody tried to combine the modules?
Or maybe there are other ways like “let the sitemap look like a floorplan” or "add a touch function to MMM-OpenhabFloorplan.Thanks a lot for your ideas.
Greetings
Mr.Coffee -
RE: Problems using MMM-WunderGround24hours
Hi all,
when weatherunderground changed the service I had to switch my public station too.
My api key is still working and everything seems to be fine. But every 1 or 2 days the module freezes: the time is not updating anymore an the temperature stays as it is. If I refresh the mirror everthing is fine again.Does this issue has to do with weatherunderground? I dont know were to find further information about the error.
One more question: Maybe some of you have got a netatmo weather station at home - like I have. For a long time netatmo and weatherunderground have been partners. The station data was part of weatherunderground. Then netatmo switched to its own weathermap.
Did somebody tried to grab the data- from netatmos weathermap?
- directly by wifi without using a the netatmo weathermap online?
I am just wondering: if netatmo and weatherunground have been partners the type of data and json etc must be pretty similar. But I am a noob in programming:-)
Thx
Mr.Coffee -
RE: omxplayer overlay
@maxbachmann
Seems like you do not have the latest version of MagicMirror installed.
It is said “The latest versions of electron use an extreme amount of CPU power when no Open GL driver is loaded. This will result in an overheating Raspberry Pi.”
Thats why I had to activate OpenGL which stops the omxplayer from working (it is not the electron).
Enable the Open GL driver to decrease Electron’s CPU usageBut it is off topic. So thank you so far.