MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. mclaren
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    Topics

    • M

      Can't get bus data to show

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      3
      0 Votes
      3 Posts
      1k Views
      M
      Thank you for that help! I have got it working now thankfully, however I am still not sure how to get 2 bus stops to show now. Pi’s are quite fun to play with, I shall have a little play about with it. Thanks again :)
    • M

      How to run python module (+change size/C to F) newbie

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      2
      0 Votes
      2 Posts
      1k Views
      lavolp3L
      @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.
    • 1 / 1