@lavolp3 said in Calendar show wrong time.:
I had test and see it doesn’t work that you said. The mirror is show me pm or am time instead for show me an exampel 16:00. That I want it’s the calendar not the time. What I do now?
@bkeyport . You’re absolutely right in that, and that’s how I did it all the time. But to create a script where it does not matter where you are at that moment, it seemed like a fun project to start building scripts again.
Do you happen to have an answer about my questions?
Prepare two config - config.snowon.js and config.snowoff.js.
Make a code to copy one of both to config.js when your trigger is activated. The next time rebooted, it will be applied.
Instead of copying file, you can read config.js and rewrite it directly. but a bullet-proof-parsing js code is not so easy for unexperienced one.)
However, MMM-Snow has no node_helper.js to refer. You have to build node_helper.js to do your job. (In MMM-Snow.js itself, approaching filesystem is limited.)
There are to many
in your config.js.
There should be only one time
somewhere in the beginning of your config.js and one time
near the end of config.js
Thanks for your explanation! This helps alot!
And no… I’n not building my own module… I’m to inexperienced for that. Maybe one day…
For now I’m just setting up a nice MagicMirror for in my livingroom for me and my family. And I found so many great modules here that they can’t fit all on one page.
But okay… I must check my config.js were I went wrong because the pages aren’t switching.
At the issue page of Edward someone issues a problem and put his config.js code there. I’ll check his motition there hoping I can spot the differance.
Thanks again for your help!
With kind regards,
(from the Netherlands)
alexyak/camera module is not built for displaying taken photos on MM screen.
Of course, you can modify it. When the module gets SEND_EMAIL socketNotification from node_helper, the payload will contain dataUrl. I think it might be the url or path of photo taken by this module. Now you can create code for displaying photo on screen with that value.
I’m seeing inside of that module, and I’ve found it has the feature selfie snapshot already. If that module works properly, taken photo will be shown on MM screen. If not so, your module has a problem or not be activated.
Unless someone tells different, from my point of view you do not have any CPU or memory issues.
In fact, it makes me wonder why I am seeing the electron.js processes so high in my output.
I do not use MMM-watchdog and I do not know exactly what it is doing.
Do not know what it is pinging, but something on your MM makes it time out and as a cause it restarts mm.
The log only tells you that it failed, but not what exactly failed.
Would be nice to know how you can send this ping manually, then you can observe the behavior yourself.
I take it, that you have your monitor connected to your Pi.
So MM not running as server only and the display not on a client.
Anyway, good to hear that you potentially have found the issue and you learned a bit of Linux on the side.
@dcalix No nothing in addition to the above other errors have arisen… read here from the beginning for more details
@sean said in Alert module is always on:
Remove position field? Not tested.
@bkeyport said in Alert module is always on:
Position field isn’t supposed to be used.
Alert will pop over entire screen when called.
Above is as shown within the sample config
Ouch my bad.
Thanks to both of you.
@konradwalsh said in Facial Recognition Module - Step by Step Guide:
I got a issue when i add the facial module. the Facial-tools work fine, it’s seems like python script issues.
Could anyone help me with this issue ？
Whoops! There was an uncaught exception…
TypeError: PythonShell is not a constructor
at Class.python_start (/home/csc/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:11:21)
at Class.socketNotificationReceived (/home/csc/MagicMirror/modules/MMM-Facial-Recognition/node_helper.js:40:14)
at Socket. (/home/csc/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
at Socket.emit (events.js:182:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
^CShutting down server…
Re: Changing compliments
I am new to a lot of this but getting the hang of it. Anyways, I am making a MagicMirror for my gf and we have a special time of the day (4:22). I was wondering how I would go about setting up a few compliments that randomize at 4:22 in the morning and in the afternoon?