Editing the Config file is pretty simple once you’ve done it once and shouldn’t take 5 minutes, depending upon how many and how complex you get with the modules.
Read the statement by Michael Teeuw here.
Posts made by AussieRob
-
RE: Segmentation Fault
-
RE: Segmentation Fault
Thanks Tuiceman,
I spent much of yesterday afternoon and evening online, looking for an answer and didn’t come up with anything but a reinstall. I like to know the why for next time and the answer just may help someone else out in the same situation.
I’ll put this card back into the 3B+ and start with a fresh card/install then report back in this thread.
Cheers,
Rob -
Segmentation Fault
Evening viewers,
I had MM running fine on the 3B+, have got myself a Zero W and assume I have shot myself in the foot…
I took the SD card out of the 3 and put it into the Zero. Initially I had issues getting the keyboard and mouse to work, after much research I added a USB hub with it’s own power supply but this brought with it boot issues. I still am not sure of the why.
Ultimately it booted into Raspbian. I opened a terminal, changed directories to the Magic Mirror but when I typed npm start I got a Segmentation fault.Am I right in thinking there’s a difference between the code for the Zero vs the 3?
Any and all help gratefully accepted.
Cheers,
Rob -
RE: Should I Customise the Modules or?
Thanks Jim,
I’m just building the basic, text only MM so the Zero should be fine. If not it’ll make a good weather station and I’ll swap it with a Pi 3.
Cheers,
Rob -
RE: Should I Customise the Modules or?
Thanks Mykle,
I have a 3B+ that I was using for this test flight, I was just trying to keep the costs down.
A 3B in Oz is RRP $A52.36 vs the Zero W at $A14.96
Do I need the extra RAM and CPU power for the Magic Mirror?
Thanks for your advice and especially your guide for the manual install, it worked flawlessly.
Cheers,
Rob -
RE: Should I Customise the Modules or?
All sorted now thanks, found and added the relevant text to the Config.js file to display Aussie weather, holidays and news feed. No module fiddling required.
Now to buy a Zero W to do it all again and actually build the mirror itself.
Thanks for the help, direct or otherwise. If anyone needs help to swap to Aussie displayed info, by all means ask.
Cheers,
Rob -
RE: Should I Customise the Modules or?
I decided the easy course of action for me would be to start over. I removed the MM software but neither of the two auto install bash scripts I found would work. (Including the one I successfully used initially.)
Thanks to Mykle1 and his post (link below) I’m back running again. Later today I’ll modify the config.js file and report back as it may help somebody else in the same situation.Mykle1’s Manual install how to post is here : https://forum.magicmirror.builders/topic/5274/how-to-manually-install-mm-on-your-pi-for-absolute-beginners
Cheers,
Rob -
RE: Should I Customise the Modules or?
Thanks again Sean,
That looks like a good read. There’s so much comes up in a Google search it can be hard to sift through.
Cheers,
Rob -
RE: Should I Customise the Modules or?
Thanks Sean,
I’m not scared to mess around a bit, at worst I’d have to start over. I’m a qualified mechanic, mechanical engineer and network admin and spent some time with html. Did learn Linux about 18 years ago but have forgotten most of it through lack of use.
Are the default module text or files available anywhere? Best I walk before I run I think.
Cheers,
Rob -
Should I Customise the Modules or?
Evening viewers,
I’m new to the Pi and have done very little coding. With a little stuttering I’ve managed to get the MM running on a Pi 3B+ , albeit in it’s default form.
I think I may have made a mistake as I’ve started to customise the actual modules (weather, holidays etc) before I’d read to customise the config.js file.
My rather simple question is, do I need to do one, the other or both the modules and config.js to display local information?
IF I should have only done the config.js, can I return the modules to their default status without reinstalling MM?
Thanks in advance,
Rob