@bdream u should use my script…
instructions here
https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing
@bdream u should use my script…
instructions here
https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing
I set my server to serveronly and changed the timeout to 3 minutes for testing (from 5 normally)
and all three clients went to sleep at the same time.
now, the two mobile devices show the browser address line… not sure how to turn that off, cause that is a Kiosk mode value… there is an api to go to fullscreen mode, but it must be initiated by a user gesture… looking at how to get around that…
haven’t got ipad to generate motion events yet…
@cazz Ended means no more motion, so timer starts. And in 15 minutes will go to sleep.
I will try in serveronly mode later tonight
@cazz SleepWake hides the remotes, but doesn’t know how to wake up…
this sounds interesting… i will play with making my MMM-Sleepwake detect device motion and hide all the modules on no motion after a timeout…
and u have multiple iPads doing this at the same time? so i t run locally on each…
@bdream said in crashed my MagicMirror by mistake:
I wonder not fixing it by myself. Seems I’m to unfamilar to it.
takes time, you will learn what you need to… I have many years working on this stuff and I learn new stuff nearly every day!!..
best approach, what did i just do that caused it to fail, lets go back there and see if I can fix it
and google is your friend… I don’t know everything, but I can google search to find answers…
logon manually
run raspi-config again
boot options (3)
desktop/cli
option B4, desktop/autologin
@bdream can u tell us more… not running , at boot, at all, if at boot, try pm2 logs to see what error might be
@gonzonia can u should your config info?
looking at the code, these are the options that are configurable
defaults: {
schools: [],
maxWidth: "300px",
updateInterval: 5 * 60 * 1000,
interval: 1000 * 60 * 15,
}
where schools is an array of names
[ ‘school1’,school2’, ‘school3’]
used to call the api
https://api.mealviewer.com/api/v4/school/’ + this.config.schools[i]
school names can be found here
https://schools.mealviewer.com/
comment says only for one day
// Currently set to only pull one day’s data so endDayFormatted = todayFormatted