@mclaren said in 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.
Hi mclaren,
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.