@mickyas That’s the hard way (in my opinion).
I use Filezilla to connect to my PI though FTP. That lets me easily click and drag new modules into the /modules folder. I also use FTP to download the config file to my PC and make edits there before I upload it back. But yes, every module needs for you to manually add it to the config. All modules on github follow a similar format where the Readme will give an example of the lines of code you need to put into the config.
Read the statement by Michael Teeuw here.
Posts
-
RE: New and confused.
-
RE: New and confused.
@mickyas Id use the advice that @Mykle1 gave. The Xscreensaver is really easy to use and is much easier than editing a file through the terminal
-
RE: New and confused.
@mickyas Its an example of what options are available. Every module has to be placed into the Magic Mirror config file and inside of that file will be the settings for each module. For example:
modules: [ { module: "compliments", position: "lower_third", // This can be any of the regions. // Best results in one of the middle regions like: lower_third config: { // The config property is optional. // If no config is set, the default compliments are shown. // See 'Configuration options' for more information. } } ]
Above is taken from the compliments module. As you can see there is the position:“lower_third” option. The link I gave you gives you all of the other options for where you can place your module.
As for colors, the link only used colors to help make each region stand out. Modules set their colors through their .css files so you can always go into that and change it to your needs. -
RE: New and confused.
I don’t believe that it is possible to have the compliments floating around. If you take a peek here:
https://forum.magicmirror.builders/topic/286/regionsYou can see color coded regions for where the modules are allowed to be displayed. You (or someone else) could always change the code to possibly rotate which region the module is displayed but I think that may lead to other problems.
Also, check out here for how to rotate the screen orientation:
https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-PiI used that guide to change mine to landscape and to disable the screensaver (which i recommend).
Cheers!
-
RE: Foodtracker (calorie intake)
I know this isn’t 100% what you’re looking for but I use the Fitbit App (downloaded on Google Play or iStore) to track my calories. You can scan barcodes of food and it will bring up all its information. From there I also use the MMM-Fitbit module (https://github.com/SVendittelli/MMM-fitbit) to display that information (and more) on my mirror.
Sure you need a fitbit for half of this to work(Fitbit app works without a fitbit), but it is another solution if you dont find anything else. -
RE: Module to track food expiry dates
I was thinking of using something similar to a few of the QR reader modules I’ve seen kicking around. I originally got the idea because I recently bought a FitBit and it’s App can scan food barcodes ( https://help.fitbit.com/articles/en_US/Help_article/1276 ).
-
Module to track food expiry dates
Hey all,
It seems that every month I end up with food, drinks, condiments, etc. that expire without me noticing (damn back of the fridge food!), so I was thinking of attempting a module that would display items in the fridge’s expiry date (or possibly just a notification when the time is approaching).
I know how to program but i’m quite mediocre at it so I figured this may be a good way to develop some skills. Since I’ve never created a module before, i’m open to any suggestions or resources.
What I’m thinking is to use a barcode scanner to get the items information, pass that into the MM Module and from there compare the food’s information with maybe a static list of expiry dates.If I can get that working, id like to expand the module to also possibly show nutrition and such by using an API like: https://www.nutritionix.com/business/api
Does this sound doable? Or worthwhile?
Thanks
-
RE: Toronto TTC (public transit) Info
@j.e.f.f Very cool! Thanks for replying with that here. Ill take a look at it and even if I dont end up using, itll be a great learning tool to review.
-
RE: Toronto TTC (public transit) Info
Not to necro an old topic, but was this module ever developed? I am moving to Toronto shortly and this would be a wonderful addition to my mirror. I can help build the module if it doesn’t exist.