While trying to debug modules, I’ve been given quite mixed feedback regarding what to use to print messages to console, on either local system or in remote browser DevTools.
So far, I have found the only reliable way that always seem to print something in the browser, is using console.error(). The others have varied. I’m on MM v2.2.2 (master).
So… I don’t know for sure but even though in my testing I was telling it to update every 1 minute, just to see if it works, I think maybe part of the problem is how frequently apple updates the information as well. I have gotten the calendar to update but it’s at 5 minute intervals. Which in the long run will be fine as I don’t need it to update that often anyways. I appreciate the help everyone.
@spitzlbergerj said in Contribute to a module. Volunteers wanted! Easy!:
And of course I already did the work, see my latest pull request
Will all the people that contributed still have their names mentioned as contributors? I don’t want that to be lost. As long as they are still represented I will accept the PR without having to look at it.(lazy)
And sorry, I can’t keep my hands off your modules because I love open source and distributed development …
Other people have modules. Seriously, thanks for your contributions!
I was wondering if anyone has every looked at using the MagicMirror software for dementia patients?
I work in a hospital with dementia patients every day. Many in advanced stages basically sit there like vegetables, bored out of their minds, distressed and unable to communicate.
We do have machines to deliver reminiscence therapy - similar to this - but the machines are £7500 each so we only have six across three hospitals.
We also have dementia clocks - because dementia patients tend to lose track of times and days - which are about £70 but obviously they are aesthetically ugly as hell.
I have increasingly been thinking MagicMirror could be a much better solution. Firstly, the clock face could be much more aesthetically pleasing. Plus you could build in extra features.
Allow phone and video calls from relatives.
Allow friends and family to send photos either of themselves or ones for reminiscence, e.g, school and wedding photos.
(Potentially) use the camera to monitor them and check they’re okay. This may sound creepy but remember the alternative for many is to send in carers to check up on them. And I can say from experience many people find the idea that they need to be checked up on very oppressive. But, obviously there’s a balance.
Probably the best solution would be to host it and then access it using Android tablets as clients for simplicity’s sake because you don’t really want to need any interaction, it needs to be “set and forget” as much as possible.
I would be really interested to hear people’s thoughts on this. My initial thoughts were to write an Android app or have it hosted on a website. But an app is less than ideal because everything is stored locally if something goes wrong. And a website doesn’t really feel like the right solution because they are designed to be interactive, and of course this is the exact opposite - it needs to be designed to be viewed easily, not interacted with.
The ultimate aim would be that currently if we have a patient who gets on well with the £7,500 machines when they are discharged you have to say “sorry mate, tough luck, we need that back”. If you could load it onto a tablet, well, everyone has a spare tablet or can pick one up for less than £100. So it could be something they could take home with them.
Any thoughts, positive or negative, very welcome.
@JonoGee Typical. I think i just found a solution…
the root cause of your apt problems is python-lockfile, try to reinstall it with the following command:
sudo apt-get clean
sudo apt-get update
sudo apt-get install --reinstall python-minimal python-lockfile
@sdetweil said in How to find and use key commands in MM. For absolute beginners.:
never had to push shift too
That is odd. My Pi mirror, running MM 2.1.0, requires the Shift key to Zoom In, but not out, as does my dev machine running MM 2.5.0 and Ubuntu 16.04 LTS. I just tested both. Go figure.
Using a pi3, has been running ok for 6 months, screen went black, thought it was cable cause I’m using a vga to hdmi connector, but I’ve tried different screen and just a hdmi cable. What’s confusing is that the mirror is still working as I’m using the remote module and I can view it on my laptop, the screen is ok cause it’s going through the boot , just when desktop shows it’s goes off
First, my English is not good.
I beg your understanding even if it doesn’t fit the rules of the word.
PIR-Sensor is worked well. but after a long time, the screen turned off because of the screen saver.
so I installed an xscreensaver on my raspberry pie.
And I turned off the screen saver.
The MMM-PIR-Sensor has not worked since.
PIR does not work even if xscreensaver is deleted.
@brandonbrown said in How do I exit full screen after boot up?:
This is on an old thread, but thank you @Mykle1 .
Hey Brandon, you are very welcome. Also, have a look at this page (it’s short but informative) about the key commands you can use while your mirror is running. Have fun!
@Sean said in MMM-AssistantMk2 terminating and not activating by voice after that.:
Woo-Hoo! - Thank you so much @Sean - That worked for me. I just reinstalled (or maybe just installed) mpg321 and it is completing the whole sentence without any cutoff. #veryHapppy
The code I used was:
sudo apt-get -y install mpg321
Thanks to all that contributed to this post and I hope it helps others out just as it helped me.
If the returned result is in JSON format, I found two modules for this:
Also found a module for XML result:
After setting up the config, (either with de 2-steps authentification or the app-specific-password) there are no birthdays shown.
If i check “http://localhost:8080/MMM-iCloud-Client/birthdays”, the calender.ics looks like this:
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//sebbo.net//ical-generator//EN NAME:birthdays X-WR-CALNAME:birthdays END:VCALENDAR
As i am pretty new in stuff like this, i have no idea how to fix.
Thanks for your help