Read the statement by Michael Teeuw here.
Minimalist MagicMirror [Fast Boot, ReadOnly, ClientOnly, RPi3B+]
-
@sdetweil thought about it but with the ratio of time that the light/power is on to the time the light/power is off being as it is. i dont think thats a solution since any battery pack will run out of juice eventually when you pull more than you put in.
i thought id try running read only first but if it doenst work guess i could get a small ups board to at least shutdown and wake up properly.
but right now boot time is a somewhat more important problem to me. sadly i do need network and wifi. and graphics. all not very optimal. ill see what i can do i guess. -
@CluelessGenius i was suggesting to use the battery to shutdown (suspend)… then no usage…
sort of like this
http://raspi-ups.appspot.com/en/index.jspthis would give the fastest restart time…
battery would recharge when power comes back on…
I have a battery bank that lasts a month or more…
-
@sdetweil thanks i will think about it but nontheless id still have to boot up every time and therefore i need to figure out boot time
-
@CluelessGenius go for SSD that’s how mine is booting
-
@dazza120 not sure what you mean by that and usind an ssd sounds expensive for this kind of project and really like a hassle tto setup. is thze pay-off that good?
-
alright so now i have my server running and working on a windows notebook following the guide on this forum.
i had problems getting mm to run on stretch lite and noticed how the instructions called for full stretch so i switched. now technically its running.
but the autostart only works when booting to desktop, which costs time.
pm2-pi.service in general eats too much damn time.
so back to console and scratch the pm2.
but i have yet to figure out how to run it from console at all. -
-
@sdetweil well thanks but gtk keeps throwing warnings in my face about not being able to access display or something. and at this point i figure i dont need all this crap just a webbrowser opening a page on startup preferably from cli and as fast as possible. some ready-to-use solutions look promising. looking at fullpageos right now. some other kiosk tutorials also promising but most of them arent really paying attention to boot time as they assume a kiosk would just run all day.
-
@CluelessGenius ok, you probably need to DISPLAY=:0
Then the npm start
-
@sdetweil didnt work but again i realized i dont actually need all that on the client side. the server runs perfectly on the pc and the client im gonna try using just the most basic webbrowser setup (which seems to be tough to find since no one cares about boot time when using borwser at startup and the other way around also noone cares about networking capability when looking at boot time)