I’ve always used SSH, but for that case I’ll connect a keyboard.
Thinking about working on the mirror alltogether.
If someone knows a shortcut to open the terminal in the front I’d also appreciate it!
Posts made by lavolp3
Faster Reload after changing config.js
Currently I am trying a lot of things with the modules on my MagicMirror. Every time I change something in the config.js or in the custom.css I do a
pm2 restart mm
Unfortunately on a Pi3 this takes some time. I would say about half a minute until everything is reloaded again.
Isn’t there a faster way to do this. I mean, this is running in electron, isn’t there a way to only “refresh” the page in electron, or reloading modules, or is all this not sufficient?
RE: How to run python module (+change size/C to F) newbie
I want my local buses to be displayed 2/3 down the mirror, however the script is python.
I think I have put the folder in the correct place. /home/pi/MagicMirror/modules/bus however everything else is in /home/pi/MagicMirror/modules/default so not sure if I should place it in /default so it’s /home/pi/MagicMirror/modules/default/bus or leave it outside of the default folder.
this is a bit difficult to understand. First of all, the directory is the right one. The default directory is used for the default modules that are included in the original MM install. All the additional modules are put into /modules
But just putting a python script there is of course not enough (if I got that right from your post). You need 1) a folder containing specific files and 2) the “call-off” of your module, which is usually written in JS, in the config file.
If you don’t know what I mean, it may be because I’m not native english or because you need to understand the infrastructure of the mirror. In the latter case you should read a bit more about how the MM works and what is needed for a module to work.
FYI, I think there are very good modules around you can use for your local buses. I dont remember the names at the moment.